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: Tue, 20 Feb 2001 08:28:47 +0900
Message-ID: <3A91AC2F.3471A74@tpf.co.jp> (raw)
References: <F1DC8388AD52D411B83B00D0B774D6EB1928E4@winmail.prismedia.com>
<2081.982385009@sss.pgh.pa.us>
<3038.982390238@sss.pgh.pa.us>
<3A90D607.C03221D5@tpf.co.jp>
<25499.982602903@sss.pgh.pa.us>
Tom Lane wrote:
>
> Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> > 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.
>
> Hmm. It looks like using a 'scaling factor' larger than 1 is necessary
> to spread out the updates of "branches". AFAIR, the people who reported
> runs with scaling factors > 1 got pretty much the same results though.
>
People seem to believe your results are decisive
and would raise your results if the evidence is
required.
All clients of pgbench execute the same sequence
of queries. There could be various conflicts e.g.
oridinary lock, buffer lock, IO spinlock ...
I've been suspicious if pgbench is an (unique)
appropiriate test case for evaluaing commit_delay.
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: <3A91AC2F.3471A74@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> <25499.982602903@sss.pgh.pa.us> <3A91AC2F.3471A74@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