From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Ansley <Michael.Ansley@intec-telecom-systems.com>
Cc: 'Schmidt, Peter ' <peter.schmidt@prismedia.com>
Cc: ''Bruce Momjian' ' <pgman@candle.pha.pa.us>
Cc: ''pgsql-admin@postgresql.org' ' <pgsql-admin@postgresql.org>
Subject: Re: v7.1b4 bad performance
Date: Sat, 17 Feb 2001 11:13:00 -0500
Message-ID: <3807.982426380@sss.pgh.pa.us> (raw)
In-Reply-To: <7F124BC48D56D411812500D0B747251480F42D@FILESERVER002>
References: <7F124BC48D56D411812500D0B747251480F42D@FILESERVER002>
Michael Ansley <Michael.Ansley@intec-telecom-systems.com> writes:
> I would consider this perfectly acceptable. Official benchmarks can only be
> without the -F switch prior to 7.1, so in raw performance terms (with
> acceptable safety) you have to compare 7.0.2 without -F to 7.1beta4 with -F,
> because those are the fastest configurations with acceptable recovery.
How's that again? 7.1 with -F is just as much at the mercy of a system
crash as previous releases with -F, because it's not fsync'ing the WAL
log. In either case, -F is only for those who trust their hardware + OS
+ UPS, or perhaps are running development systems and care more for
speed than data recoverability.
> However, I would also expect 7.0.2 -F to be faster than 7.1beta4 -F, because
> 7.1beta4 is doing more (WAL specifically). Over the same plans, the engine
> is doing more work, so must be slower.
No, because 7.1 is able to batch writes to data files over multiple
transactions, given enough buffer space (larger -B makes more difference
than it used to). That buys back some or all of the performance lost to
WAL logfile writes. See Tatsuo's curves, and the similar numbers posted
by myself and Peter Schmidt. On that one benchmark, at least, 7.1 is
not slower, even with -F. (Given zero commit_delay, anyway ;-))
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, Michael.Ansley@intec-telecom-systems.com, peter.schmidt@prismedia.com, pgman@candle.pha.pa.us
Subject: Re: v7.1b4 bad performance
In-Reply-To: <3807.982426380@sss.pgh.pa.us>
References: <7F124BC48D56D411812500D0B747251480F42D@FILESERVER002> <3807.982426380@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