chapters 15 &16 conceptual and logical database design methodology

9
Chapters 15 &16 Conceptual and Logical Database Design Methodology

Upload: rodney-barker

Post on 03-Jan-2016

224 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Chapters 15 &16 Conceptual and Logical Database Design Methodology

Chapters 15 &16

Conceptual and Logical Database Design Methodology

Page 2: Chapters 15 &16 Conceptual and Logical Database Design Methodology

Agenda

• Definition

• Conceptual database design

• Relational database - logical design

• Example

Page 3: Chapters 15 &16 Conceptual and Logical Database Design Methodology

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

Page 4: Chapters 15 &16 Conceptual and Logical Database Design Methodology

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

Page 5: Chapters 15 &16 Conceptual and Logical Database Design Methodology

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)

Page 6: Chapters 15 &16 Conceptual and Logical Database Design Methodology

Relational Database - Logical Design

• Normalize relations– Primary key– Foreign key– BCNF

• Add constraints– Domain & enterprise– Referential– Entity– legal

Page 7: Chapters 15 &16 Conceptual and Logical Database Design Methodology

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

Page 8: Chapters 15 &16 Conceptual and Logical Database Design Methodology

Points To Remember

• Definition

• Conceptual database design

• Relational database - logical design

• Example

Page 9: Chapters 15 &16 Conceptual and Logical Database Design Methodology

Assignment

• Review chapters 5-6, 11-16

• Read chapters 17-18

• Work on group project– E-R and normalized database due date: