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: part #2: print 'loops'.

This commit is contained in:
Sergei Petrunia
2022-11-21 18:17:14 +03:00
parent ffe0beca25
commit 6c4076fac4
51 changed files with 1641 additions and 4 deletions

View File

@ -43,6 +43,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
@ -61,6 +62,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
@ -97,6 +99,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -122,6 +125,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -155,6 +159,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 1,
@ -182,6 +187,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -207,6 +213,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -301,6 +308,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
@ -311,6 +319,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 2,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
@ -333,6 +342,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
@ -343,6 +353,7 @@ EXPLAIN
"table": {
"table_name": "t4",
"access_type": "ALL",
"loops": 2,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
@ -383,6 +394,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -398,6 +410,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -429,6 +442,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -444,6 +458,7 @@ ANALYZE
"table": {
"table_name": "t4",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -484,6 +499,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 3,
@ -511,6 +527,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -526,6 +543,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -557,6 +575,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -572,6 +591,7 @@ ANALYZE
"table": {
"table_name": "t4",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,