From: Michael Ansley <Michael.Ansley@intec-telecom-systems.com>
To: 'Josh Berkus' <josh@agliodbs.com>
To: pgsql-sql@postgresql.org
Subject: RE: OID Perfomance - Object-Relational databases
Date: Wed, 4 Oct 2000 10:27:20 +0100
Message-ID: <7F124BC48D56D411812500D0B7472514061455@fileserver002.intecsystems.co.uk> (raw)
I'm a little concerned about all this, because my understanding is that what
makes an object database so fast is its ability to directly reference
tuples, so that traversing relationships becomes like traversing pointers.
The achilles heel of relational databases is the inability to do exactly
that. Postgres has a sufficiently extended query language that traversing
relationships in this manner can be dealt with, and doing this from a decent
OO development tool should remove the general pain of dealing with OIDs.
Or is there something that I'm missing? What I expect from an OR database
is the speed of an object database (which seems to come mainly from it's OID
mechanism), with the manipulative power of a traditional relational
database, and then a whole truckload of extras, like rules, procedures, an
OR query language, etc. So, effectively, it's more than the sum of ODB and
RDB.
In order to promote Postgres in the environment that I'm in now, I need it
to attain at least the same order of speed as an ODB. Are there any
benchmarks anywhere that I can quote against ODBs? I need some help here,
because the general feeling that I'm up against is that we should be using
either ODB or RDB, not ORDB as it is the worst of both worlds, being slow,
not completely object-orientated, and not as flexible as ODBs, and less
robust than RDBs, because of the object extensions. I need some ammo.
MikeA
>> -----Original Message-----
>> From: Josh Berkus [mailto:josh@agliodbs.com]
>> Sent: 04 October 2000 05:11
>> To: pgsql-sql@postgresql.org
>> Cc: pgman@candle.pha.pa.us
>> Subject: Re: [SQL] OID Perfomance - Object-Relational databases
>>
>>
>> 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
>>
>>
>>
>>
>>
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: Michael.Ansley@intec-telecom-systems.com, josh@agliodbs.com
Subject: Re: OID Perfomance - Object-Relational databases
In-Reply-To: <7F124BC48D56D411812500D0B7472514061455@fileserver002.intecsystems.co.uk>
References: <7F124BC48D56D411812500D0B7472514061455@fileserver002.intecsystems.co.uk>
* 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