Chapter 13: Designing Databases
Learning Objectives
Learning Objectives (continued)
Overview
Databases and Database Management Systems
Components of a DB and DBMS
DBMS Important Capabilities
Database Models
Relational Databases
Partial Display of Relational Database Table
Designing Relational Databases
Designing Relational Databases (continued)
Relationship Between Data in Two Tables
RMO Entity-Relationship Diagram
Representing Relationships
Entity Tables with Primary Keys
Represent One-to-Many Relationships
Enforcing Referential Integrity
DBMS Referential Integrity Enforcement
Evaluating Schema Quality
Database Normalization
Decomposition of 1NF Table into 2NF Tables
Conversion of 2NF Table into 3NF Tables
Object-Oriented Databases
Designing Object Databases
Representing Classes
Slide 27
Representing Relationships (continued)
RMO Class Diagram
1:1 Relationship Represented with Attributes Containing Object Identifiers
1:M Relationship Between Customer and Order Classes
1:M Represented with Attributes Containing Object Identifiers
M:M Relationship between Employee and Project Classes
M:M Relationship Represented with two 1:M Relationship
Generalization Hierarchy within the RMO Class Diagram
Hybrid Object-Relational Database Design
Classes and Attributes
Views of Stored Data
Relationships
Data Access Classes
Interaction Between Classes
Data Types
Relational DBMS Data Types
Subset of Oracle RDBMS Data Types
Object DBMS Data Types
Distributed Databases
Single Database Server Architecture
Replicated Database Server Architecture
Partitioning Database Schema into Client Access Subsets
Partitioned Database Server Architecture
Federated Database Server Architecture
RMO Distributed Database Architecture
Single-Server Database Server Architecture for RMO
Replicated and Partitioned Database Server Architecture for RMO
Summary
Summary (continued)