SlideShare a Scribd company logo
1 of 7
Week 6 Query Processing and Optimization Techniques
summary

Real-life example

 Query Processing

 Translating SQL queries into RA
 Evaluation Plan
 Query Execution
 Query Optimization
 Translation Rules
 Cost Estimations

quiz
Week 6 Query Processing and Optimization Techniques
summary

Real-life example

quiz

Let us take an example of a database with the following tables:
Book (Book No, Book Title)
Member (Member No, Member Name)
Loan(Book No, Member No, Loan Date)

Let us say we had lost a book whose title is ‘Zeus’ and we want to
know the name of the member who was its last borrower.
Meanwhile we have 300000 members, 10,000,000 books and
500,000,000 records about loans.
There are many ways of finding the name of the member who was
its last borrower.
• Making the Cartesian product of Book, Member and Loan before
looking for the title ‘Zeus’ and then the borrower.
• Making the Cartesian product of Book and Loan before looking the title ‘Zeus’.
Then make a join of the result with Member for checking who the last
borrower was.
Week 6 Query Processing and Optimization Techniques
summary

Real-life example

quiz

• Making the Cartesian product of Member and Loan. Then make a join of the
result with Book for checking what the book was and who the last borrower
was.
• Looking for the book ‘Zeus’ in Book, then looking for the book ‘Zeus’ in Loan
this will give the ‘Member No’ and at the end use the ‘Member No’ in
Member to find the name of the member.
• Etc.
Among the different solutions attempted, some are more optimized than others.
For instance, making the Cartesian product of all tables before looking for the title
‘Zeus’ and then the borrower is the longest way to find the answer since it will
generate 300,000*10,000,000*500,000,000 records among which to look for one
answer.
Finding the shortest way that consume less resources than other ways and
executes faster than others is the goal of Query processing and Optimization
Techniques.
Week 6 Query Processing and Optimization Techniques
summary

Real-life example

quiz

1. What is query processing?
A. The activities involved in entering in a database.
B. The activities involved in creating a database.
C. The activities involved in retrieving data from the database.
D. The activities involved in modifying a database.
2. What is relational algebra?
A. The basic set of operations for the relational model
B. SQL
C. DML
D. The activities involved in modifying a database.
3. Query optimization is a function of many relational database management
systems in which multiple query plans for satisfying a query are examined
and a good query plan is identified:
A. True
B. False
Enter answer,,,.
1.

2.

3.
Week 6 Query Processing and Optimization Techniques
summary

Real-life example

quiz

1. What is query processing?
A. The activities involved in entering in a database.
B. The activities involved in creating a database.
C. The activities involved in retrieving data from the database.
D. The activities involved in modifying a database.
2. What is relational algebra?
A. The basic set of operations for the relational model
B. SQL
C. DML
D. The activities involved in modifying a database.
3. Query optimization is a function of many relational database management
systems in which multiple query plans for satisfying a query are examined
and a good query plan is identified:
A. True
B. False
Enter answer,,,.
1. C

2. B

3. A
Week 6 Query Processing and Optimization Techniques
summary

Real-life example

quiz

4. What is not a translation rule?
A. Cascade of select
B. Commutativity of select
C . Cascade of project
D. Commuting select with join
E. Commuting rename

5. Cost estimations is the process of estimating and comparing costs of executing
query using different execution strategies:
A. True
B. False

answer is:
4.

5.
Week 6 Query Processing and Optimization Techniques
summary

Real-life example

quiz

4. What is not a translation rule?
A. Cascade of select
B. Commutativity of select
C . Cascade of project
D. Commuting select with join
E. Commuting rename

5. Cost estimations is the process of estimating and comparing costs of executing
query using different execution strategies:
A. True
B. False

answer is:
4. E

5. A

More Related Content

Similar to 3 summary

Oleg Ivanivskyi - Lessons Learned While Being On-Site | ZabConf2016
Oleg Ivanivskyi - Lessons Learned While Being On-Site | ZabConf2016Oleg Ivanivskyi - Lessons Learned While Being On-Site | ZabConf2016
Oleg Ivanivskyi - Lessons Learned While Being On-Site | ZabConf2016Zabbix
 
