On Sunday, 14 March 2021 at 00:14:06 UTC+11, jaime.alva...@gmail.com wrote:1. ERD diagrams are ancient (pre-relational) and obsolete, totally useless in Relational Data Modelling. The notion of "modelling" rows and their relations to other rows without understanding (a) what the entity actually is, and (b) what the relation actually is, is pure insanity.
I am having problems understanding what criteria are used to determine relationship redundancy for a "circle" of relationships between 3 entities in the entity - relationship model.
Are my criteria wrong? If so, what criteria should I use to consider a relationship redundant?
I am having problems understanding what criteria are used to determine relationship redundancy for a "circle" of relationships between 3 entities in the entity - relationship model.The "circle" is contrived, irrelevant (except for the fraud as identified above).
Hello.
I am having problems understanding what criteria are used to determine relationship redundancy for a "circle" of relationships between
3 entities in the entity - relationship model.
I am adding the link to my stackoverflow question copied here: https://stackoverflow.com/questions/66613891/criteria-for-considering-redundant-relationships-in-entity-relationship-diagra
I was starting with the following example: Course - department
- teacher relationships.
https://i.stack.imgur.com/pMpnr.png
My criteria to declare a relationship (A -> C) as non redundant (can
NOT be inferred from A -> B -> C) is either:
Given my assumptions, I consider the example [Course (C) - department
(D) - teacher (T)]. I deduce that the only relationship which is
redundant is between course and teacher since:
However, in the example given, the redundant relationship is Teacher
and Department.
The reasoning is that if the courses a teacher teaches
are known and the department to which each course belongs is also
known, it can be deduced to what department belongs each teacher.
Also, given a department, if we know its courses, and we know the
teachers who teach the courses we will know the teachers associated
with department.
There is also another example with the same relationships but
different cardinality (shown in red), this is where I got my criteria
from:
https://i.stack.imgur.com/WcGn0.png
In this case, it is specified that there are no redundant
relationships, for the following reasons:
https://i.stack.imgur.com/Ppj1h.png
I am told that the redundant relationship is Author - Editorial.
However, I am finding no redundant relationships
Thank you for taking the time to read until here. Are my criteria
wrong?
If so, what criteria should I use to consider a relationship
redundant?
On Sunday, 14 March 2021 at 00:14:06 UTC+11, jaime.alva...@gmail.com wrote:
Finally I have a third example with Author (A), Editorial (E) and Book (B) as follows:
https://i.stack.imgur.com/Ppj1h.png
I am told that the redundant relationship is Author - Editorial.
However, I am finding no redundant relationships as per my criteria ...
Jaime
On Sunday, 14 March 2021 at 00:14:06 UTC+11, jaime.alva...@gmail.com wrote: >>
Finally I have a third example with Author (A), Editorial (E) and Book (B) as follows:
https://i.stack.imgur.com/Ppj1h.png
I am told that the redundant relationship is Author - Editorial.
However, I am finding no redundant relationships as per my criteria ...
https://www.softwaregems.com.au/Documents/Student_Resolutions_2020/comp_databases_theory/Alva%20Jaime%20DM%20B.pdf
On Thursday, 18 March 2021 at 22:17:28 UTC+11, Nicola wrote:The first ERD was worth explaining. The second ERD [Course-n-m-Department] is too stupid to expand, it is included only to be complete. Removed.
On page 1: note that the OP's second ERD has a many-to-many relationship between Course and Department. You have included in that page both the
OP's first and second diagram, but your models correspond to the first
one only.
On page 2: in your model, each editorial can be associated only to one person (the editor). That does not correspond to what the ERD aims to convey, i.e., a many-to-many relationship (whatever that is) between1. It is important to understand that I did not translate the ERD to a Data Model. No, I modelled the data. As per (a) what is most common and reasonable in the real world, and (d) what the broken ERD is intending (a real Data Model, not insanity), rather that what the ERD actually declares, which is insanity.
Author and Editorial.
Which exposes one of the weaknesses of ERDs: there are so many dialectsOne of the many weaknesses. Dialects prove that the method is a failure; incomplete. Same as UML.
that it is easy to get confused. In particular, it seems that in theYes.
third ERD the cardinalities are drawn on the opposite sides compared to
the first two examples
(besides, the third ERD has arrows, whose meaningEven the arrows are inconsistent.
I do not know).
On Thursday, 18 March 2021 at 22:17:28 UTC+11, Nicola wrote:As a gesture of gratitude for pointing out issues that need correction, herewith a corrected set of models.
On page 1...
On page 2...
On page 3...
On Thursday, 18 March 2021 at 14:38:13 UTC+11, Derek Ignatius Asirvadem wrote:All that text is now provided in the models, visually; semantically.
On Tuesday, 16 March 2021 at 23:23:28 UTC+11, Nicola wrote:
__ Independent vs Dependent entities.
__ Identifying vs Non-Identifying relations,
__ which is based on the Relational Key.
The Data Hierarchies are Normalised in the First Wave. Each hierarchy begins with an Independent entity, and flows into many Dependent entities.
After the First Wave, after the Data Hierarchies are resolved, as trees; DAGs; graphs, which means no circular references; no Cyclic Graphs, we are ready to commence the Second Wave. Here we have entities that join two Data Hierarchies ... Technically, these are Binary entities. Whereas in the First Wave, Trees; DAGs, are demanded, in the Second Wave, that constraint does not [cannot] apply, the entities being established will not conform because they join two trees.
In my Data Model (link above), the [First Wave] Data Hierarchies are not very deep, as it is a classroom exercise, but it remains that they must be understood properly:
...
And the following are [Second Wave] Binaries:
...
Thus a Teacher can teach only in a Department that he is qualified in.
On Thursday, 18 March 2021 at 14:38:13 UTC+11, Derek Ignatius Asirvadem wrote:Cheers
On Tuesday, 16 March 2021 at 23:23:28 UTC+11, Nicola wrote:
Note that the "circularity" in that diagram is only apparent (ERD are misleading).So, why in heavens name, do professors teach ERD ?
Why, since we have had IDEF1X for Relational Data Modelling since 1983 (established and well-known international standard since 1993), do professors suppress that, and instead rCLteachrCY; push; shove; market; propagate the broken ERD, which is a pre-Relational artefact ?
In your model, each teacher must always be assigned to at least one course. With
(a) such an (unrealistic) constraint, *and*Why is that constraint rCLunrealisticrCY ? In the real world, it is a common; even pedestrian, requirement. We have been implementing such in Relational databases since 1983.
Nicola
In case you missed them. Could you please respond to these questions.
On Thursday, 18 March 2021 at 14:38:13 UTC+11, Derek Ignatius Asirvadem wrote:
On Tuesday, 16 March 2021 at 23:23:28 UTC+11, Nicola wrote:So, why in heavens name, do professors teach ERD ?
Note that the "circularity" in that diagram is only apparent (ERD are
misleading).
Why, since we have had IDEF1X for Relational Data Modelling since
1983 (established and well-known international standard since 1993),
do professors suppress that, and instead rCLteachrCY; push; shove;
market; propagate the broken ERD, which is a pre-Relational artefact
?
In your model, each teacher must always be assigned to at least oneWhy is that constraint rCLunrealisticrCY ? In the real world, it is
course. With
(a) such an (unrealistic) constraint, *and*
a common; even pedestrian, requirement. We have been implementing
such in Relational databases since 1983.
On Wednesday, 24 March 2021 at 23:27:48 UTC+11, Nicola wrote:
On Saturday, 27 March 2021 at 20:34:57 UTC+11, Derek Ignatius Asirvadem wrote:
Thank you for your considerate, and very interesting, response.
It deserves a full answer
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 00:54:07 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
10 files (20,373K bytes) |
| Messages: | 264,187 |