Re: Vacuum questions... - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: Vacuum questions...
Date
Msg-id 4336C61F.10005@commandprompt.com
Whole thread Raw
In response to Re: Vacuum questions...  (Hannu Krosing <hannu@skype.net>)
Responses Re: Vacuum questions...
List pgsql-hackers
Hannu Krosing wrote:

>On L, 2005-09-24 at 20:25 -0700, Joshua D. Drake wrote:
>
>  
>
>>Actually this also probably would not gain you much in 8.1
>>as vacuum in theory is already dealing with itself.
>>    
>>
>
>Interesting. Could you explain it in a more detailed way ?
>How does vacuum "deal with itself" in 8.1 ?
>  
>
Autovacuum is integrated into the backend for 8.1

>Not sure of a "quick scan" approach, espacially for tables big enough
>for the progress info would be interesting (in my experience a scan is
>never quick).
>  
>
It would be a seq so on a larger table it would probably be
a long time. I was thinking if there was some mapping of
known dead rows or something so we didn't have to scan
the page for the statistics.

We of course would scan to do the actual work but if vacuum
cleared the map while doing the work it may not be that bad.

Sincerely,

Joshua D. Drake


>Perhaps VACUUM could send some statistics after each N pages and this
>would then be available through something similar to pg_statistics
>table.
>
>  
>


-- 
Your PostgreSQL solutions company - Command Prompt, Inc. 1.800.492.2240
PostgreSQL Replication, Consulting, Custom Programming, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/



pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: stack depth limit exceeded problem.
Next
From: Tom Lane
Date:
Subject: Re: Vacuum questions...