Download presentation
Presentation is loading. Please wait.
Published byAngela Thomas Modified over 9 years ago
1
Copyright © 2004 Pearson Education, Inc.
2
Chapter 15 Algorithms for Query Processing and Optimization
3
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 15-3 Translating SQL Queries into Relational Algebra
4
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 15-4 Algorithms for External Sorting
5
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 15-5 Algorithms for SELECT and JOIN Operations Implementing the SELECT Operation Implementing the JOIN Operation
6
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 15-6 Algorithms for PROJECT and SET Operations
7
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 15-7 Implementing Aggregate Operations and Outer Joins Implementing Aggregate Operations Implementing Outer Join
8
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 15-8 Combining Operations Using Pipelining
9
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 15-9 Using Heuristics in Query Optimization Notation for Query Trees and Query Graphs Heuristic Optimization of Query Trees Converting Query Trees into Query Execution Plans
10
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 15-10 Using Selectivity and Cost Estimates in Query Optimization Cost Components for Query Execution Catalog Information Used in Cost Functions Examples of Cost Functions for SELECT Examples of Cost Functions for JOIN Multiple Relation Queries and Join Ordering Examples to Illustrate Cost-Based Query Optimization
11
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 15-11 Overview of Query Optimization in Oracle
12
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 15-12 Semantic Query Optimization
13
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition Copyright © 2004 Pearson Education, Inc. Slide 15-13 Summary
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.