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 f1H1nsx94978 for ; Fri, 16 Feb 2001 20:49:54 -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 f1H1na923511; Fri, 16 Feb 2001 20:49:37 -0500 (EST) To: "Schmidt, Peter" cc: "'Bruce Momjian'" , "'Michael Ansley'" , "'pgsql-admin@postgresql.org'" Subject: Re: v7.1b4 bad performance In-reply-to: References: Comments: In-reply-to "Schmidt, Peter" message dated "Fri, 16 Feb 2001 14:39:37 -0800" Date: Fri, 16 Feb 2001 20:49:36 -0500 Message-ID: <23508.982374576@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200102/118 X-Sequence-Number: 720 BTW, what -B setting were you running the postmaster with? While poking at this, I was reminded that having adequate buffer space really makes a considerable difference ... especially under WAL, where it's not necessary to flush dirty buffers to disk at the end of each transaction. The default -B 64 is certainly too small to get reasonable performance. I got roughly twice the tps reading (pgbench -t 1000, with -F) at -B 1024. regards, tom lane