Quantcast
Channel: TimescaleDB and PostgreSQL - TigerData Community Forum
Viewing all articles
Browse latest Browse all 337

Same query different results

$
0
0

I am charting my data on grafana. I noticed when I do few refreshes the data is different everytime eventhough I have the same time range. I don’t think its a grafana problem but timescaledb.

My query looks like this

select "time" as "time",
pend from bar WHERE "time" BETWEEN '2024-07-29 1:00Z' AND '2024-07-29 04:00Z' and ele='j1' ORDER BY 1

I run the query 10 times and put it in 10 files. All 10 files have the same number of rows. However, if I do a diff I see a subtle differences.

For example

diff 1.out 4.out
...
3251a3253.3254
< 2024-07-29 3:15:20 | 
...

If I do it again completely different again. Am I doing my query correctly?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 337

Trending Articles