Optimizing Subqueries


Development is ongoing, so no optimization tip is reliable for the long term. The following list provides some interesting tricks that you might want to play with:

These tricks might cause programs to go faster or slower. Using MariaDB facilities like the BENCHMARK() function, you can get an idea about what helps in your own situation. See , "Information Functions".

Some optimizations that MariaDB itself makes are:

See also the MariaDB Internals Manual chapter How MariaDB Transforms Subqueries.

Retornar