0% found this document useful (0 votes)
4 views9 pages

DBMS

The document provides an overview of Database Management Systems (DBMS), detailing its structure, which includes components like the Query Processor and Storage Manager. It explains the role of the Query Optimizer in determining efficient query execution plans and the responsibilities of Data Managers in handling data storage and retrieval. Key functions of both the Query Optimizer and Data Managers are outlined, emphasizing their importance in maintaining database efficiency and integrity.

Uploaded by

Sonali Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views9 pages

DBMS

The document provides an overview of Database Management Systems (DBMS), detailing its structure, which includes components like the Query Processor and Storage Manager. It explains the role of the Query Optimizer in determining efficient query execution plans and the responsibilities of Data Managers in handling data storage and retrieval. Key functions of both the Query Optimizer and Data Managers are outlined, emphasizing their importance in maintaining database efficiency and integrity.

Uploaded by

Sonali Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

DBMS STRUCTURE :

QUERY OPTIMIZERS
AND DATA
MANAGERS

BY- SONALI SINGH


BBA 5th SEM ,SEC-A
03524001722
WHAT IS DBMS ?

Database Management System


(DBMS) is software that allows users to
define, create, manage, and control
databases. It serves as an intermediary
between end-users or applications and the
database, ensuring data is easily
accessible while maintaining security,
consistency, and integrity.
EG: MY SQL , MY SQL SERVER, ORACLE.
STRUCTURE OF DBMS

QUERY PROCESSOR STORAGE MANAGER DISK STORAGE

COMPONENTS:
COMPONENTS: COMPONENTS:
• INTEGRITY MANAGER
• DDL INTERPRETER • DATA DICTIONARY
• AUTHORIZATION
• DML COMPILER • DATA FILES
MANAGER
• EMBEDDED DML PRE • INDICES
• FILE MANAGER
COMPILER
• TRANSACTION MANAGER
• QUERY OPTIMIZER
• BUFFER MANAGER
WHAT IS QUERY
OPTIMIZER ?
Query Optimizer in a Database
Management System (DBMS) is a crucial
component that determines the most
efficient way to execute a given database
query. When a user submits a query
(typically written in SQL), the query
optimizer analyzes various possible
execution strategies and chooses the one
that minimizes the cost in terms of time,
computational resources, and memory
usage..
FUNCTIONS OF QUERY
OPTIMIZER ?
Generating Multiple Execution Plans:
•The optimizer generates several possible
query execution plans, which are different
ways to retrieve the requested data.
Cost Estimation:
•Each execution plan is assigned a cost
based on factors like disk I/O (how much
data is read from storage), CPU usage,
memory usage, and network overhead.
Choosing the Best Plan:
•After estimating the cost of different query
plans, the query optimizer selects the plan
that minimizes the overall cost and
delivers the best performance.
HOW QUERY
OPTIMIZER WORKS?

QUERY PARSING

PLAN
GENERATION:

COST ESTIMATION
WHAT IS DATA
MANAGERS ?
In a Database Management System
(DBMS), a Data Manager (also known as
the Storage Manager) is responsible for
the efficient handling, retrieval, storage,
and management of data stored in the
database. It acts as the interface between
the physical database (data stored on
disk) and the higher-level components
of the DBMS, such as the query processor
or transaction manager.
ROLE OF DATA
MANAGERS ?
DATA STORAGE AND
RETRIEVAL:

BUFFER MANAGEMENT: TRANSACTION


MANAGEMENT:

FILE MANAGEMENT: SPACE MANAGEMENT:

INDEX MANAGEMENT LOGGING AND RECOVERY

You might also like