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

Precompute Design Candidate Information

Open apavlo opened this issue 13 years ago • 3 comments
trafficstars

Right now in LNSDesigner.generate(), we are generating the design candidates in every iteration of the while loop. This is unnecessary, because we only need to just select the candidates from the collections that are relaxed in each search round.

What we really need to do is precompute all of the design candidates when we generate the metadata catalog. This is because the InitialDesigner also needs to know this information (right now it's computing stuff itself). We also need to estimate the size of indexes.

apavlo avatar Oct 05 '12 00:10 apavlo

the generate method has been moved to designer.py. it seems to me that InitialDesigner is not quite finished yet...working on it now

yangzou avatar Oct 05 '12 15:10 yangzou

Sorry...I mistakenly closed this thread....

yangzou avatar Oct 05 '12 15:10 yangzou

Now the design candidates generator is moved outside the search process.

yangzou avatar Oct 21 '12 22:10 yangzou