際際滷

際際滷Share a Scribd company logo
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 (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
Zabbix
4 summary
4 summary4 summary
4 summary
Mr Patrick NIYISHAKA
4 summary
4 summary4 summary
4 summary
Mr Patrick NIYISHAKA
How John started to like TDD (instead of hating it)
How John started to like TDD (instead of hating it)How John started to like TDD (instead of hating it)
How John started to like TDD (instead of hating it)
Nacho Cougil
How John started to like TDD (instead of hating it)
How John started to like TDD (instead of hating it)How John started to like TDD (instead of hating it)
How John started to like TDD (instead of hating it)
ncougil
Summary
SummarySummary
Summary
Mr Patrick NIYISHAKA
CIS 111 Focus Dreams/newtonhelp.com
CIS 111 Focus Dreams/newtonhelp.comCIS 111 Focus Dreams/newtonhelp.com
CIS 111 Focus Dreams/newtonhelp.com
bellflower82
Sql Lab 4 Essay
Sql Lab 4 EssaySql Lab 4 Essay
Sql Lab 4 Essay
Lorie Harris
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
Sadashiv_Dhulashetti
Hyp01 essbase+planning
Hyp01 essbase+planningHyp01 essbase+planning
Hyp01 essbase+planning
Amit 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 Problems
Amazon 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.pdf
Nho 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
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
MohamedRamadan454985
B017350710
B017350710B017350710
B017350710
IOSR Journals
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
iosrjce
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
anamamjad13
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
arnabdotorg
Databricks Data Analyst Associate Exam Dumps 2024.pdf
Databricks Data Analyst Associate Exam Dumps 2024.pdfDatabricks Data Analyst Associate Exam Dumps 2024.pdf
Databricks Data Analyst Associate Exam Dumps 2024.pdf
SkillCertProExams
Adding data sources to the reporter
Adding data sources to the reporterAdding data sources to the reporter
Adding data sources to the reporter
Rogan Hamby
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
Zabbix
How John started to like TDD (instead of hating it)
How John started to like TDD (instead of hating it)How John started to like TDD (instead of hating it)
How John started to like TDD (instead of hating it)
Nacho Cougil
How John started to like TDD (instead of hating it)
How John started to like TDD (instead of hating it)How John started to like TDD (instead of hating it)
How John started to like TDD (instead of hating it)
ncougil
CIS 111 Focus Dreams/newtonhelp.com
CIS 111 Focus Dreams/newtonhelp.comCIS 111 Focus Dreams/newtonhelp.com
CIS 111 Focus Dreams/newtonhelp.com
bellflower82
Sql Lab 4 Essay
Sql Lab 4 EssaySql Lab 4 Essay
Sql Lab 4 Essay
Lorie Harris
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
Sadashiv_Dhulashetti
Hyp01 essbase+planning
Hyp01 essbase+planningHyp01 essbase+planning
Hyp01 essbase+planning
Amit 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 Problems
Amazon 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.pdf
Nho 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
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
MohamedRamadan454985
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
iosrjce
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
anamamjad13
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
arnabdotorg
Databricks Data Analyst Associate Exam Dumps 2024.pdf
Databricks Data Analyst Associate Exam Dumps 2024.pdfDatabricks Data Analyst Associate Exam Dumps 2024.pdf
Databricks Data Analyst Associate Exam Dumps 2024.pdf
SkillCertProExams
Adding data sources to the reporter
Adding data sources to the reporterAdding data sources to the reporter
Adding data sources to the reporter
Rogan Hamby

More from Mr Patrick NIYISHAKA (20)

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

Recently uploaded (20)

The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir DotanThe Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
History of Stoke Newington
The Constitution, Government and Law making bodies .
The Constitution, Government and Law making bodies .The Constitution, Government and Law making bodies .
The Constitution, Government and Law making bodies .
saanidhyapatel09
Modeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptxModeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptx
maribethlacno2
Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Finals - El Dorado 2025
Conquiztadors- the Quiz Society of Sri Venkateswara College
cervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdfcervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdf
SamarHosni3
Storytelling instructions...............
Storytelling instructions...............Storytelling instructions...............
Storytelling instructions...............
Alexander Benito
Computer Application in Business (commerce)
Computer Application in Business (commerce)Computer Application in Business (commerce)
Computer Application in Business (commerce)
Sudar Sudar
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
Association for Project Management
English 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom ObsEnglish 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom Obs
NerissaMendez1
PUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health SystemsPUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health Systems
Jonathan Hallett
Database population in Odoo 18 - Odoo slides
Database population in Odoo 18 - Odoo slidesDatabase population in Odoo 18 - Odoo slides
Database population in Odoo 18 - Odoo slides
Celine George
Essentials of a Good PMO, presented by Aalok Sonawala
Essentials of a Good PMO, presented by Aalok SonawalaEssentials of a Good PMO, presented by Aalok Sonawala
Essentials of a Good PMO, presented by Aalok Sonawala
Association for Project Management
The Story Behind the Abney Park Restoration Project by Tom Walker
The Story Behind the Abney Park Restoration Project by Tom WalkerThe Story Behind the Abney Park Restoration Project by Tom Walker
The Story Behind the Abney Park Restoration Project by Tom Walker
History of Stoke Newington
How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18
Celine George
Adventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil SirAdventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil Sir
GUJARATCOMMERCECOLLE
Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025
Rass MELAI : an Internet MELA Quiz Prelims - El Dorado 2025
Conquiztadors- the Quiz Society of Sri Venkateswara College
QuickBooks Desktop to QuickBooks Online How to Make the Move
QuickBooks Desktop to QuickBooks Online  How to Make the MoveQuickBooks Desktop to QuickBooks Online  How to Make the Move
QuickBooks Desktop to QuickBooks Online How to Make the Move
TechSoup
CBSE Arabic Grammar - Class 10 ppt.pptx
CBSE Arabic Grammar - Class 10   ppt.pptxCBSE Arabic Grammar - Class 10   ppt.pptx
CBSE Arabic Grammar - Class 10 ppt.pptx
suhail849886
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
A PPT Presentation on The Princess and the God: A tale of ancient India  by A...A PPT Presentation on The Princess and the God: A tale of ancient India  by A...
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
Beena E S
The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir DotanThe Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
The Battle of Belgrade Road: A WW1 Street Renaming Saga by Amir Dotan
History of Stoke Newington
The Constitution, Government and Law making bodies .
The Constitution, Government and Law making bodies .The Constitution, Government and Law making bodies .
The Constitution, Government and Law making bodies .
saanidhyapatel09
Modeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptxModeling-Simple-Equation-Using-Bar-Models.pptx
Modeling-Simple-Equation-Using-Bar-Models.pptx
maribethlacno2
cervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdfcervical spine mobilization manual therapy .pdf
cervical spine mobilization manual therapy .pdf
SamarHosni3
Storytelling instructions...............
Storytelling instructions...............Storytelling instructions...............
Storytelling instructions...............
Alexander Benito
Computer Application in Business (commerce)
Computer Application in Business (commerce)Computer Application in Business (commerce)
Computer Application in Business (commerce)
Sudar Sudar
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
APM People Interest Network Conference - Oliver Randall & David Bovis - Own Y...
Association for Project Management
English 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom ObsEnglish 4 Quarter 4 Week 4 Classroom Obs
English 4 Quarter 4 Week 4 Classroom Obs
NerissaMendez1
PUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health SystemsPUBH1000 Module 3: Public Health Systems
PUBH1000 Module 3: Public Health Systems
Jonathan Hallett
Database population in Odoo 18 - Odoo slides
Database population in Odoo 18 - Odoo slidesDatabase population in Odoo 18 - Odoo slides
Database population in Odoo 18 - Odoo slides
Celine George
The Story Behind the Abney Park Restoration Project by Tom Walker
The Story Behind the Abney Park Restoration Project by Tom WalkerThe Story Behind the Abney Park Restoration Project by Tom Walker
The Story Behind the Abney Park Restoration Project by Tom Walker
History of Stoke Newington
How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18How to attach file using upload button Odoo 18
How to attach file using upload button Odoo 18
Celine George
Adventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil SirAdventure Activities Final By H R Gohil Sir
Adventure Activities Final By H R Gohil Sir
GUJARATCOMMERCECOLLE
QuickBooks Desktop to QuickBooks Online How to Make the Move
QuickBooks Desktop to QuickBooks Online  How to Make the MoveQuickBooks Desktop to QuickBooks Online  How to Make the Move
QuickBooks Desktop to QuickBooks Online How to Make the Move
TechSoup
CBSE Arabic Grammar - Class 10 ppt.pptx
CBSE Arabic Grammar - Class 10   ppt.pptxCBSE Arabic Grammar - Class 10   ppt.pptx
CBSE Arabic Grammar - Class 10 ppt.pptx
suhail849886
Principle and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby BasnetPrinciple and Practices of Animal Breeding || Boby Basnet
Principle and Practices of Animal Breeding || Boby Basnet
Boby Basnet
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
A PPT Presentation on The Princess and the God: A tale of ancient India  by A...A PPT Presentation on The Princess and the God: A tale of ancient India  by A...
A PPT Presentation on The Princess and the God: A tale of ancient India by A...
Beena E S

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