summaryrefslogtreecommitdiff
path: root/mysql-test/main/opt_trace_security.result
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-20444: More information regarding access of a table to be printed ↵Varun Gupta2019-09-111-4/+26
| | | | | | | | | inside the optimizer_trace Added: 1) estimated_join_cardinality 2) best_chosen_access_method for a table 3) best_join_order
* Optimizer trace: print cost and #rows of the join prefixSergei Petrunia2019-08-131-2/+6
| | | | | The names rows_for_plan and cost_for_plan follow MySQL Also added post-join-operation selectivity cost
* Minor cleanup in the optimizer trace code.Varun Gupta2019-02-181-14/+4
| | | | More test coverage added for the optimizer trace.
* MDEV-6111 Optimizer TraceVarun Gupta2019-02-131-0/+396
This task involves the implementation for the optimizer trace. This feature produces a trace for any SELECT/UPDATE/DELETE/, which contains information about decisions taken by the optimizer during the optimization phase (choice of table access method, various costs, transformations, etc). This feature would help to tell why some decisions were taken by the optimizer and why some were rejected. Trace is session-local, controlled by the @@optimizer_trace variable. To enable optimizer trace we need to write: set @@optimizer_trace variable= 'enabled=on'; To display the trace one can run: SELECT trace FROM INFORMATION_SCHEMA.OPTIMIZER_TRACE; This task also involves: MDEV-18489: Limit the memory used by the optimizer trace introduces a switch optimizer_trace_max_mem_size which limits the memory used by the optimizer trace. This was implemented by Sergei Petrunia.