Re: Updating FSM on recovery - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Updating FSM on recovery
Date
Msg-id 1225209751.3971.196.camel@ebony.2ndQuadrant
Whole thread Raw
In response to Re: Updating FSM on recovery  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Updating FSM on recovery
List pgsql-hackers
On Tue, 2008-10-28 at 15:35 +0000, Simon Riggs wrote:

> I wonder if there is merit in having an XLogInsertMulti() which inserts
> multiple records in a batch as a way of reducing WALInsertLock traffic.
> It might be possible to piggyback FSM records onto the main heap
> changes.

Or possibly an XLogInsertDeferred() which just queues up some work so
the next time we call XLogInsert() it will insert the deferred work as
well as the main work all in one lock cycle. It would only be usable for
low priority info like FSM stuff that isn't needed for recovery. Maybe
we could do that with hints also.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



pgsql-hackers by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: WIP patch: convert SQL-language functions to return tuplestores
Next
From: Heikki Linnakangas
Date:
Subject: Re: Updating FSM on recovery