aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2025-02-04 15:07:54 -0600
committerJohn Naylor <john.naylor@postgresql.org>2025-03-07 10:17:35 +0700
commit5f8eb25706b62923c53172e453c8a4dedd877a3d (patch)
treecb293d4335eeb54b12153444b267b28eaba3465e /src/backend/access/gist/gistget.c
parente2080261cc8c1a962708843dc4c806e19fb2c44e (diff)
downloadpostgresql-5f8eb25706b62923c53172e453c8a4dedd877a3d.tar.gz
postgresql-5f8eb25706b62923c53172e453c8a4dedd877a3d.zip
vacuumdb: Add option for analyzing only relations missing stats.
This commit adds a new --missing-only option that can be used in conjunction with --analyze-only and --analyze-in-stages. When this option is specified, vacuumdb will generate ANALYZE commands for a relation if it is missing any statistics it should ordinarily have. For example, if a table has statistics for one column but not another, we will analyze the whole table. A similar principle applies to extended statistics, expression indexes, and table inheritance. Co-authored-by: Corey Huinker <corey.huinker@gmail.com> Reviewed-by: TODO Discussion: https://postgr.es/m/Z5O1bpcwDrMgyrYy%40nathan
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions