RE: OID wraparound (was Re: pg_depend)

Поиск
Список
Период
Сортировка
От Mikheev, Vadim
Тема RE: OID wraparound (was Re: pg_depend)
Дата
Msg-id 3705826352029646A3E91C53F7189E320166DD@sectorbase2.sectorbase.com
обсуждение исходный текст
Ответ на OID wraparound (was Re: pg_depend)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Yes, nowhere near, and yes.  Sequence objects require disk I/O to
> update; the OID counter essentially lives in shared memory, and can
> be bumped for the price of a spinlock access.

Sequences also cache values (32 afair) - ie one log record is required
for 32 nextval-s. Sequence' data file is updated at checkpoint time,
so - not so much IO. I really think that using sequences for system
tables IDs would be good.

Vadim


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

Предыдущее
От: J-P Guy
Дата:
Сообщение: Re: OID wraparound (was Re: pg_depend)
Следующее
От: Mark Volpe
Дата:
Сообщение: Re: [PATCHES] Re: [PATCH] Re: Setuid functions