Содержание
- 2. Phases of Database Design Miniworld Requirements Collection and Analysis Conceptual Design Relational Database Schema Relational DBMS
- 3. After “Requirements Collection and Analysis” phase a database designer can follow one of two scenarios: Start
- 4. At this point we will discuss the goodness of relation schemas at logical level – how
- 5. Informal Design Guidelines Informal guidelines that may be used as measures to determine the quality of
- 6. Imparting Clear Semantics to Attributes in Relations It is assumed that attributes belonging to one relation
- 7. Example The ease with which the meaning of a relation’s attributes can be explained is an
- 8. Guideline 1 Design a relation schema so that it is easy to explain its meaning Do
- 9. Examples of Violating Guideline 1 Mixes attributes of employees and departments Mixes attributes of employees and
- 10. One more example
- 11. VIN Price Model SID Date CID VIN VIN VIN EngineSize Tonnage NoOfSeats VEHICLE CAR TRUCK SUV
- 12. VIN EngineSize Tonnage NoOfSeats CAR TRUCK SUV Price Model SID Date CID VIN Price Model SID
- 13. VIN EngineSize Tonnage NoOfSeats CAR TRUCK SUV Price Model VIN Price Model VIN Price Model SID
- 14. Redundant Information in Tuples and Update Anomalies One goal of schema design is to minimize the
- 15. Anomalies Insertion Anomalies To insert a new tuple for an employee who works in department number
- 16. Guideline 2 Design the base relation schemas so that no insertion, deletion, or modification anomalies are
- 17. NULL Values in Tuples Many NULLs waste space at the storage level and may also lead
- 18. Functional Dependency The abbreviation for functional dependency is FD or f.d.
- 19. Example
- 20. Functional Dependency (meaning) A functional dependency is a property of the semantics or meaning of the
- 21. FD is a property of a Relation A functional dependency is a property of the relation
- 22. FD is a property of a Relation A functional dependency is a property of the relation
- 23. Other Properties of FDs
- 25. Скачать презентацию