Re: Vacuum questions...

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Hannu Krosing <hannu(at)skype(dot)net>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Vacuum questions...
Date: 2005-09-25 15:45:35
Message-ID: 4336C61F.10005@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-09-25 15:50:14 Re: Vacuum questions...
Previous Message Thomas Hallgren 2005-09-25 11:14:14 Re: stack depth limit exceeded problem.