Professional Documents
Culture Documents
Company Databases
employees, departments, projects …
Airline Reservation Systems
flights, fares, customers, reservations ..
Library Databases
authors, titles, publishers, videos …
Bank Databases
accounts, customers, branches ...
DBMSs VS File Processing
Why do we need a
DBMS?
Financial
Services
Application
Programs
Application
Programs
Arts &
Science
Office
Simple File System
REPORTS
File System Data
Management
Each file is managed by a set of PBs
3GL programs :-
A lot of 3GL programs
Create File predefined reports only
Structure Ad hoc reports are
Add Data record difficult
Delete data record Difficult changes in file
structures
Modify data field
Modifications yield
List the file
errors
contents
lack of Security features
Program-Data Dependence
Database Systems
Data
Definition
Payroll
Schedules
Grades
Data Integrity
Data definition
DBMS
Characteristics of the
Database Approach
DB
A collection of described and interrelated data stored
and managed by general purpose DBMS
Database vs File Systems
Personnel Employees
FS Customers
Sales Sales
Inventory
Accounting
Accounts
Personnel
DBMS
Employees
Customers
Sales Sales
DBMS
Inventory
Accounting Accounts
Data Description
File Processing VS DBMS
Facilities to:
Define :specify data types, structures &
constraints for the data to be stored in the
database
Construct :store the data
Manipulate :pose queries to retrieve specific
data, update data or generate reports based
on the data
Database System
Environment
Users/Programmers
Database
Application Programs/Queries
System
DBMS
Software Software: Query Processing
& Programs
Database
Database
Definition
Database Players
DBA
access authorization, coordination & monitoring database
usage, problem determination, performance tuning etc
Designers
identify the requirements & chose the appropriate structures to
represent & store the data
Users (Casual, parametric, Sophisticated, stand-alone)
System analysts & application programmers
DBMS system designers & implementers
Tool developers
Operators & maintenance personnel
DBMS Interfaces
mapping
Conceptual Schema
mapping
Internal Schema
Stored database
Data Independence