pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Cédric Villemain <cedric.villemain.debian@gmail.com>
Cc: pgsql-performance@postgresql.org, Michael Kohl <michael.kohl@tupalo.com>
Subject: Re: High load,
Date: Thu, 27 Jan 2011 14:26:38 +0100
Message-ID: <201101271426.38876.andres@anarazel.de> (raw)
In-Reply-To: <AANLkTi=ZoDQzy=M4JHfsPsU7sDYKHcVb8rvUTh3LiQXE@mail.gmail.com>
References: <AANLkTikBFzUKmWcVBz_5GQZeQOWtj7Kfeov=M9TWBOJf@mail.gmail.com>
	<201101271335.24645.andres@anarazel.de>
	<AANLkTi=ZoDQzy=M4JHfsPsU7sDYKHcVb8rvUTh3LiQXE@mail.gmail.com>

On Thursday, January 27, 2011 02:23:48 PM Cédric Villemain wrote:
> 2011/1/27 Andres Freund <andres@anarazel.de>:
> > On Thursday, January 27, 2011 12:24:10 PM Cédric Villemain wrote:
> >> > maintenance_work_mem = 512MB
> >> 
> >> 128MB is usualy enough
> > 
> > Uhm, I don't want to be picky, but thats not really my experience. Sorts
> > for index creation are highly dependent on a high m_w_m. Quite regularly
> > I find the existing 1GB limit a probleme here...
> 
> That is right for index creation, but not for 'pure' maintenance
> stuff. Once the database is running as usual, there is no really point
> to give auto-vacuum or auto-analyze much more (depend on the raid card
> memory too ...)
Even that I cannot agree with, sorry ;-). If you have a database with much 
churn a high m_w_m helps to avoid multiple scans during vacuum of the database 
because the amount of dead tuples doesn't fit m_w_m.

Andres



view thread (24+ messages)  latest in thread

Message-ID: <201101271426.38876.andres@anarazel.de>
Permalink:  ../201101271426.38876.andres@anarazel.de/
Also on:    postgresql.org/message-id/201101271426.38876.andres@anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andres@anarazel.de, cedric.villemain.debian@gmail.com, michael.kohl@tupalo.com
  Subject: Re: High load,
  In-Reply-To: <201101271426.38876.andres@anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox