Introduction to Database Systems
Introduction to Database Systems
Babar Jehangir
Marks Distribution
Marks Distribution
Quiz 4 3.5 14
Assignment 4 4 16
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
Security
Authentication etc…
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.
Thanks