0% found this document useful (0 votes)
104 views

Project By:: Nikhilesh Walde

The document summarizes a student project on developing a query optimization tool. It includes sections on the introduction, characteristics, scope and objectives, data flow diagram, features, and conclusion. The introduction explains that a query optimizer determines the most efficient way to execute a query by considering possible plans and choosing the most efficient. The scope and objectives discuss improvements like making the software database-specific or adding modules for complex queries. The features aim for accuracy, efficiency, and low cost. The data flow diagram shows the stages of scanning, parsing, validating, optimizing, code generation, and processing. The purpose is to identify and tune high-load SQL and develop efficient statements. It is implemented within simple files to reduce time and CPU overhead while

Uploaded by

nikhilesh walde
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
104 views

Project By:: Nikhilesh Walde

The document summarizes a student project on developing a query optimization tool. It includes sections on the introduction, characteristics, scope and objectives, data flow diagram, features, and conclusion. The introduction explains that a query optimizer determines the most efficient way to execute a query by considering possible plans and choosing the most efficient. The scope and objectives discuss improvements like making the software database-specific or adding modules for complex queries. The features aim for accuracy, efficiency, and low cost. The data flow diagram shows the stages of scanning, parsing, validating, optimizing, code generation, and processing. The purpose is to identify and tune high-load SQL and develop efficient statements. It is implemented within simple files to reduce time and CPU overhead while

Uploaded by

nikhilesh walde
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 12

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

You might also like