1 Databases and Database Management Systems (Based on Chapters 1-2)
Chapters 17 & 18 Physical Database Design Methodology.
-
Upload
amber-bradford -
Category
Documents
-
view
214 -
download
0
Transcript of Chapters 17 & 18 Physical Database Design Methodology.
![Page 1: Chapters 17 & 18 Physical Database Design Methodology.](https://reader035.fdocuments.in/reader035/viewer/2022071717/56649e395503460f94b2a97e/html5/thumbnails/1.jpg)
Chapters 17 & 18
Physical Database Design Methodology
![Page 2: Chapters 17 & 18 Physical Database Design Methodology.](https://reader035.fdocuments.in/reader035/viewer/2022071717/56649e395503460f94b2a97e/html5/thumbnails/2.jpg)
Agenda
• Physical database design
• Mapping Logical Design to DBMS
• Balancing the flexibility and performance
• Monitoring and Tuning DBMS
![Page 3: Chapters 17 & 18 Physical Database Design Methodology.](https://reader035.fdocuments.in/reader035/viewer/2022071717/56649e395503460f94b2a97e/html5/thumbnails/3.jpg)
Physical Database Design
• Implementing a database using specific data storage structures and access methods
![Page 4: Chapters 17 & 18 Physical Database Design Methodology.](https://reader035.fdocuments.in/reader035/viewer/2022071717/56649e395503460f94b2a97e/html5/thumbnails/4.jpg)
Mapping Logical Design to DBMS -I
• Create base relations– Name
– Attributes
– Primary key
– Foreign key
– Alternative key
– Indexes
• Implement integrity rules– Domain
– Enterprise
– Referential (no action, cascade, set null, set default, and no check for deleting and updating)
– Entity
![Page 5: Chapters 17 & 18 Physical Database Design Methodology.](https://reader035.fdocuments.in/reader035/viewer/2022071717/56649e395503460f94b2a97e/html5/thumbnails/5.jpg)
Mapping Logical Design to DBMS -II
• Design representation of derived data
• Analysis transactions for file organizations and indexes
• Estimate disk space requirements
• Design user views
• Design security– System – Data
![Page 6: Chapters 17 & 18 Physical Database Design Methodology.](https://reader035.fdocuments.in/reader035/viewer/2022071717/56649e395503460f94b2a97e/html5/thumbnails/6.jpg)
Balancing Flexibility and Performance
• Denormalization– Low update rate– High query rate– Cross-referencing transactions and relations
table
• Steps– Derived data– Redundancy
![Page 7: Chapters 17 & 18 Physical Database Design Methodology.](https://reader035.fdocuments.in/reader035/viewer/2022071717/56649e395503460f94b2a97e/html5/thumbnails/7.jpg)
Monitoring and Tuning DBMS
• Correct inappropriate design
• Implement new minor requirement
• Produce better Response time and throughput
• Increase user’s satisfaction
![Page 8: Chapters 17 & 18 Physical Database Design Methodology.](https://reader035.fdocuments.in/reader035/viewer/2022071717/56649e395503460f94b2a97e/html5/thumbnails/8.jpg)
Points To Remember
• Physical database design
• Mapping Logical Design to DBMS
• Balancing the flexibility and performance
• Monitoring and Tuning DBMS
![Page 9: Chapters 17 & 18 Physical Database Design Methodology.](https://reader035.fdocuments.in/reader035/viewer/2022071717/56649e395503460f94b2a97e/html5/thumbnails/9.jpg)
Assignment
• Review chapters 5-6 and11-18
• Read chapters 25-27
• Project (enhanced e-r & normalization)– Due date: