Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B47564758BD; Thu, 31 Oct 2002 20:54:10 -0500 (EST) Received: from bob.samurai.com (bob.samurai.com [205.207.28.75]) by postgresql.org (Postfix) with ESMTP id 447E747580B; Thu, 31 Oct 2002 20:54:10 -0500 (EST) Received: from tokyo.samurai.com (DU150.N224.ResNet.QueensU.CA [130.15.224.150]) by bob.samurai.com (Postfix) with ESMTP id 27FE61ECA; Thu, 31 Oct 2002 20:54:13 -0500 (EST) To: "scott.marlowe" Cc: Kevin Old , pgsql , pgadmin Subject: Re: [GENERAL] my.cnf to postgresql.conf Conversion References: From: Neil Conway In-Reply-To: Date: 31 Oct 2002 20:54:12 -0500 Message-ID: <87lm4e5a2j.fsf@mailbox.samurai.com> Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/17 X-Sequence-Number: 6205 "scott.marlowe" 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 || PGP Key ID: DB3C29FC