0

As I am using TimescaleDB I had 1 GB data per hour. I need to decide the optimal chunk time interval for the same so that performance will be maximum. Would that be 1 day or 1 hour or something else.

1 Answers1

0

From the docs,

The key property of choosing the time interval is that the chunk (including indexes) belonging to the most recent interval (or chunks if using space partitions) fit into memory. As such, we typically recommend setting the interval so that these chunk(s) comprise no more than 25% of main memory.

A chunk appears to be about a quarter of the recommended standard postgres partition

Avin Kavish
  • 8,317
  • 1
  • 21
  • 36