pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hannu Krosing <hannu@tm.ee>
Cc: Tatsuo Ishii <t-ishii@sra.co.jp>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [HACKERS] Re: v7.1b4 bad performance
Date: Fri, 23 Feb 2001 10:53:11 -0500
Message-ID: <28149.982943591@sss.pgh.pa.us> (raw)
In-Reply-To: <3A9644F1.9000303@tm.ee>
References: <Pine.BSF.4.21.0102182347290.16523-100000@woozle.rinet.ru>
	<3A9644F1.9000303@tm.ee>

Hannu Krosing <hannu@tm.ee> writes:
> Is this unmodified pgbench or has it Hiroshi tweaked behaviour of 
> connecting each client to its own database, so that locking and such 
> does not shade the possible benefits (was it about 15% ?) of delay>1

I didn't much like that approach to altering the test, since it also
means that all the clients are working with separate tables and hence
not able to share read I/O; that doesn't seem like it's the same
benchmark at all.  What would make more sense to me is to increase the
number of rows in the branches table.

Right now, at the default "scale factor" of 1, pgbench makes tables of
these sizes:

accounts	100000
branches	1
history		0		(filled during test)
tellers		10

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.

Making such a change would render results not comparable with the prior
pgbench, but that would be true with Hiroshi's change too.

Alternatively we could just say that we won't believe any numbers taken
at scale factors less than, say, 10, but I doubt we really need
million-row accounts tables in order to learn anything...

			regards, tom lane



view thread (63+ messages)  latest in thread

Message-ID: <28149.982943591@sss.pgh.pa.us>
Permalink:  ../28149.982943591@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28149.982943591@sss.pgh.pa.us

 · 

reply

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, hannu@tm.ee, t-ishii@sra.co.jp, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] Re: v7.1b4 bad performance
  In-Reply-To: <28149.982943591@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>

* 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