Skip site navigation (1) Skip section navigation (2)

Re: CheckpointStartLock starvation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CheckpointStartLock starvation
Date: 2007-04-02 21:32:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Heikki Linnakangas <heikki(at)enterprisedb(dot)com> writes:
> Tom Lane wrote:
>> What sort of "wait for finish" mechanism do you have in mind?

> I was thinking of XactLockTableWait.

Ugh.  I don't think the bgwriter can participate in heavyweight-lockmgr
operations, or should become able to.

Nor will that work for prepared xacts --- you don't want to wait for the
eventual commit, only for PREPARE TRANSACTION to exit its critical

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Josh BerkusDate: 2007-04-02 21:35:00
Subject: Re: So are we calling it: Feature Freeze?
Previous:From: Tom LaneDate: 2007-04-02 21:30:58
Subject: Re: Is this portable?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group