Re: sequence caches

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: sequence caches
Дата
Msg-id 4283.1053486670@sss.pgh.pa.us
обсуждение исходный текст
Ответ на sequence caches  (Joseph Shraibman <jks@selectacast.net>)
Список pgsql-general
Joseph Shraibman <joseph@xtenit.com> writes:
> Tom Lane wrote:
>> 3 times, unless you changed the default cache setting.

> OK, next question: How many times does it write the new sequence value to the disk?

Less than that --- there's aggregation of WAL updates for sequences.
See the code in backend/commands/sequence.c.

            regards, tom lane

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

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: How to deny user changing his own password?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: new mail server for PGSQL-GENERAL ?