.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.11. .TH PG_CLOUDCONFIG "1" "October 2019" "pg_cloudconfig 0.11" "User Commands" .SH NAME pg_cloudconfig \- set optimized defaults for PostgreSQL in virtualized environments .SH DESCRIPTION usage: pg_cloudconfig [\-h] [\-\-max_connections MAX_CONNECTIONS] .TP [\-\-pg_conf_dir PG_CONF_DIR] [\-\-dynamic_only] [\-\-blacklist SETTING [SETTING ...]] [\-\-debug] [\-q] [\-\-version] pg_version pg_clustername .PP Tool to initially set optimized defaults for PostgreSQL in virtualized environments. Settings are changed without asking for confirmation. .SS "positional arguments:" .TP pg_version version of the PostgreSQL cluster to tune .TP pg_clustername name of the PostgreSQL cluster to tune .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-max_connections\fR MAX_CONNECTIONS set the max_connections explicitly if needed .TP \fB\-\-pg_conf_dir\fR PG_CONF_DIR path to dir holding the postgresql.conf (to override default) .TP \fB\-\-dynamic_only\fR do not set static optimized defaults, only set values dynamic calculated .TP \fB\-\-blacklist\fR SETTING [SETTING ...] settings not to touch .TP \fB\-\-debug\fR show debug messages .TP \fB\-q\fR, \fB\-\-quiet\fR disable output .TP \fB\-\-version\fR show program's version number and exit .PP pg_cloudconfig should be run as the same user as PostgreSQL. pg_version and pg_clustername are used to choose a cluster. It is assumed that the Debian / postgresql\-common naming and configuration schema is used. If this is not the case \fB\-\-pg_conf_dir\fR needs to be set. pg_conftool is used to get/set settings. This does not tune PostgreSQL for any specific workload but only tries to set some optimized defaults based on a few input variables and simple rules.