Re: SUBTRANS: Minimizing calls to SubTransSetParent()

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: SUBTRANS: Minimizing calls to SubTransSetParent()
Дата
Msg-id 20221129183524.i53bkjhr3vxxu3re@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: SUBTRANS: Minimizing calls to SubTransSetParent()  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SUBTRANS: Minimizing calls to SubTransSetParent()  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi,

On 2022-11-29 13:30:02 -0500, Tom Lane wrote:
> I still wonder whether we'll regret losing information about the
> subtransaction tree structure, as discussed in the other thread [1].
> That seems like the main barrier to proceeding with this.

Yea, this has me worried. I suspect that we have a bunch of places relying on
this. I'm not at all convinced that optimizing XidInMVCCSnapshot() is a good
reason for this structural change, given that there's other possible ways to
optimize (e.g. my proposal to add overflowed subxids to the Snapshot during
lookup when there's space).

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления:

Предыдущее
От: vignesh C
Дата:
Сообщение: Re: Support logical replication of DDLs
Следующее
От: Robert Haas
Дата:
Сообщение: Re: SUBTRANS: Minimizing calls to SubTransSetParent()