Query Optimizer
Delve into the MariaDB Server query optimizer. This section provides internal documentation on how queries are parsed, optimized, and executed for maximum efficiency and performance.
Last updated
Was this helpful?
Delve into the MariaDB Server query optimizer. This section provides internal documentation on how queries are parsed, optimized, and executed for maximum efficiency and performance.
Block-based join algorithms in MariaDB: Block Nested Loop, Block Hash Join, and Batch Key Access.
How the optimizer computes condition selectivities (internals).
The Extended Keys optimization, which uses primary-key parts appended to secondary indexes.
The MIN/MAX optimization, which resolves MIN() and MAX() from an index without scanning rows.
Situations in which the optimizer cannot use an index.
Tips for debugging MariaDB optimizer code with GDB.
Notes on MariaDB optimizer development.
The optimizer_max_sel_arg_weight setting, which caps the complexity of range analysis.
The range optimizer, which builds range scans from WHERE conditions.
The optimizer cost model introduced in MariaDB 11.0.
Optimizer trace, which records how the optimizer builds a query's execution plan.
Last updated
Was this helpful?
Was this helpful?

