Unit I Introduction 1
Unit I Introduction 1
Course registrations
Research
laboratories Courses
Institute
Database
Students Faculties
Introduction (contd.)
Collection of programs that enables user to create and
maintain a database
Security
Consistency
Less redundancy
Purpose of database systems
• To control redundancy
• To restrict unauthorized access
• To provide persistent storage for program objects
• To provide search techniques for efficient query
processing
• To provide multiple user interfaces
Introduction (contd.)
Characteristics
Views
Base Table
Previously
defined views Virtual Table
Single Table (View) CREATE VIEW
Physical
derived from
storage of No physical SQL Command
other tables
tuples existence
View of data (contd.)
• Limitation
Limits update operations
• Uses
Provides data independence
Data models
High-level or conceptual
data models
Data Models
Database
Schema
State
Data in a
Specify to
database at a
define a new
particular
database
moment in time
Extension of
Intension
schema
Three- Schema Architecture
End Users
External/Conceptual
Mapping
Conceptual schema Logical (Conceptual) Level
Conceptual/Internal
Mapping
Physical (Internal) Level
Physical/Internal schema
Stored Database
Three- Schema Architecture (contd.)
Need of Three- Schema Architecture
Data
Independence