Re: Ever increasing OIDs - gonna run out soon?

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: Ever increasing OIDs - gonna run out soon?
Дата
Msg-id 20060612155045.GW34196@pervasive.com
обсуждение исходный текст
Ответ на Re: Ever increasing OIDs - gonna run out soon?  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Ответы Re: Ever increasing OIDs - gonna run out soon?  (John Sidney-Woollett <johnsw@wardbrook.com>)
Список pgsql-general
On Mon, Jun 12, 2006 at 10:01:43AM +0800, Qingqing Zhou wrote:
>
> "John Sidney-Woollett" <johnsw@wardbrook.com> wrote
> >
> > It looks like the db is using them at the rate of 1.5 million per day.
> > At what value will I hit a wraparound, and what options do I have to
> > identify/fix the (impending) problem.
> >
>
> The Oid will wraparound when it reaches the 32bits unsigned integer limit.
> If you don't use the oid explicitely in your application, then you don't
> worry about it.

Except IIRC the OP is running 7.4 which doesn't have checks in DDL code
to deal with OID collisions. :(
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

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

Предыдущее
От: Kenneth Downs
Дата:
Сообщение: Re: are there static variables in pgsql?
Следующее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Disk corruption detection