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:
@ -2434,6 +2434,7 @@ EXPLAIN
|
||||
"key": "idx",
|
||||
"key_length": "10",
|
||||
"used_key_parts": ["a", "b"],
|
||||
"loops": 1,
|
||||
"rows": 6,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
@ -2500,6 +2501,7 @@ EXPLAIN
|
||||
"key": "idx",
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["a"],
|
||||
"loops": 1,
|
||||
"rows": 5,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
@ -2532,6 +2534,7 @@ EXPLAIN
|
||||
"key": "idx",
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["a"],
|
||||
"loops": 1,
|
||||
"rows": 5,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
@ -2586,6 +2589,7 @@ EXPLAIN
|
||||
"rows": 12,
|
||||
"selectivity_pct": 60
|
||||
},
|
||||
"loops": 1,
|
||||
"rows": 3,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 60,
|
||||
@ -2602,6 +2606,7 @@ EXPLAIN
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["a"],
|
||||
"ref": ["test.t2.d"],
|
||||
"loops": 1.8,
|
||||
"rows": 8,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100
|
||||
@ -2675,6 +2680,7 @@ EXPLAIN
|
||||
"rows": 15,
|
||||
"selectivity_pct": 14.42307692
|
||||
},
|
||||
"loops": 1,
|
||||
"rows": 8,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 14.42307663,
|
||||
@ -2691,6 +2697,7 @@ EXPLAIN
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["a"],
|
||||
"ref": ["test.t2.d"],
|
||||
"loops": 1.153846154,
|
||||
"rows": 8,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 73.17073059
|
||||
@ -2789,6 +2796,7 @@ EXPLAIN
|
||||
"rows": 7,
|
||||
"selectivity_pct": 6.730769231
|
||||
},
|
||||
"loops": 1,
|
||||
"rows": 7,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 6.730769157,
|
||||
@ -2805,6 +2813,7 @@ EXPLAIN
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["a"],
|
||||
"ref": ["test.t2.d"],
|
||||
"loops": 0.471153846,
|
||||
"rows": 11,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100
|
||||
@ -2848,6 +2857,7 @@ EXPLAIN
|
||||
"key": "idx3",
|
||||
"key_length": "10",
|
||||
"used_key_parts": ["d", "e"],
|
||||
"loops": 1,
|
||||
"rows": 5,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
@ -2864,6 +2874,7 @@ EXPLAIN
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["a"],
|
||||
"ref": ["test.t2.d"],
|
||||
"loops": 5,
|
||||
"rows": 11,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100
|
||||
@ -2906,6 +2917,7 @@ EXPLAIN
|
||||
"key": "idx",
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["a"],
|
||||
"loops": 1,
|
||||
"rows": 15,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
@ -2921,6 +2933,7 @@ EXPLAIN
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["d"],
|
||||
"ref": ["test.t1.a"],
|
||||
"loops": 15,
|
||||
"rows": 3,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
@ -2969,6 +2982,7 @@ EXPLAIN
|
||||
"table_name": "t1",
|
||||
"access_type": "ALL",
|
||||
"possible_keys": ["idx"],
|
||||
"loops": 1,
|
||||
"rows": 144,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
@ -2984,6 +2998,7 @@ EXPLAIN
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["d"],
|
||||
"ref": ["test.t1.a"],
|
||||
"loops": 144,
|
||||
"rows": 3,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
@ -3029,6 +3044,7 @@ EXPLAIN
|
||||
"key": "idx",
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["a"],
|
||||
"loops": 1,
|
||||
"rows": 12,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
@ -3045,6 +3061,7 @@ EXPLAIN
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["d"],
|
||||
"ref": ["test.t1.a"],
|
||||
"loops": 12,
|
||||
"rows": 3,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
@ -3128,6 +3145,7 @@ EXPLAIN
|
||||
"key": "idx",
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["a"],
|
||||
"loops": 1,
|
||||
"rows": 12,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
@ -3144,6 +3162,7 @@ EXPLAIN
|
||||
"key_length": "5",
|
||||
"used_key_parts": ["d"],
|
||||
"ref": ["test.t1.a"],
|
||||
"loops": 12,
|
||||
"rows": 3,
|
||||
"cost": "COST_REPLACED",
|
||||
"filtered": 100,
|
||||
|
Reference in New Issue
Block a user