mongodb-d4 icon indicating copy to clipboard operation
mongodb-d4 copied to clipboard

Fine-grained workloadcombiner

Open yangzou opened this issue 13 years ago • 0 comments
trafficstars

Assume, we have operations in a session: a, b, c, d and a design that defines collection D should be embedded into B. (a will access A, b will access B, etc.)

Right now, we only do coarse-grained combination, which means we don't care too much about the relationships among the queries, we just embed collection D to A and append all queries accessing D to the operation on collection A.

But this is not enough and it may be wrong. For instance, if there is an if statement based on the output of b that determines if the operations after b will be executed. Under this condition, we cannot simply embed collection to D and append all the operations on collection D to a.

The fine-grained version will be done later.

yangzou avatar Oct 08 '12 22:10 yangzou