From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tatsuo Ishii <t-ishii@sra.co.jp>
Cc: hannu@tm.ee
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [HACKERS] Re: v7.1b4 bad performance
Date: Fri, 23 Feb 2001 11:42:22 -0500
Message-ID: <28371.982946542@sss.pgh.pa.us> (raw)
In-Reply-To: <20010224011332M.t-ishii@sra.co.jp>
References: <Pine.BSF.4.21.0102182347290.16523-100000@woozle.rinet.ru>
<3A9644F1.9000303@tm.ee>
<28149.982943591@sss.pgh.pa.us>
<20010224011332M.t-ishii@sra.co.jp>
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
>> It seems to me that the branches table should have at least 10 to 100
>> entries, and tellers about 10 times whatever branches is. 100000
>> accounts rows seems enough though.
> Those numbers are defined in the TPC-B spec.
Ah. And of course, the TPC bunch never thought anyone would be
interested in the results with scale factors so tiny as one ;-),
so they didn't see any problem with it.
Okay, plan B then: let's ask people to redo their benchmarks with
-s bigger than one. Now, how much bigger?
To the extent that you think this is a model of a real bank, it should
be obvious that the number of concurrent transactions cannot exceed the
number of tellers; there should never be any write contention on a
teller's table row, because only that teller (client) should be issuing
transactions against it. Contention on a branch's row is realistic,
but not from more clients than there are tellers in the branch.
As a rule of thumb, then, we could say that the benchmark's results are
not to be believed for numbers of clients exceeding perhaps 5 times the
scale factor, ie, half the number of teller rows (so that it's not too
likely we will have contention on a teller row).
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, t-ishii@sra.co.jp, hannu@tm.ee, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Re: v7.1b4 bad performance
In-Reply-To: <28371.982946542@sss.pgh.pa.us>
References: <Pine.BSF.4.21.0102182347290.16523-100000@woozle.rinet.ru> <3A9644F1.9000303@tm.ee> <28149.982943591@sss.pgh.pa.us> <20010224011332M.t-ishii@sra.co.jp> <28371.982946542@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