Re: Autovacuum

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Autovacuum
Date: 2008-05-02 14:49:03
Message-ID: 481B29DF.9060706@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Glyn Astill a écrit :
> Using 8.3.1
>
> No matter what I try I've never seen any evidence that autovacuum runs on my system.
>
> I set
>
> autovacuum_vacuum_threshold = 50
>
> Then run a process to do updates on a table, shouldn't autovacuum kick in after 50 updates?
>

Nope, it also depends on the number of rows of your table and on the
configuration of the autovacuum_vacuum_scale_factor parameter.

You should also configure log_autovacuum_min_duration to 0 to see the
autovacuum operations.

Regards.

--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

In response to

  • Autovacuum at 2008-05-02 13:23:51 from Glyn Astill

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-05-02 14:51:07 Re: clustering without locking
Previous Message Volkan YAZICI 2008-05-02 14:46:53 Swap Space and vm.oom_kill_allocating_task