Chapter One
Chapter One
1
Wuletawu.E
[email protected]
Course Objective
Overview
Basics of Database
File organization verses Database approach
Users and actors of Database system
Characteristics of the Database Approach
Actors on the Scene
All the limitations of the file based approach can be attributed to two
factors:
The definition of the data is embedded in the application programs,
rather than being stored separately and independently.
There is no control over the access and manipulation of data beyond
that imposed by the application programs.
Data base approach: is a system which improves many problems of file
based system. It is centralized computerized data handling mechanism.
The database is a large repository of data, which is defined once and used
simultaneously by many departments and users.
Complexity
Size
Cost of DBMS
Cost of conversion
Performance
Higher impact of a failure
contains not only the database itself but also a complete definition or description
This definition is stored in the DBMS catalog, which contains information such
as the structure of each file, the type and storage format of each data item, and
The information stored in the catalog is called meta-data, and it describes the
In traditional file systems, the structure of data files is embedded within the application
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.
Data Abstraction:
Physical Level: The lowest level of abstraction, representing how data is physically stored
on the storage medium.
Logical (Conceptual) Level: Represents the structure and relationships between data
entities without regard for physical storage.
View Level: The highest level of abstraction, providing individual users with different
views of the data based on their needs and permissions.
A database typically has many users, each of whom may require a different
perspective or view of the database.
A view may be a subset of the database or it may contain virtual data that is
derived from the database files but is not explicitly stored.
data-base at the same time. This is essential if data for multiple applications is to
be integrated and maintained in a single database. The concept of a transaction
has become central to many database applications.
In large organizations, numerous individuals are involved in the design, use, and
maintenance of a large database serving hundreds of users.
The people whose roles involve the day-to-day utilization of a large database are
referred to as actors on the scene and are classified as follows: