Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust settings for promscale #113

Merged
merged 1 commit into from
Dec 13, 2022
Merged

Adjust settings for promscale #113

merged 1 commit into from
Dec 13, 2022

Conversation

jgpruitt
Copy link
Contributor

@jgpruitt jgpruitt commented Dec 8, 2022

After extensive benchmarking of Promscale, we have determined better default settings.

  • bgwriter_flush_after=0
  • wal_compression=1
  • shared_buffers = 50% of total memory
  • bgwriter_delay use default
  • bgwriter_lru_maxpages use default

@jgpruitt jgpruitt self-assigned this Dec 8, 2022
@jgpruitt jgpruitt force-pushed the john/promscale-settings branch 2 times, most recently from 8d13d76 to 2c31848 Compare December 9, 2022 17:19
@jgpruitt jgpruitt marked this pull request as ready for review December 9, 2022 17:22
Set wal_compression = 1
Set bgwriter_flush_after = 0
Set shared_buffers = 50% of total memory
Do not recommend for bgwriter_delay or bgwriter_lru_maxpages
@jgpruitt jgpruitt force-pushed the john/promscale-settings branch from 2c31848 to 5074353 Compare December 12, 2022 23:02
@jgpruitt jgpruitt requested a review from antekresic December 12, 2022 23:03
Copy link

@cevian cevian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks right to me

@jgpruitt jgpruitt merged commit 5c8b365 into main Dec 13, 2022
@jgpruitt jgpruitt deleted the john/promscale-settings branch December 13, 2022 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants