ansible/roles/postgresql_server
Kevin Fenzi 4b27b2774f postgresql_server: enable auto_explain and set to 30s
This will log an explain for any query that takes more than 30s.
We likely will need to lower it to get the slow heavy queries that are
hitting koji's db.

This does require a restart, but after this we can change the min
duration with just a reload. If there are too many logs, we can set this
to -1 to never log.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-01-27 13:14:41 -08:00
..
defaults postgresql defaults: move default to defaults. 2020-04-24 21:34:16 +02:00
files postgresql / servers: fix db-fas01 not having temp_buffers and rename backup-database for db-koji01 2020-06-16 14:58:36 -07:00
handlers Migrate a bunch of things to roles. Thanks to misc! 2013-08-19 20:12:26 +00:00
tasks postgresql_server: split out postgres15 config and tweak 2023-06-02 17:59:12 -07:00
templates postgresql_server: enable auto_explain and set to 30s 2024-01-27 13:14:41 -08:00