Different Performance on Different Time Ranges for Same Query Irrespective of Length of Period

Hello Everyone,
I am stuck in following issue:
My query is using time_bucket_gapfill. It gives different performance on different time ranges irrespective of length of period. What could be the reason?
Any help would be much appreciated.
Thank you.

Hi @hammad.shah, Welcome!

can you share the query and the EXPLAIN ANALYZE output of your query?

Feel free to anonymize the columns if you need. Closer we get to have a reproducible example, easy is to find how to optimize it :nerd_face: