Re: sequences and "addval('myseq', value)"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: sequences and "addval('myseq', value)"
Дата
Msg-id 26784.1086674403@sss.pgh.pa.us
обсуждение исходный текст
Ответ на sequences and "addval('myseq', value)"  (pgsql@mohawksoft.com)
Ответы Re: sequences and "addval('myseq', value)"  (pgsql@mohawksoft.com)
Список pgsql-hackers
pgsql@mohawksoft.com writes:
> Anyway, I'm not quite getting the idea of caching sequence values. I
> understand the performance benefits, but it seems problematic across
> multiple backends, almost ensuring "holes" in the sequence of numbers.

The point is to reduce lock contention on the sequence table.  Since
lack-of-holes is explicitly *not* a design goal, there is no downside
that I see.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: vacuumdb: vacuuming of database "testdonors" failed: ERROR: invalid memory alloc request size 3221225472
Следующее
От: Shridhar Daithankar
Дата:
Сообщение: Re: [pgsql-hackers-win32] Failures with windows port