X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 602329FA38F for ; Tue, 13 Jun 2006 20:53:38 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 48096-02 for ; Tue, 13 Jun 2006 20:53:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp1.ActiveState.com (gw.activestate.com [209.17.183.249]) by postgresql.org (Postfix) with ESMTP id 9B45B9FA1A8 for ; Tue, 13 Jun 2006 20:53:27 -0300 (ADT) Received: from smtp3.activestate.com (smtp3.activestate.com [192.168.3.19]) by smtp1.ActiveState.com (8.12.10/8.12.10) with ESMTP id k5DNrPQG015399 for ; Tue, 13 Jun 2006 16:53:25 -0700 (envelope-from mischa@ca.sophos.com) Received: from [192.168.99.210] (mallet.activestate.com [192.168.99.210]) by smtp3.ActiveState.com (8.13.4/8.13.4) with ESMTP id k5DNrPgT023612 for ; Tue, 13 Jun 2006 16:53:25 -0700 (envelope-from mischa@ca.sophos.com) Message-ID: <448F51DE.2070604@ca.sophos.com> Date: Tue, 13 Jun 2006 17:01:34 -0700 From: Mischa Sandberg Reply-To: mischa@ca.sophos.com User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Solaris shared_buffers anomaly? References: <1150151282.14661.42.camel@tigger> <20060613000441.GI8588@kenobi.snowman.net> <20060613200810.GZ34196@pervasive.com> <448F3A6E.6080908@ca.sophos.com> <20060613224759.GM34196@pervasive.com> <448F4842.4010305@ca.sophos.com> <20060613231730.GS34196@pervasive.com> In-Reply-To: <20060613231730.GS34196@pervasive.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/229 X-Sequence-Number: 19586 Jim C. Nasby wrote: > On Tue, Jun 13, 2006 at 04:20:34PM -0700, Mischa Sandberg wrote: >> Jim C. Nasby wrote: >>> What's sort_mem set to? I suspect you simply ran the machine out of >>> memory. >> 8192 (8MB). No issue when shared_buffers was 2000; same apps always. > > So if all 50 backends were running a sort, you'd use 400MB. The box has > 4G, right? Umm ... yes. "if". 35-40 of them are doing pure INSERTS. Not following your train. >> Yep, tested /etc/system segmap_percent at 20,40,60. >> No significant difference between 20 and 60. > That's pretty disturbing... how large is your database? ~10GB. Good locality. Where heading? -- Engineers think that equations approximate reality. Physicists think that reality approximates the equations. Mathematicians never make the connection.