mirror of
https://github.com/MariaDB/server.git
synced 2026-05-01 04:35:32 +02:00
MDEV-7899: 10.1 is 3% slower than 10.0 in OLTP RO
- Remove ANALYZE's timing code off the the execution path of regular SELECTs. - Improve the tracker that tracks counts/execution times of SELECTs or DML statements: = regular execution just increments counters = ANALYZE will also collect timings.
This commit is contained in:
parent
2936fb127d
commit
2af935c8ec
10 changed files with 105 additions and 70 deletions
|
|
@ -1282,7 +1282,7 @@ public:
|
|||
bool optimized; ///< flag to avoid double optimization in EXPLAIN
|
||||
bool initialized; ///< flag to avoid double init_execution calls
|
||||
|
||||
Exec_time_tracker *tracker;
|
||||
Time_and_counter_tracker *tracker;
|
||||
|
||||
enum { QEP_NOT_PRESENT_YET, QEP_AVAILABLE, QEP_DELETED} have_query_plan;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue