1 / 9

Extensions to Multi Query Optimization

Extensions to Multi Query Optimization. Amit Gupta IIT Bombay. Recap of MQO. AND-OR DAG of the set of Queries Transformation Greedy Algorithm Choose highest benefit shared node to be cached. MQO for Fixed Cache Size. Greedy heuristic

bcool
Download Presentation

Extensions to Multi Query Optimization

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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) <= 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 <= 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

More Related