Re: some information about anchor modeling
Date: Sun, 4 Nov 2012 10:31:33 -0800 (PST)
Message-ID: <95b39bb0-7588-4390-8a66-9aa57b17b166_at_googlegroups.com>
On Thursday, November 1, 2012 6:01:54 AM UTC+1, com..._at_hotmail.com wrote:
> On Wednesday, October 31, 2012 2:19:19 AM UTC-7, vldm10 wrote:
>
> > On page 211, Appendix A / Primary Keys Are Nice but Not Essential,
>
> > of his last book, "Database Design & Relational Theory – Normal Forms & All That Jazz” C.J. Date writes about “anchor relvars”
>
>
>
> He is just using it in its everyday metaphoric sense of a rooted base.
On Jull 18, 2012 in this thread, I explained, with examples, that the surrogate key is a very bad solution. Note that these examples are given only for the entities. However, relationships with surrogates have much worse solutions. Note that there are more serious problems for the RM / T at the theoretical level.
> Google gives a Safari book preview of a few lines, below. (I have the book, this enough to give you an idea of his usage, introduced here.) See http://en.wikipedia.org/wiki/Relational_Model/Tasmania re kernel entities of RM/T.
(i) Definition
my comment: The entity is the real world object and it is not possible to assign value to the real world object.
(ii) Definition
my comment: Note that “entity” and “thing” are synonyms.
Surrogates. A surrogate is a unique value assigned to each entity.
A nonentity is some thing that is not an entity…
>
>
>
> philip
>
>
>
> A. Primary Keys Are Nice but Not Essential
>
> ONE PRIMARY KEY PER ENTITY TYPE?
>
> I turn now to the second of the two issues mentioned in the introduction to this appendix: viz., that entities of a given type are supposed to be identified in exactly the same way everywhere in the database. What this means, loosely speaking, is that there’ll typically be:
>
> A single “anchor” relvar for the pertinent entity type, having some particular primary key, together with
>
> Zero or more subsidiary relvars giving further information about entities of that type, each having a foreign key that refers back to the primary key of that anchor relvar.
>
> (Does this state of affairs remind you of the RM/T discipline discussed in Chapter 15?)
>
>
>
>
>
> he
Vladimir Odrljin Received on Sun Nov 04 2012 - 19:31:33 CET