CIS 111 Focus Dreams/newtonhelp.com
CIS 111 Focus Dreams/newtonhelp.comCIS 111 Focus Dreams/newtonhelp.com
CIS 111 Focus Dreams/newtonhelp.combellflower82
 
V10 getting the_job_outline_of_important_things
V10 getting the_job_outline_of_important_thingsV10 getting the_job_outline_of_important_things
V10 getting the_job_outline_of_important_thingsSadashiv_Dhulashetti
 
Hyp01 essbase+planning
Hyp01 essbase+planningHyp01 essbase+planning
Hyp01 essbase+planningAmit Sharma
 
How AI Helps Students Solve Math Problems
How AI Helps Students Solve Math ProblemsHow AI Helps Students Solve Math Problems
How AI Helps Students Solve Math ProblemsAmazon Web Services
 
Data_Structure_and_Algorithms_Using_C++ _ Nho Vĩnh Share.pdf
Data_Structure_and_Algorithms_Using_C++ _ Nho Vĩnh Share.pdfData_Structure_and_Algorithms_Using_C++ _ Nho Vĩnh Share.pdf
Data_Structure_and_Algorithms_Using_C++ _ Nho Vĩnh Share.pdfNho Vĩnh
 
Using MS Power BI to create full, interactive reports using Brightspace Data ...
Using MS Power BI to create full, interactive reports using Brightspace Data ...Using MS Power BI to create full, interactive reports using Brightspace Data ...
Using MS Power BI to create full, interactive reports using Brightspace Data ...D2L Barry
 
Efficient Refining Of Why-Not Questions on Top-K Queries
Efficient Refining Of Why-Not Questions on Top-K QueriesEfficient Refining Of Why-Not Questions on Top-K Queries
Efficient Refining Of Why-Not Questions on Top-K Queriesiosrjce
 
Latest C_THR81_23 05 Questions Answers PDF Guide.pptx
Latest C_THR81_23 05 Questions Answers PDF Guide.pptxLatest C_THR81_23 05 Questions Answers PDF Guide.pptx
Latest C_THR81_23 05 Questions Answers PDF Guide.pptxanamamjad13
 
Guided Interaction: Rethinking the Query-Result Paradigm
Guided Interaction: Rethinking the Query-Result ParadigmGuided Interaction: Rethinking the Query-Result Paradigm
Guided Interaction: Rethinking the Query-Result Paradigmarnabdotorg
 
Adding data sources to the reporter
Adding data sources to the reporterAdding data sources to the reporter
Adding data sources to the reporterRogan Hamby
 
Making MySQL Flexible with ParElastic Database Scalability, Amrith Kumar, Fou...
Making MySQL Flexible with ParElastic Database Scalability, Amrith Kumar, Fou...Making MySQL Flexible with ParElastic Database Scalability, Amrith Kumar, Fou...
Making MySQL Flexible with ParElastic Database Scalability, Amrith Kumar, Fou...✔ Eric David Benari, PMP
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systemssmumbahelp
 
Mc0088 data mining
Mc0088  data miningMc0088  data mining
Mc0088 data miningsmumbahelp
 

Similar to 3 summary (20)

Oleg Ivanivskyi - Lessons Learned While Being On-Site | ZabConf2016
Oleg Ivanivskyi - Lessons Learned While Being On-Site | ZabConf2016Oleg Ivanivskyi - Lessons Learned While Being On-Site | ZabConf2016
Oleg Ivanivskyi - Lessons Learned While Being On-Site | ZabConf2016
 
4 summary
4 summary4 summary
4 summary
 
4 summary
4 summary4 summary
4 summary
 
Summary
SummarySummary
Summary
 
CIS 111 Focus Dreams/newtonhelp.com
CIS 111 Focus Dreams/newtonhelp.comCIS 111 Focus Dreams/newtonhelp.com
CIS 111 Focus Dreams/newtonhelp.com
 
