Extensions to Multi Query Optimization - PowerPoint PPT Presentation

About This Presentation
Title:

Extensions to Multi Query Optimization

Description:

Search Space: Trimmed Power Set of S. Approximation Ratio = MQO for fixed Size Cache ... Search Space of trimmed Power set of S. Trimming procedure. MQO cont. ... – PowerPoint PPT presentation

Number of Views:26
Avg rating:3.0/5.0
Slides: 10
Provided by: csed3
Category:

less

Transcript and Presenter's Notes

Title: Extensions to Multi Query Optimization


1
Extensions to Multi Query Optimization
  • Amit Gupta
  • IIT Bombay

2
Recap of MQO
  • AND-OR DAG of the set of Queries
  • Transformation
  • Greedy Algorithm
  • Choose highest benefit shared node to be cached

3
MQO for Fixed Cache Size
  • Greedy heuristic
  • Choose shared node with highest benefit/Size to
    be cached
  • Disadvantage of Greedy
  • less search space

4
Problem Definition
  • Given set of shared nodes S ( s?, s?,..) and
    cache size C.
  • Choose subset P from S, such that
  • ? size(p) lt C , where p ? P
  • benefit of caching P is maximized.

5
Subset sum Problem
  • Given set S ( s?, s?,..) and C,
  • choose the subset P from S such that
  • ? p lt C , where p ? P and
  • ? p is maximized.

6
Subset sum Algorithm
  • Given set S ( s?, s?,..)
  • Exponential Algorithm
  • Search Space Power set of S.
  • Approximation Algo
  • Given ? as error constant
  • Search Space Trimmed Power Set of S.
  • Approximation Ratio ?

7
MQO for fixed Size Cache
  • Given
  • S set of shared nodes
  • C Cache Size
  • Error constant ?
  • Search Space of trimmed Power set of S.
  • Trimming procedure

8
MQO cont.
  • Advantage of Subset sum Algorithm
  • More Search space
  • ? can be changed

9
Scheduling in MQO
nodes to be cached
Plan DAG
Write a Comment
User Comments (0)
About PowerShow.com