Download Conceptual and Logical Database Design

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Oracle Database wikipedia , lookup

IMDb wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Relational algebra wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Functional Database Model wikipedia , lookup

Concurrency control wikipedia , lookup

Database wikipedia , lookup

Clusterpoint wikipedia , lookup

ContactPoint wikipedia , lookup

Database model wikipedia , lookup

Relational model wikipedia , lookup

Transcript
Chapters 15 &16
Conceptual and Logical Database
Design Methodology
Agenda
•
•
•
•
Definition
Conceptual database design
Relational database - logical design
Example
Definition
• Design methodology
– Structured design approach using procedures,
techniques, tools and documentation aids
• Conceptual database design
– Constructing an information model, independent from
all physical consideration for an enterprise
• Logical database design
– Building an organization database based on a specific
data model
Conceptual Database Design
•
•
•
•
•
Entities
Relationships
Attributes (simple, no composite, no derived)
Attribute domains
Primary and candidate key attributes
–
–
–
–
–
Minimal set of attributes
Less change
Uniqueness in the future
Fewest characters
Easy to use by users
Relational Database - Logical Design
• Draw ER model
• Review
–
–
–
–
–
Always binary with1 to many relationship
No complex relationship
No redundant relationship
No recursive relationship
No relationship with attribute(s)
Relational Database - Logical Design
• Normalize relations
– Primary key
– Foreign key
– BCNF
• Add constraints
–
–
–
–
Domain & enterprise
Referential
Entity
legal
Relational Database - Logical Design
• Review
–
–
–
–
–
–
Organization current & future needs
All user current & future requirements
Normalization (Boyce-Codd)
Relationship (one-to-one or one-to-many)
Redundancy
Constraints
• User approval
• Document
Points To Remember
•
•
•
•
Definition
Conceptual database design
Relational database - logical design
Example
Assignment
• Review chapters 5-6, 11-16
• Read chapters 17-18
• Work on group project
– E-R and normalized database due date: