Doubt w.r.t vacuum - Mailing list pgsql-hackers

From Shridhar Daithankar
Subject Doubt w.r.t vacuum
Date
Msg-id 3F253350.12198.E86C138@localhost
Whole thread Raw
Responses Re: Doubt w.r.t vacuum  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Re: Doubt w.r.t vacuum  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

I was just wondering over it. This is for difference between vacuum full and 
vacuum analyze. Can somebody enlighten,

1. IIRC vacuum recovers/reuses dead tuples generated from update but can not do 
so for delete? Why?

2. Vacuum full locks entire table, is it possible that it locks a page at a 
time and deal with it. It will make vacuum full non-blocking at the cost of 
letting it run for a longer time. Or is it that the defragmentation algorithm 
needs more than a page?

Just a thought..


ByeShridhar

--
Weed's Axiom:    Never ask two questions in a business letter.    The reply will 
discuss the one in which you are    least interested and say nothing about the 
other.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Some macros for error field codes
Next
From: Peter Eisentraut
Date:
Subject: Warning for undefined cursor