Re: CSStorm occurred again by postgreSQL8.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CSStorm occurred again by postgreSQL8.2
Дата
Msg-id 13175.1154979751@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CSStorm occurred again by postgreSQL8.2  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: CSStorm occurred again by postgreSQL8.2
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>> I'm wondering about doing something similar to what
>> TransactionIdIsInProgress does, ie, make use of the PGPROC lists
>> of live subtransactions.

> Well, that sounds awfully more expensive than setting
> local-to-my-database Xmins as well as global (all databases) Xmins :-)

Only when you've got a lot of subtransactions.  The point of this
discussion is to optimize for the few-or-none case.  In any case,
the problem with the local/global bit was that you'd be expending
foreground-process cycles without any foreground-process return.
Being able to use a snapshot without consulting pg_subtrans will
certainly buy back some cycles...
        regards, tom lane


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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: proposal for PL packages for 8.3.
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Intermittent "make check" failures on hyena