How to change a Postgres parameter
Follow these steps if you need to change a Postgres parameter (a.k.a., GUC, Grand Unified Configuration) for permanent effect.
Follow these steps if you need to change a Postgres parameter (a.k.a., GUC, Grand Unified Configuration) for permanent effect.
Sometimes this happens, when you're attempting to edit a query in psql using the \e command:
Modern Postgres provides more than 300 settings (a.k.a. GUC variables – "grand unified configuration").
application_name is useful to control what you and others are going to see in pg_stat_activity (it has a column with the same name), and various tools that…
If you need to load a lot of data, here are the tips that can help you do it faster.
work_mem is used for sorting and hashing operations during query execution.
The file ~/.psqlrc can be used to set some settings by default. For example:
The 80/20 rule (a.k.a. Pareto principle) is often enough to achieve a good level of performance for OLTP workloads – it is recommended, in most cases, to…