Lecture 1 - Introduction To DB AND DB Environment
Lecture 1 - Introduction To DB AND DB Environment
Lecture 1 - Introduction To DB AND DB Environment
LECTURE 1
INTRODUCTION TO
DATABASE
&
DATABASE ENVIRONMENT
Faiqah Hafidzah Halim
Muhammad Hamiz Mohd Radzi
Lecture Content
Introduction
File-based systems
Database
Approach
Database
Environment
History of DBMS
Advantages &
Disadvantages of DBMS
objectives
Database
Database Database System
Management System
Database Application A collection of application
(DBMS)
programs that interact with
Collection of Software that A program that the database along with the
related data manages and controls interacts with the DBMS and the database
access to the database itself
database
Introduction to Database
Sales Contracts
Files Files
File Based Processing
Similar data
Limitations of File Based
Approach
Separation
and isolation
of data
Fixed queries
/
proliferation Duplication
of of data
application
programs
Limitations
Incompatible Data
file formats dependence
Database
ERD
Database Management System
(DBMS)
A software system that enables users to define,
create, maintain, and control access to the
database.
Provides facilities:
Data Definition Language (DDL) allow user to define
database.
Data Manipulation Language (DML) allows user to
insert, update, delete and retrieve data from database
Provide control access (security, integrity system,
concurrency control, recovery control, user accessible
catalog)
Database Application Program
FBS
Database
Approach
Views
DBMS provide view mechanism to avoid complexity.
View allows each user to have his or her own view of the
database.
A view is essentially some subset of the database.
Views
Reduce
Complexity
Present a
consistent,
Benefits Provide a
unchanging
picture of the level of
structure of the of Views security
database,
Provide
mechanism to
customize the
appearance
of the
database
Components of Database
Environment
Application Programmers
First Generation
(Hierarchical and Network)
Second Generation
(Relational)
Third Generation
(Object-Relational, Object-Oriented)
Advantages of DBMS
Control of data redundancy Economy of scale
More information from the same amount of data Improved data accessibility and responsiveness
Complexity
Size
Cost of DBMS
Additional hardware costs
Cost of conversion
Performance
Greater impact of failure
Summary
Lecture Content
Introduction
ANSI-SPARC Architecture
Database Language
Data Model and
Conceptual
Modeling
Functions of a DBMS
objectives
DDL
ANSI-SPARC Architecture
DML
4GLs
Database Language