Re: 64-bit CommandIds

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 64-bit CommandIds
Дата
Msg-id 19319.1209133715@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 64-bit CommandIds  (Hans-Juergen Schoenig <hs@cybertec.at>)
Ответы Re: 64-bit CommandIds  (Hans-Juergen Schoenig <hs@cybertec.at>)
Список pgsql-patches
Hans-Juergen Schoenig <hs@cybertec.at> writes:
> Alvaro Herrera wrote:
>> Question for Hans-Juergen and Zoltan: have you tested 8.3 and do you
>> still see the need for this?

> i have seen this problem two or three times within the past 2-3 years or
> so. so, it can basically happen in the field for some special purpose
> applications but i don't see this as an every day problem. it would be
> nice to have it in.

So these experiences were pre-8.3, right?

The reason that I'm harping on that is that plpgsql does a
CommandCounterIncrement for each expression it evaluates, whether
or not there's any visible database access.  As of 8.3 that won't
cause consumption of CIDs, but before it did.  I suspect that in a
lot of real-world scenarios, CID consumption from triggers will be
down by an order of magnitude.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Improve shutdown during online backup, take 4
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Improve shutdown during online backup, take 4