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 f1H709x39266; Sat, 17 Feb 2001 02:00:09 -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 f1H6xx903213; Sat, 17 Feb 2001 01:59:59 -0500 (EST) To: Tatsuo Ishii cc: peter.schmidt@prismedia.com, pgsql-hackers@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [HACKERS] Re: v7.1b4 bad performance In-reply-to: <20010217154635M.t-ishii@sra.co.jp> References: <2081.982385009@sss.pgh.pa.us> <20010217154635M.t-ishii@sra.co.jp> Comments: In-reply-to Tatsuo Ishii message dated "Sat, 17 Feb 2001 15:46:35 +0900" Date: Sat, 17 Feb 2001 01:59:59 -0500 Message-ID: <3210.982393199@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200102/130 X-Sequence-Number: 732 Tatsuo Ishii writes: > I agree with Tom. I did some benchmarking tests using pgbench for a > computer magazine in Japan. I got a almost equal or better result for > 7.1 than 7.0.3 if commit_delay=0. See included png file. Interesting curves. One thing you might like to know is that while poking around with a profiler this afternoon, I found that the vast majority of the work done for this benchmark is in the uniqueness checks driven by the unique indexes. Declare those as plain (non unique) and the TPS figures would probably go up noticeably. That doesn't make the test invalid, but it does suggest that pgbench is emphasizing one aspect of system performance to the exclusion of others ... regards, tom lane