DB Lec 03
DB Lec 03
Database Systems
Lecture 3
Database Management S
ystems
Today’s agenda
• Types of Databases
• Data Models
▫ Categories
▫ History
• Schemas vs. Instances
• Database schema vs. Database states
3
Database Management S
ystems
Types of Databases
• Centralized Databases
• Distributed Databases
Database Management S
ystems
4
Centralized Databases
• Personal Computer Database
▫ normally have a single user who creates the database
updates and maintains the data and reports and
displays
• Central Computer Database
▫ users at remote locations can access the database
using terminals and data communications links
• Client/Server Database
▫ many organizations are downsizing present
applications to these smaller, more cost effective
computers
5
Database Management S
ystems
Distributed Databases
• Homogenous Database
▫ The homogeneous database means that the
database technology is the same at each of the
locations (or sites) and that the data at various
locations are also compatible
• Heterogeneous Database
▫ different nodes may have different hardware &
software and data structures at various locations
are also incompatible.
6
Database Management S
ystems
Data Models
• Data Model: A set of concepts to describe the
structure of a database, i.e., structure means, the
data types, relationships, and constraints that
apply to the data.
• Data Model Operations: Most data models
also include a set of basic operations for
specifying retrievals and updates on the
database. Operations on the data model may
include basic operations (insert, delete, modify)
and user-defined operations (compute CGPA).
7
Database Management S
ystems
Database Management S
ystems
Database Management S
ystems
Database Management S
ystems
Database Management S
ystems
Database Management S
ystems
Database Management S
ystems
• Distinction
• The database schema changes very infrequently. The database state
changes every time the database is updated.
Database Management S
ystems
Schema Diagram