pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alex Turner <armtuk@gmail.com>
Cc: Marc G. Fournier <scrappy@postgresql.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Sustained inserts per sec ... ?
Date: Fri, 01 Apr 2005 17:03:53 -0500
Message-ID: <29021.1112393033@sss.pgh.pa.us> (raw)
In-Reply-To: <33c6269f050401132052019918@mail.gmail.com>
References: <20050401140421.P18194@ganymede.hub.org>
	<33c6269f05040113175b47b640@mail.gmail.com>
	<33c6269f050401132052019918@mail.gmail.com>

Alex Turner <armtuk@gmail.com> writes:
> On Apr 1, 2005 4:17 PM, Alex Turner <armtuk@gmail.com> wrote:
>> 1250/sec with record size average is 26 bytes
>> 800/sec with record size average is 48 bytes.
>> 250/sec with record size average is 618 bytes.

> Oh - this is with a seperate transaction per command.
> fsync is on.

[ raised eyebrow... ]  What kind of disk hardware is that exactly, and
does it have write cache enabled?  It's hard to believe those numbers
if not.

Write caching is fine if it's done in a battery-backed cache, which you
can get in the higher-end hardware RAID controllers.  Otherwise you're
going to have problems whenever the power goes away unexpectedly.

			regards, tom lane



view thread (44+ messages)  latest in thread

Message-ID: <29021.1112393033@sss.pgh.pa.us>
Permalink:  ../29021.1112393033@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29021.1112393033@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, armtuk@gmail.com, scrappy@postgresql.org
  Subject: Re: Sustained inserts per sec ... ?
  In-Reply-To: <29021.1112393033@sss.pgh.pa.us>

* 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