Re: Multiple Xids in PGPROC?

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Multiple Xids in PGPROC?
Дата
Msg-id 409866CC.2050705@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Multiple Xids in PGPROC?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Multiple Xids in PGPROC?
Re: Multiple Xids in PGPROC?
Список pgsql-hackers
> I remember going through this.  Other backends will use pg_subtrans to
> know what transactions are in progress. They have to do the standard
> lookups to find the status of the parent transaction.  The backend-local
> list of xids is needed so the commit can clean up those subtransaction
> xids so that later transactions don't have to use pg_subtrans.

Is there some solution whereby the common case (99.999% of transactions 
won't be subtransactoins) is fast, and the uncommon case of being in a 
subtransaction is slower?

Chris



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Multiple Xids in PGPROC?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Multiple Xids in PGPROC?