Skip site navigation (1) Skip section navigation (2)

Re: [PERFORM] autovacuum on a -mostly- r/o table

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
Cc: Edoardo Ceccarelli <eddy(at)axa(dot)it>, postgres performance list <pgsql-performance(at)postgresql(dot)org>, pgsql-admin(at)postgresql(dot)org
Subject: Re: [PERFORM] autovacuum on a -mostly- r/o table
Date: 2006-09-27 18:33:10
Message-ID: 451AC3E6.5050108@zeut.net (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-performance
Csaba Nagy wrote:
> On Wed, 2006-09-27 at 18:08, Edoardo Ceccarelli wrote:
>   
>> How can I configure the vacuum to run after the daily batch insert/update?
>>     
>
> Check out this:
> http://www.postgresql.org/docs/8.1/static/catalog-pg-autovacuum.html
>
> By inserting the right row you can disable autovacuum to vacuum your big
> tables, and then you can schedule vacuum nightly for those just as
> before. There's still a benefit in that you don't need to care about
> vacuuming the rest of the tables, which will be done just in time.

In addition autovacuum respects the work of manual or cron based 
vacuums, so if you issue a vacuum right after a daily batch insert / 
update, autovacuum won't repeat the work of that manual vacuum.



In response to

pgsql-performance by date

Next:From: Matthew SchumacherDate: 2006-09-27 18:37:22
Subject: Problems with inconsistant query performance.
Previous:From: Tobias BroxDate: 2006-09-27 16:53:36
Subject: Re: autovacuum on a -mostly- r/o table

pgsql-admin by date

Next:From: Magnus HaganderDate: 2006-09-27 19:14:02
Subject: Re: [ADMIN] pg_hba.conf: 'trust' vs. 'md5' Issues
Previous:From: Lane Van IngenDate: 2006-09-27 16:54:44
Subject: Re: What Are Last Steps Performed When PostgreSQL Starts?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group