https://www.slideshare.net/slideshow/query-optimizer-in-mariadb-104/133552147
The document summarizes new features in the query optimizer in MariaDB 10.4, including:
1) An optimizer trace that provides insight into the query planning process.
2) Using sampling for histogram