query plan optimization

The goal of query plan optimization is to find an optimal query plan among a space of query plans.

Query plan enumeration

The point is to explore the query space

The thesis DBLP:phd/hal/Fejza23 of Amela Fejza should contain a good introduction on the subject.

Join ordering enumeration

Related techniques

Multiple query optimization

The aim of multiple query optimization is to optimize the execution of several queries by factorizing the work that is common between several query execution.

While it is very nice theoritical results, it is quite impossible to apply them in practice for executing the UCQ obtained from query rewriting, according to François Goasdoué, which have unsuccessfully worked with Damian Bursztyn and Michael Thomazo during one year.

Plan optimization for data integration

Cost estimation

While it seems that the cost of moving the data from the relation (source) is some time neglected (eg. cost as the size of the intermediate results), it is important in a mediation scenario. So, bind-join can help to reduce this cost.

Related work:

Join operations

Pipelined hash join

Jens Dittrich's video on the operator: https://www.youtube.com/watch?v=3-aHFDyUUc8

  • Is there a way to have pipelined hash join as a worst-case optimal join algorithm ?

Adaptive query processing

This post accepts webmentions. Do you have the URL to your post?

Otherwise, send your comment on my service.

Or interact from the fediverse with your username:

fediverse logo Share on the Fediverse