SlideShare a Scribd company logo
Briefly describe what the query evaluation engine performs inside a DBMS.
Solution
Generally we write queries to retrieve data from database.What we know is just simply submit
the query.Actually,so many people don't know after submitting query What happend really in
between submission of query and retrieving data is: query handeld to query processor .That
query processor having different components to process that query
one of the components of query processor is :query evaluation engine :1)it executes the low-level
instructions that are generated by DML compiler.DML compiler generate the execution plan
with that low-level instructions from the query.
2)query evaluation engine takes input from query optimizer and gives out physical operations.
query optimizer produces best execution plan out of many plans by considering some cost like
no of operations,cpu time etc.What actually execution plan consists is logical operators.
These logical operators are taken by query evaluation engine and generate physical operations.
While doing physical operation evaluation engine closely takes into the available resources like
memory.
physial operations like sorting,hashing,disk access etc.

More Related Content

PDF
dd presentation.pdf
PDF
MSSQLArchitectureForMSS_SQL2019andms_2020.pdf
PPTX
Khushi baghel.pptx
PDF
Query Management system-Ist review
PPTX
Windows 7 client performance talk - Jeff Stokes
PPTX
Quiz managment system
PPT
Spec lectures
PDF
Nt1310 Unit 5 Administrative Tools
dd presentation.pdf
MSSQLArchitectureForMSS_SQL2019andms_2020.pdf
Khushi baghel.pptx
Query Management system-Ist review
Windows 7 client performance talk - Jeff Stokes
Quiz managment system
Spec lectures
Nt1310 Unit 5 Administrative Tools

Similar to Briefly describe what the query evaluation engine performs inside a DB.docx (20)

PPTX
Operating system and utility program LECTURE 8.pptx
PPTX
Sql server lesson13
PPTX
Components of computer and organization
PPTX
SE_Module-4_c) Application architectures.pptx
PPTX
FAST PHRASE SEARCH FOR ENCRYPTED CLOUD STORAGE.pptx
PPTX
Performance monitoring - Adoniram Mishra, Rupesh Dubey, ThoughtWorks
PDF
OOSE UNIT-1.pdf
PDF
computer Unit 1
PPTX
IV UNITdssssssssssssssssssssssssssssssssdssd.pptx
PPTX
Commonly used measures of computer system effectiveness
PDF
Fulltext01
PPTX
Query processing
PPTX
1.2 3 f Computer Basics Presentation.pptx
PPTX
1.2222 Computer Basics Presentation.pptx
PPTX
Database design process
PDF
Graphical Password Authenticationimp.docx2
PDF
3330701_unit-1_operating-system-concepts.pdf
PPTX
Detailed presentation about the dream software i build.pptx
PPTX
1.2 Computer Basics Presentation for Beginners.pptx
PPTX
Search on the fly: how to lighten your Big Data - Simona Russo, Auro Rolle - ...
Operating system and utility program LECTURE 8.pptx
Sql server lesson13
Components of computer and organization
SE_Module-4_c) Application architectures.pptx
FAST PHRASE SEARCH FOR ENCRYPTED CLOUD STORAGE.pptx
Performance monitoring - Adoniram Mishra, Rupesh Dubey, ThoughtWorks
OOSE UNIT-1.pdf
computer Unit 1
IV UNITdssssssssssssssssssssssssssssssssdssd.pptx
Commonly used measures of computer system effectiveness
Fulltext01
Query processing
1.2 3 f Computer Basics Presentation.pptx
1.2222 Computer Basics Presentation.pptx
Database design process
Graphical Password Authenticationimp.docx2
3330701_unit-1_operating-system-concepts.pdf
Detailed presentation about the dream software i build.pptx
1.2 Computer Basics Presentation for Beginners.pptx
Search on the fly: how to lighten your Big Data - Simona Russo, Auro Rolle - ...
Ad

More from marions12 (20)

