Database Introduction
Database Introduction
Introduction
Examinati
Registration Library on data
data File data File File
Data duplication
– Waste storage
– Vulnerable to data inconsistency
Database Approach
A single repository maintain data defined once
and accessed by various users
Registration Examination
System Library System
System
DBMS
University
Student DB
Main Characteristics of the Database
Approach
Self-describing nature of a database system: A
DBMS catalog stores the description of the
database. The description is called meta-data. This
allows the DBMS software to work with different
databases.
Insulation between programs and data: Called
program-data independence. Allows changing
data storage structures and operations without
having to change the DBMS access programs.
Main Characteristics of the
Database Approach
Data Abstraction: A data model is used to hide
storage details and present the users with a
conceptual view of the database.
1. Database Administrators:
– A Database Administrator (DBA) is responsible
for authorizing access to the database,
coordinating and monitoring its use, and acquiring
software and hardware resources as needed.
– The DBA is accountable for problems such as
– Security breaches
2. Database Designers:
– Responsible for identifying the data to be stored
in the database and for choosing appropriate
structures to represent and store this data.
3. End Users:
– Are people whose job require access to the
database for querying, updating, and generating
reports.
– The database primarily exists for this use.
Actors in a Large Database
What to get
DBMS Maintain DB
Administrator
How to get date
Database DB Designer
Design
Data Users
Advantages - Using the DBMS Approach
Controlling Redundancy
– Redundancy is to store the same data in
different files for no need. Redundancy caused
TFPs to waste storage space, to require
duplication of effort for multiple updates (waste
time), and to perhaps show inconsistent data.
– Inconsistency is to show different values for the
same data item in different places.
Advantages - Using the DBMS Approach
Flexibility
– DBMS allows for some changes to the structure of the
database with minimum affect or without affecting the
stored data and the existing application programs.
– However, in TFP approach any changes in the data
structure requires corresponding changes in both file
structure and applications programs.