Professional Documents
Culture Documents
Basis Data - Modul 01 Fundamental of DB System PDF
Basis Data - Modul 01 Fundamental of DB System PDF
Fundamentals of
Database Systems
Reference : Elmasri Chapter 1
Module 1 - Motivation
Fundamentals of Database Systems
• The design and implementation of the
database component is a most significant
aspect of Information system development
• Success of the Information system depends
on the design of the database !
I think our smaller sized cans of
drink are selling faster than the Sorry but we can only obtain
larger ones. Can you give me a reports showing total cans sold
breakdown? to each store.
Module 1 1
Module 1 - Contents
Fundamentals of Database Systems
• Introduction
• concept of a database
• concept of a database management
system
• Describes the functions of a database
management system
Introduction
• Databases and database systems are an essential component of life in
modern society.
• Traditional database applications, the information that is stored and
accessed is either textual or numeric.
• component of multimedia, store images, audio clips, and video streams
digitally.
• Geographic information systems (GIS), store and analyze maps, weather
data, and satellite images
• Data warehouses and online analytical processing (OLAP) systems are
used to extract and analyze useful business information from very large
databases to support decision making
• Real-time and active database technology, used to control industrial and
manufacturing processes
Module 1 2
What is a Database?
Diary
Properties of a database
• A database represents some aspect of the real
world, sometimes called the miniworld or the
universe of discourse (UoD)
• A database is a logically coherent collection of
data with some inherent meaning
• A database is designed, built, and populated
with data for a specific purpose
Module 1 3
What is a DBMS?
Module 1 4
What is a Database System?
DBMS
+
Database
=
Database
System
Module 1 5
Examples :
Characteristics
of the Database Approach
• Traditional file processing, each user defines and
implements the files needed for a specific software
application as part of programming the application.
• Database approach, a single repository maintains data
that is defined once and then accessed by various
users.
• Main characteristics of the database approach versus
the file-processing approach are the following:
– Self-describing nature of a database system
– Insulation between programs and data, and data
abstraction
– Support of multiple views of the data
– Sharing of data and multiuser transaction processing
Module 1 6
Self-Describing Nature of
a Database System
• The database system contains not only the
database itself but also a complete definition
or description of the database structure and
constraints.
• The information stored in the catalog is called
meta-data, and it describes the structure of
the primary database
• In traditional file processing, data definition is
typically part of the application programs
themselves
Module 1 7
Continue ….
Module 1 8
Sharing of Data and Multiuser
Transaction Processing
• A multiuser DBMS, must allow multiple users to
access the database at the same time. This is essential
if data for multiple applications is to be integrated and
maintained in a single database.
• 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
• These types of applications are generally called online
transaction processing (OLTP) applications
Module 1 9
Database Administrators
Module 1 10
End Users
Module 1 11
Naive/ Parametric End Users
• These users frequently query and update the
database using standard types of Queries.
• The operations that can be performed by this
class of users are very limited and effect
precise portion of the database.
• Example : Reservation clerks for
airlines/hotels check availability for given
request and make reservations. Also, persons
using Automated Teller Machines (ATM's) fall
under this category as he has access to limited
portion of the database.
Module 1 12
Why use a Database System?
26
Module 1 13
Typical Functions of the DBMS
• Controlling redundancy
• Restricting unauthorized access
• Providing multi-user interfaces
• Representing complex relationships
• Enforcing integrity constraints
• Providing backup and recovery
Controlling redundancy
• Users of traditional file processing systems, each had a
“copy” of relevant data, causing
o Duplication of effort
o Wastage of storage space
o Inconsistent data
• However, redundancy sometimes enhances performance
DBMS provides an environment where redundancy can
be controlled
Stud-No Name Degree Subject Grade
90 Smith BA CS182 7
87 Brown BA CS182 7
98 James BSc CS181 6
90 Smith BIT CS181 6
Module 1 14
Restricting unauthorized access
• Different user groups may have different access
privileges (Create/Alter, Update, and Retrieve), which
are controlled through DBMS security sub-system,
through the use of Accounts & Passwords
• Casual users may not have access to confidential data,
e.g medical records, salary packages, police reports
• Parametric users may be given update access, but are
generally not allowed to change the structure of data
• Database administrators (DBAs) generally have highest
privileges, create user accounts and enforce
restrictions
Module 1 15
Complex relationships
Module 1 16
Providing backup and recovery
DBMS provides facility to recover
from hardware and software
failures through its backup and
recovery sub-system
Deposit $200 into ATM
• An update program is executing
• Computer System fails in the
middle of the update
system fails • DBMS restores the database to a
state prior to the update and
restarts the update program
Module 1 - Review
Key definitions:
• Database
• DBMS (Many Functions)
• Database System = DBMS + Database
Module 1 17
Recommended Readings
Next ...
Module 2
Database system concept and
architecture
Module 1 18
Task :
1. Define the following terms: data, database, DBMS, database
system, database catalog, program-data independence, user view,
DBA, end user, canned transaction, deductive database system,
persistent object, meta-data, and transaction-processing
application.
2. What four main types of actions involve databases? Briefly discuss
each
3. Discuss the main characteristics of the database approach and how
it differs from traditional file systems.
4. What are the responsibilities of the DBA and the database
designers?
5. Discuss the differences between database systems and information
retrieval systems.
Module 1 19