Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
> Updated this patch:
> - The stat collector is modified so as to keep shared relations separate
> from regular ones. Autovacuum understands this.
Applied with some fixes --- you had broken the reporting of statistics
for shared tables, for one thing. Also the patch seemed to be missing
diffs for header files?
It occurs to me that vacuuming to prevent XID wraparound is not the only
reason to do DB-wide vacuums: we also need to keep
pg_database.datvacuumxid from getting too old, else we will have
problems with clog bloat. We may need to rethink the test used.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Jim C. Nasby||Date: 2005-07-29 19:39:08|
|Subject: Re: [Testperf-general] dbt2 & opteron performance|
|Previous:||From: Josh Berkus||Date: 2005-07-29 17:51:42|
|Subject: Re: Chocked|
pgsql-patches by date
|Next:||From: Alvaro Herrera||Date: 2005-07-29 19:48:05|
|Subject: Re: [HACKERS] Autovacuum loose ends|
|Previous:||From: Luke Lonergan||Date: 2005-07-29 17:54:08|
|Subject: Re: [PATCHES] COPY FROM performance improvements|