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 14PE

Explanation of Solution

Explanation:

  • The System R optimizer only considers left-deep join, and it is specified in Section 16.4 of the textbook.
  • To compute the optimal join order, constant time is required for any pair of subset (say “A” and “B”).
  • Subset “A” can denote k+1 different subsets with the size which is exactly equal to “k” for each subset that contains k+1 relations.
  • Only a single relation can appear as the right side of the topmost join and this is the reason to consider only “k” size.
  • Therefore, the optimal join order is calculated in k+1 time for each subset which has k+1 relations.
  • The optimal join order will be calculated for all the (nk+1) subsets having size of “k” as,

(nk+1)k+</

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