I use Red Hat 8.9, PostgreSQL 15.6 and TimescaleDB v2.14.2 on self-hosted on-prem.
Data in my hypertable are inserted completely random, because there are inserted from different devices. I see that reordering chunks with “device+timestamp” index order may significantly improve select statements that are based on devices inside timer interval.
Questions:
- Should I change “filter factor” on table to lower then 100% (default)? For example:
ALTER TABLE table_name SET (FILLFACTOR = 70);
- Does TimescaleDB uses this kind of reordering data inside chunks that parameter FILLFACTOR would be beneficial at all?
- Is there some starting point recommendation to begin with? Like start with 90 and then test and lower the value by 10, do next test etc?
2 posts - 2 participants