 |
|
 |
|
Next: Combo Box not firing OnChange Event
|
| Author |
Message |
External

Since: Aug 01, 2008 Posts: 42
|
(Msg. 16) Posted: Fri Oct 31, 2008 7:25 am
Post subject: Re: We claim that delete anomality is due to table not being in 3NF, but... [Login to view extended thread Info.] Archived from groups: comp>databases>theory (more info?)
|
|
|
"Hugo Kornelis" wrote in message
> On Wed, 29 Oct 2008 22:59:25 GMT, paul c wrote:
>
>>Hugo Kornelis wrote:
>>...
>>> Functional dependencies stem from reality. Whether or not you choose to
>>> include B in your model does not change the situation where, apparently,
>>> C depends on A through some intermediary B (that is not in the DB).
>>>
>>> In a DB that stores PersonID and EyeColour, one might argue that the
>>> actual dependency goes back to the parents of the person and their
>>> genetic patterns - but those will typically not be stored, and yet the
>>> EyeColour still depends on PersonID.
>>> ...
>>
>>
>>Assuming you're saying it's improper to depend on any notion of absolute
>>reality, I think I'd agree. Doesn't a db aimed toward aiding some
>>present function necessarily stand for a very fractional/partial (or
>>even distorted) reality? Eg., if it's not fractional it's probably
>>unwieldy and untoward. Seems to me that the EyeColour dependency hints
>>at this - when the purpose of a particular set of tables isn't concerned
>>with dna, one likely ignores blood lines. Further, I suspect that no db
>>ought to introduce fd's that aren't patently implicit in the user's
>>requirements/biz rules/application intent. In the USA, I gather that an
>>address that is complete enough for a mailman to deliver to, along with
>>a city and a state will determine zipcode, yet I suspect there are many
>>tables in non-postal db's that have a column set such as (Customer,
>>unit, streetaddress, city, state, zip).
>
> Hi Paul,
>
> This is cdt, not alt.philosophy. I was not after an existential
> discussion on absolute reality.
>
> You're reading way more into my example than I intended. The point I
> tried to make is that functional dependencies are not determined by what
> is or is not stored in the database, but by how entities and their
> interactions in reality. The DB is a model of reality and changing the
> model won't change reality.
Even your comment above is way too philosophical for me.
An FD that involves data not stored in the database should NOT be used when
evaluating conformance to normal forms. There are any number of columns of
dependent data that are transitively dependent on the primary key via
intermediate data that is not stored in the DB. As long as there are not
any transitive dependencies IN THE TABLE, you will not experience any of the
update anomalies caused by deviation from 3NF.
As far as you can see, looking at the data in the table, the FD is not
transitive. Whether the FD is transitive in the real world is beyond the
purview of data normalization. >> Stay informed about: We claim that delete anomality is due to table not being i.. |
|
| Back to top |
|
 |  |
External

Since: Jan 11, 2008 Posts: 440
|
(Msg. 17) Posted: Sun Nov 02, 2008 4:26 pm
Post subject: Re: We claim that delete anomality is due to table not being in 3NF, but... [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On Fri, 31 Oct 2008 10:47:03 GMT, Walter Mitty wrote:
(snip)
>Even your comment above is way too philosophical for me.
>
>An FD that involves data not stored in the database should NOT be used when
>evaluating conformance to normal forms. There are any number of columns of
>dependent data that are transitively dependent on the primary key via
>intermediate data that is not stored in the DB. As long as there are not
>any transitive dependencies IN THE TABLE, you will not experience any of the
>update anomalies caused by deviation from 3NF.
>
>As far as you can see, looking at the data in the table, the FD is not
>transitive. Whether the FD is transitive in the real world is beyond the
>purview of data normalization.
>
Hi Walter,
You're expressing this so much clearer than I am.
Yes, that was the point I was trying to make.
Best, Hugo >> Stay informed about: We claim that delete anomality is due to table not being i.. |
|
| Back to top |
|
 |  |
External

Since: Oct 19, 2008 Posts: 17
|
(Msg. 18) Posted: Mon Nov 03, 2008 10:35 am
Post subject: Re: We claim that delete anomality is due to table not being in 3NF, [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
|
|
| Back to top |
|
 |  |
External

Since: Aug 15, 2007 Posts: 659
|
(Msg. 19) Posted: Thu Nov 06, 2008 9:25 pm
Post subject: Re: We claim that delete anomality is due to table not being in 3NF, [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Roy Hann wrote:
> Hugo Kornelis wrote:
>
>> You're reading way more into my example than I intended. The point I
>> tried to make is that functional dependencies are not determined by what
>> is or is not stored in the database, but by how entities and their
>> interactions in reality. The DB is a model of reality and changing the
>> model won't change reality.
>
> The DB is NOT a model of reality. It is a model of the testimony users
> give about the bit of reality that interests them. And for the purposes
> of understanding what the database needs to do, we don't even have to
> require that the testimony be correct or even given in good faith.
> (Which is just as well because we can't do that.)
I think I'm with you both. While I think that we are attempting to
model reality by designing a db, in my mind's eye, I always qualify that
by seeing the model as highly abstract, which is essential if the
logical machine is to avoid ambiguity. I'd rather say that a db doesn't
copy reality.
>
> So, bottom line, the content of a database is only very indirectly
> connected to the real world, and is always suspect.
>
> Furthermore, the only thing we can insist on being able to rely upon is
> that the derivations we get from the content of the database are
> correct derivations from that content. To be assured of that we need to
> model the form of the testimony with proper fidelity. And that is what
> decides the appropriate functional dependencies.
>
> It's just math, not metaphysics.
>
When it comes to the "db machine", which must insist on absolute
precision, again, to avoid ambiguity, the formality of math does seem
necessary. >> Stay informed about: We claim that delete anomality is due to table not being i.. |
|
| Back to top |
|
 |  |
| Related Topics: | "No one does ER Modelling any more" <-- Is this claim true? - Hi, There was a discussion on OOAD/UML at my workplace and the this was the facilitator's comments. It was difficult to digest but this is what was said/done: We have a business application to develop. We read the problem statement and do the following...
delete cascade - I sometimes wonder why the above noun used in place of an adjective is needed. When the table/relation definition of a line item references an invoice number can it mean anything other than that the line item doesn't exist unless the invoice exists...
Foreign key constraint delete fire order - Hi! I feel that DELETE trigger associated with Referential Integrity (RI) constraints should be fired by BEFORE DELETE event. In order to avoid cross posting, please refer to: ..
Finding rows in table A which do not have a match in table B - Hi All, Given two tables A and B, both containing a column X with identical data, I'm trying to formulate a query which will return all rows from table A where there are no rows in table B with a matching value in column X. For example, assuming the..
Table acting as a relation table - Following the recommendation of UML-2 on relation classes (I am not an ER guy), I have created a table which links each record of table A with 0..N records of table B. For example: T_HOSPITAL --------------> T_CLINIC 0..N ... |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|