Re: Multiple Xids in PGPROC?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Multiple Xids in PGPROC?
Дата
Msg-id 8039.1083778682@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Multiple Xids in PGPROC?  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> (I'd like to avoid the pg_subtrans lookup in the non-subtransaction case,
> but I don't see how to do that.)

Could we afford to make xids self-identifying?  For instance, odd
numbers are base xacts, even numbers are sub xacts.  This would in the
worst case cause us to cycle through the XID space twice as fast as we
need to, but I'm not convinced that's a big problem.
        regards, tom lane


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

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: pg_autovacuum misinterpreting reltuples?
Следующее
От: Jonathan Gardner
Дата:
Сообщение: Re: PostgreSQL pre-fork speedup