Databases and Database Users
Databases and Database Users
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.
Number of users:
Single user database / multiuser database
Database location(s):
Centralized database / distributed database
Figure 1
An Example
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).
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
2. People who may be called workers behind the scene those who
work to maintain the database system environment but who
are not actively interested in the database contents as part
of their daily job.
Actors on the scene
1. Database Administrators:
Database administrator (DBA). The DBA is responsible for:
Authorizing access to the database, coordinating and
monitoring its use.
Acquiring software and hardware resources as needed.
The DBA is accountable for problems such as security
breaches and poor system response time.
2. Database Designers:
Database designers are responsible for:
Identifying the data to be stored in the database and for
choosing appropriate structures to represent and store this
data.
Communicate with all prospective database users in order to
understand their requirements and to create a design that
meets these requirements.
Actors on the scene
3. End Users:
End users are the people whose jobs require access to the
database for querying, updating, and generating reports; the
database primarily exists for their use. There are several
categories of end users:
Casual end users
Naive or parametric end users
Sophisticated end users
Standalone users
Actors on the scene
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_HEADER
CUSTOMER PRODUCT
Figure 8
Historical development of database
technology
Product_NO Customer_ID
10 113
30 204