Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Trends in Using Oracle 10g Object Extensions
Mark C. Stock wrote:
> "DA Morgan" <damorgan_at_x.washington.edu> wrote in message > news:1107486745.51433_at_yasure... >
> > > > "They are problematic when used in tables " --- could you elaborate? > > ++ mcs
Tom Kyte has elaborated on this quite a bit and with great hesitancy I will too.
The problem I see is that the object tables don't have any real referential integrity. A REF is just that a reference. One can pretty much violate it at will. Delete the object refered to and nothing happens. Not something you can do with a Foreign Key constraint.
Here are Tom's comments from "Expert one-on-one Oracle." Now for an opinion. The object relational components (nested tables, object tables) are primary what I call 'syntactic sugar'. They are always translated into 'good old' relational rows and columns. I prefer not to use them as physical storae mechanisms personally. There are too many bits of 'magic' happening - side effects that are not clear. You get hidden columns, extra indexes, surprise pseudo columns, and so on.
He writes much more on the subject but that should give you a sense of his thinking. Mine, more simply put, is that I want a referential constraint that is as tough as gorilla glue.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace 'x' with 'u' to respond)Received on Fri Feb 04 2005 - 13:28:45 CST