Re: Can anyone explain this pgbench results?

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Can anyone explain this pgbench results?
Дата
Msg-id 20060306201716.GA14663@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: Can anyone explain this pgbench results?  ("Joost Kraaijeveld" <J.Kraaijeveld@Askesis.nl>)
Список 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 по дате отправления:

Предыдущее
От: "Jignesh K. Shah"
Дата:
Сообщение: Re: t1000/t2000 sun-servers
Следующее
От: "Harry Hehl"
Дата:
Сообщение: Sequencial scan instead of using index