Refining the ER Design for the COMPANY Database



Rating - 3/5
471 views

We can now refine the database design in Figure 7.8 by changing the attributes that represent relationships into relationship types. The cardinality ratio and participation constraint of each relationship type are determined from the requirements listed in Section 7.2. If some cardinality ratio or dependency cannot be determined from the requirements, the users must be questioned further to determine these structural constraints. In our example, we specify the following relationship types:

These Topics Are Also In Your Syllabus Refining the ER Design for the COMPANY Database
1 Types of Operating Systems - Batch operating system, Time-sharing systems, Distributed OS, Network OS, Real Time OS link
2 Using High-Level Conceptual Data Models for Database Design link
You May Find Something Very Interesting Here. Refining the ER Design for the COMPANY Database link
3 Purpose of Database Systems link
4 View of Data link
5 Types Of Systems link

? MANAGES, a 1:1 relationship type between EMPLOYEE and DEPARTMENT. EMPLOYEE participation is partial. DEPARTMENT participation is not clear from the requirements. We question the users, who say that a department must have a manager at all times, which implies total participation.13 The attribute Start_date is assigned to this relationship type.

These Topics Are Also In Your Syllabus Refining the ER Design for the COMPANY Database
1 Types of Operating Systems - Batch operating system, Time-sharing systems, Distributed OS, Network OS, Real Time OS link
2 Null Values link
You May Find Something Very Interesting Here. Refining the ER Design for the COMPANY Database link
3 Aggregate Functions link
4 Data Mining Concepts link
5 Types Of Systems link

? WORKS_FOR, a 1:N relationship type between DEPARTMENT and EMPLOYEE. Both participations are total.

These Topics Are Also In Your Syllabus Refining the ER Design for the COMPANY Database
1 Types of Operating Systems - Batch operating system, Time-sharing systems, Distributed OS, Network OS, Real Time OS link
2 A Sample UNIVERSITY EER Schema, Design Choices, and Formal Definitions link
You May Find Something Very Interesting Here. Refining the ER Design for the COMPANY Database link
3 Example of Other Notation: Representing Specialization and Generalization in UML Class Diagrams link
4 Data Abstraction, Knowledge Representation, and Ontology Concepts link
5 Using High-Level Conceptual Data Models for Database Design link

? CONTROLS, a 1:N relationship type between DEPARTMENT and PROJECT. The participation of PROJECT is total, whereas that of DEPARTMENT is determined to be partial, after consultation with the users indicates that some departments may control no projects.

These Topics Are Also In Your Syllabus Refining the ER Design for the COMPANY Database
1 Types of Operating Systems - Batch operating system, Time-sharing systems, Distributed OS, Network OS, Real Time OS link
2 Relational Databases link
You May Find Something Very Interesting Here. Refining the ER Design for the COMPANY Database link
3 Data Storage and Querying link
4 Transaction Management link
5 Types Of Systems link

? SUPERVISION, a 1:N relationship type between EMPLOYEE (in the supervisor role) and EMPLOYEE (in the supervisee role). Both participations are determined to be partial, after the users indicate that not every employee is a supervisor and not every employee has a supervisor.

These Topics Are Also In Your Syllabus Refining the ER Design for the COMPANY Database
1 Types of Operating Systems - Batch operating system, Time-sharing systems, Distributed OS, Network OS, Real Time OS link
2 Using High-Level Conceptual Data Models for Database Design link
You May Find Something Very Interesting Here. Refining the ER Design for the COMPANY Database link
3 Using High-Level Conceptual Data Models for Database Design link
4 Purpose of Database Systems link
5 Types Of Systems link

? WORKS_ON, determined to be an M:N relationship type with attribute Hours, after the users indicate that a project can have several employees working on it. Both participations are determined to be total.

? DEPENDENTS_OF, a 1:N relationship type between EMPLOYEE and DEPENDENT, which is also the identifying relationship for the weak entitytype DEPENDENT. The participation of EMPLOYEE is partial, whereas that of DEPENDENT is total.

After specifying the above six relationship types, we remove from the entity types in Figure 7.8 all attributes that have been refined into relationships. These include Manager and Manager_start_date from DEPARTMENT; Controlling_department from PROJECT; Department, Supervisor, and Works_on from EMPLOYEE; and Employee from DEPENDENT. It is important to have the least possible redundancy when we design the conceptual schema of a database. If some redundancy is desired at the storage level or at the user view level, it can be introduced later.


Rating - 3/5
496 views

Advertisements
Rating - 3/5