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

@ -18,6 +18,7 @@ ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
@ -56,6 +57,7 @@ ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
@ -76,6 +78,7 @@ ANALYZE
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t0.a"],
"loops": 10,
"r_loops": 0,
"rows": 1,
"r_rows": null,
@ -109,6 +112,7 @@ ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
@ -129,6 +133,7 @@ ANALYZE
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t0.a"],
"loops": 10,
"r_loops": 10,
"rows": 1,
"r_rows": 1,
@ -165,6 +170,7 @@ ANALYZE
"table": {
"table_name": "tbl1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 100,
"r_rows": 100,
@ -181,6 +187,7 @@ ANALYZE
"table": {
"table_name": "tbl2",
"access_type": "ALL",
"loops": 100,
"r_loops": 1,
"rows": 100,
"r_rows": 100,
@ -218,6 +225,7 @@ ANALYZE
"table": {
"table_name": "tbl1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 100,
"r_rows": 100,
@ -234,6 +242,7 @@ ANALYZE
"table": {
"table_name": "tbl2",
"access_type": "ALL",
"loops": 100,
"r_loops": 1,
"rows": 100,
"r_rows": 100,
@ -280,6 +289,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
@ -300,6 +310,7 @@ ANALYZE
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t1.a"],
"loops": 10,
"r_loops": 10,
"rows": 2,
"r_rows": 0.2,
@ -344,6 +355,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
@ -414,6 +426,7 @@ ANALYZE
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["pk"],
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
@ -492,6 +505,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 5,
"r_rows": 5,
@ -519,6 +533,7 @@ ANALYZE
"table_name": "t2",
"access_type": "ALL",
"possible_keys": ["key1", "key2", "key3", "key4"],
"loops": 5,
"r_loops": 5,
"rows": 1010,
"r_rows": 203.8,
@ -565,6 +580,7 @@ ANALYZE
"table": {
"table_name": "tbl1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
@ -591,6 +607,7 @@ ANALYZE
"table": {
"table_name": "tbl2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
@ -650,6 +667,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 256,
"r_rows": 256,
@ -691,6 +709,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 256,
"r_rows": 256,
@ -746,6 +765,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 256,
"r_rows": 256,
@ -785,6 +805,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -800,6 +821,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -831,6 +853,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -897,6 +920,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -912,6 +936,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
@ -943,6 +968,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 0,
"rows": 2,
"r_rows": null,
@ -956,6 +982,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 2,
"r_loops": 0,
"rows": 2,
"r_rows": null,
@ -1007,6 +1034,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
@ -1041,6 +1069,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 0,
"rows": 10,
"r_rows": null,