0

I'm using TDengine database to store time-series data.

Now I'm trying to query the data from 30s ago to now. My sql is as follows:

select  ts,queuename,incoming,outgoing,consumer FROM rsmetric.queue where ts > now - 30s AND ( env = 'EV000027')  devname = 'gls-dev-test'  order by ts desc  LIMIT 10  OFFSET 0

It looks like there is close to a minute of data included in the results. I'm not sure if this has anything to do with the time difference between the server and the client.

How can I fix it?

4

0 回答 0