Re: Sequence moves forward when failover is triggerred

Поиск
Список
Период
Сортировка
От Berend Tober
Тема Re: Sequence moves forward when failover is triggerred
Дата
Msg-id 4FFD08C7.1020909@computer.org
обсуждение исходный текст
Ответ на Re: Sequence moves forward when failover is triggerred  (Craig Ringer <ringerc@ringerc.id.au>)
Список pgsql-general
Craig Ringer wrote:
> On 07/11/2012 07:23 AM, Andy Chambers wrote:
>>
>> I think I made a poor decision by having our application
>> generate checkbook numbers on demand using sequences.
>
> Sure did. Sequences are exempt from most transactional rules;
> that's why they're fast and lock-free.
>

This may be another case for the "gap-less" sequence (I hate that
term ... please let's call it a "uniformly-increasing sequence").

http://archives.postgresql.org/pgsql-general/2006-08/msg00744.php





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

Предыдущее
От: martin soethof
Дата:
Сообщение: question about installation
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: question about installation