Académique Documents
Professionnel Documents
Culture Documents
Systems
CHAPTER 1
Contents
Why database?
Data vs Information
Introducing the database
Types of databases
Why database design is important
Evolution of file system data
processing
Database systems
Why database?
Metadata
data about data
provide a description of the data
characteristics and the set of relationships
that link the data found within the database.
Metadata
DBMS (Database
Management System)
Collection of programs that manages
database structure and controls access
to data
Makes data management more efficient
and effective
Datamanagement:
the process of managing data for proper
generation, storage and retrieval.
3.Classified by use:
Transactional (or production):
Supports a companys day-to-day operations
Data warehouse:
Stores data used to generate information required to make
tactical or strategic decisions
Often used to store historical data
Structure is quite different
Types of Databases
Single- Deskto
Numbe
user p
r of
users Multi- Workgr
user oup
Centrali Enterpr
Databa zed ise
Databa se
se locatio Distribu
n ted
Operation
al/
Transacti
onal/
Extent Productio
of use n
Data
Wareho
use
Types of Databases (continued)
14
File System:
A collection of application programs that
perform services to the end-users, such as
the production of reports. Each program
defines and manages its own data.
Early attempt to computerize the manual filing
system
File system was developed in response to the
needs of industry for more efficient data access
Decentralized approach was taken.
Each department stored and controlled its own
data assisted by Data Processing(DP) staff
Computerized File System
Sales Department :
responsible for selling and renting of properties
Contracts Department :
responsible for handling lease agreement related to properties for rent
Example of File Systems
Implementation
DreamHome
Property for Rent Details
Client offer property for rent Property Number: PG21
Address B10 Jalan Teratai Allocated to Branch
Kuala Terengganu
Approach sales department City Kuala Terengganu Branch No. B003
Fill in a form Postcode 20050
Owners Details
Name Zaharah Muhd Business Name
Address No.1 Jln Address
Sutera
Kuala Terengganu
Business Type
Example of File Systems
Implementation
DreamHome
Client inquire property to rent Client Details
Client Number: CR74
Approach sales department First Name Che Ku Affandi Last Name
Che Ku Yahya
Fill in a form Address 1129 Tanah Lot Saujana
Setiu
Property Requirement Details
Preferred Property Maximum Monthly Rent
Type 750
House
General Comments Currently living with parents
Getting married in August
Office
Seen By Aisyah Date 24/3/09
Halim
Branch No. B003 Branch City Kuala Terengganu
Example of File Systems
Implementation
PropertyForRent Sales
property street city postco type rooms rent owner
No de No
PG21 B10 Jalan Kuala 20050 house 5 600 C087
Teratai Terengga
nu
PG16 No 5 Kemama 20560 flat 3 350 C026
PrivateOwner
Persiaran n
ownerNo 7 fName lName address telNo
C040 Yin Chung Long Flat Sri Kolam, KT 09-6224223
C026 Hamid Gurkha Jln.Masjid Puteh, KT 013-9134589
C087 Zaharah Muhd No1 Jalan Sutera, 019-912467
KT
Client
client fNam lName address telNo prefTy maxRe
No e pe nt
CR74 Che Ku Che Ku 1129 Tanah Lot 019-5654111 house RM750
Affandi Yahya Saujana, Setiu
CR56 Hapsa Wahab No 2 Taman 013-7654330 flat RM300
h Setia, Dungun
CR67 Tg.Dini Tg.Syukri Jln Dahlia, KT 09-6224017 bungalo RM1000
Example of File Systems
Implementation
DreamHome
Client agrees to rent a property Lease Details
Lease Number: 10012
Sales staff fill in a form Client No. CR74 Property No. PG21
Tel.No 019-5654111
Payment Details
Structural dependence
Access to a file depends on its structure
Changes in the file structure such as
adding or deleting fields requires
modification of all programs using that file
e.g. adding customer date-of-birth field to
CUSTOMER file require changes in all
application programs using data from that
file
Problems with File System Data
Management
Data dependence
Changes in the data storage
characteristics affects the application
programs ability to access the data
e.g. changing field type from integer to
decimal, requires changes in all the
programs that access the file.
Isolation of Data
Because data are scattered in various
files, and files may be in different
formats, it is difficult to write new
application programs to retrieve the
appropriate data.
Data Redundancy
Anomaly = Abnormality
Abnormal condition occur due to data
redundancy that force field value changes in
many different locations
Types of data anomalies:
Update (Modification) anomalies
File system
Many separate and unrelated files
Database
Logically related data stored in a single
logical data repository
Database Systems
The Database System
Environment
Database system is composed of five
main parts:
Hardware
Software
Operating system software
DBMS software
Application programs and utility software
People
Procedures
Data
The Database System
Environment
The Database System Environment
(continued)
44