1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-30032: EXPLAIN FORMAT=JSON output: print costs

Basic printout for join and table execution costs.
This commit is contained in:
Sergei Petrunia
2022-11-19 21:00:23 +03:00
parent 657868f5e7
commit ffe0beca25
91 changed files with 3441 additions and 18 deletions

View File

@ -350,6 +350,12 @@ typedef struct st_join_table {
/* Copy of POSITION::records_out, set by get_best_combination() */
double records_out;
/*
Copy of POSITION::read_time, set by get_best_combination(). The cost of
accessing the table in course of the join execution.
*/
double join_read_time;
/* The selectivity of the conditions that can be pushed to the table */
double cond_selectivity;