Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 811D42E005B for ; Thu, 21 Feb 2008 19:40:07 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 04854-06 for ; Thu, 21 Feb 2008 19:40:04 -0400 (AST) Received: from beaver.fastcrypt.com (beaver.fastcrypt.com [64.7.141.17]) by postgresql.org (Postfix) with ESMTP id 0ED002E0037 for ; Thu, 21 Feb 2008 19:40:04 -0400 (AST) Received: from [192.168.1.14] (dcdsl.ebox.com [64.7.143.116]) by beaver.fastcrypt.com (Postfix) with ESMTP id AB7C5158036C; Thu, 21 Feb 2008 18:43:32 -0500 (EST) Cc: "Mark Kirkwood" , "Adonias Malosso" , "Claus Guttesen" , pgsql-performance@postgresql.org Message-Id: From: Dave Cramer To: Scott Marlowe In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: 4s query want to run faster Date: Thu, 21 Feb 2008 18:40:02 -0500 References: <8a5d3c890802211248k7d9dfbb5ndd645358a84130a7@mail.gmail.com> <8a5d3c890802211311m5fab66d6q865fda1737e47802@mail.gmail.com> <8a5d3c890802211323j2a7e2ebdye42f988222046e44@mail.gmail.com> <47BE023A.6000905@paradise.net.nz> X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/280 X-Sequence-Number: 28822 On 21-Feb-08, at 6:16 PM, Scott Marlowe wrote: > On Thu, Feb 21, 2008 at 4:59 PM, Mark Kirkwood > wrote: >> The other parameter you might want to look at is >> effective_cache_size - >> increasing it will encourage index use. On a machine with 16GB the >> default is probably too small (there are various recommendations >> about >> how to set this ISTR either Scott M or Greg Smith had a page >> somewhere >> that covered this quite well - guys?). >> The default is always too small in my experience. What are the rest of the configuration values ? Dave