Database System Concepts
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
Expert Solution & Answer
Book Icon
Chapter 16, Problem 13PE

Explanation of Solution

Computation time of lowest-cost join order:

  • The algorithm for join order optimization is given in Figure 16.7 of the textbook.
  • From the join order optimization algorithm, to compute optimal join order, a constant time is required for any pair of subset say “A” and “B”.
  • Subset “A” can denote 2k+1–2 different subsets with the size less than or equal to “k” for each subset that contains k+1 relations.
  • The optimal join order is calculated in 2k+1 time for each subset that contains k+1 relations.
  • The optimal join order is calculated in (nk+1)2k+1 time for all the subsets that contains (nk+1) relations

Blurred answer
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education