Redefining The Query Optimization Process

03/02/2022
by   K. F. D. Rietveld, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/27/2023

Learned Query Superoptimization

Traditional query optimizers are designed to be fast and stateless: each...
research
05/02/2018

Glow: Graph Lowering Compiler Techniques for Neural Networks

This paper presents the design of Glow, a machine learning compiler for ...
research
01/13/2018

A Survey on Compiler Autotuning using Machine Learning

Since the mid-1990s, researchers have been trying to use machine-learnin...
research
01/06/2019

Exact Selectivity Computation for Modern In-Memory Database Query Optimization

Selectivity estimation remains a critical task in query optimization eve...
research
02/06/2013

A Standard Approach for Optimizing Belief Network Inference using Query DAGs

This paper proposes a novel, algorithm-independent approach to optimizin...
research
03/25/2019

Lost in translation: Exposing hidden compiler optimization opportunities

To increase productivity, today's compilers offer a two-fold abstraction...
research
07/20/2017

An extension of SPARQL for expressing qualitative preferences

In this paper we present SPREFQL, an extension of the SPARQL language th...

Please sign up or login with your details

Forgot password? Click here to reset