X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id B9E7F11F66D3 for ; Wed, 5 Apr 2006 20:25:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 57934-10 for ; Wed, 5 Apr 2006 20:25:42 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from linda-5.paradise.net.nz (bm-5a.paradise.net.nz [203.96.152.184]) by postgresql.org (Postfix) with ESMTP id 793A511F662B for ; Wed, 5 Apr 2006 20:25:40 -0300 (ADT) Received: from smtp-2.paradise.net.nz (tclsnelb1-src-1.paradise.net.nz [203.96.152.172]) by linda-5.paradise.net.nz (Paradise.net.nz) with ESMTP id <0IX900BXMVQPCH@linda-5.paradise.net.nz> for pgsql-performance@postgresql.org; Thu, 06 Apr 2006 11:25:37 +1200 (NZST) Received: from [192.168.1.11] (218-101-29-161.dsl.clear.net.nz [218.101.29.161]) by smtp-2.paradise.net.nz (Postfix) with ESMTP id 13AA512E8D88; Thu, 06 Apr 2006 11:25:37 +1200 (NZST) Date: Thu, 06 Apr 2006 11:25:36 +1200 From: Mark Kirkwood Subject: Re: bad performance on Solaris 10 In-reply-to: <1144272685.4562.43.camel@dell.home.lan> To: Chris Mair Cc: pgsql-performance@postgresql.org, josh@agliodbs.com, llonergan@greenplum.com Message-id: <443451F0.5060605@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20051106) References: <1144111178.3723.80.camel@dell.home.lan> <1144272685.4562.43.camel@dell.home.lan> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.166 required=5 tests=[AWL=0.166] X-Spam-Score: 0.166 X-Spam-Level: X-Archive-Number: 200604/79 X-Sequence-Number: 18163 Chris Mair wrote: > Hi, > > thanks for all replys. > > I've done a few tests. > > Remounting the fs where $PGDATA lives with "forcedirectio" > (together with logging, that is default) did not help > (if not harm...) performance. > > Sure - forcedirectio on the entire $PGDATA is a definite loss, you only want it on $PGDATA/pg_xlog. The usual way this is accomplished is by making a separate filsystem for pg_xlog and symlinking from $PGDATA. Did you try the other option of remounting the fs for $PGDATA without logging or forcedirectio? Cheers Mark