From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: vacuumdb: Add option --analyze-in-stages |
Date: | 2014-04-15 05:02:13 |
Message-ID: | E1WZvVd-0007Fg-4W@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
vacuumdb: Add option --analyze-in-stages
Add vacuumdb option --analyze-in-stages which runs ANALYZE three times
with different configuration settings, adopting the logic from the
analyze_new_cluster.sh script that pg_upgrade generates. That way,
users of pg_dump/pg_restore can also use that functionality.
Change pg_upgrade to create the script so that it calls vacuumdb instead
of implementing the logic itself.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/c92c3d50d7fbe7391b5fc864b444346b2db29ffe
Modified Files
--------------
contrib/pg_upgrade/check.c | 58 ++-----------------------
doc/src/sgml/ref/vacuumdb.sgml | 20 +++++++++
src/bin/scripts/t/102_vacuumdb_stages.pl | 16 +++++++
src/bin/scripts/vacuumdb.c | 70 +++++++++++++++++++++++-------
4 files changed, 94 insertions(+), 70 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2014-04-15 17:29:00 | pgsql: psql: conditionally display oids and replication identity |
Previous Message | Andrew Dunstan | 2014-04-15 03:07:31 | Re: [COMMITTERS] pgsql: Add TAP tests for client programs |