Académique Documents
Professionnel Documents
Culture Documents
|
Chapter 12 - Objectives
0 Purpose of physical database design.
0 How to map the logical database
design to a physical database design.
0 How to design base tables for target
DBMS.
0 How to design representation of
derived data.
0 How to design business rules for
target DBMS. |
Logical Ä Physical Database Design
0 Logical db design independent of
implementation details, such as
functionality of target DBMS.
0 Logical db design concerned with the ,
physical database design is concerned with
the .
0 Sources of information for physical design
includes logical data model and data
dictionary.
|
Physical Database Design
Process of producing a description of
implementation of the database on
secondary storage.
It describes base tables, file organizations,
and indexes used to achieve efficient
access to the data, and any associated
integrity constraints and security
restrictions.
|
Overview of Physical Database
Design Methodology
derived data
0 Step 3.3 Design remaining business rules
|
Step 3 Translate logical database
design for target DBMS
|
Step 3.1 Design base tables
0 For each table, need to define:
0 name of the table;
0 list of simple columns in brackets;
|
DBDL for the Branch table
|
Step 3.2 Design representation of
derived data
|
Step 3.2 Design representation of
derived data
0 Option selected is based on:
0 additional cost to store the derived data and
keep it consistent with data from which it is
derived;
0 cost to calculate it each time it·s required.
|
MentalAgreement and Member with
derived column noOfMentals
|
Step 3.3 Design remaining
business rules
CO·STMAI·T member_not_renting_too_many
CHECK (·OT EXISTS (SELECT member·o
FMOM MentalAgreement
GMO P BY member·o
HAVI·G
| CO ·T(*) > 10))