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 по дате отправления: