














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















CHAPETR ONE
Example: Database Overview
Database: Overview
Databases have become an essential
component of everyday life in modern
society
For instance:
Bank transaction:
Accountowner,
withdrawal ,deposit,tranisfer,balance
Hotel reservation
Hotelname,l ocation,floor,room,roomprice,date
Airline Reservation
Flightdate,source,destination,flightduration,time
Computerized library catalog
Booktitle,author,edition,ISBN,borrower
Online shopping
Itemname,category,price,discount,deliverymode
Supermarkets for their inventory item control
Traditional Data base :
involves only text and numeric
For instance: all the above mentioned
Modern Database : are recent data
base applications as a result of the
advance in Tech.
to extract & analyze useful info from large
databases for decision making
DBMS(Data base Management
System)
A DBMS is a collection of programs that
enables users to create and maintain a
database.
and applications.
DBMS……
Defining a database:- involves
specifying the data types, structures, and
constraints for the data to be stored in
the database
Constructing the database: is the
process of storing the data itself on some
storage medium that is controlled by the
Manipulating a database: includes
such functions as querying the database
to retrieve specific data, updating the
database, and generating reports from
Characteristics of Database
Approach
File system Vs Database Approach
In traditional file processing, each user
defines and implements the files needed
part of programming the application
B. Database approach
In the database approach, a single repository of data is
maintained that is defined once and then is accessed by
various users. The main characteristics of the database
approach are the following
1. Self-describing nature of a database system
database system contains not only the database itself but
also a complete definition or description of the
database structure and constraints which is stored in
DBMS catalog
The catalog contains information such as the structure ,
the type and various constraints on the data.
The information stored in the catalog is called meta-data,
and it describes the structure of the primary database
These definitions are specified by the database designer
prior to creating the actual database and are stored in
the catalog.
Whenever a request is made to access/store, the DBMS
software refers to the catalog to determine the
2. Insulation between Programs and Data, and
Data Abstraction
In traditional file processing, the
changes to the structure of a file may
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.
Processing
A multiuser DBMS must allow multiple
users to access the database at the same
time
The DBMS must include concurrency
control software to ensure that several
users trying to update the same data
do so in a controlled manner so that the
result of the updates is correct
For example , when several reservation
clerks try to assign a seat on an airline
flight, the DBMS should ensure that each
seat can be accessed by only one
For a small personal database, one person typically
defines, constructs, and manipulates the database,
and there is no sharing.
However, many persons are involved in the design,
use, and maintenance of a large database with
hundreds of users
people whose jobs involve the day-to-day use of a
large database; we call them the " actors on the
scene ”. These are :
1. Data base administrator(DBA)
In a database environment, the primary resource is
the database. Hence administrator is required
The DBA is responsible for
authorizing access to the database(who will access
what?)
coordinating and monitoring its use