From: | Teodor Sigaev <teodor(at)sigaev(dot)ru> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Various improvements of skipping index scan during vacuum techni |
Date: | 2018-05-10 10:33:05 |
Message-ID: | E1fGisj-0001GP-Tx@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Various improvements of skipping index scan during vacuum technics
- Change vacuum_cleanup_index_scale_factor GUC to PGC_USERSET.
vacuum_cleanup_index_scale_factor GUC was defined as PGC_SIGHUP. But this
GUC affects not only autovacuum. So it might be useful to change it from user
session in order to influence manually runned VACUUM.
- Add missing tab-complete support for vacuum_cleanup_index_scale_factor
reloption.
- Fix condition for B-tree index cleanup.
Zero value of vacuum_cleanup_index_scale_factor means that user wants B-tree
index cleanup to be never skipped.
- Documentation and comment improvements
Authors: Justin Pryzby, Alexander Korotkov, Liudmila Mantrova
Reviewed by: all authors and Robert Haas
Discussion: https://www.postgresql.org/message-id/flat/20180502023025.GD7631%40telsasoft.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8e12f4a250d250a89153da2eb9b91c31bb80c483
Modified Files
--------------
doc/src/sgml/config.sgml | 35 +++++++++++++++++++++++++++--------
src/backend/access/nbtree/nbtpage.c | 2 +-
src/backend/access/nbtree/nbtree.c | 19 ++++++++++---------
src/backend/utils/misc/guc.c | 2 +-
src/bin/psql/tab-complete.c | 6 ++++--
5 files changed, 43 insertions(+), 21 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2018-05-11 02:37:36 | pgsql: docs: clarify that CREATE TABLE ... _AS_ can be parallelized |
Previous Message | Robert Haas | 2018-05-09 19:31:00 | pgsql: doc: Restrictions on InitPlans in parallel queries relaxed. |