Re: vacuum full, why multiple times ?

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: vacuum full, why multiple times ?
Date: 2005-03-09 14:30:07
Message-ID: 422F086F.9080605@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Richard Huxton wrote:
> Gaetano Mendola wrote:
>
>>
>> # vacuum full verbose url;
>> INFO: vacuuming "public.url"
>> INFO: "url": found 74 removable, 21266 nonremovable row versions in
>> 8550 pages
>> DETAIL: 2 dead row versions cannot be removed yet.
>> [SNIP]
>> INFO: "url": moved 11 row versions, truncated 8550 to 8504 pages
>>
>>
>> and in the next run:
>>
>>
>> # vacuum full verbose url;
>> INFO: vacuuming "public.url"
>> INFO: "url": found 13 removable, 21264 nonremovable row versions in
>> 8504 pages
>> DETAIL: 0 dead row versions cannot be removed yet.
>> [SNIP]
>> INFO: "url": moved 5666 row versions, truncated 8504 to 621 pages
>
>
> If page number 8549 was the one being held, I don't think vacuum can
> truncate the file. The empty space can be re-used, but the rows can't be
> moved to a lower page while a transaction is using them.

It's clear now.

Regards
Gaetano Mendola
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCLwhu7UpzwH2SGd4RAhEIAKDodnb03RvInDOJz9H+4w//DgJifACeNINP
0UMkQ0yBwNAZw91clvAUjRI=
=e+mM
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2005-03-09 15:16:52 Re: vacuum full, why multiple times ?
Previous Message Richard Huxton 2005-03-09 12:30:01 Re: vacuum full, why multiple times ?