mongodb-d4
mongodb-d4 copied to clipboard
Precompute Design Candidate Information
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.
the generate method has been moved to designer.py. it seems to me that InitialDesigner is not quite finished yet...working on it now
Sorry...I mistakenly closed this thread....
Now the design candidates generator is moved outside the search process.