You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using TimescaleDB on PostgreSQL with hypertables. Normally, my queries across chunks work very well. However, I noticed that sometimes a specific chunk suddenly becomes very slow to query (taking much longer than other chunks, sometimes even locking).
If I manually decompress the chunk and then compress it again, the performance goes back to normal, and queries run as fast as on other chunks.
This behavior does not depend on the chunk age (it can happen to recent or older chunks). I usually have multiple chunks per day, and only one or two may suddenly start showing this problem.
My questions are:
Why would a chunk suddenly degrade in performance compared to others?
What is the recommended permanent solution so I don’t have to manually decompress/recompress chunks?
my postgres version --> 17.6
and timescaledb --> 2.20.2