Documente Academic
Documente Profesional
Documente Cultură
- Need to track Historical Data (data that records changes over time)
- Construct ERD models that incorporate elements of “data over time”
1. Model Data Over time + 2. Model Data Over time Example +3. Model Salary
Changes + 4. Model Rental Over time
- The UID of the SALARY HISTORY entity is the related EMPLOYEE id + the
salary start date
5. Resolve M:M
6. Determine UID
a. Option1 : Barred relationship – not good , because this UID would not allow the
same combination of MOVIE START id and JEWELRY(bijuterii) PIECE code to
be entered more than once on different date
b. Option2: Barred relationship and Rental date – not good would permit different
MOVIE STARS to rent the same JEWELRY PIECE on the same date
- /
2. Clarity is Key
- Never let a convention interfere with readability and clarity
- readability and clarity are the main criteria
- for readability and clarity:
o avoid crossing relationship lines
o avoid entities that overlap (suprapun)
o avoid relationship lines that cross entities
o split larger ERDs into smaller sub-diagrams if required
o Space is needed – use white space
- Smaller sub-diagrams can be useful during physical modeling and application
development as well as during conceptual-modeling discussions with the client.