X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C7889D1B18F for ; Thu, 15 Jul 2004 15:09:04 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 92129-06 for ; Thu, 15 Jul 2004 18:09:02 +0000 (GMT) Received: from davinci.ethosmedia.com (server226.ethosmedia.com [209.128.84.226]) by svr1.postgresql.org (Postfix) with ESMTP id C8ADAD1B170 for ; Thu, 15 Jul 2004 15:08:59 -0300 (ADT) Received: from [64.81.245.111] (HELO temoku.sf.agliodbs.com) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 5765884; Thu, 15 Jul 2004 11:10:11 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: Shridhar Daithankar , =?iso-8859-15?q?Herv=E9=20Piedvache?= Subject: Re: Insert are going slower ... Date: Thu, 15 Jul 2004 11:09:16 -0700 User-Agent: KMail/1.5.4 Cc: pgsql-performance@postgresql.org References: <200407131850.52095.herve@elma.fr> <200407142332.05161.footcow@noos.fr> <40F62284.3090004@frodo.hserus.net> In-Reply-To: <40F62284.3090004@frodo.hserus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200407151109.16466.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/101 X-Sequence-Number: 7492 Shridhar, > I suggest you check this first. Check the performance tuning guide.. > > http://www.varlena.com/varlena/GeneralBits/Tidbits/index.php > > That is a starters. As Josh suggested, increase checkpoint segments if you have > disk space. Correspondingly WAL disk space requirements go up as well. Well, not if he has fsync=off. But having fsync off is a very bad idea. You do realize, Herve', that if you lose power on that machine you'll most likely have to restore from backup? -- -Josh Berkus Aglio Database Solutions San Francisco