From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Schmidt, Peter <peter.schmidt@prismedia.com>
Cc: pgsql-hackers@postgreSQL.org
Cc: pgsql-admin@postgreSQL.org
Subject: Re: [HACKERS] Re: v7.1b4 bad performance
Date: Mon, 19 Feb 2001 17:15:03 +0900
Message-ID: <3A90D607.C03221D5@tpf.co.jp> (raw)
References: <F1DC8388AD52D411B83B00D0B774D6EB1928E4@winmail.prismedia.com>
<2081.982385009@sss.pgh.pa.us>
<3038.982390238@sss.pgh.pa.us>
Tom Lane wrote:
>
> I wrote:
> > Thus, our past arguments about whether a few microseconds of delay
> > before commit are a good idea seem moot; we do not have any portable way
> > of implementing that, and a ten millisecond delay for commit is clearly
> > Not Good.
>
> I've now finished running a spectrum of pgbench scenarios, and I find
> no case in which commit_delay = 0 is worse than commit_delay > 0.
> Now this is just one benchmark on just one platform, but it's pretty
> damning...
>
In your test cases I always see "where bid = 1" at "update branches"
i.e.
update branches set bbalance = bbalance + ... where bid = 1
ISTM there's no multiple COMMIT in your senario-s due to
their lock conflicts.
Regards,
Hiroshi Inoue
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: Inoue@tpf.co.jp, tgl@sss.pgh.pa.us, peter.schmidt@prismedia.com, pgsql-hackers@postgreSQL.org
Subject: Re: [HACKERS] Re: v7.1b4 bad performance
In-Reply-To: <3A90D607.C03221D5@tpf.co.jp>
References: <F1DC8388AD52D411B83B00D0B774D6EB1928E4@winmail.prismedia.com> <2081.982385009@sss.pgh.pa.us> <3038.982390238@sss.pgh.pa.us> <3A90D607.C03221D5@tpf.co.jp>
* 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