zhaoyue-ntu / qp_evaluation

Query Plan Evaluation
10 stars 6 forks source link

How the data is generated. #1

Open lucifer12346 opened 5 months ago

lucifer12346 commented 5 months ago

In the code of query_optimizer.cpp, it reads some history performances in a pkl data.

with open('../data/imdb/bao/plans/bao_dat.pkl','rb') as inp:
    dat = pickle.load(inp)

And I'd like to know about the code to generate these data or their format. Thank you very much.

zhaoyue-ntu commented 5 months ago

It consists of three lists. Please find the codes to generate these right below the part you pasted.

image

zhaoyue-ntu commented 5 months ago

The data folder is available in https://drive.google.com/file/d/1dcg92GU5jgUh9Td3WTmFXylMTZVohT2e/view (The link is also in readme file)