本文为摘录,原文为: attachments/pdf/0/p1658-zhao.pdf

QueryFormer:

  • learning-based query planer representation model
  • with tree-structured Transformer architecture

-integrate histograms from database into query plan encoding

1 INTRODUCTION

  • Physical Query Plan As DAG (Directed Acyclic Graph)

    Figure 1: Example query and query plan

    Figure 1: Example query and query plan

    • node 表示操作
    • edge 表示方向
    • 子节点先执行,执行结果给父节点作为输入
  • Physical Query Plan 作为机器学习的输入,用以数据库优化