Re: Excessive growth of pg_attribute and other system tables - Mailing list pgsql-admin

From Steve Crawford
Subject Re: Excessive growth of pg_attribute and other system tables
Date
Msg-id 200503171536.10389.scrawford@pinpointresearch.com
Whole thread Raw
In response to Excessive growth of pg_attribute and other system tables  (Steve Crawford <scrawford@pinpointresearch.com>)
Responses Re: Excessive growth of pg_attribute and other system tables  ("Matthew T. O'Connor" <matthew@zeut.net>)
List pgsql-admin
On Thursday 17 March 2005 3:15 pm, Steve Crawford wrote:
> I'm having trouble with physical growth of postgresql system
> tables....

Additional info. The most recent autovacuum entries for the
pg_attribute table are:

[2005...] Performing: VACUUM ANALYZE "pg_catalog"."pg_attribute"
[2005...]   table name: tati."pg_catalog"."pg_attribute"
[2005...]      relid: 1249;   relisshared: 0
[2005...]      reltuples: 9334.000000;  relpages: 82282
[2005...]      curr_analyze_count: 6647115; curr_vacuum_count: 861454
[2005...]      last_analyze_count: 6647115; last_vacuum_count: 861454
[2005...]      analyze_threshold: 9834; vacuum_threshold: 19668

and

[2005...] Performing: ANALYZE "pg_catalog"."pg_attribute"
[2005...]   table name: foo."pg_catalog"."pg_attribute"
[2005...]      relid: 1249;   relisshared: 0
[2005...]      reltuples: 4843240.000000;  relpages: 82284
[2005...]      curr_analyze_count: 6657041; curr_vacuum_count: 862897
[2005...]      last_analyze_count: 6657041; last_vacuum_count: 861454
[2005...]      analyze_threshold: 4843740; vacuum_threshold: 19668

(Both within past 1 day - dates truncated to avoid line-wrap.) The
table currently has just over 9,000 tuples and I have no reason to
believe that should have changed substantially. The thresholds and
counts seem way off - especially in the second pass.

Cheers,
Steve


pgsql-admin by date:

Previous
From: Steve Crawford
Date:
Subject: Excessive growth of pg_attribute and other system tables
Next
From: Steve Crawford
Date:
Subject: Re: Vacuum full on a big table