Re: SSI memory mitigation & false positive degradation - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: SSI memory mitigation & false positive degradation
Date
Msg-id 4D1B2DE90200002500038D86@gw.wicourts.gov
Whole thread Raw
In response to Re: SSI memory mitigation & false positive degradation  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> wrote:
>> Any chance of upgrading the lock to a relation lock, or killing
>> the serializable transaction instead?
>  
> Absolutely.  Good suggestion.  Thanks!
I pushed a TODO SSI comment at the appropriate point with my ideas
on how best to fix this.  I want to stick with the SLRU changes for
now, rather than risk flushing "brain cache" on the topic just now. 
If Dan (or anyone else, for that matter) wants to fix this, feel
free; just post first, as will I if nobody beats me to it.
There are actually two spots in PredicateLockPageSplit and one in
PredicateLockPageCombine where this needs to be addressed.  I can't
think of any other functions where we're vulnerable to having an
impact on non-serializable transactions.  We sure want to plug those
-- I see it as critical to acceptance that we can honor the promise
of no impact on any transactions at REPEATABLE READ or less strict
isolation levels.
-Kevin


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: TODO item for pg_ctl and server detection
Next
From: Robert Haas
Date:
Subject: Re: Avoiding rewrite in ALTER TABLE ALTER TYPE