Data Structures
Data Structures
Systems
Conceptual Conceptual
Informal
Design Model
Physical
Operation, Mainte- Evolving
nance, & Tuning Database
Database Development (Cont.)
➢ Requirements Analysis
⚫ Collect and Analyze the requirements of the users.
➢ Conceptual Design
⚫ Design a conceptual model (schema), e.g., ER model.
➢ Logical Design
⚫ Translate the ER model into a relational model (schema).
⚫ Normalization
➢ Database Building
⚫ Build the database and write application programs.
➢ Operation, Maintenance, & Tuning
⚫ Use, maintain, and “tune” the database.
Logical Design
➢ Translate an ER schema into a relational
schema.
⚫ Entity
⚫ Relationship
⚫ Attribute
⚫ Subtype
➢ Normalization
⚫ To ensure you have a “good” design.
SUMMARY OF ER-DIAGRAM
NOTATION
Symbol Meaning
ENTITY TYPE
RELATIONSHIP TYPE
ATTRIBUTE
KEY ATTRIBUTE
MULTIVALUED ATTRIBUTE
COMPOSITE ATTRIBUTE
DERIVED ATTRIBUTE
E1 R E2 TOTAL PARTICIPATION OF E2 IN R
➢ Participation constraint
⚫ (on each participating entity type): total (called
existence dependency ) or partial.