Query to include only delta to show and not to fetch all data

I have very little knowledge with Grafana …

I understood that on each refresh of a widget I need to fetch ALL data instead of fetching only the delta to show ?!
For example if I refresh every 5 seconds and I’m showing a graph of a full day , why should I need to re-fetch data of previous 24h and not to bring only the LAST 5 seconds ?

Thanks Shaul

hi @shaulg and welcome to the forum. Yes, the refresh rate will call the query as it is written. Are you encountering performance issues? This can become a problem if you’re queries are super inefficient and the browser is trying to slurp in massive numbers of datapoints. With normal queries to a tsdb, this shouldn’t not normally cause performance issues