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 4C50953ABB; Fri, 1 Apr 2005 20:27:14 +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 34188-01; Fri, 1 Apr 2005 19:27:09 +0000 (GMT) Received: from gw.tssi.com (gw.tssi.com [198.147.197.1]) by svr1.postgresql.org (Postfix) with ESMTP id A799553AD0; Fri, 1 Apr 2005 20:27:07 +0100 (BST) Received: from gw.tssi.com (nolan@gw.tssi.com [127.0.0.1] (may be forged)) by gw.tssi.com (8.12.6/8.12.6) with ESMTP id j31JRGZE006426; Fri, 1 Apr 2005 13:27:16 -0600 Received: (from nolan@localhost) by gw.tssi.com (8.12.6/8.12.6/Submit) id j31JRFMK006424; Fri, 1 Apr 2005 13:27:15 -0600 From: Mike Nolan Message-Id: <200504011927.j31JRFMK006424@gw.tssi.com> Subject: Re: Sustained inserts per sec ... ? To: scrappy@postgresql.org (Marc G. Fournier) Date: Fri, 1 Apr 2005 13:27:14 -0600 (CST) Cc: pgsql-performance@postgresql.org In-Reply-To: <20050401140421.P18194@ganymede.hub.org> from "Marc G. Fournier" at Apr 01, 2005 02:06:03 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200504/13 X-Sequence-Number: 11410 > Just curious, but does anyone have an idea of what we are capable of? I > realize that size of record would affect things, as well as hardware, but > if anyone has some ideas on max, with 'record size', that would be > appreciated ... Well, I just did an insert of 27,500 records with 9 fields, averaging around 118 bytes per record, each insert statement coming from a separate SQL statement fed to psql, and it took a bit over 4 minutes, or about 106 inserts per second. That seems consistent with what I get when I do a restore of a dump file that has insert statement instead of COPY. The hardware is a Dell dual Xeon system, the disks are mirrored SATA drives with write buffering turned off. -- Mike Nolan