Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f1O3TMx41228 for ; Fri, 23 Feb 2001 22:29:22 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from sraigw.sra.co.jp (sraigw.sra.co.jp [202.32.10.2]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f1NGDox57016; Fri, 23 Feb 2001 11:13:50 -0500 (EST) (envelope-from t-ishii@sra.co.jp) Received: from sranhk.sra.co.jp (sranhk [133.137.36.134]) by sraigw.sra.co.jp (8.8.7/3.7W-sraigw) with ESMTP id BAA27089; Sat, 24 Feb 2001 01:13:45 +0900 (JST) Received: from localhost (IDENT:t-ishii@portsv3-12 [133.137.84.12]) by sranhk.sra.co.jp (8.9.3/3.7W-srambox) with ESMTP id BAA28110; Sat, 24 Feb 2001 01:13:42 +0900 To: tgl@sss.pgh.pa.us Cc: hannu@tm.ee, pgsql-hackers@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [HACKERS] Re: v7.1b4 bad performance In-Reply-To: <28149.982943591@sss.pgh.pa.us> References: <3A9644F1.9000303@tm.ee> <28149.982943591@sss.pgh.pa.us> X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.1 =?iso-2022-jp?B?KBskQjAqGyhCKQ==?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010224011332M.t-ishii@sra.co.jp> Date: Sat, 24 Feb 2001 01:13:32 +0900 From: Tatsuo Ishii X-Dispatcher: imput version 20000228(IM140) Lines: 23 X-Archive-Number: 200102/193 X-Sequence-Number: 796 > 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. Those numbers are defined in the TPC-B spec. But pgbench is not an official test tool anyway, so you could modify it if you like. That is the benefit of the open source:-) -- Tatsuo Ishii