| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Trying to define Surrogates
David Cressey wrote:
> "Bob Badour" <bbadour_at_pei.sympatico.ca> wrote in message
> news:5T1Fg.50742$pu3.588779_at_ursa-nb00s0.nbnet.nb.ca...
> > JOG wrote:
> >
> > > Bob Badour wrote:
> > >
> > >>JOG wrote:
> > >>
> > >>>The 2nd level of indirection in the last line indicates use of a
> > >>>representative for an attribute that existed naturally before the
> > >>>design of the database. It is not that it is just wasn't 'familiar', it
> > >>>didn't exist at all - we have made the domain up specifically to
> > >>>facilitate the information modelling process. We have not just modelled
> > >>>the propositions we have added to them.
> > >>
> > >>We do that every time we create a candidate key. It isn't familiar until
> > >>it is used, and then it is.
> > >
> > > Ok, if you are using the term 'familiar' to correspond to 'did not
> > > previously exist prior to the data modelling process' then we agree.
> > > Nonetheless I find that use of the term 'familiar' extremely woolly,
> > > and think it is likely to cause confusion.
> >
> > It is woolly, which is why I think the concept of a natural key is not
> > altogether useful. The objections to natural keys relate to control. If
> > you create and control the key, it doesn't matter to you how familiar
> > the key is to others.
> >
> >
> > > I also still contend that the need to create such a surrogate only
> > > occurs if we can't encode a natural attribute directly, or if the
> > > distinguishing attribute is an extremely unstable one, such as
> > > location. Anything else appears sloppiness on the designers part to me.
> >
> > A surrogate for location is not really all that useful unless one takes
> > the additional step of making location unimportant. In other words, if
> > the only distinguishing feature is location, assigning an arbitrary
> > number won't change that fact unless one also records the number on the
> > physical item.
>
You have just arbitrarily created a "location" entity from the ether. I could equally create a "moment" entity and say denoting a presidency's start date, for example, is another case of attributing to an object an attribute that really described a related object. You could do the same for just about anything.
One of the problems of all this of course is the undefinable nonsense of what a thing/entity/object is.
>
So it's very unstable in most cases. Granted, but what relevance is that apart from it's not a very stable key choice?
>
>
I don't envy you.I hope they're also numbered to represent their unique location attributes with a bit more stability ;)
> Come to think of it, this is one of the great problems with the
> graph data model! And here it surfaces in an environment that has nothing
> to do with modern computers (until now).
Received on Sat Aug 19 2006 - 23:00:03 CDT
![]() |
![]() |