Beruflich Dokumente
Kultur Dokumente
o Follow a structured methodology throughout the data modeling process. o Employ a data-driven approach. o Incorporate structural and integrity considerations into the data models. o Combine conceptualization, normalization, and transaction validation techniques into the data modeling methodology.
Methodology Overview
Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Build local conceptual data model for each user view Build and Validate Local Logical Data Model Build and Validate Global Logical Data Model Translate Global Logical Data Model for Target DBMS Design Physical Representation Design and Implement Security Mechanisms Monitor and Tune the Operational System
Database Design Methodology - 5
Step 1.1 Identify entity types Step 1.2 Identify relationship types Step 1.3 Identify and associate attributes with entity or relationship types Step 1.4 Determine attribute domains Step 1.5 Determine candidate and primary key attributes Step 1.6 Specialize/generalize entity types (optional step) Step 1.7 Draw EntityRelationship diagram Step 1.8 Review Local Conceptual Data Model with User
Database Design Methodology - 6
Step 2.1 Map Local Conceptual Data Model to Local Logical Data Model Step 2.2 Derive Relations from Local Logical Data Model Step 2.3 Validate Model using Normalization Step 2.4 Validate Model against User Transactions Step 2.5 Draw Entity-Relationship Diagram Step 2.6 Define Integrity Constraints Step 2.7 Review Local Logical Data Model with User
Database Design Methodology - 7
Step 3.1 Merge Local Logical Data Models into Global Model Step 3.2 Validate Global Logical Data Model Step 3.3 Check for Future Growth Step 3.4 Draw Final Entity-Relationship Diagram Step 3.5 Review Global Logical Data Model with Users
Step 4.1 Design Base Relations for Target DBMS Step 4.2 Design Integrity Rules for Target DBMS Step 5 Design Physical Representation
Step 6.1 Design User Views Step 6.2 Design Access Rules Step 7 Monitor and Tune the Operational System
Step 5.1 Analyze Transactions Step 5.2 Choose File Organization Step 5.3 Choose Secondary Indexes Step 5.4 Consider the Introduction of Controlled Redundancy Step 5.5 Estimate Disk Space
Database Design Methodology - 9 Database Design Methodology - 10
Step 1.3 Identify and associate attributes with entity or relationship types
Sketch of Supervisor's Local Conceptual Data Model
Step 1.3 Identify and associate attributes with entity or relationship types
Additional Example
Database Design Methodology - 21
Additional Example
Step 2.1 Map Local Conceptual Data Model to Local Logical Data Model
To refine the local conceptual data model to remove undesirable features and to map this model to a local logical data model: (a) Remove M:N relationships. (b) Remove complex relationships. (c) Remove recursive relationships. (d) Remove relationships with attributes. (e) Remove multi-valued attributes. (f) Re-examine 1:1 relationships. (g) Remove redundant relationships.
Database Design Methodology - 23 Database Design Methodology - 24
Non-Redundant Relationships
A relationship is redundant if the same information can be obtained from other relationships.
Step 2.5 Draw Supervisor's local logical data model (Final Version)
Step 3.1 Merge Local Logical Data Models into Global Models
(a) Review the names of entities and their primary keys. (b) Review the names of relationships. (c) Merge entities from the local views. (d) Include (without merging) entities unique to each local view. (e) Merge relationships from the local views. (f) Include (without merging) relationships unique to each local view. (g) Check for missing entities and relationships. (h) Check foreign keys. (i) Check Integrity Constraints. (j) Draw the global logical data model. (k) Update the documentation.
Database Design Methodology - 41
Comparison of entities and their primary keys in Supervisors and Managers views
Step 3.1 Merge Local Logical Data Models into Global Models
Step 3.4 Draw Global logical data model of DreamHome case study
(D)