Project by:
NIKHILESH WALDE
INDEX
INTRODUCTION
CHARACTERISTICS .
SCOPE AND OBJECTIVE
DATA FLOW DIAGRAM
FEATURES
CONCLUSION
INTRODUCTION
The query optimizer is the component of a
database management system that attempts
to determine the most efficient way to execute
a query. The optimizer considers the possible
query plans for a given input query, and
attempts to determine which of those plans
will be the most efficient.
The query optimizer cannot be accessed
directly by users. Instead, once queries are
submitted to database server, and parsed by
the parser, they are then passed to the query
optimizer where optimization occurs.
THIS IS THE TYPE OF PROBLEM
QUERY OPTIMIZERS ARE CALLED TO
SOLVE
PLAN - G PLAN - A
PLAN - F PLAN - B
PLAN - C
PLAN - E
PLAN - D
ALL PLANS HAVE SAME FINAL OUTPUT .
BUT VARY IN THE AMOUNT OF TIME THEY NEED TO
RUN
Accurate: - The optimizer should use the
most efficient way to execute a query.
Efficient: - CPU utilization should be
minimum.
Low Cost: - The access path should be
minimum.
SCOPE AND
OBJECTIVES
The present project of “QUERY OPTIMIZATION TOOL” is
open to all sorts of improvements. Presently we would like to
have the following improvements in this project.
•Small changes in program can be made to make the software
database specific.
•More modules could be added for complex query solution.
•Can be implemented in networks/distributed OS.
•New types of join operations can be implemented with slight
alteration in code.
Scanning, Parsing &
Validating
Query Optimizer
Query code generator
Runtime Database
Processor
Purpose of the
Project work
Identifying High-Load SQL
Automatic SQL Tuning
Developing Efficient SQL Statements
IMPLEMENTED WITHIN SIMPLE FILES
REDUCES TIME CONSUMPTION
REDUCES CPU OVERHEAD
ROBUST TO ENSURE GOOD PERFORMANCE