Great post, thanks for the info.
Do you know where to grab the tool that gives the sharedbuffers, workmem, autovacuum, … settings at 1:01:40 Tune PostgreSQL ? I didn’t find it searching sfpug on google.
Anyway, great talk, very interesting
@eppo I think they’re just showing their current settings… I’m not sure what that file is; maybe it’s a puppet template from which they generate their postgresql.conf.
@eppo: It’s a Puppet template. You’d have to set the ramfordatabase value yourself somewhere in the database template and then Puppet can generate the right config on pushing the file. You can even do something like
$ram_for_database = $deployment_env ? {
staging => 'XXMB',
default => 'XXXXMB',
}