Re: Vacuum on the database versus individual tables. - Mailing list pgsql-general

From Dave Page
Subject Re: Vacuum on the database versus individual tables.
Date
Msg-id 937d27e10906250859y698ffc14y9ef7cf88d85afd4b@mail.gmail.com
Whole thread Raw
In response to Re: Vacuum on the database versus individual tables.  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Responses Re: Vacuum on the database versus individual tables.
Re: Vacuum on the database versus individual tables.
List pgsql-general
2009/6/25 Grzegorz Jaśkiewicz <gryzman@gmail.com>:
> 2009/6/25 Hartman, Matthew <Matthew.Hartman@krcc.on.ca>:
>> Windows XP, PostgreSQL 8.3.5, using pgAdmin III 1.8.4. It's the typical "Running vacuum on this table is
recommended"dialog box. 
>
> Well, it really has nothing to do with postgresql it self. Either it
> is a bug or property of PgAdmin, but I don't know.
> Either someone who knows more about pgadmin is going to respond here,
> or you have to ask on pgadmin list.

pgAdmin will advise vacuuming a table if there is a significant
discrepancy between the number of rows in the table and the value in
pg_class.reltuples. i forget the exact algorithm off-hand, but it
takes the size of the table into account, and is looking for a %age
difference between the value, not a set number of rows.


--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

pgsql-general by date:

Previous
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: Vacuum on the database versus individual tables.
Next
From: Richard Huxton
Date:
Subject: Re: planned recovery from a certain transaction