Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Category index802
sslmodesslmode
This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server. There are six modes: disable only try a non-SSL connection all…Database Connection Control Functions › Parameter Key Words
sslnegotiationsslnegotiation
This option controls how SSL encryption is negotiated with the server, if SSL is used. In the default postgres mode, the client first asks the server if SSL is supported. In d…Database Connection Control Functions › Parameter Key Words
sslpasswordsslpassword
This parameter specifies the password for the secret key specified in sslkey, allowing client certificate private keys to be stored in encrypted form on disk even when interactiv…Database Connection Control Functions › Parameter Key Words
sslrootcertsslrootcert
This parameter specifies the name of a file containing SSL certificate authority (CA) certificate(s). If the file exists, the server's certificate will be verified to be signed b…Database Connection Control Functions › Parameter Key Words
sslsnisslsni
If set to 1 (default), libpq sets the TLS extension “Server Name Indication” (SNI) on SSL-enabled connections. By setting this parameter to 0, this is turned off. The Server Name Indi…Database Connection Control Functions › Parameter Key Words
target_session_attrstarget_session_attrs
This option determines whether the session must have certain properties to be acceptable. It's typically used in combination with multiple host names to select the first…Database Connection Control Functions › Parameter Key Words
useruser
PostgreSQL user name to connect as. Defaults to be the same as the operating system name of the user running the application.Database Connection Control Functions › Parameter Key Words
vacuumdbvacuumdb vacuumdb — garbage-collect and analyze a PostgreSQL database
Synopsis vacuumdb [connection-option...] [option...] [ -t | --table table [( column [,...] )] ] ... [ dbname | -a | --al…vacuumdb
vacuumdb --all-a--all
Vacuum all databases.vacuumdb › Options
vacuumdb --analyze-z--analyze
Also calculate statistics for use by the optimizer.vacuumdb › Options
vacuumdb --analyze-in-stages--analyze-in-stages
Only calculate statistics for use by the optimizer (no vacuum), like --analyze-only. Run three stages of analyze; the first stage uses the lowest possible statistics targ…vacuumdb › Options
vacuumdb --analyze-only-Z--analyze-only
Only calculate statistics for use by the optimizer (no vacuum).vacuumdb › Options
vacuumdb --buffer-usage-limit size--buffer-usage-limit size
Specifies the Buffer Access Strategy ring buffer size for a given invocation of vacuumdb. This size is used to calculate the number of shared buffers which will be …vacuumdb › Options
vacuumdb --disable-page-skipping--disable-page-skipping
Disable skipping pages based on the contents of the visibility map.vacuumdb › Options
vacuumdb --echo-e--echo
Echo the commands that vacuumdb generates and sends to the server.vacuumdb › Options
vacuumdb --exclude-schema=schema-N schema--exclude-schema=schema
Do not clean or analyze any tables in schema. Multiple schemas can be excluded by writing multiple -N switches.vacuumdb › Options
vacuumdb --force-index-cleanup--force-index-cleanup
Always remove index entries pointing to dead tuples.vacuumdb › Options
vacuumdb --freeze-F--freeze
Aggressively “freeze” tuples.vacuumdb › Options
vacuumdb --full-f--full
Perform “full” vacuuming.vacuumdb › Options
vacuumdb --help-?--help
Show help about vacuumdb command line arguments, and exit.vacuumdb › Options
vacuumdb --host=host-h host--host=host
Specifies the host name of the machine on which the server is running. If the value begins with a slash, it is used as the directory for the Unix domain socket.vacuumdb › Options
vacuumdb --jobs=njobs-j njobs--jobs=njobs
Execute the vacuum or analyze commands in parallel by running njobs commands simultaneously. This option may reduce the processing time but it also increases the load on…vacuumdb › Options
vacuumdb --maintenance-db=dbname--maintenance-db=dbname
When the -a/--all is used, connect to this database to gather the list of databases to vacuum. If not specified, the postgres database will be used, or if that does n…vacuumdb › Options
vacuumdb --min-mxid-age mxid_age--min-mxid-age mxid_age
Only execute the vacuum or analyze commands on tables with a multixact ID age of at least mxid_age. This setting is useful for prioritizing tables to process to preve…vacuumdb › Options
vacuumdb --min-xid-age xid_age--min-xid-age xid_age
Only execute the vacuum or analyze commands on tables with a transaction ID age of at least xid_age. This setting is useful for prioritizing tables to process to preven…vacuumdb › Options
vacuumdb --missing-stats-only--missing-stats-only
Only analyze relations that are missing statistics for a column, index expression, or extended statistics object. When used with --analyze-in-stages, this option prevent…vacuumdb › Options
vacuumdb --no-index-cleanup--no-index-cleanup
Do not remove index entries pointing to dead tuples.vacuumdb › Options
vacuumdb --no-password-w--no-password
Never issue a password prompt. If the server requires password authentication and a password is not available by other means such as a .pgpass file, the connection attempt wi…vacuumdb › Options
vacuumdb --no-process-main--no-process-main
Skip the main relation.vacuumdb › Options
vacuumdb --no-process-toast--no-process-toast
Skip the TOAST table associated with the table to vacuum, if any.vacuumdb › Options
vacuumdb --no-truncate--no-truncate
Do not truncate empty pages at the end of the table.vacuumdb › Options
vacuumdb --parallel=parallel_workers-P parallel_workers--parallel=parallel_workers
Specify the number of parallel workers for parallel vacuum. This allows the vacuum to leverage multiple CPUs to process indexes. See VACUUM.vacuumdb › Options
vacuumdb --password-W--password
Force vacuumdb to prompt for a password before connecting to a database. This option is never essential, since vacuumdb will automatically prompt for a password if the server de…vacuumdb › Options
vacuumdb --port=port-p port--port=port
Specifies the TCP port or local Unix domain socket file extension on which the server is listening for connections.vacuumdb › Options
vacuumdb --quiet-q--quiet
Do not display progress messages.vacuumdb › Options
vacuumdb --schema=schema-n schema--schema=schema
Clean or analyze all tables in schema only. Multiple schemas can be vacuumed by writing multiple -n switches.vacuumdb › Options
vacuumdb --skip-locked--skip-locked
Skip relations that cannot be immediately locked for processing.vacuumdb › Options
vacuumdb --table=table [ (column [,...]) ]-t table [ (column [,...]) ]--table=table [ (column [,...]) ]
Clean or analyze table only. Column names can be specified only in conjunction with the --analyze or --analyze-only options. Mul…vacuumdb › Options
vacuumdb --username=username-U username--username=username
User name to connect as.vacuumdb › Options
vacuumdb --verbose-v--verbose
Print detailed information during processing.vacuumdb › Options
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open