arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv cs/0202035cs.DB
收藏

在连接DAG上喷洒选择以实现高效的查询优化

Sprinkling Selections over Join DAGs for Efficient Query Optimization

Satyanarayana R Valluri, Soujanya Vadapalli, Kamalakar Karlapalem

摘要:

在查询优化中,基于AND/OR DAG的解决方案可以生成所有可能的连接顺序,并在搜索最佳查询执行策略之前选择放置。但随着连接数和选择条件的增加,生成最优查询计划的空间和时间复杂度呈指数级增长。在本文中,我们使用连接图的关系数据库模式,要么预先计算所有可能的连接顺序,可以被执行,并将其存储为一个连接DAG,或提取连接的查询,以逐步建立一个历史连接DAG的查询时,执行。查询中的选择条件被适当地放置在检索到的连接DAG(或历史连接DAG)中,以生成最优的查询执行策略。我们实验评估我们的查询优化技术TPC-D/H查询集,以显示其有效性与/或DAG查询优化策略。最后,我们说明了我们的技术可以用于有效的多个查询优化和选择的物化视图在数据仓库环境中。

英文摘要:

In optimizing queries, solutions based on AND/OR DAG can generate all possible join orderings and select placements before searching for optimal query execution strategy. But as the number of joins and selection conditions increase, the space and time complexity to generate optimal query plan increases exponentially. In this paper, we use join graph for a relational database schema to either pre-compute all possible join orderings that can be executed and store it as a join DAG or, extract joins in the queries to incrementally build a history join DAG as and when the queries are executed. The select conditions in the queries are appropriately placed in the retrieved join DAG (or, history join DAG) to generate optimal query execution strategy. We experimentally evaluate our query optimization technique on TPC-D/H query sets to show their effectiveness over AND/OR DAG query optimization strategy. Finally, we illustrate how our technique can be used for efficient multiple query optimization and selection of materialized views in data warehousing environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