pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mike Nolan <nolan@gw.tssi.com>
To: scrappy@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: Sustained inserts per sec ... ?
Date: Fri, 1 Apr 2005 13:27:14 -0600 (CST)
Message-ID: <200504011927.j31JRFMK006424@gw.tssi.com> (raw)
In-Reply-To: <20050401140421.P18194@ganymede.hub.org>

> 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





view thread (44+ messages)  latest in thread

Message-ID: <200504011927.j31JRFMK006424@gw.tssi.com>
Permalink:  ../200504011927.j31JRFMK006424@gw.tssi.com/
Also on:    postgresql.org/message-id/200504011927.j31JRFMK006424@gw.tssi.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: nolan@gw.tssi.com, scrappy@postgresql.org
  Subject: Re: Sustained inserts per sec ... ?
  In-Reply-To: <200504011927.j31JRFMK006424@gw.tssi.com>
  References: <20050401140421.P18194@ganymede.hub.org> <200504011927.j31JRFMK006424@gw.tssi.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox