pgdesign v0.26.0 /pgdesign stats
On this page

Reference for the pgdesign stats command — usage, flags, arguments, and examples for the stats subcommand of the pgdesign CLI.

#pgdesign stats

Analyze database statistics, index usage, and health

Effect: read_only

#Flags

Flags
NameShortTypeDefaultEnvDescription
--dbstrPGDESIGN_DBPostgreSQL connection URL for the target database server
--jsonboolOutput all statistics in machine-readable JSON format
--schemastrPostgreSQL schema name to analyze (repeatable for multiple)

#Arguments

Arguments
NameRequiredDescription
pathnoTOML schema file(s) for cross-referencing with live data
Search