Skip to content

Conversation

kylorend3r
Copy link
Contributor

Change default partitions_to_precreate from 0 to 3 to avoid partition creation delays during active monitoring. Improves performance and reduces blocking operations under high load.

Creates current + 3 future partitions by default instead of on-demand creation.

  • Current partition (e.g., metric_dbname_y2024w01)
  • +3 future partitions (y2024w02, y2024w03, y2024w04)

@pashagolub pashagolub changed the title feat: Increase default partitions_to_precreate from 0 to 3 [*] increase Postgres sink partitions to precreate from 0 to 3 Sep 23, 2025
@pashagolub pashagolub force-pushed the hyd/increase-initial-default-partition-count branch from 1dd7763 to 10cfe68 Compare September 23, 2025 11:00
@pashagolub pashagolub self-assigned this Sep 23, 2025
@pashagolub pashagolub added the sources What sources and in what way to monitor label Sep 23, 2025
@pashagolub pashagolub merged commit c66e693 into cybertec-postgresql:master Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sources What sources and in what way to monitor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants