Docsity

Database managment system, Summaries of Database Management Systems (DBMS)

Partial preview of the text

Download Database managment system and more Summaries Database Management Systems (DBMS) in PDF only on Docsity!

FUNDAMENTALS OF DATABASE

SYSTEMS

CHAPETR ONE

INTRODUCTION TO DATABASE SYSTEMS

Example: Database Overview

Database: Overview

Intro…

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 VS Modern DB

Traditional Data base :

involves only text and numeric

For instance: all the above mentioned

DBS

Modern Database : are recent data

base applications as a result of the

advance in Tech.

  • Multimedia data bases
  • GIS: process image from satellite, maps, weather
  • Data ware house & online analytical processing:

to extract & analyze useful info from large

databases for decision making

  • www for online search

DBMS(Data base Management

System)

A DBMS is a collection of programs that

enables users to create and maintain a

database.

It is a general-purpose software system

that facilitates the processes of defining,

constructing , manipulating , and

sharing databases among various users

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

DBMS

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

A. Traditional File processing(File

system):

In traditional file processing, each user

defines and implements the files needed

for a specific software application as

part of programming the application

For example, one user, the grade

reporting office , may keep a file on

students and their grades.

A second user, the accounting office ,

may keep track of students' fees and

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

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 this 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.

  1. Sharing of Data and Multiuser Transaction

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

Actors on the scene

 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