Re: Serial Jumping

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: Serial Jumping
Дата
Msg-id 20090127061018.GA29255@a-kretschmer.de
обсуждение исходный текст
Ответ на Serial Jumping  (db.subscriptions@shepherdhill.biz)
Список pgsql-general
In response to db.subscriptions@shepherdhill.biz :
> Hi,
>
> I have a table with BIG SERIAL field as Primary KEY. During high load,
> entries in the BIG SERIAL field are jumped. One could see a row with
> 1367 and expecting the next INSERT to be 1368, one would end up
> getting 1369.
>
> Please is this normal?

Yes. Because a serial can't rolled back.



Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Serial Jumping
Следующее
От: ITAGAKI Takahiro
Дата:
Сообщение: Re: Installing PostgreSQL on Windows 7 Beta Build 7000 64bit - first results