Chapters 17 & 18 Physical Database Design Methodology.

9
Chapters 17 & 18 Physical Database Design Methodology

Transcript of Chapters 17 & 18 Physical Database Design Methodology.

Page 1: Chapters 17 & 18 Physical Database Design Methodology.

Chapters 17 & 18

Physical Database Design Methodology

Page 2: Chapters 17 & 18 Physical Database Design Methodology.

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.

Physical Database Design

• Implementing a database using specific data storage structures and access methods

Page 4: Chapters 17 & 18 Physical Database Design Methodology.

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.

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.

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.

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.

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.

Assignment

• Review chapters 5-6 and11-18

• Read chapters 25-27

• Project (enhanced e-r & normalization)– Due date: