Search Postgresql Archives

Re: Vacuum on the database versus individual tables.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



But it'll do so immediately after I run a full vacuum on the entire database? Nothing has changed. This is a development box.

You know, I bet it doesn't refresh the view of the database after having run the maintenance script..

Matthew Hartman
Programmer/Analyst
Information Management, ICP
Kingston General Hospital
(613) 549-6666 x4294 
 

-----Original Message-----
From: Dave Page [mailto:dpage@xxxxxxxxxxx] 
Sent: Thursday, June 25, 2009 12:00 PM
To: Grzegorz Jaśkiewicz
Cc: Hartman, Matthew; pgsql-general@xxxxxxxxxxxxxx
Subject: Re:  Vacuum on the database versus individual tables.

2009/6/25 Grzegorz Jaśkiewicz <gryzman@xxxxxxxxx>:
> 2009/6/25 Hartman, Matthew <Matthew.Hartman@xxxxxxxxxx>:
>> 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


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux