On Sat, Nov 29, 2014 at 11:46 PM, Jim Nasby <jim.na...@bluetreble.com> wrote: > What do you mean by "never succeed"? Is it skipping a large number of pages? > Might re-trying the locks within the same vacuum help, or are the user locks > too persistent?
You are confused. He's talking about the relation-level lock that vacuum attempts to take before doing any work at all on a given table, not the per-page cleanup locks that it takes while processing each page. If the relation-level lock can't be acquired, the whole table is skipped. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers