Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 2434E64FCEA for ; Thu, 7 Aug 2008 04:35:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 98552-07 for ; Thu, 7 Aug 2008 04:35:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from 30.mail-out.ovh.net (30.mail-out.ovh.net [213.186.62.213]) by postgresql.org (Postfix) with SMTP id C825764FCF4 for ; Thu, 7 Aug 2008 04:35:25 -0300 (ADT) Received: (qmail 23411 invoked by uid 503); 7 Aug 2008 07:35:41 -0000 Received: from unknown (HELO mail311.ha.ovh.net) (213.186.33.59) by 30.mail-out.ovh.net with SMTP; 7 Aug 2008 07:35:41 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 7 Aug 2008 07:34:52 -0000 Received: from ita73-2-82-246-12-243.fbx.proxad.net (HELO test.localdomain) (dforums@vieonet.com@82.246.12.243) by ns0.ovh.net with SMTP; 7 Aug 2008 07:34:52 -0000 Message-ID: <489AA5B5.9080109@vieonet.com> Date: Thu, 07 Aug 2008 09:35:17 +0200 From: dforum User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Merlin Moncure CC: pgsql-performance@postgresql.org Subject: Re: Plz Heeeelp! performance settings References: <35FABCF85D99464FB00BC5123DC2A70A051D0FB8@s228130hz1ew09.apptix-01.savvis.net> <276541.4189.qm@web25805.mail.ukl.yahoo.com> <35FABCF85D99464FB00BC5123DC2A70A051D11E1@s228130hz1ew09.apptix-01.savvis.net> <48908988.7020204@emolecules.com> <1217436578.6288.44.camel@localhost> <1240.1217440309@sss.pgh.pa.us> <1217441061.6288.47.camel@localhost> <489A21C2.8060801@vieonet.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 11933413112894113630 X-Ovh-Remote: 82.246.12.243 (ita73-2-82-246-12-243.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: DONE|H 0.5/N X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/27 X-Sequence-Number: 30908 Tx for your reply. You mean that RAID use fsync method for keeping data's copy. So you invite me to desactivate fsync to increase the performance ? Desactivating fsync. my second disk will not be uptodate, so if the machine crash, I wont be able to get the server working quickly??? But if I use a second machine to replicate the database, I escape this problem isn't it ? If I understand right, could you tell me how to do desactivate fsync please ? Best regards David Merlin Moncure a écrit : > On Wed, Aug 6, 2008 at 6:12 PM, dforum wrote: > >> Hello to all, >> >> >> I have a Linux 2.6.24.2-xxxx-std-ipv4-64 #3 SMP Tue Feb 12 12:27:47 CET 2008 >> x86_64 Intel(R) Xeon(R) CPU X5355 @ 2.66GHz GenuineIntel GNU/Linux >> with 8Gb of memory. Using sata II disk in RAID 1 (I known that is bad, but >> > > > this is likely your problem...with fsync on (as you have it), you will > be lucky to get a couple of hundred transactions/sec out of the > database. you are probably just exceeding your operational > capabilities of the hardware so you probably need to upgrade or turn > off fsync (which means data corruption in event of hard crash). > > merlin > >