pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mitch Vincent <mitch@venux.net>
To: josh@agliodbs.com
Cc: sqllist <pgsql-sql@postgresql.org>
Subject: Re: OID Perfomance - another question
Date: Tue, 3 Oct 2000 09:23:12 -0700
Message-ID: <00b701c02d56$3a301180$0200000a@doot> (raw)
References: <39DA03EA.7A1027E8@agliodbs.com>

Aren't there a pretty big concerns when using OIDs as IDs to relate records
in different tables to each other? Wouldn't the OIDs be totally re-assigned
if you had to dump/restore your database?

Just a question to satisfy my own curiosity, thanks!

-Mitch

> Folks,
>
> Because it's a very elegant solution to my database structure issues,
> I'm using OID's extensively as referents and foriegn keys.  However, I
> wanted to see if others had previous experience in this (answer as many
> as you like):
>
> 1. Is there a performance loss on searches and joins when I use the OID
> as a liniking field as opposed to a SERIAL column?





view thread (2+ messages)  latest in thread

Message-ID: <00b701c02d56$3a301180$0200000a@doot>
Permalink:  ../00b701c02d56$3a301180$0200000a@doot/
Also on:    postgresql.org/message-id/00b701c02d56$3a301180$0200000a@doot

 · 

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: mitch@venux.net, josh@agliodbs.com
  Subject: Re: OID Perfomance - another question
  In-Reply-To: <00b701c02d56$3a301180$0200000a@doot>
  References: <39DA03EA.7A1027E8@agliodbs.com> <00b701c02d56$3a301180$0200000a@doot>

* 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