From: Syd <569170@aliencamel.com>
To: pgsql-performance@postgresql.org
Subject: Re: insert speed - Mac OSX vs Redhat
Date: Fri, 16 Jan 2004 08:17:32 +1100
Message-ID: <3B34D6CC-47A0-11D8-BC83-00039398E788@aliencamel.com> (raw)
In-Reply-To: <22333.1074181481@sss.pgh.pa.us>
References: <A278005E-4762-11D8-BC83-00039398E788@aliencamel.com>
<22333.1074181481@sss.pgh.pa.us>
On 16/01/2004, at 2:44 AM, Tom Lane wrote:
...
> As noted elsewhere, it's highly likely that this has nothing to do with
> the OS, and everything to do with write caching in the disks being
> used.
>
> I assume you are benchmarking small individual transactions (one insert
> per xact). In such scenarios it's essentially impossible to commit
> more
> than one transaction per revolution of the WAL disk, because you have
> to
> write the same WAL disk page repeatedly and wait for it to get down to
> the platter. When you get results that are markedly in excess of the
> disk RPM figure, it's proof positive that the disk is lying about write
> complete (or that you don't have fsync on).
>
Tom, thanks for this explanation - we'll check this out straight away,
but it would explain a lot.
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: 569170@aliencamel.com
Subject: Re: insert speed - Mac OSX vs Redhat
In-Reply-To: <3B34D6CC-47A0-11D8-BC83-00039398E788@aliencamel.com>
References: <A278005E-4762-11D8-BC83-00039398E788@aliencamel.com> <22333.1074181481@sss.pgh.pa.us> <3B34D6CC-47A0-11D8-BC83-00039398E788@aliencamel.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