Documente Academic
Documente Profesional
Documente Cultură
Database Systems
Uses of Database Systems
File Based Systems
Problems with File Based Systems
Database vs DBMS
Components of DBMS
Advantages & Disadvantages of DBMS
What is Data?
Data
“A collection of raw facts and figures”.
4
Database Systems – Madiha Rehman @KFUEIT
Information
Information:
Data processed to be useful in decision making.
Information is, processed data that is correlated and meaningful.
5
Figure 1-1b Summarized data
6
Data are….. Information is….
Data Vs Information
1.Stored facts 1. Presented facts
2.Inactive (They exist) 2.Active (It enables doing)
3.Technology –based 3.Business Based
4.Gathered from various 4.Transformed from data
sources
7
DATABASE
8
Uses of Database
Purchases from the supermarket
Purchases using your credit card
Booking a vacation with a travel agent
Using the Local Library
Taking out insurance
Renting a DVD
Using the Internet
Studying at College
A collection of related files.
A binary digit.
10
Predecessor: File Based Approach
A file based system is a collection of application programs that perform
services for the users wishing to access information.
Each program within a file based system defines and manages its own data.
Because of this, there are limits as to how that data can be used or
transported.
Sales Department
responsible for selling and renting of properties
Contract Department
responsible for handling lease agreements
Sales Department
PropertyForRent
(propertyNo, street, city, postcode, type, rooms, rent,
ownerNo)
Client
(clientNo, fName, lName, telNo, preftype, maxRent)
PrivateOwner
(ownerNo, fName, lName, address, telNo)
Property for Rent
Private Owner
Lease
(leaseNo, propertyNo, clientNo, rent , paymentMethod,
deposit, paid, rentStart, rentFinish, duration)
PropertyForRent
(propertyNo, street, city, postcode, type, rooms, rent)
Client
(clientNo, fName, lName, telNo, preftype, maxRent)
Property for Rent
Lease
Duplication of data
Decentralized approach taken by each department.
Same data is held by different programs.
Wasted space and potentially different values and/or different formats for the
same item.
Limitations of File Based Approach contd..
Data dependence
File structure is defined in the program code.
Incompatible file formats
Programs are written in different languages, and so cannot easily
access each other’s files.
V. A user-accessible catalog
I. Which contains description of the data in the database
Components of DBMS
Components of DBMS
Hardware
Can range from a PC to a network of computers.
Software
DBMS, operating system, network software (if necessary) and also the
application programs.
Data
Used by the organization and a description of this data called the schema.
Procedures
Instructions and rules that should be applied to the design and use of the
database and DBMS.
People
Roles in Database Environment
Data Administrator (DA)
Database planning
Development and maintenance of standards, policies and procedures
Database Administrator (DBA)
Physical realization of the database
Physical database design and implementation
Security and integrity control
Maintenance of the operational system
Ensuring satisfactory performance of the applications for users
Database Designers (Logical and Physical)
Application Programmers
End Users (naive and sophisticated)
Advantages of DBMS
Control of data redundancy
Data consistency
More information from the same amount of data
Sharing of data
Improved data integrity (constraints)
Improved security (authentication, rights)
Enforcement of standards (data formats, naming conventions,
documentation etc.)
Advantages of DBMS contd…
Complexity
Size (disk space for DBMS)
Cost of DBMS
Additional hardware costs
Cost of conversion
Performance
Higher impact of a failure
Summary
Introduction to DB and DBMS
File-based systems and their limitations
Database approach
Components of the DBMS environment
Roles in the DB environment
Advantages/Disadvantages of DBMSs