Documente Academic
Documente Profesional
Documente Cultură
Database Management
Systems I
Lecture 1
What is a database?
A database is a collection of related
data
(examples???)
Defining
Specifying the data types, structures, and
constraints for the data to be stored in the
database.
Constructing
The process of storing the data itself on some
storage medium that is controlled by the DBMS.
Manipulating
Manipulating a database includes such functions
as querying the database to retrieve specific
data, updating the database to reflect changes,
and generating reports from the data.
8/18/2019 IT Department @ SIBA Campus 7
Why Study DBs?
$$!!
8/18/2019 IT Department @ SIBA Campus 8
JOB Market
University Database
Credit Card Processing Systems
Airline Reservation Systems
Banking System
Databases touch all aspects of our lives
Database CS 3380 3 CS
Manual Processing
Time Consuming
Does not support large volumes
of data
File based Processing
Traditional File System provided by the
Operating System is insufficient to meet the
requirements of enterprise applications
Database Processing
8/18/2019 IT Department @ SIBA Campus 15
ID 001
Name Anne
File Based Processing Address Perth
TelNo 747374
Data Duplication Marks 75
Data Inconsistency
Duplication of Data
Security – Only password security
Students Application
Programs
DBMS
Students Application
Programs
DBMS
Data independence
Efficient data access
Data integrity and security
Data administration
Concurrent access, recovery from
crashes
Reduced application development
time
8/18/2019 IT Department @ SIBA Campus 22
Data independence
Application programs are independent of data
representation and storage details.
The structure of data files is stored in the DBMS
catalog separately from the access programs.
E.g. a file access program may be written in
such a way that it can access only STUDENT
records of the structure.
Program-data independence
Support of multiple views of the data
Note: DISK
Information about the schemas is stored
in the system catalog IT Department @ SIBA Campus
8/18/2019 37
Levels of Abstraction in a
DBMS(contd)
Conceptual schema
Two types:
Logical data independence
Physical data independence
8/18/2019 IT Department @ SIBA Campus 46
Logical Data Independence
DBMS is a complex
software package