Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
Description
In MySQL, Optimizer trace is a JSON object recording the execution path through the optimizer, decisions that were made and the reasons for them. See https://dev.mysql.com/doc/internals/en/optimizer-tracing.html
Users were asking for MariaDB to have a similar feature.
Attachments
Issue Links
- blocks
-
MDEV-7239 explain index choice
-
- Closed
-
- includes
-
MDEV-17929 Optimizer trace support for different parts of the server
-
- Closed
-
-
MDEV-17930 Optimizer trace: what's on the execution path when trace=off?
-
- Closed
-
-
MDEV-18117 Crash with Explain extended when using limit rows examined
-
- Closed
-
-
MDEV-18172 Benchmarking 10.4 for optimizer trace
-
- Closed
-
-
MDEV-18306 Optimizer_trace has invalid JSON near rows_estimation
-
- Closed
-
-
MDEV-18489 Limit the memory used by the optimizer trace
-
- Closed
-
- relates to
-
MDEV-12980 Index hints for loose scan
-
- Confirmed
-
-
MDEV-18670 Document optimizer trace
-
- Closed
-
-
MDEV-20440 Optimizer trace: print more details about semi-join optimization
-
- Closed
-
-
MDEV-18527 Optimizer trace for DELETE query shows table:null
-
- Closed
-
-
MDEV-18528 Optimizer trace support for multi-table UPDATE and DELETE
-
- Closed
-
-
MDEV-18741 Optimizer trace: multi-part key ranges are printed incorrectly.
-
- Closed
-
-
MDEV-18822 investigate performance regressions in 10.4
-
- Stalled
-
-
MDEV-19160 JSON_DETAILED output unnecessarily verbose (Part Time project)
-
- Closed
-
-
MDEV-20444 More information regarding access of a table to be printed inside the optimizer_trace
-
- Closed
-
Pushed this:
http://lists.askmonty.org/pipermail/commits/2019-August/013945.html
http://lists.askmonty.org/pipermail/commits/2019-August/013945.html
commit 4a490d1a993959222deb8bae822f40575586a148 (HEAD -> 10.4, origin/HEAD, origin/10.4, tmp10)
Author: Sergei Petrunia <psergey@askmonty.org>
Date: Sun Aug 25 11:03:19 2019 +0300
MDEV-6111: Optimizer Trace: add tracing for semi-join optimizations
Added:
- "semijoin_strategy_choice" element (actions in advance_sj_state(), name
matches the name in MySQL)
- semijoin_table_pullout element.
UPDATE: filed a MDEV to track the above patch:
MDEV-20440.