X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.192]) by svr1.postgresql.org (Postfix) with ESMTP id D0F8CCCA56 for ; Thu, 17 Jul 2003 16:41:43 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr4.postgresql.org [64.117.224.192]) (amavisd-new, port 10024) with ESMTP id 93076-07 for ; Thu, 17 Jul 2003 16:42:10 +0000 (GMT) Received: from joeconway.com (66-146-172-86.skyriver.net [66.146.172.86]) by svr1.postgresql.org (Postfix) with ESMTP id 39510CCA46 for ; Thu, 17 Jul 2003 13:41:40 -0300 (ADT) Received: from [206.19.64.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 4.0.6) with ESMTP-TLS id 1826409; Thu, 17 Jul 2003 09:08:11 -0700 Message-ID: <3F16D175.6000404@joeconway.com> Date: Thu, 17 Jul 2003 09:40:21 -0700 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: nickf@ontko.com Cc: Josh Berkus , "Pgsql-Performance@Postgresql. Org" Subject: Re: Sanity check requested References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/268 X-Sequence-Number: 2561 Nick Fankhauser wrote: > Thanks for the correction- it sounds like this is one where usage > can't be precisely controlled in a dynamic user environment & I just > need to get a feel for what works under a load that approximates my > production system. > I think the most important point here is that if you set sort_mem too high, and you have a lot of simultaneous sorts, you can drive the server into swapping, which obviously is a very bad thing. You want it set as high as possible, but not so high given your usage patterns that you wind up swapping. Joe