Sql Lab 4 Essay
Sql Lab 4 EssaySql Lab 4 Essay
Sql Lab 4 Essay
 
V10 getting the_job_outline_of_important_things
V10 getting the_job_outline_of_important_thingsV10 getting the_job_outline_of_important_things
V10 getting the_job_outline_of_important_things
 
Hyp01 essbase+planning
Hyp01 essbase+planningHyp01 essbase+planning
Hyp01 essbase+planning
 
How AI Helps Students Solve Math Problems
How AI Helps Students Solve Math ProblemsHow AI Helps Students Solve Math Problems
How AI Helps Students Solve Math Problems
 
Data_Structure_and_Algorithms_Using_C++ _ Nho Vĩnh Share.pdf
Data_Structure_and_Algorithms_Using_C++ _ Nho Vĩnh Share.pdfData_Structure_and_Algorithms_Using_C++ _ Nho Vĩnh Share.pdf
Data_Structure_and_Algorithms_Using_C++ _ Nho Vĩnh Share.pdf
 
Using MS Power BI to create full, interactive reports using Brightspace Data ...
Using MS Power BI to create full, interactive reports using Brightspace Data ...Using MS Power BI to create full, interactive reports using Brightspace Data ...
Using MS Power BI to create full, interactive reports using Brightspace Data ...
 
O6u CS-315A OOP Lecture (1).pdf
O6u CS-315A OOP Lecture (1).pdfO6u CS-315A OOP Lecture (1).pdf
O6u CS-315A OOP Lecture (1).pdf
 
B017350710
B017350710B017350710
B017350710
 
Efficient Refining Of Why-Not Questions on Top-K Queries
Efficient Refining Of Why-Not Questions on Top-K QueriesEfficient Refining Of Why-Not Questions on Top-K Queries
Efficient Refining Of Why-Not Questions on Top-K Queries
 
Latest C_THR81_23 05 Questions Answers PDF Guide.pptx
Latest C_THR81_23 05 Questions Answers PDF Guide.pptxLatest C_THR81_23 05 Questions Answers PDF Guide.pptx
Latest C_THR81_23 05 Questions Answers PDF Guide.pptx
 
Guided Interaction: Rethinking the Query-Result Paradigm
Guided Interaction: Rethinking the Query-Result ParadigmGuided Interaction: Rethinking the Query-Result Paradigm
Guided Interaction: Rethinking the Query-Result Paradigm
 
Adding data sources to the reporter
Adding data sources to the reporterAdding data sources to the reporter
Adding data sources to the reporter
 
Making MySQL Flexible with ParElastic Database Scalability, Amrith Kumar, Fou...
Making MySQL Flexible with ParElastic Database Scalability, Amrith Kumar, Fou...Making MySQL Flexible with ParElastic Database Scalability, Amrith Kumar, Fou...
Making MySQL Flexible with ParElastic Database Scalability, Amrith Kumar, Fou...
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systems
 
Mc0088 data mining
Mc0088  data miningMc0088  data mining
Mc0088 data mining
 

More from Mr Patrick NIYISHAKA (20)

Summary
SummarySummary
Summary
 
3 summary
3 summary3 summary
3 summary
 
2 ddb architecture
2 ddb architecture2 ddb architecture
2 ddb architecture
 
1 ddb
1 ddb1 ddb
1 ddb
 
2 countermeasures
2 countermeasures2 countermeasures
2 countermeasures
 
2 countermeasures
2 countermeasures2 countermeasures
2 countermeasures
 
3 summary
3 summary3 summary
3 summary
 
1 db security
1 db security1 db security
1 db security
 
4 summary
4 summary4 summary
4 summary
 
3 summary
3 summary3 summary
3 summary
 
2 con control
2 con control2 con control
2 con control
 
1 con exe
1 con exe1 con exe
1 con exe
 
1 basic concepts
1 basic concepts1 basic concepts
1 basic concepts
 
