Lamar Owen <[EMAIL PROTECTED]> writes: > Now for a question: OID creation seems to be a low-overhead task. Is the > creation of SERIAL PRIMARY KEY values as efficient? Or will we be shooting > ourselves in the performance foot if frequently-accessed system tables go > from OID usage to SERIAL PRIMARY KEY usage? 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. I don't think we should discourage use of OIDs quite as vigorously as you propose ;-). All I want is to not expend OIDs on things that have no need for one. That, together with clarifying exactly how unique OIDs should be expected to be, seems to me that it will solve 99% of the problem. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Larry Rosenman
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Lamar Owen
- [HACKERS] Re: OID wraparound (was Re: pg_depend) [EMAIL PROTECTED]
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tom Lane
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Bruce Momjian
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Ross J. Reedstrom
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tom Lane
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tom Lane
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tom Lane
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Bruce Momjian
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Hiroshi Inoue
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Bruce Momjian
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Hiroshi Inoue
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tom Lane
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tom Lane
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Bruce Momjian
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tatsuo Ishii
- Re: OID wraparound (was Re: [HACKERS] pg_depend) Tom Lane