Re: OID's.... - Mailing list pgsql-general

From Steve Wolfe
Subject Re: OID's....
Date
Msg-id 002301c0e94f$dfc39940$50824e40@iboats.com
Whole thread Raw
In response to OID's....  ("Steve Wolfe" <steve@iboats.com>)
List pgsql-general
> What PG version are you using?
>
> IIRC, in pre-7.1 code, backends allocate OIDs in blocks of 32 (?? more
> or less anyway); so if a backend uses one OID and then exits, you wasted
> 31 OIDs.  This does not happen anymore with 7.1, though.
>
> Another possibility is that you're creating lots of temp tables --- each
> one will cost you a dozen or so OIDs, depending on the number of
columns.

   Thanks, Tom.  We are using 7.0.x, and they do appear to be used in
chunks of 32.  One more reason for me to upgrade. : )

steve



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: OID's....
Next
From: Bruce Momjian
Date:
Subject: Re: OID's....