pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Schmidt, Peter <peter.schmidt@prismedia.com>
Cc: 'Bruce Momjian' <pgman@candle.pha.pa.us>
Cc: 'Michael Ansley' <Michael.Ansley@intec-telecom-systems.com>
Cc: 'pgsql-admin@postgresql.org' <pgsql-admin@postgresql.org>
Subject: Re: v7.1b4 bad performance
Date: Fri, 16 Feb 2001 20:49:36 -0500
Message-ID: <23508.982374576@sss.pgh.pa.us> (raw)
In-Reply-To: <F1DC8388AD52D411B83B00D0B774D6EB1928E1@winmail.prismedia.com>
References: <F1DC8388AD52D411B83B00D0B774D6EB1928E1@winmail.prismedia.com>

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



view thread (63+ messages)  latest in thread

Message-ID: <23508.982374576@sss.pgh.pa.us>
Permalink:  ../23508.982374576@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23508.982374576@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter.schmidt@prismedia.com, pgman@candle.pha.pa.us, Michael.Ansley@intec-telecom-systems.com
  Subject: Re: v7.1b4 bad performance
  In-Reply-To: <23508.982374576@sss.pgh.pa.us>
  References: <F1DC8388AD52D411B83B00D0B774D6EB1928E1@winmail.prismedia.com> <23508.982374576@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox