postgresql_16:7.1.44 ANALYZE
PostgreSQL 16 > Reference > SQL Commands > ANALYZE
collect statistics about a database
ANALYZE [ ( option [, ...] ) ] [ table_and_columns [, ...] ]
ANALYZE [ VERBOSE ] [ table_and_columns [, ...] ]
where option can be one of:
VERBOSE [ boolean ]
SKIP_LOCKED [ boolean ]
BUFFER_USAGE_LIMIT size
and table_and_columns is:
table_name [ ( column_name [, ...] ) ]
ANALYZE [ ( option [, ...] ) ] [ table_and_columns [, ...] ]
ANALYZE [ VERBOSE ] [ table_and_columns [, ...] ]
where option can be one of:
VERBOSE [ boolean ]
SKIP_LOCKED [ boolean ]
BUFFER_USAGE_LIMIT size
and table_and_columns is:
table_name [ ( column_name [, ...] ) ]
Subsections
- postgresql_16:7.1.44.1 Description
- postgresql_16:7.1.44.2 Parameters
- postgresql_16:7.1.44.3 Outputs
- postgresql_16:7.1.44.4 Notes
- postgresql_16:7.1.44.5 Compatibility
- postgresql_16:7.1.44.6 See Also