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 f1NHm4x69981 for ; Fri, 23 Feb 2001 12:48:04 -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 f1J8Dlx41393 for ; Mon, 19 Feb 2001 03:13:47 -0500 (EST) (envelope-from Inoue@tpf.co.jp) Received: (qmail 21469 invoked from network); 19 Feb 2001 08:13:45 -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 08:13:45 -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 RAA07737; Mon, 19 Feb 2001 17:13:44 +0900 (JST) Message-ID: <3A90D607.C03221D5@tpf.co.jp> Date: Mon, 19 Feb 2001 17:15:03 +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> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Archive-Number: 200102/184 X-Sequence-Number: 786 Tom Lane wrote: > > I wrote: > > Thus, our past arguments about whether a few microseconds of delay > > before commit are a good idea seem moot; we do not have any portable way > > of implementing that, and a ten millisecond delay for commit is clearly > > Not Good. > > I've now finished running a spectrum of pgbench scenarios, and I find > no case in which commit_delay = 0 is worse than commit_delay > 0. > Now this is just one benchmark on just one platform, but it's pretty > damning... > 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. Regards, Hiroshi Inoue