We are using timescaledb 2.14.2 with postgres 15.6 (Ubuntu 15.6-1.pgdg22.04+1). we have a table that have data retention of 24 hours. When we query the table with a time span that is larger than 2 days (e.g. 30 days), the psotgres process crashes.
SELECT
time_bucket(‘1m’, s.“time”) AS “time”,
s.service,
AVG(s.vm_rss)
FROM timeseries_data as s
WHERE
s.“time” BETWEEN ‘2024-03-18T06:04:35.126Z’ AND ‘2024-04-18T06:04:35.126Z’ AND
s.id = ‘123456680’
GROUP BY 1, 2
ORDER BY 1, 3 DESC;
If we limit the time span to <24 hours, the query returned results fine.
Is this a bug with timescaledb 2.14.2 , or we missed some settings?
2 posts - 2 participants