2 recovery
2 recovery2 recovery
2 recovery
 
3 transaction
3 transaction3 transaction
3 transaction
 
1 query processing
1 query processing1 query processing
1 query processing
 
1 query processing
1 query processing1 query processing
1 query processing
 
2 optimization
2 optimization2 optimization
2 optimization
 
2 collision
2 collision2 collision
2 collision
 
3 summary
3 summary3 summary
3 summary
 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 

3 summary

  • 1. Week 6 Query Processing and Optimization Techniques summary Real-life example  Query Processing  Translating SQL queries into RA  Evaluation Plan  Query Execution  Query Optimization  Translation Rules  Cost Estimations quiz
  • 2. Week 6 Query Processing and Optimization Techniques summary Real-life example quiz Let us take an example of a database with the following tables: Book (Book No, Book Title) Member (Member No, Member Name) Loan(Book No, Member No, Loan Date) Let us say we had lost a book whose title is ‘Zeus’ and we want to know the name of the member who was its last borrower. Meanwhile we have 300000 members, 10,000,000 books and 500,000,000 records about loans. There are many ways of finding the name of the member who was its last borrower. • Making the Cartesian product of Book, Member and Loan before looking for the title ‘Zeus’ and then the borrower. • Making the Cartesian product of Book and Loan before looking the title ‘Zeus’. Then make a join of the result with Member for checking who the last borrower was.
  • 3. Week 6 Query Processing and Optimization Techniques summary Real-life example quiz • Making the Cartesian product of Member and Loan. Then make a join of the result with Book for checking what the book was and who the last borrower was. • Looking for the book ‘Zeus’ in Book, then looking for the book ‘Zeus’ in Loan this will give the ‘Member No’ and at the end use the ‘Member No’ in Member to find the name of the member. • Etc. Among the different solutions attempted, some are more optimized than others. For instance, making the Cartesian product of all tables before looking for the title ‘Zeus’ and then the borrower is the longest way to find the answer since it will generate 300,000*10,000,000*500,000,000 records among which to look for one answer. Finding the shortest way that consume less resources than other ways and executes faster than others is the goal of Query processing and Optimization Techniques.
  • 4. Week 6 Query Processing and Optimization Techniques summary Real-life example quiz 1. What is query processing? A. The activities involved in entering in a database. B. The activities involved in creating a database. C. The activities involved in retrieving data from the database. D. The activities involved in modifying a database. 2. What is relational algebra? A. The basic set of operations for the relational model B. SQL C. DML D. The activities involved in modifying a database. 3. Query optimization is a function of many relational database management systems in which multiple query plans for satisfying a query are examined and a good query plan is identified: A. True B. False Enter answer,,,. 1. 2. 3.
  • 5. Week 6 Query Processing and Optimization Techniques summary Real-life example quiz 1. What is query processing? A. The activities involved in entering in a database. B. The activities involved in creating a database. C. The activities involved in retrieving data from the database. D. The activities involved in modifying a database. 2. What is relational algebra? A. The basic set of operations for the relational model B. SQL C. DML D. The activities involved in modifying a database. 3. Query optimization is a function of many relational database management systems in which multiple query plans for satisfying a query are examined and a good query plan is identified: A. True B. False Enter answer,,,. 1. C 2. B 3. A
  • 6. Week 6 Query Processing and Optimization Techniques summary Real-life example quiz 4. What is not a translation rule? A. Cascade of select B. Commutativity of select C . Cascade of project D. Commuting select with join E. Commuting rename 5. Cost estimations is the process of estimating and comparing costs of executing query using different execution strategies: A. True B. False answer is: 4. 5.
  • 7. Week 6 Query Processing and Optimization Techniques summary Real-life example quiz 4. What is not a translation rule? A. Cascade of select B. Commutativity of select C . Cascade of project D. Commuting select with join E. Commuting rename 5. Cost estimations is the process of estimating and comparing costs of executing query using different execution strategies: A. True B. False answer is: 4. E 5. A