Database System Ais
Database System Ais
Design, Implementation,
and Management
Chapter 1 Introduction to
Database Systems
1
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
Objectives
2
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
• Applications
– Transform data into information that
forms basis for decision making –
Usually produce the following:
• Formal report
• Tabulations
• Graphic displays – Composed of
following two parts:
• Data
• Code by which data are transformed into
information
5
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
6
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
7
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
Introduction to database and
the DBMS
8
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
9
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
10
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
Data vs. Information
(continued)
collection of data –
End-user data: raw
facts of interest to the end user –
Metadata: data about data
• Metadata provides description of
13
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
14
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
15
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
Types of Databases
• Databases can be classified
according to:
– Number of users – Database
location(s) – Expected type and extent
of use
• Single-user database supports
only one user at a time –
Desktop
database – single-user, runs on PC
• Multiuser database supports
Types of Databases
(continued)
17
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
Types of Databases
(continued)
textual format
• XML database supports
19
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
The Importance of Database
Design
20
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
21
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
Summary
22
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
Summary (continued)
• Metadata is data about data
• Database design defines the
database structure –
Well-designed
database facilitates data management,
23
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
Review Questions
27
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
28
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
29
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
30
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
access
• File System exhibits: Data
change
• Data independence: data storage
access
31
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
field is a liability –
Better record
definition breaks fields into component
parts
• Selecting proper field names
important; field names are descriptive
– With proper naming conventions, file
places
• File system structure makes it
sources
– Vulnerable to security breaches
• Organizational structure promotes
locations
– Islands of information
• Data stored in different locations
34
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
Data Redundancy
(continued)
• Data inconsistency: different and
conflicting versions of same data
occur at different places
• Data anomalies (page 19 text
book): abnormalities when all
changes in redundant data not made
correctly
– Update anomalies: to update data in a
large file
system – Insertion anomalies: to insert
new data that has
connection with non exist data –
Deletion anomalies: to delete data that
also has
connection with other related data
35
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
Database Systems
38
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
39
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
40
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
database system
• Data: the collection of facts stored
in the database
• Database systems created and
complexity
• Database solutions must be
strategically effective
• Database technology already in use
affects selection of a database
system
41
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
DBMS Functions
relationships –
Changes automatically
recorded in the dictionary – DBMS
provides data abstraction, removes
42
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
43
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
44
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
45
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
50
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
51
Database Systems, 10th Edition, Coronel et al Reproduced by: Masurah Mohamad
Summary
Review Question