| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Does Codd's view of a relational database differ from that ofDate&Darwin?[M.Gittens]
Tony Andrews schrieb:
> Alexandr Savinov wrote: > <SNIP> >
> > > You are not kidding! > >
> > > Which part of the decomposition process reduces 1 row to 0 rows? I > must have missed that part...
I'll try to exlain using another example (but I am not sure if it is necessary taking into account your apriori negative predisposition). This example is especially illustrative for those who absolutely trusts RM.
How can you model a tree of items? There are two major alternatives: 1. Create a table with folders and a table with items. Each folder and each item has a field which specifies its parent folder. 2. Craate one table for each folder and store all items belonging to this folder in this table. There exist as many tables as we have folders.
Conclusion: This example demonstrates that tables have the same semantic load as normal records, i.e., they should be treated not only as a structural element but also as means for representing data semantics. Addding/removing tables changes the model semantics rather than only its structure.
Problem: A good model should somehow take this into account and provide facilities for representing and manipulating data semantics in at least these two forms.
Solution: I think before we can describe this item it is necessary to accept the first two (it does not make sense to solve a problem if it is not accepted as a problem).
Comment: Any data modeller with enough practical experience may draw this conclusion and formulate this problem - we can express our data semantics by means of tables but the relational model does not provide good means for representing and manipulating it. In other words, tables should be treated as normal entities with special (organizing) role with respect to other entities. The above example shows how rows are converted into tables and vice versa. In extreme case we might represent everything by tables only however, it is difficult in relational model because it is not intended to solve such problems.
-- alex http://conceptoriented.comReceived on Tue Jun 07 2005 - 06:15:53 CDT
![]() |
![]() |