Skip site navigation (1) Skip section navigation (2)

Order of operations in lazy_vacuum_rel

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Order of operations in lazy_vacuum_rel
Date: 2010-02-08 17:29:39
Message-ID: 13481.1265650179@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
I see that lazy_vacuum_rel() truncates the heap before it does vacuuming
of the free space map.  Once upon a time this wouldn't have mattered,
but now it means that cancel interrupts are likely to be ignored for
the duration of FreeSpaceMapVacuum().  Is that really necessary?
Would it be okay to swap the two steps?

			regards, tom lane

Responses

pgsql-hackers by date

Next:From: Josh BerkusDate: 2010-02-08 17:34:54
Subject: Re: damage control mode
Previous:From: David E. WheelerDate: 2010-02-08 17:07:04
Subject: Re: Pathological regexp match

Privacy Policy | About PostgreSQL
Copyright © 1996-2013 The PostgreSQL Global Development Group