DB - Lec - 1 and 2
DB - Lec - 1 and 2
Marks Distribution
Quiz 5 5 15
Assignment 5 5 15
Final Paper 1 40 40
● 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.
– Security breaches
W
DBMS Maintain DB
h
Administrator
a
t
tH
DB
oo
Database
Design Designer
gw
Dataet Users
o
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.
● Flexibility