论文标题

重新定义查询优化过程

Redefining The Query Optimization Process

论文作者

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

论文摘要

传统上,查询优化器是针对共享共同体系结构的计算机系统设计的,该系统由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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源