diff options
author | Michael Paquier <michael@paquier.xyz> | 2018-10-04 09:00:33 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2018-10-04 09:00:33 +0900 |
commit | 803b1301e8c9aac478abeec62824a5d09664ffff (patch) | |
tree | f4ade5601668689308c4acdd34fef6d6984dd54b /src/backend/executor/nodeCustom.c | |
parent | d173652797cf0cf456ac2c38eca898159a7c19fc (diff) | |
download | postgresql-803b1301e8c9aac478abeec62824a5d09664ffff.tar.gz postgresql-803b1301e8c9aac478abeec62824a5d09664ffff.zip |
Add option SKIP_LOCKED to VACUUM and ANALYZE
When specified, this option allows VACUUM to skip the work on a relation
if there is a conflicting lock on it when trying to open it at the
beginning of its processing.
Similarly to autovacuum, this comes with a couple of limitations while
the relation is processed which can cause the process to still block:
- when opening the relation indexes.
- when acquiring row samples for table inheritance trees, partition trees
or certain types of foreign tables, and that a lock is taken on some
leaves of such trees.
Author: Nathan Bossart
Reviewed-by: Michael Paquier, Andres Freund, Masahiko Sawada
Discussion: https://postgr.es/m/9EF7EBE4-720D-4CF1-9D0E-4403D7E92990@amazon.com
Discussion: https://postgr.es/m/20171201160907.27110.74730@wrigleys.postgresql.org
Diffstat (limited to 'src/backend/executor/nodeCustom.c')
0 files changed, 0 insertions, 0 deletions