-
Notifications
You must be signed in to change notification settings - Fork 67
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
Set reasonable PostgreSQL GUCs for tile servers #614
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,14 +34,16 @@ | |
:settings => { | ||
:defaults => { | ||
:max_connections => "250", | ||
:temp_buffers => "32MB", | ||
:shared_buffers => "16GB", | ||
tomhughes marked this conversation as resolved.
Show resolved
Hide resolved
|
||
:work_mem => "128MB", | ||
:maintenance_work_mem => "8GB", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is also currently configured on a per-server basis. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We've got cases where it's configured both on a role level and a server level. I'll remove the setting of it for many of the servers where the defaults make sense. |
||
:max_parallel_workers_per_gather => "0", | ||
:wal_level => "minimal", | ||
:wal_buffers => "1024kB", | ||
:wal_writer_delay => "500ms", | ||
:checkpoint_timeout => "60min" | ||
:commit_delay => "10000", | ||
:max_wal_size => "2880MB", | ||
:max_wal_size => "10GB", | ||
:max_wal_senders => "0", | ||
:jit => "off", | ||
:track_activity_query_size => "16384", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're going to drop this from the per-server configuration do we not want to add a shared setting? Otherwise it will drop to the 64Mb default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a rebase mistake wiped out that change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a rebase mistake wiped out that change