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 2AE46EAE55D for ; Sat, 23 Oct 2004 12:15:06 +0100 (BST) 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 25127-10 for ; Sat, 23 Oct 2004 11:15:15 +0000 (GMT) Received: from trofast.sesse.net (trofast.sesse.net [129.241.93.32]) by svr1.postgresql.org (Postfix) with ESMTP id 9C8E1EAE558 for ; Sat, 23 Oct 2004 12:15:02 +0100 (BST) Received: from sesse by trofast.sesse.net with local (Exim 3.36 #1 (Debian)) id 1CLJru-0006YS-00 for ; Sat, 23 Oct 2004 13:15:30 +0200 Date: Sat, 23 Oct 2004 13:15:30 +0200 From: "Steinar H. Gunderson" To: pgsql-performance@postgresql.org Subject: Re: Insert performance, what should I expect? Message-ID: <20041023111530.GA24976@uio.no> Mail-Followup-To: pgsql-performance@postgresql.org References: <97b3fe2041019185337a8c3d8@mail.gmail.com> <417A3304.9000608@bigfoot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <417A3304.9000608@bigfoot.com> X-Operating-System: Linux 2.6.8.1 on a i686 User-Agent: Mutt/1.5.6+20040907i 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: 200410/385 X-Sequence-Number: 8861 On Sat, Oct 23, 2004 at 12:31:32PM +0200, Gaetano Mendola wrote: >> Any comments/suggestions would be appreciated. > Tune also the disk I/O elevator. > > look at this: http://www.varlena.com/varlena/GeneralBits/49.php Mm, interesting. I've heard somewhere that the best for database-like loads on Linux is to disable the anticipatory I/O scheduler (http://kerneltrap.org/node/view/567), which should probably influence the numbers for elvtune also -- anybody know whether this is true or not for PostgreSQL? /* Steinar */ -- Homepage: http://www.sesse.net/