Re: WIP: bufmgr rewrite per recent discussions

Поиск
Список
Период
Сортировка
От Mark Cave-Ayland
Тема Re: WIP: bufmgr rewrite per recent discussions
Дата
Msg-id 9EB50F1A91413F4FA63019487FCD251D113114@WEBBASEDDC.webbasedltd.local
обсуждение исходный текст
Ответ на Re: WIP: bufmgr rewrite per recent discussions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 16 February 2005 17:28
> To: Mark Cave-Ayland
> Cc: pgsql-patches@postgresql.org
> Subject: Re: [PATCHES] WIP: bufmgr rewrite per recent discussions

(cut)

> What do you mean by "pause" exactly?  pgbench doesn't emit
> any output during a run so I'm not sure what you are watching.

During pgbench I get output on the console similar to the following:

client 1 receiving
client 1 sending end
client 6 receiving
client 6 sending insert into history(tid,bid,aid,delta,mtime)
values(31,6,295341,938,'now')
client 7 receiving
client 7 sending update branches set bbalance = bbalance + 449 where bid = 8
client 6 receiving
client 6 sending end
..etc..

Normally it scrolls faster than I can keep up with, but as described the
test then 'pauses' for a few seconds before continuing at it's normal pace.
It's especially noticeable at 1000 shared buffers, and it occurs
with/without using your patch. I've just actually checked the logfile and
I'm seeing a few messages similar to below:

LOG:  checkpoints are occurring too frequently (7 seconds apart)
HINT:  Consider increasing the configuration parameter
"checkpoint_segments".

I've just tried running again with checkpoint_segments set to 8 but that
doesn't seem to make any difference to the pauses. Perhaps it is something
to do with the drives or filesystem? It's a default FC3 install so it's
using ext3 - this is mirrored across 2 SATA drives with software RAID 1.


Kind regards,

Mark.

------------------------
WebBased Ltd
South West Technology Centre
Tamar Science Park
Plymouth
PL6 8BT

T: +44 (0)1752 791021
F: +44 (0)1752 791023
W: http://www.webbased.co.uk



В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WIP: bufmgr rewrite per recent discussions
Следующее
От: "Kobus Walters"
Дата:
Сообщение: PreparedStatement setObject