Re: [HACKERS] Autovacuum loose ends

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Autovacuum loose ends
Date: 2005-08-10 17:33:32
Message-ID: 20050810173332.GA8752@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Updated this patch again:

> > - vacuum_cost_delay and vacuum_cost_limit can be set per table, as well
> > as globally with autovacuum_vacuum_cost_{limit,delay}
> >
> > - pgstat is reset if recovery is required
> >
> > - pgstat reset at postmaster start is disabled by default
>
> - Xid-wraparound VACUUM is now FREEZE without ANALYZE, iff the database
> has datallowconn=false or datistemplate=true

- A database-wide vacuum is also issued if the vacuumxid is found to be
very old.

Note that I had to add datvacuumxid to the pg_database flat file.

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"Ciencias políticas es la ciencia de entender por qué
los políticos actúan como lo hacen" (netfunny.com)

Attachment Content-Type Size
autovac-three-3.patch text/plain 37.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2005-08-10 18:42:16 Re: Solving the OID-collision problem
Previous Message Andrew - Supernews 2005-08-10 16:09:01 Re: Simplifying wal_sync_method

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2005-08-10 21:22:41 Re: (was COPY FROM) performance improvements
Previous Message Alvaro Herrera 2005-08-10 17:06:54 Re: COPY FROM performance improvements