Freezing without cleanup lock

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Freezing without cleanup lock
Date: 2015-10-21 19:28:45
Message-ID: 5627E76D.4050009@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While warning a client that just did a Slony-based version upgrade to
make sure to freeze the new database, it occurred to me that it should
be safe to freeze without the cleanup lock. This is interesting because
it would allow a scan_all vacuum to do it's job without blocking on the
cleanup lock.

Does anyone have a feel for whether scan_all vacuums blocking on the
cleanup lock is an actual problem?
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-10-21 19:46:41 Re: [BUGS] BUG #13694: Row Level Security by-passed with CREATEUSER permission
Previous Message Alvaro Herrera 2015-10-21 19:04:22 Re: Freeze avoidance of very large table.