pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: OID Perfomance - another question
2+ messages / 2 participants
[nested] [flat]
* Re: OID Perfomance - another question
@ 2000-10-03 16:23 Mitch Vincent <mitch@venux.net>
0 siblings, 1 reply; 2+ messages in thread
From: Mitch Vincent @ 2000-10-03 16:23 UTC (permalink / raw)
To: josh@agliodbs.com; +Cc: pgsql-sql
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?
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: OID Perfomance - another question
@ 2000-10-03 16:24 Tod McQuillin <devin@spamcop.net>
parent: Mitch Vincent <mitch@venux.net>
0 siblings, 0 replies; 2+ messages in thread
From: Tod McQuillin @ 2000-10-03 16:24 UTC (permalink / raw)
To: Mitch Vincent <mitch@venux.net>; +Cc: pgsql-sql
On Tue, 3 Oct 2000, Mitch Vincent wrote:
> 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?
Not if you use the -o flag to pg_dump.
-o Dump object identifiers (OIDs) for every table.
--
Tod McQuillin
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-10-03 16:24 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-10-03 16:23 Re: OID Perfomance - another question Mitch Vincent <mitch@venux.net>
2000-10-03 16:24 ` Tod McQuillin <devin@spamcop.net>
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