pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us
Subject: Re: OID Perfomance - Object-Relational databases
Date: Tue, 03 Oct 2000 21:10:34 -0700
Message-ID: <web-1096365@davinci.ethosmedia.com> (raw)
In-Reply-To: <2476.970631031@sss.pgh.pa.us>

Tom,

> The trouble with pg_dump -o is that after reload, the OID
> generator
> will be set to max(any OID in the dumped data).  So a
> dump & reload
> doesn't do anything to postpone OID-wraparound Ragnarok.
> 
> As for the likelihood of overflow, figure 4G / tuple
> creation rate
> for your installation (not database, but whole
> installation controlled
> by one postmaster).  Unless your installation has just
> one active
> table, per-table sequence values look like a better bet.

Somebody (urgently) needs to tell all of the above to Bruce
Momjian (I've cc'd him); his book-in-the-making points up
OID's as a convenient and universal way to identify and link
tuples (chapter 7) and doen't mention these problems.  Who
can I bug about how useless the above makes OID's?

Thanks for the warning, and thanks Michael for the
suggestion; I'll use it and send you all back notes on how
it affects performance.

-Josh








view thread (21+ messages)  latest in thread

Message-ID: <web-1096365@davinci.ethosmedia.com>
Permalink:  ../web-1096365@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-1096365@davinci.ethosmedia.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: josh@agliodbs.com, pgman@candle.pha.pa.us
  Subject: Re: OID Perfomance - Object-Relational databases
  In-Reply-To: <web-1096365@davinci.ethosmedia.com>
  References: <2476.970631031@sss.pgh.pa.us> <web-1096365@davinci.ethosmedia.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox