Re: Ever increasing OIDs - gonna run out soon?

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Ever increasing OIDs - gonna run out soon?
Date: 2006-06-12 15:50:45
Message-ID: 20060612155045.GW34196@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Jun 12, 2006 at 10:01:43AM +0800, Qingqing Zhou wrote:
>
> "John Sidney-Woollett" <johnsw(at)wardbrook(dot)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(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2006-06-12 15:53:46 Re: Disk corruption detection
Previous Message Kenneth Downs 2006-06-12 15:20:45 Re: are there static variables in pgsql?