Skip to main content

db_tuning_guidance

Function db_tuning_guidance 

Source
pub fn db_tuning_guidance() -> String
Expand description

Operator guidance for tuning the PostgreSQL server (shared_buffers, work_mem, …), printed by cortex tune-db and at the end of cortex init. Per the owner decision (see docs/DB_TUNING.md), cortex does not reimplement the pgtune heuristic — it points at the upstream service and pre-fills the host’s RAM / cores so the operator’s inputs are ready. The per-table autovacuum is already automatic (a migration); this is the host-sized server config (see docs/DB_TUNING.md).