pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Neil Conway <neilc@samurai.com>
To: scott.marlowe <scott.marlowe@ihs.com>
Cc: Kevin Old <kold@carolina.rr.com>
Cc: pgsql <pgsql-general@postgresql.org>
Cc: pgadmin <pgsql-admin@postgresql.org>
Subject: Re: [GENERAL] my.cnf to postgresql.conf Conversion
Date: 31 Oct 2002 20:54:12 -0500
Message-ID: <87lm4e5a2j.fsf@mailbox.samurai.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0210311527280.6618-100000@css120.ihs.com>
References: <Pine.LNX.4.33.0210311527280.6618-100000@css120.ihs.com>

"scott.marlowe" <scott.marlowe@ihs.com> writes:
> sort_mem  (bigger isn't always better here.  This is the amount of memory 
> EACH sort operation will grab when it runs, and it seems to be that it 
> will grab all of it whether it needs it or not, so be careful not to crank 
> this up.

That's not correct -- sort_mem specifies the point at which a sort
operation will start to swap data to disk (i.e. the memory is not
consumed regardless). See the entry on SORT_MEM here for more info:

  http://developer.postgresql.org/docs/postgres/runtime-config.html

Another parameter you might want to tweak is wal_buffers.

Cheers,

Neil

-- 
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC




view thread (7+ messages)  latest in thread

Message-ID: <87lm4e5a2j.fsf@mailbox.samurai.com>
Permalink:  ../87lm4e5a2j.fsf@mailbox.samurai.com/
Also on:    postgresql.org/message-id/87lm4e5a2j.fsf@mailbox.samurai.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: neilc@samurai.com, scott.marlowe@ihs.com, kold@carolina.rr.com, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] my.cnf to postgresql.conf Conversion
  In-Reply-To: <87lm4e5a2j.fsf@mailbox.samurai.com>
  References: <Pine.LNX.4.33.0210311527280.6618-100000@css120.ihs.com> <87lm4e5a2j.fsf@mailbox.samurai.com>

* 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