Re: autovacuum strategy / parameters

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Rick <richard(dot)branton(at)ca(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: autovacuum strategy / parameters
Date: 2010-04-26 16:58:22
Message-ID: 20100426165822.GC3963@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Rick wrote:

> So, in a large table, the scale_factor is the dominant term. In a
> small
> table, the threshold is the dominant term. But both are taken into
> account.

Correct.

> The default values are set for small tables; it is not being run for
> large tables.

So decrease the scale factor and leave threshold alone.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Anj Adu 2010-04-26 23:24:14 tmpfs and postgres memory
Previous Message Tom Lane 2010-04-26 16:51:32 Re: Planner issue on sorting joining of two tables with limit