Professional Documents
Culture Documents
I 1
I 1
I 1
AND
DATABASE
USERS
Outlines
Types of
database
Why
Databases
?
Introduction
• Data means known facts that can be recorded and that have
implicit meaning. For example, consider the names,
telephone numbers, and addresses of the people you know.
Figure 1
Types of databases
Number of users:
Single user database / multiuser database
Database location(s):
Centralized database / distributed database
Figure 2
An Example
Figure 3
Characteristics of the Database
Approach
2. Insulation between Programs and Data, and Data
Abstraction
In traditional file processing, the structure of data files is
embedded in the application programs, so any changes to
the structure of a file may require changing all programs
that access that file. By contrast, DBMS access programs do
not require such changes in most cases. The structure of
data files is stored in the DBMS catalog separately from the
access programs. We call this property program-data
independence.
Characteristics of the Database
Approach
Figure 4
Characteristics of the Database
Approach
3. Support of Multiple Views of the Data
A database typically has many users, each of whom may
require a different perspective or view of the database. For
example, one user of the database of Figure 2 may be
interested only in accessing and printing the transcript of
each student; the view for this user is shown in Figure 5(a).
A second user, who is interested only in checking that
students have taken all the prerequisites of each course for
which they register, may require the view shown in Figure
5(b).
An Example
Figure 2
Characteristics of the Database
Approach
Characteristics of the Database
Approach
4. Sharing of Data and Multiuser Transaction Processing
A multiuser DBMS, as its name implies, must allow
multiple users to access the database at the same time.
Database users
There are two types of people who dealing with database:
Figure 2
Advantages of Using the DBMS
Approach
Figure 6:
Redundancy
Advantages of Using the DBMS
Approach
Database
Advantages of Using the DBMS
Approach
Figure 7
Relationships
Historical development of database
technology
1. Hierarchical Databases
A kind of database management system that links records
together like a family tree such that each record type has only
one owner, e.g. an order is owned by only one customer.
Hierarchical structures were widely used in the first mainframe
database management systems. However, due to their
restrictions, they often cannot be used to relate structures that
exist in the real world.
Historical development of database
technology
ORDER
CUSTOMER PRODUCT
Figure 8
Historical development of database
technology
Product_NO Customer_ID
10 113
30 204