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 f1NHxwx72030 for ; Fri, 23 Feb 2001 12:59:58 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f1JNRWx13928 for ; Mon, 19 Feb 2001 18:27:33 -0500 (EST) (envelope-from Inoue@tpf.co.jp) Received: (qmail 2267 invoked from network); 19 Feb 2001 23:27:29 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.10.0.100.in-addr.arpa with SMTP; 19 Feb 2001 23:27:29 -0000 Received: from tpf.co.jp (3d_note1 [126.0.1.61]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id IAA08305; Tue, 20 Feb 2001 08:27:27 +0900 (JST) Message-ID: <3A91AC2F.3471A74@tpf.co.jp> Date: Tue, 20 Feb 2001 08:28:47 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Tom Lane CC: "Schmidt, Peter" , pgsql-hackers@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [HACKERS] Re: v7.1b4 bad performance References: <2081.982385009@sss.pgh.pa.us> <3038.982390238@sss.pgh.pa.us> <3A90D607.C03221D5@tpf.co.jp> <25499.982602903@sss.pgh.pa.us> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Archive-Number: 200102/186 X-Sequence-Number: 789 Tom Lane wrote: > > Hiroshi Inoue 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