pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matt Clark <matt@ymogen.net>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Ron Johnson <ron.l.johnson@cox.net>
Cc: PgSQL Performance ML <pgsql-performance@postgresql.org>
Subject: Re: Hardware recommendations to scale to silly load
Date: Sat, 30 Aug 2003 16:36:20 +0100
Message-ID: <OAEAKHEHCMLBLIDGAFELIEHIDHAA.matt@ymogen.net> (raw)
In-Reply-To: <200308300244.h7U2i4S12751@candle.pha.pa.us>

> Just a data point, but on my Dual Xeon 2.4Gig machine with a 10k SCSI
> drive I can do 4k inserts/second if I turn fsync off.  If you have a
> battery-backed controller, you should be able to do the same.  (You will
> not need to turn fsync off --- fsync will just be fast because of the
> disk drive RAM).
>
> Am I missing something?

I think Ron asked this, but I will too, is that 4k inserts in one transaction or 4k transactions each with one insert?

fsync is very much faster (as are all random writes) with the write-back cache, but I'd hazard a guess that it's still not nearly as
fast as turning fsync off altogether.  I'll do a test perhaps...






view thread (45+ messages)  latest in thread

Message-ID: <OAEAKHEHCMLBLIDGAFELIEHIDHAA.matt@ymogen.net>
Permalink:  ../OAEAKHEHCMLBLIDGAFELIEHIDHAA.matt@ymogen.net/
Also on:    postgresql.org/message-id/OAEAKHEHCMLBLIDGAFELIEHIDHAA.matt@ymogen.net

 · 

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: matt@ymogen.net, pgman@candle.pha.pa.us, ron.l.johnson@cox.net
  Subject: Re: Hardware recommendations to scale to silly load
  In-Reply-To: <OAEAKHEHCMLBLIDGAFELIEHIDHAA.matt@ymogen.net>
  References: <200308300244.h7U2i4S12751@candle.pha.pa.us> <OAEAKHEHCMLBLIDGAFELIEHIDHAA.matt@ymogen.net>

* 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