Received: from sss.pgh.pa.us (sss.pgh.pa.us [209.114.132.154]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f1JHFKx87288; Mon, 19 Feb 2001 12:15:20 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.1/8.11.1) with ESMTP id f1JHF3925502; Mon, 19 Feb 2001 12:15:03 -0500 (EST) To: Hiroshi Inoue cc: "Schmidt, Peter" , pgsql-hackers@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [HACKERS] Re: v7.1b4 bad performance In-reply-to: <3A90D607.C03221D5@tpf.co.jp> References: <2081.982385009@sss.pgh.pa.us> <3038.982390238@sss.pgh.pa.us> <3A90D607.C03221D5@tpf.co.jp> Comments: In-reply-to Hiroshi Inoue message dated "Mon, 19 Feb 2001 17:15:03 +0900" Date: Mon, 19 Feb 2001 12:15:03 -0500 Message-ID: <25499.982602903@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200102/152 X-Sequence-Number: 754 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. regards, tom lane