Re: Hot standby and b-tree killed items - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Hot standby and b-tree killed items
Date
Msg-id 494DFC0D.4000108@enterprisedb.com
Whole thread Raw
In response to Re: Hot standby and b-tree killed items  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: Hot standby and b-tree killed items
List pgsql-hackers
Alvaro Herrera wrote:
> Heikki Linnakangas wrote:
>> Gregory Stark wrote:
>>> A vacuum being replayed -- even in a different database -- could trigger the
>>> error. Or with the btree split issue, a data load -- again even in a different
>>> database -- would be quite likely cause your SELECT to be killed.
>> Hmm, I wonder if we should/could track the "latestRemovedXid" separately  
>> for each database. There's no reason why we need to kill a read-only  
>> query in database X when a table in database Y is vacuumed.
> 
> What about shared catalogs?

True, vacuums on shared catalogs would affect read-only queries on all 
databases.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: "Hitoshi Harada"
Date:
Subject: Re: Windowing Function Patch Review -> Standard Conformance
Next
From: Andrew Gierth
Date:
Subject: Re: a small proposal for avoiding foot-shooting