ism (zabi)
TRANSCRIPT
-
8/8/2019 ISM (ZABI)
1/20
A STUDY ON DATABASE MANAGEMENTA STUDY ON DATABASE MANAGEMENTSYSTEM( REFERENCE TO BINKERS HOTEL)SYSTEM( REFERENCE TO BINKERS HOTEL)
ZABI ULLAH MOQIMMBA IIIrd SEM
051
-
8/8/2019 ISM (ZABI)
2/20
Silberschatz, Korth and Sudarshan1.2Database System Concepts
OBJECTIVES OF THE STUDYOBJECTIVES OF THE STUDY
To understand the concept of DBMS
To numerate the benefits and advantages ofDatabase Management System .
To evaluate the case of BINKERS HOTEL in
applying DBMS
-
8/8/2019 ISM (ZABI)
3/20
Silberschatz, Korth and Sudarshan1.3Database System Concepts
Database Management System (DBMS)Database Management System (DBMS)
Collection of interrelated data Set of programs to access the data
DBMS contains information about a particular enterprise
atabase Applications:
Banking: all transactions Airlines: reservations, schedules
Universities: registration, grades
Sales: customers, products, purchases
Manufacturing: production, inventory, orders, supply chain
Human resources: employee records, salaries, tax deductions
Databases touch all aspects of our lives
-
8/8/2019 ISM (ZABI)
4/20
Silberschatz, Korth and Sudarshan1.4Database System Concepts
Purpose of Database SystemPurpose of Database System
In the early days, database applications were built on top
of file systems
Drawbacks of using file systems to store data:
Data redundancy and inconsistency
Multiple file formats, duplication of information in different files
Difficulty in accessing data
Need to write a new program to carry out each new task
Data isolation multiple files and formats
Integrity problems
Security problems
-
8/8/2019 ISM (ZABI)
5/20
Silberschatz, Korth and Sudarshan1.5Database System Concepts
Advantages of DBMSAdvantages of DBMS
Enforcement of standards Improved data accessibility
Improved data quality
Improved data sharing Reduced program
maintenance Increased productivity of development staff
Program-data independence
Minimal data redundancy Improved data consistency
-
8/8/2019 ISM (ZABI)
6/20
Silberschatz, Korth and Sudarshan1.6Database System Concepts
Functions of DBMSFunctions of DBMS
Indexing
Views
Security
Integrity
Concurrency
Backup/Recovery
Design
Documentation
Update/Query
-
8/8/2019 ISM (ZABI)
7/20
Silberschatz, Korth and Sudarshan1.7Database System Concepts
Data ModelsData Models
A collection of tools for describing
data
data relationships
data semantics
data constraints
Entity-Relationship model
Relational model
Hierarchical Model
Network Data Model
Relational Data Model
-
8/8/2019 ISM (ZABI)
8/20
Silberschatz, Korth and Sudarshan1.8Database System Concepts
EntityEntity--Relationship ModelRelationship Model
Example of schema in the entity-relationship model
-
8/8/2019 ISM (ZABI)
9/20
Silberschatz, Korth and Sudarshan1.9Database System Concepts
Entity Relationship Model (Cont.)Entity Relationship Model (Cont.)
E-R model of real world Entities (objects)
E.g. customers, accounts, bank branch
Relationships between entities
E.g. Account A-101 is held by customer Johnson
Relationship set depositor associates customers with accounts
Widely used for database design
Database design in E-R model usually converted to design in the relational
model (coming up next) which is used for storage and processing
-
8/8/2019 ISM (ZABI)
10/20
Silberschatz, Korth and Sudarshan1.10Database System Concepts
Relational ModelRelational Model
Example of tabular data in the relational model
customer-
nameCustomer-id
customer-
street
customer-
city
account-
number
Johnson
Smith
Johnson
Jones
Smith
192-83-7465
019-28-3746
192-83-7465
321-12-3123
019-28-3746
Alma
North
Alma
Main
North
Palo Alto
Rye
Palo Alto
Harrison
Rye
A-101
A-215
A-201
A-217
A-201
Attributes
-
8/8/2019 ISM (ZABI)
11/20
Silberschatz, Korth and Sudarshan1.11Database System Concepts
Our study case: HotelOur study case: Hotel Bincker'sBincker's
-
8/8/2019 ISM (ZABI)
12/20
Silberschatz, Korth and Sudarshan1.12Database System Concepts
HotelHotel Bincker'sBincker's
In the last few years Hotel Bincker's has grown from a small villagehostel into a medium sized business hotel in a rapidly growing
small silicon village town. And the desk has no time to keep track
of all information needed to take care of its guests in a proper way.
is vaguely muttered by the manager after he lost your name again,
did not cross off the room on his blackboard and booked the sameroom twice.
Some weeks later when you show up at Hotel Bincker's desk the
manager will finger through his agenda which is ordered by date
and he will find your reservation. This method works well for asmall hotel. Guests are coming back and the hotel's business is
profitable again
-
8/8/2019 ISM (ZABI)
13/20
Silberschatz, Korth and Sudarshan1.13Database System Concepts
-
8/8/2019 ISM (ZABI)
14/20
Silberschatz, Korth and Sudarshan1.14Database System Concepts
-
8/8/2019 ISM (ZABI)
15/20
Silberschatz, Korth and Sudarshan1.15Database System Concepts
-
8/8/2019 ISM (ZABI)
16/20
Silberschatz, Korth and Sudarshan1.16Database System Concepts
-
8/8/2019 ISM (ZABI)
17/20
Silberschatz, Korth and Sudarshan1.17Database System Concepts
-
8/8/2019 ISM (ZABI)
18/20
Silberschatz, Korth and Sudarshan1.18Database System Concepts
Quick view for occupied roomsQuick view for occupied rooms
-
8/8/2019 ISM (ZABI)
19/20
Silberschatz, Korth and Sudarshan1.19Database System Concepts
-
8/8/2019 ISM (ZABI)
20/20
Silberschatz, Korth and Sudarshan1.20Database System Concepts