Databases and Database Management Systems
Databases and Database Management Systems
Database
Management
Systems
Summary
Introduction
Example of a University Database
Characteristics of Database Approach
Database Users
Advantages of DBMS Approach
When Not to Use a DBMS
Introduction
Data
Known facts that can be recorded and have an implicit meaning.
Database
A collection of related data.
Mini-world
Also known as Universe of Discourse (UoD)
Some part of the real world about which data is stored in a database.
For example, student grades and transcripts at a university.
Introduction
Mini-world relationships
SECTIONs are of specific COURSEs
STUDENTs take SECTIONs
COURSEs have prerequisite COURSEs
INSTRUCTORs teach SECTIONs
COURSEs are offered by DEPARTMENTs
STUDENTs major in DEPARTMENTs
Characteristics of Database
Approach
Self-Describing Nature of a Database System
Database system stores both database and description of the
database.
A DBMS catalog stores the description of the database.
For example, structure of each file, the type and storage format of each
data item, and various constraints on the data.
The description is called meta-data.
This allows the DBMS software to work with different databases.
Characteristics of Database
Approach
Insulation between Programs and Data
Also called program-data independence .
Allows changing data storage structures and operations without having
to change the DBMS access programs.
Data Abstraction
A data model is used to hide storage details and present the users with
a conceptual view of the database.
Characteristics of Database
Approach
Support of Multiple Views of Data
Each user may see a different view of the database
Showing only the data of interest to each user.
Database Administrators
Chief administrator to oversee and manage database, DBMS and
related software.
Database Designers
Responsible for identifying the data to be stored in the database and
for choosing appropriate structures to represent and store this data.
End Users
People who require access to the database for querying, updating and
generating reports. E.g. reservation agents for airlines
Advantages of DBMS Approach