QCFE:一种用于查询代价估计的高效特征工程
QCFE: An efficient Feature engineering for query cost estimation
AI总结:
针对AI查询代价估计中重要变量缺失和无效输入维度导致的效率问题,提出QCFE特征工程,通过feature snapshot与差分传播特征约简提升时间-准确率效率。
摘要:
查询代价估计是数据库管理中的一项经典任务。近来,研究人员采用AI驱动的模型来实现查询代价估计,以获得较高准确率。然而,特征设计的两个缺陷导致代价估计的准确率-时间效率较差。一方面,现有工作仅对查询计划和数据统计信息进行编码,而忽略了其他一些重要变量,如存储结构、硬件、数据库旋钮等;这些变量同样会对查询代价产生显著影响。另一方面,由于编码设计较为直接,现有工作在输入的无效维度上承受沉重的表示学习负担。为解决上述两个问题,我们首先提出一种用于查询代价估计的高效特征工程,称为QCFE。具体而言,我们设计了一种名为feature snapshot(特征快照)的新型特征,以高效整合那些被忽略变量的影响。此外,我们提出一种用于查询代价估计的difference-propagation(差分传播)特征约简方法,以过滤无用特征。实验结果表明,我们的QCFE能够在大量基准测试上大幅提升时间-准确率效率。
英文摘要:
Query cost estimation is a classical task for database management. Recently, researchers apply the AI-driven model to implement query cost estimation for achieving high accuracy. However, two defects of feature design lead to poor cost estimation accuracy-time efficiency. On the one hand, existing works only encode the query plan and data statistics while ignoring some other important variables, like storage structure, hardware, database knobs, etc. These variables also have significant impact on the query cost. On the other hand, due to the straightforward encoding design, existing works suffer heavy representation learning burden on ineffective dimensions of input. To meet the above two problems, we first propose an efficient feature engineering for query cost estimation, called QCFE. Specifically, we design a novel feature called feature snapshot to efficiently integrate the influences of the ignored variables. Further, we propose a difference-propagation feature reduction method for query cost estimation to filter the useless features. The experimental results demonstrate our QCFE could largely improve the time-accuracy efficiency on extensive benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。