Advanced Data Modeling
Advanced Data Modeling
5-3
Advanced Database Systems
Requirements Definition
Data Analysis
Physical Design
Database
• Fan Trap
- Where a model represents a relationship between entity types, but
pathway between certain entity occurrences is ambiguous.
• Chasm Trap
- Where a model suggests the existence of a relationship between entity
types, but pathway does not exist between certain entity occurrences.
Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel
Module Code & Module Title Slide Title SLIDE 18
•Specialization Hierarchy
Depicts arrangement of higher-level entity supertypes (parent entities)
and lower-level entity subtypes (child entities)
• Relationships sometimes described in terms of “IS-A” relationships
• Subtype can exist only within context of supertype and every subtype
can have only one supertype to which it is directly related
• Can have many levels of supertype/subtype relationships
Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel
Module Code & Module Title Slide Title SLIDE 20
Specialization Hierarchy (continued)
Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel
Module Code & Module Title Slide Title SLIDE 23
Subtype Discriminator
Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel
Module Code & Module Title Slide Title SLIDE 26
Disjoint and Overlapping
Constraints (continued)
Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel
Module Code & Module Title Slide Title SLIDE 27
Completeness Constraint
• Specifies whether each entity supertype occurrence must also be member of at least one
subtype
• Can be partial or total
Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel
Module Code & Module Title Slide Title SLIDE 29
Specialization and Generalization
• Specialization
– Top-down process of identifying lower-level, more specific entity subtypes from higher-level entity
supertype
– Based on grouping unique characteristics and relationships of the subtypes
• Generalization
– Bottom-up process of identifying higher-level, more generic entity supertype from lower-level entity
subtypes
– Based on grouping common characteristics and relationships of the subtypes