arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.01079cs.DBcs.PL
收藏

重新定义查询优化过程

Redefining The Query Optimization Process

K. F. D. Rietveld, H. A. G. Wijshoff

摘要:

传统上,查询优化器被设计用于共享由CPU、主存储器和磁盘子系统组成的公共体系结构的计算机系统。查询优化器的效率及其成功应用依赖于这些架构在过去几十年中基本保持不变的事实。然而,最近串行指令执行的性能增长已经停滞。因此,计算机体系结构已经开始多样化。结合主存储器的大小已经显著增加的事实,利用计算机系统的固有内部特征(数据一致性机制、TLB和指令高速缓存性能等)而不是主要关注于最小化磁盘I/O变得更加重要。是时候重新评估(传统的)查询优化是如何实现的了。查询优化器必须能够处理计算机体系结构中的破坏性进展,并采用优化特定于体系结构的特性的方法。本文对查询优化过程进行了重新定义,使编译器优化比传统方法更早地进入游戏,并将编译器优化作为查询优化的驱动力。新一代的查询优化器将能够优化查询,使其性能明显优于当代最先进的查询优化器。

英文摘要:

Traditionally, query optimizers have been designed for computer systems that share a common architecture, consisting of a CPU, main memory and disk subsystem. The efficiency of query optimizers and their successful employment relied on the fact that these architectures basically stayed the same over the last decades. However, recently the performance increase of serial instruction execution has stagnated. As a consequence, computer architectures have started to diversify. Combined with the fact that the size of main memories has significantly increased it becomes more important to exploit intrinsic internal features of computer systems (data coherence mechanisms, TLB and instruction cache performance, among others) rather than mainly focusing on minimizing disk I/O. Time has come for a re-evaluation of how (traditional) query optimization is implemented. Query optimizers must be able to cope with disruptive advances in computer architecture and employ methods to optimize for architecture-specific features. In this paper, the query optimization process is redefined so that compiler optimizations are taken into the game much earlier than traditionally is done and employ compiler optimizations as the driving force in query optimization. This new generation of query optimizers will be capable of optimizing queries to perform significantly better than contemporary state-of-the-art query optimizers.

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

↑