Re: Can anyone explain this pgbench results? - Mailing list pgsql-performance

From Michael Fuhr
Subject Re: Can anyone explain this pgbench results?
Date
Msg-id 20060306201716.GA14663@winnie.fuhr.org
Whole thread Raw
In response to Re: Can anyone explain this pgbench results?  ("Joost Kraaijeveld" <J.Kraaijeveld@Askesis.nl>)
List pgsql-performance
On Mon, Mar 06, 2006 at 07:46:05PM +0100, Joost Kraaijeveld wrote:
> Michael Fuhr wrote:
> > What's your setting?
>
> Default.

Have you tweaked postgresql.conf at all?  If so, what non-default
settings are you using?

> > Are your test results more consistent
> > if you execute CHECKPOINT between them?
>
> Could you tell me how I could do that?

Connect to the database as a superuser and execute a CHECKPOINT
statement.

http://www.postgresql.org/docs/8.1/interactive/sql-checkpoint.html

From the command line you could do something like

psql -c checkpoint
pgbench -c 10 -t 150 test
psql -c checkpoint
pgbench -c 10 -t 150 test
psql -c checkpoint
pgbench -c 10 -t 150 test

--
Michael Fuhr

pgsql-performance by date:

Previous
From: "Jignesh K. Shah"
Date:
Subject: Re: t1000/t2000 sun-servers
Next
From: "Harry Hehl"
Date:
Subject: Sequencial scan instead of using index