mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02:00
MDEV-7648: Extra data in ANALYZE FORMAT=JSON $stmt
Show total execution time (r_total_time_ms) for various parts of the query: 1. time spent in SELECTs 2. time spent reading rows from storage engines #2 currently gets the data from P_S.
This commit is contained in:
parent
2288b84df4
commit
1626e0d3d4
12 changed files with 218 additions and 3 deletions
|
|
@ -26,6 +26,7 @@
|
|||
#include "sql_cmd.h"
|
||||
#include <my_rnd.h>
|
||||
#include "my_pthread.h"
|
||||
#include "my_rdtsc.h"
|
||||
|
||||
class THD;
|
||||
struct handlerton;
|
||||
|
|
@ -60,6 +61,8 @@ typedef Bitmap<((MAX_INDEXES+7)/8*8)> key_map; /* Used for finding keys */
|
|||
#define OPT_SESSION SHOW_OPT_SESSION
|
||||
#define OPT_GLOBAL SHOW_OPT_GLOBAL
|
||||
|
||||
extern MY_TIMER_INFO sys_timer_info;
|
||||
|
||||
/*
|
||||
Values for --slave-parallel-mode
|
||||
Must match order in slave_parallel_mode_typelib in sys_vars.cc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue