pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Christopher Petrilli <petrilli@gmail.com>
Cc: jd@commandprompt.com, "Marc G. Fournier" <scrappy@postgresql.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Sustained inserts per sec ... ?
Date: Mon, 04 Apr 2005 23:35:00 -0400
Message-ID: <6490.1112672100@sss.pgh.pa.us> (raw)
In-Reply-To: <59d991c4050404195443fba84c@mail.gmail.com>
References: <20050401140421.P18194@ganymede.hub.org>
	<59d991c4050401124638c4ab5d@mail.gmail.com>
	<1112388818.3487.34.camel@jd2.commandprompt.com>
	<59d991c4050401125956d6069d@mail.gmail.com>
	<59d991c40504040648457808e9@mail.gmail.com>
	<26454.1112629979@sss.pgh.pa.us>
	<59d991c405040409094e7bbd17@mail.gmail.com>
	<26669.1112631807@sss.pgh.pa.us>
	<59d991c40504041846bc39a6@mail.gmail.com>
	<5217.1112668589@sss.pgh.pa.us>
	<59d991c4050404195443fba84c@mail.gmail.com>

Christopher Petrilli <petrilli@gmail.com> writes:
> On Apr 4, 2005 10:36 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> The indicated fix of course is to increase shared_buffers.

> Any idea where it should be set?

Not really.  An upper bound would be the total size of the finished
indexes for one 10M-row table, but one would suppose that that's
overkill.  The leaf pages shouldn't have to stay in RAM to have
reasonable behavior --- the killer case is when upper-level tree
pages drop out.  Or that's what I'd expect anyway.

You could probably drop the inter-insert sleep for testing purposes,
if you want to experiment with several shared_buffers values quickly.

			regards, tom lane



view thread (44+ messages)  latest in thread

Message-ID: <6490.1112672100@sss.pgh.pa.us>
Permalink:  ../6490.1112672100@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6490.1112672100@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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, petrilli@gmail.com, scrappy@postgresql.org
  Subject: Re: Sustained inserts per sec ... ?
  In-Reply-To: <6490.1112672100@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