DOCX
C++ program Revising the Array-Based List ADT Given the data structure.docx
DOCX
C++ help!! Im not familiar with how to save- read file so that the pro.docx
DOCX
c++ computer architecture and memory What is fragmentation- Briefly ex.docx
DOCX
C# There are two schools of thought on the use of implicitly typed var.docx
DOCX
Brief introduction of the WorldComSolutionWorldCom was started by Bill.docx
DOCX
Brief Exercise 5-5 Crane Corporation has the following accounts includ.docx
DOCX
Briefly describe some of the similarities and differences between U-S-.docx
DOCX
Briefly explain the purposes of adjustments Briefly explain the purp.docx
DOCX
Budget Martin Corporation granted a nonqualified stock option to e.docx
DOCX
Calculate fost of goods sold and ending inventory and analyze effect o (1).docx
DOCX
Calculate fost of goods sold and ending inventory and analyze effect o.docx
DOCX
Ca(OH)2 is insoluble- What is the total concentration of ions if 2M of.docx
DOCX
c- Since BEEF hooks to Metasploit- is there any safe way to use the we.docx
DOCX
9- Fill in the following table with names or formulas- as appropriate-.docx
DOCX
9- A combination of sand- salt- and water is an example of a A) homoge.docx
DOCX
8-6- Which of the highlighted elements in Figure P8-6 has the greatest.docx
DOCX
870 The plates of a capacitor are not quite parallel- the distance bet.docx
DOCX
8- What are concurrency design patterns- Explain-Solution8) we have fi.docx
DOCX
8- Calculate the distance from the donor (D) to the acceptor (A) in th.docx
DOCX
7- You want to create an SSIS package that copies data from a source t.docx
C++ program Revising the Array-Based List ADT Given the data structure.docx
C++ help!! Im not familiar with how to save- read file so that the pro.docx
c++ computer architecture and memory What is fragmentation- Briefly ex.docx
C# There are two schools of thought on the use of implicitly typed var.docx
Brief introduction of the WorldComSolutionWorldCom was started by Bill.docx
Brief Exercise 5-5 Crane Corporation has the following accounts includ.docx
Briefly describe some of the similarities and differences between U-S-.docx
Briefly explain the purposes of adjustments Briefly explain the purp.docx
Budget Martin Corporation granted a nonqualified stock option to e.docx
Calculate fost of goods sold and ending inventory and analyze effect o (1).docx
Calculate fost of goods sold and ending inventory and analyze effect o.docx
Ca(OH)2 is insoluble- What is the total concentration of ions if 2M of.docx
c- Since BEEF hooks to Metasploit- is there any safe way to use the we.docx
9- Fill in the following table with names or formulas- as appropriate-.docx
9- A combination of sand- salt- and water is an example of a A) homoge.docx
8-6- Which of the highlighted elements in Figure P8-6 has the greatest.docx
870 The plates of a capacitor are not quite parallel- the distance bet.docx
8- What are concurrency design patterns- Explain-Solution8) we have fi.docx
8- Calculate the distance from the donor (D) to the acceptor (A) in th.docx
7- You want to create an SSIS package that copies data from a source t.docx
Ad

Recently uploaded (20)

PPTX
Lesson notes of climatology university.
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Classroom Observation Tools for Teachers
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Pharma ospi slides which help in ospi learning
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Sports Quiz easy sports quiz sports quiz
Lesson notes of climatology university.
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Supply Chain Operations Speaking Notes -ICLT Program
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Pre independence Education in Inndia.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
O7-L3 Supply Chain Operations - ICLT Program
Classroom Observation Tools for Teachers
Basic Mud Logging Guide for educational purpose
Pharma ospi slides which help in ospi learning
PPH.pptx obstetrics and gynecology in nursing
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Microbial disease of the cardiovascular and lymphatic systems
Computing-Curriculum for Schools in Ghana
Renaissance Architecture: A Journey from Faith to Humanism
Sports Quiz easy sports quiz sports quiz

Briefly describe what the query evaluation engine performs inside a DB.docx

  • 1. Briefly describe what the query evaluation engine performs inside a DBMS. Solution Generally we write queries to retrieve data from database.What we know is just simply submit the query.Actually,so many people don't know after submitting query What happend really in between submission of query and retrieving data is: query handeld to query processor .That query processor having different components to process that query one of the components of query processor is :query evaluation engine :1)it executes the low-level instructions that are generated by DML compiler.DML compiler generate the execution plan with that low-level instructions from the query. 2)query evaluation engine takes input from query optimizer and gives out physical operations. query optimizer produces best execution plan out of many plans by considering some cost like no of operations,cpu time etc.What actually execution plan consists is logical operators. These logical operators are taken by query evaluation engine and generate physical operations. While doing physical operation evaluation engine closely takes into the available resources like memory. physial operations like sorting,hashing,disk access etc.