Re: Free WAL caches on switching segments - Mailing list pgsql-patches

From Tom Lane
Subject Re: Free WAL caches on switching segments
Date
Msg-id 23092.1139954337@sss.pgh.pa.us
Whole thread Raw
In response to Re: Free WAL caches on switching segments  (Mark Kirkwood <markir@paradise.net.nz>)
Responses Re: Free WAL caches on switching segments
List pgsql-patches
Mark Kirkwood <markir@paradise.net.nz> writes:
> Thinking about this, presumably any write intensive, multi-user
> benchmark would seem to be suitable, so would something like OSDL's
> DBT-2 actually be better to try?

I'm certainly not wedded to pgbench, give it a try.

BTW, I forgot to mention that it would be useful to try different
wal_sync_methods along with this.  The reason why it seems unlikely
the patch is useful on Linux is that the sync methods that use O_DIRECT
probably dominate using the patch anyway.  There may or may not be
a similar dependence on sync method on other kernels ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: Free WAL caches on switching segments
Next
From: Kris Jurka
Date:
Subject: Re: add additional options to CREATE TABLE ... AS