Dbms 1
Dbms 1
Presented By
Mrs. Neha Vachani
Lecturer (Computer Engg)
Contents
▶ Introduction to Database
▶ Data, Database, Database Management Systems
▶ Advantages of DBMS over file processing system
▶ Applications of DBMS
▶ Database Terms
▶ Data independence
▶ Components of DBMS
▶ Overall structure of DBMS
▶ Database Users
▶ Data Modeling: Relational , Hierarchical ,Network Model
Learning Objectives
By the end of the session Students will be able to:
▶ Define and Explain Basic concepts of DBMS
▶ Describe File Processing System
▶ Differentiate between File Processing System and DBMS
▶ Identify the applications of DBMS
▶ Describe the concepts of data abstraction and data
independence
▶ Describe architectures of DBMS
▶ Explain different components of DBMS
▶ Describe different Models of DBMS
Data and Information
▶ DBA is a person in the organization who controls the design and the
use of the database
▶ Functions of DBA
▶ 1. Schema Definition
▶ 2. Storage Structure and Access Method Definition
▶ 3. Assisting Application Programmers
▶ 4. Physical Organization Modification
▶ 5. Approving Data Access:
▶ 6. Monitoring Performance:
▶ 7. Backup and Recovery
DBMS Architecture
DML Compiler –
It processes the DML statements into low level instruction (machine language),
so that they can be executed
DDL Interpreter –
It processes the DDL statements into a set of table containing meta data
Embedded DML Pre-compiler –
It processes DML statements embedded in an application program into procedural calls
Query Optimizer –
It optimize and executes the instruction generated by DML Compiler.
Overall Structure of DBMS
▶ 2. Storage Manager :
Storage Manager is a program that provides an interface between the
data stored in the database and the queries received. It is also known as
Database Control System. It maintains the consistency and integrity of the
database by applying the constraints and executes the DCL statements. It
is responsible for updating, storing, deleting, and retrieving data in the
database.
▶ Transaction Manager –
It controls concurrent access by performing the operations in a
scheduled way . Thus, it ensures that the database remains in the
consistent state before and after the execution of a transaction.
▶ File Manager –
It manages the file space and the data structure used to represent
information in the database.
▶ Buffer Manager –
It is responsible for cache memory and the transfer of data between
the secondary storage and main memory
Overall Structure of DBMS
▶ Data Files –
It stores the data.
▶ Data Dictionary –
It contains the information about the structure of any database
object. It is the repository of information that governs the metadata.
▶ Indices –
It provides faster retrieval of data item.
Data Models
▶ It is an extension of hierarchical
model in which data is
represented in graph-like structure
▶ A child record may have more
than one parent
▶ Data is organized in records which
are connected using links
▶ Each record is collection of fields
(attributes)
Relational Model
https://www.tutorialspoint.com