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

View File

@ -191,6 +191,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -206,6 +207,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t0.a"], "ref": ["test.t0.a"],
"loops": 10,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -242,6 +244,7 @@ ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -262,6 +265,7 @@ ANALYZE
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t0.a"], "ref": ["test.t0.a"],
"loops": 10,
"r_loops": 10, "r_loops": 10,
"rows": 1, "rows": 1,
"r_rows": 0.4, "r_rows": 0.4,
@ -300,6 +304,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -317,6 +322,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t0.a"], "ref": ["test.t0.a"],
"loops": 10,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -352,6 +358,7 @@ ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -374,6 +381,7 @@ ANALYZE
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t0.a"], "ref": ["test.t0.a"],
"loops": 10,
"r_loops": 10, "r_loops": 10,
"rows": 1, "rows": 1,
"r_rows": 0.4, "r_rows": 0.4,
@ -425,6 +433,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 1000, "rows": 1000,
"r_rows": 1000, "r_rows": 1000,
@ -483,6 +492,7 @@ ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -498,6 +508,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 10,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -570,6 +581,7 @@ ANALYZE
"table": { "table": {
"table_name": "t6", "table_name": "t6",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 5, "rows": 5,
"r_rows": 5, "r_rows": 5,
@ -586,6 +598,7 @@ ANALYZE
"table": { "table": {
"table_name": "t5", "table_name": "t5",
"access_type": "ALL", "access_type": "ALL",
"loops": 5,
"r_loops": 1, "r_loops": 1,
"rows": 7, "rows": 7,
"r_rows": 7, "r_rows": 7,
@ -630,6 +643,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t6", "table_name": "t6",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -641,6 +655,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t5", "table_name": "t5",
"access_type": "ALL", "access_type": "ALL",
"loops": 5,
"rows": 7, "rows": 7,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -700,6 +715,7 @@ ANALYZE
"key": "idx", "key": "idx",
"key_length": "5", "key_length": "5",
"used_key_parts": ["col1"], "used_key_parts": ["col1"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 7, "rows": 7,
"r_rows": 20, "r_rows": 20,

View File

@ -270,6 +270,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -302,6 +303,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -339,6 +341,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -358,6 +361,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -397,6 +401,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -416,6 +421,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -466,6 +472,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -486,6 +493,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -1345,6 +1345,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived4>", "table_name": "<derived4>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 24, "rows": 24,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1363,6 +1364,7 @@ EXPLAIN
"table": { "table": {
"table_name": "folks", "table_name": "folks",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1382,6 +1384,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1401,6 +1404,7 @@ EXPLAIN
"table": { "table": {
"table_name": "folks", "table_name": "folks",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1421,6 +1425,7 @@ EXPLAIN
"table_name": "folks", "table_name": "folks",
"access_type": "ALL", "access_type": "ALL",
"possible_keys": ["PRIMARY"], "possible_keys": ["PRIMARY"],
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1431,6 +1436,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 12,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1463,6 +1469,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived4>", "table_name": "<derived4>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 24, "rows": 24,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1518,6 +1525,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1536,6 +1544,7 @@ EXPLAIN
"table": { "table": {
"table_name": "v", "table_name": "v",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1551,6 +1560,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["id"], "used_key_parts": ["id"],
"ref": ["test.v.father"], "ref": ["test.v.father"],
"loops": 12,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1565,6 +1575,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["id"], "used_key_parts": ["id"],
"ref": ["test.v.mother"], "ref": ["test.v.mother"],
"loops": 12,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1583,6 +1594,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived4>", "table_name": "<derived4>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1598,6 +1610,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["id"], "used_key_parts": ["id"],
"ref": ["a.father"], "ref": ["a.father"],
"loops": 2,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1612,6 +1625,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["id"], "used_key_parts": ["id"],
"ref": ["a.mother"], "ref": ["a.mother"],
"loops": 2,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1853,6 +1867,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1871,6 +1886,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1889,6 +1905,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2497,6 +2514,7 @@ ANALYZE
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 10, "r_rows": 10,
@ -2533,6 +2551,7 @@ ANALYZE
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 10, "r_loops": 10,
"rows": 2, "rows": 2,
"r_rows": 1, "r_rows": 1,
@ -3910,6 +3929,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -3930,6 +3950,7 @@ ANALYZE
"key_length": "23", "key_length": "23",
"used_key_parts": ["a2"], "used_key_parts": ["a2"],
"ref": ["test.t1.a1"], "ref": ["test.t1.a1"],
"loops": 3,
"r_loops": 3, "r_loops": 3,
"rows": 1, "rows": 1,
"r_rows": 0.333333333, "r_rows": 0.333333333,
@ -3986,6 +4007,7 @@ ANALYZE
"table_name": "tt2", "table_name": "tt2",
"access_type": "ALL", "access_type": "ALL",
"possible_keys": ["b1"], "possible_keys": ["b1"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 14, "rows": 14,
"r_rows": 14, "r_rows": 14,
@ -4006,6 +4028,7 @@ ANALYZE
"key_length": "23", "key_length": "23",
"used_key_parts": ["a2"], "used_key_parts": ["a2"],
"ref": ["test.tt2.b1"], "ref": ["test.tt2.b1"],
"loops": 14,
"r_loops": 14, "r_loops": 14,
"rows": 1, "rows": 1,
"r_rows": 0.071428571, "r_rows": 0.071428571,
@ -4192,6 +4215,7 @@ ANALYZE
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -4219,6 +4243,7 @@ ANALYZE
"table": { "table": {
"table_name": "s", "table_name": "s",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -4244,6 +4269,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -4264,6 +4290,7 @@ ANALYZE
"key_length": "9", "key_length": "9",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t1.c"], "ref": ["test.t1.c"],
"loops": 4,
"r_loops": 4, "r_loops": 4,
"rows": 2, "rows": 2,
"r_rows": 0.5, "r_rows": 0.5,
@ -4354,6 +4381,7 @@ ANALYZE
"table": { "table": {
"table_name": "tt", "table_name": "tt",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,

File diff suppressed because it is too large Load Diff

View File

@ -387,6 +387,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -402,6 +403,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["f1"], "used_key_parts": ["f1"],
"ref": ["test.t2.f2"], "ref": ["test.t2.f2"],
"loops": 11,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -417,6 +419,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -496,6 +499,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -511,6 +515,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -527,6 +532,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -583,6 +589,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -599,6 +606,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -621,6 +629,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["f1"], "used_key_parts": ["f1"],
"ref": ["tt.f1"], "ref": ["tt.f1"],
"loops": 11,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -636,6 +645,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -731,6 +741,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -747,6 +758,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -763,6 +775,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -792,6 +805,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["f1"], "used_key_parts": ["f1"],
"ref": ["x.f1"], "ref": ["x.f1"],
"loops": 11,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -807,6 +821,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived5>", "table_name": "<derived5>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -823,6 +838,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -888,6 +904,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -904,6 +921,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -978,6 +996,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -993,6 +1012,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["f1"], "used_key_parts": ["f1"],
"ref": ["test.t2.f2"], "ref": ["test.t2.f2"],
"loops": 11,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1008,6 +1028,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

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

View File

@ -71,6 +71,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 7, "rows": 7,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -89,6 +90,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 7, "rows": 7,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -132,6 +134,7 @@ ANALYZE
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 7, "rows": 7,
"r_rows": 4, "r_rows": 4,
@ -159,6 +162,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 7, "rows": 7,
"r_rows": 7, "r_rows": 7,
@ -184,6 +188,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 7, "rows": 7,
"r_rows": 7, "r_rows": 7,
@ -222,6 +227,7 @@ ANALYZE
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 7, "rows": 7,
"r_rows": 4, "r_rows": 4,
@ -249,6 +255,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 7, "rows": 7,
"r_rows": 7, "r_rows": 7,
@ -274,6 +281,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 7, "rows": 7,
"r_rows": 7, "r_rows": 7,
@ -409,6 +417,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 9, "rows": 9,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -427,6 +436,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -437,6 +447,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 3,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -459,6 +470,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -469,6 +481,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t4", "table_name": "t4",
"access_type": "ALL", "access_type": "ALL",
"loops": 2,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -514,6 +527,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -529,6 +543,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 3,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -560,6 +575,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 2, "r_rows": 2,
@ -575,6 +591,7 @@ ANALYZE
"table": { "table": {
"table_name": "t4", "table_name": "t4",
"access_type": "ALL", "access_type": "ALL",
"loops": 2,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -614,6 +631,7 @@ ANALYZE
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 9, "rows": 9,
"r_rows": 7, "r_rows": 7,
@ -641,6 +659,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -656,6 +675,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 3,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -687,6 +707,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 2, "r_rows": 2,
@ -702,6 +723,7 @@ ANALYZE
"table": { "table": {
"table_name": "t4", "table_name": "t4",
"access_type": "ALL", "access_type": "ALL",
"loops": 2,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,

View File

@ -12,6 +12,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -41,6 +42,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -69,6 +71,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -84,6 +87,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t0.a"], "ref": ["test.t0.a"],
"loops": 10,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -110,6 +114,7 @@ EXPLAIN
"key": "a1", "key": "a1",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a1"], "used_key_parts": ["a1"],
"loops": 1,
"rows": 5, "rows": 5,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -148,6 +153,7 @@ EXPLAIN
} }
] ]
}, },
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -186,6 +192,7 @@ EXPLAIN
} }
] ]
}, },
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -225,6 +232,7 @@ EXPLAIN
} }
] ]
}, },
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -246,6 +254,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -261,6 +270,7 @@ EXPLAIN
"key_length": "10", "key_length": "10",
"used_key_parts": ["b1", "b2"], "used_key_parts": ["b1", "b2"],
"ref": ["test.t0.a", "const"], "ref": ["test.t0.a", "const"],
"loops": 10,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -290,6 +300,7 @@ EXPLAIN
"table": { "table": {
"table_name": "A", "table_name": "A",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -308,6 +319,7 @@ EXPLAIN
"table": { "table": {
"table_name": "B", "table_name": "B",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -335,6 +347,7 @@ EXPLAIN
"table": { "table": {
"table_name": "A", "table_name": "A",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -353,6 +366,7 @@ EXPLAIN
"table": { "table": {
"table_name": "B", "table_name": "B",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -381,6 +395,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -399,6 +414,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -425,6 +441,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -444,6 +461,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -475,6 +493,7 @@ EXPLAIN
"table": { "table": {
"table_name": "tbl1", "table_name": "tbl1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 100, "rows": 100,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -486,6 +505,7 @@ EXPLAIN
"table": { "table": {
"table_name": "tbl2", "table_name": "tbl2",
"access_type": "ALL", "access_type": "ALL",
"loops": 100,
"rows": 100, "rows": 100,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -581,6 +601,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -611,6 +632,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -628,6 +650,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -656,6 +679,7 @@ EXPLAIN
"table": { "table": {
"table_name": "tbl2", "table_name": "tbl2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -671,6 +695,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["cnt"], "used_key_parts": ["cnt"],
"ref": ["test.tbl2.a"], "ref": ["test.tbl2.a"],
"loops": 10,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -687,6 +712,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -717,6 +743,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -732,6 +759,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["max(a)"], "used_key_parts": ["max(a)"],
"ref": ["test.t1.a"], "ref": ["test.t1.a"],
"loops": 10,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -746,6 +774,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -777,6 +806,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -806,6 +836,7 @@ EXPLAIN
"key": "PRIMARY", "key": "PRIMARY",
"key_length": "8", "key_length": "8",
"used_key_parts": ["seq"], "used_key_parts": ["seq"],
"loops": 1,
"rows": 100, "rows": 100,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -822,6 +853,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 10,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -854,6 +886,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -864,6 +897,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 10,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -900,6 +934,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -912,6 +947,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 10,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 10 "filtered": 10
@ -951,6 +987,7 @@ EXPLAIN
"key": "a", "key": "a",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -975,6 +1012,7 @@ EXPLAIN
"table": { "table": {
"table_name": "tbl1", "table_name": "tbl1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 100, "rows": 100,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -987,6 +1025,7 @@ EXPLAIN
"table_name": "tbl2", "table_name": "tbl2",
"access_type": "ALL", "access_type": "ALL",
"possible_keys": ["a"], "possible_keys": ["a"],
"loops": 100,
"rows": 100, "rows": 100,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1019,6 +1058,7 @@ EXPLAIN
"key": "a", "key": "a",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 5, "rows": 5,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1044,6 +1084,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["func"], "ref": ["func"],
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1057,6 +1098,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 3,
"rows": 5, "rows": 5,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1097,6 +1139,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1113,6 +1156,7 @@ EXPLAIN
"table": { "table": {
"table_name": "tbl1", "table_name": "tbl1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 100, "rows": 100,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1123,6 +1167,7 @@ EXPLAIN
"table": { "table": {
"table_name": "tbl2", "table_name": "tbl2",
"access_type": "ALL", "access_type": "ALL",
"loops": 100,
"rows": 100, "rows": 100,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1159,6 +1204,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1177,6 +1223,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1226,6 +1273,7 @@ EXPLAIN
"key": "a", "key": "a",
"key_length": "10", "key_length": "10",
"used_key_parts": ["a", "b"], "used_key_parts": ["a", "b"],
"loops": 1,
"rows": 101, "rows": 101,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1254,6 +1302,7 @@ ANALYZE
"key": "a", "key": "a",
"key_length": "10", "key_length": "10",
"used_key_parts": ["a", "b"], "used_key_parts": ["a", "b"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 101, "rows": 101,
"r_rows": 100, "r_rows": 100,
@ -1341,6 +1390,7 @@ EXPLAIN
"key": "idx_t1_2", "key": "idx_t1_2",
"key_length": "147", "key_length": "147",
"used_key_parts": ["a1", "a2", "b"], "used_key_parts": ["a1", "a2", "b"],
"loops": 1,
"rows": 17, "rows": 17,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1365,6 +1415,7 @@ EXPLAIN
"key": "idx_t1_1", "key": "idx_t1_1",
"key_length": "163", "key_length": "163",
"used_key_parts": ["a1", "a2", "b", "c"], "used_key_parts": ["a1", "a2", "b", "c"],
"loops": 1,
"rows": 128, "rows": 128,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 0.198364258, "filtered": 0.198364258,
@ -1390,6 +1441,7 @@ EXPLAIN
"key": "idx_t1_1", "key": "idx_t1_1",
"key_length": "147", "key_length": "147",
"used_key_parts": ["a1", "a2", "b"], "used_key_parts": ["a1", "a2", "b"],
"loops": 1,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1417,6 +1469,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1443,6 +1496,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1482,6 +1536,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 256, "rows": 256,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1507,6 +1562,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 256, "rows": 256,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1543,6 +1599,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 256, "rows": 256,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1630,6 +1687,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1669,6 +1727,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 2, "r_rows": 2,
@ -1700,6 +1759,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1714,6 +1774,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["pk"], "used_key_parts": ["pk"],
"ref": ["test.t1.a"], "ref": ["test.t1.a"],
"loops": 2,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1742,6 +1803,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 2, "r_rows": 2,
@ -1761,6 +1823,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["pk"], "used_key_parts": ["pk"],
"ref": ["test.t1.a"], "ref": ["test.t1.a"],
"loops": 2,
"r_loops": 2, "r_loops": 2,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -1796,6 +1859,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1811,6 +1875,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["pk"], "used_key_parts": ["pk"],
"ref": ["test.t1.a"], "ref": ["test.t1.a"],
"loops": 2,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1840,6 +1905,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 2, "r_rows": 2,
@ -1860,6 +1926,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["pk"], "used_key_parts": ["pk"],
"ref": ["test.t1.a"], "ref": ["test.t1.a"],
"loops": 2,
"r_loops": 2, "r_loops": 2,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -1907,6 +1974,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1923,6 +1991,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t3.a"], "ref": ["test.t3.a"],
"loops": 10,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1954,6 +2023,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -1975,6 +2045,7 @@ ANALYZE
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t3.a"], "ref": ["test.t3.a"],
"loops": 10,
"r_loops": 1, "r_loops": 1,
"rows": 1, "rows": 1,
"r_rows": 10, "r_rows": 10,
@ -2018,6 +2089,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2037,6 +2109,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2070,6 +2143,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2094,6 +2168,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2118,6 +2193,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2147,6 +2223,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2159,6 +2236,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 2,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2174,6 +2252,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 4,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 25 "filtered": 25

View File

@ -19,6 +19,7 @@ EXPLAIN
"table_name": "t1", "table_name": "t1",
"partitions": ["p0"], "partitions": ["p0"],
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -45,6 +46,7 @@ ANALYZE
"table_name": "t1", "table_name": "t1",
"partitions": ["p0"], "partitions": ["p0"],
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,

View File

@ -22,6 +22,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -38,6 +39,7 @@ EXPLAIN
"table": { "table": {
"table_name": "tbl_alias1", "table_name": "tbl_alias1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -56,6 +58,7 @@ EXPLAIN
"test.tbl_alias1.column_name_2", "test.tbl_alias1.column_name_2",
"test.tbl_alias1.column_name_1" "test.tbl_alias1.column_name_1"
], ],
"loops": 1,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -465,6 +465,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 8, "rows": 8,
"r_rows": 8, "r_rows": 8,

File diff suppressed because it is too large Load Diff

View File

@ -57,6 +57,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -72,6 +73,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -87,6 +89,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -161,6 +164,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -176,6 +180,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -191,6 +196,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -267,6 +273,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -282,6 +289,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -297,6 +305,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -371,6 +380,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -386,6 +396,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -401,6 +412,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -477,6 +489,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -492,6 +505,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -507,6 +521,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -581,6 +596,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -596,6 +612,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["v1_x", "MAX(v1_y)"], "used_key_parts": ["v1_x", "MAX(v1_y)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -611,6 +628,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 8, "rows": 8,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -686,6 +704,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 8, "rows": 8,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -697,6 +716,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 8,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -716,6 +736,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t3.y"], "ref": ["test.t1.a", "test.t3.y"],
"loops": 128,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -731,6 +752,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -807,6 +829,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -822,6 +845,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -836,6 +860,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -912,6 +937,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -927,6 +953,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -941,6 +968,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1019,6 +1047,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1034,6 +1063,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1048,6 +1078,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1122,6 +1153,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1137,6 +1169,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1151,6 +1184,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1225,6 +1259,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1240,6 +1275,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1254,6 +1290,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1328,6 +1365,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1343,6 +1381,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1357,6 +1396,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1431,6 +1471,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1446,6 +1487,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["const", "test.t1.c"], "ref": ["const", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1459,6 +1501,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1532,6 +1575,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1547,6 +1591,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1561,6 +1606,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1633,6 +1679,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1648,6 +1695,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["v1_x", "MAX(v1_y)"], "used_key_parts": ["v1_x", "MAX(v1_y)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1662,6 +1710,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 8, "rows": 8,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1739,6 +1788,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 8, "rows": 8,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1750,6 +1800,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 8,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1769,6 +1820,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t3.x", "test.t1.c"], "ref": ["test.t3.x", "test.t1.c"],
"loops": 128,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1783,6 +1835,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1858,6 +1911,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1873,6 +1927,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1888,6 +1943,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1962,6 +2018,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1977,6 +2034,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1992,6 +2050,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2068,6 +2127,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2083,6 +2143,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2098,6 +2159,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2172,6 +2234,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2187,6 +2250,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2202,6 +2266,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2280,6 +2345,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2295,6 +2361,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2310,6 +2377,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2384,6 +2452,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2399,6 +2468,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2414,6 +2484,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2488,6 +2559,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2503,6 +2575,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2517,6 +2590,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2591,6 +2665,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2606,6 +2681,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2620,6 +2696,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2694,6 +2771,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2709,6 +2787,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2723,6 +2802,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2799,6 +2879,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2814,6 +2895,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2828,6 +2910,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2908,6 +2991,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2923,6 +3007,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"], "used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"], "ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2937,6 +3022,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3015,6 +3101,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3030,6 +3117,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "MAX(v2.f)", "max_g"], "used_key_parts": ["e", "MAX(v2.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3045,6 +3133,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3062,6 +3151,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3146,6 +3236,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3161,6 +3252,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "MAX(v2.f)", "max_g"], "used_key_parts": ["e", "MAX(v2.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3175,6 +3267,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3192,6 +3285,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3277,6 +3371,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3292,6 +3387,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "MAX(v2.f)", "max_g"], "used_key_parts": ["e", "MAX(v2.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3307,6 +3403,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3324,6 +3421,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3432,6 +3530,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3447,6 +3546,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "MAX(d_tab.f)", "max_g"], "used_key_parts": ["e", "MAX(d_tab.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3461,6 +3561,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3478,6 +3579,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -3604,6 +3706,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3619,6 +3722,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "MAX(d_tab.f)", "max_g"], "used_key_parts": ["e", "MAX(d_tab.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3633,6 +3737,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3650,6 +3755,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -3777,6 +3883,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3792,6 +3899,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "MAX(d_tab.f)", "max_g"], "used_key_parts": ["e", "MAX(d_tab.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3806,6 +3914,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived3>", "table_name": "<derived3>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3823,6 +3932,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -3932,6 +4042,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 8, "rows": 8,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3947,6 +4058,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t3.x"], "ref": ["test.t3.x"],
"loops": 8,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3964,6 +4076,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3979,6 +4092,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3994,6 +4108,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4125,6 +4240,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 8, "rows": 8,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4140,6 +4256,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t3.x"], "ref": ["test.t3.x"],
"loops": 8,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4157,6 +4274,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4172,6 +4290,7 @@ EXPLAIN
"key_length": "12", "key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"], "used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"], "ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4187,6 +4306,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4271,6 +4391,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4286,6 +4407,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["f", "MAX(t2.g) OVER (PARTITION BY t2.f)"], "used_key_parts": ["f", "MAX(t2.g) OVER (PARTITION BY t2.f)"],
"ref": ["test.t1.b", "test.t1.c"], "ref": ["test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4308,6 +4430,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4380,6 +4503,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 16, "rows": 16,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4398,6 +4522,7 @@ EXPLAIN
"CAST(SUM(t2.g) OVER (PARTITION BY t2.f) AS INT)" "CAST(SUM(t2.g) OVER (PARTITION BY t2.f) AS INT)"
], ],
"ref": ["test.t1.b", "test.t1.c"], "ref": ["test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4421,6 +4546,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -265,7 +265,7 @@
drop table t0,t1,t2; drop table t0,t1,t2;
# #
# MDEV-11196: Error:Run-Time Check Failure #2 - Stack around the variable 'key_buff' # MDEV-11196: Error:Run-Time Check Failure #2 - Stack around the variable 'key_buff'
@@ -770,11 +770,12 @@ @@ -770,12 +770,13 @@
{ {
"table": { "table": {
"table_name": "t1", "table_name": "t1",
@ -278,10 +278,11 @@
+ "key_length": "3066", + "key_length": "3066",
+ "used_key_parts": ["f2"], + "used_key_parts": ["f2"],
+ "ref": ["const"], + "ref": ["const"],
"loops": 1,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@@ -809,8 +810,8 @@ @@ -809,9 +810,9 @@
"access_type": "range", "access_type": "range",
"possible_keys": ["k1"], "possible_keys": ["k1"],
"key": "k1", "key": "k1",
@ -289,6 +290,7 @@
- "used_key_parts": ["pk1", "f2", "pk2"], - "used_key_parts": ["pk1", "f2", "pk2"],
+ "key_length": "3007", + "key_length": "3007",
+ "used_key_parts": ["pk1", "f2"], + "used_key_parts": ["pk1", "f2"],
"loops": 1,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -775,6 +775,7 @@ EXPLAIN
"key": "f2", "key": "f2",
"key_length": "3070", "key_length": "3070",
"used_key_parts": ["f2", "pk1"], "used_key_parts": ["f2", "pk1"],
"loops": 1,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -811,6 +812,7 @@ EXPLAIN
"key": "k1", "key": "k1",
"key_length": "3011", "key_length": "3011",
"used_key_parts": ["pk1", "f2", "pk2"], "used_key_parts": ["pk1", "f2", "pk2"],
"loops": 1,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -57,6 +57,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -75,6 +76,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -93,6 +95,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -129,6 +132,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -154,6 +158,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -179,6 +184,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -212,6 +218,7 @@ ANALYZE
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 1, "r_rows": 1,
@ -239,6 +246,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -264,6 +272,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -289,6 +298,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -372,6 +382,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -390,6 +401,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -400,6 +412,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 3,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -440,6 +453,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -465,6 +479,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -480,6 +495,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 3,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -519,6 +535,7 @@ ANALYZE
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 1, "r_rows": 1,
@ -546,6 +563,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -571,6 +589,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -586,6 +605,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 3,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,

View File

@ -69,6 +69,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -87,6 +88,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -105,6 +107,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -141,6 +144,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -166,6 +170,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -191,6 +196,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -224,6 +230,7 @@ ANALYZE
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 2, "r_rows": 2,
@ -251,6 +258,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -276,6 +284,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -301,6 +310,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -403,6 +413,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 6, "rows": 6,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -421,6 +432,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -431,6 +443,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 5,
"rows": 7, "rows": 7,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -471,6 +484,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 6, "rows": 6,
"r_rows": 6, "r_rows": 6,
@ -496,6 +510,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 5, "rows": 5,
"r_rows": 5, "r_rows": 5,
@ -511,6 +526,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 5,
"r_loops": 1, "r_loops": 1,
"rows": 7, "rows": 7,
"r_rows": 7, "r_rows": 7,
@ -550,6 +566,7 @@ ANALYZE
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 6, "rows": 6,
"r_rows": 3, "r_rows": 3,
@ -577,6 +594,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 6, "rows": 6,
"r_rows": 6, "r_rows": 6,
@ -602,6 +620,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 5, "rows": 5,
"r_rows": 5, "r_rows": 5,
@ -617,6 +636,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 5,
"r_loops": 1, "r_loops": 1,
"rows": 7, "rows": 7,
"r_rows": 7, "r_rows": 7,

View File

@ -6264,6 +6264,7 @@ EXPLAIN
"key": "PRIMARY", "key": "PRIMARY",
"key_length": "4", "key_length": "4",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -6280,6 +6281,7 @@ EXPLAIN
"key": "kp1", "key": "kp1",
"key_length": "10", "key_length": "10",
"used_key_parts": ["kp1", "kp2"], "used_key_parts": ["kp1", "kp2"],
"loops": 10,
"rows": 836, "rows": 836,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 9.090909004, "filtered": 9.090909004,

View File

@ -10703,6 +10703,7 @@ EXPLAIN
"key": "start_date", "key": "start_date",
"key_length": "8", "key_length": "8",
"used_key_parts": ["start_date", "end_date"], "used_key_parts": ["start_date", "end_date"],
"loops": 1,
"rows": 1000, "rows": 1000,
"cost": 1.235599899, "cost": 1.235599899,
"filtered": 100, "filtered": 100,
@ -12382,6 +12383,7 @@ EXPLAIN
"table": { "table": {
"table_name": "three", "table_name": "three",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": 0.010504815, "cost": 0.010504815,
"filtered": 100, "filtered": 100,
@ -12405,6 +12407,7 @@ EXPLAIN
"rows": 4312, "rows": 4312,
"selectivity_pct": 43.12 "selectivity_pct": 43.12
}, },
"loops": 3,
"rows": 1000, "rows": 1000,
"cost": 2.292585745, "cost": 2.292585745,
"filtered": 43.11999893, "filtered": 43.11999893,
@ -12426,6 +12429,7 @@ EXPLAIN
"table": { "table": {
"table_name": "three", "table_name": "three",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": 0.010504815, "cost": 0.010504815,
"filtered": 100 "filtered": 100
@ -12437,6 +12441,7 @@ EXPLAIN
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"possible_keys": ["a", "b"], "possible_keys": ["a", "b"],
"loops": 3,
"rows": 10000, "rows": 10000,
"cost": 1.701731924, "cost": 1.701731924,
"filtered": 4.307688236, "filtered": 4.307688236,

View File

@ -17,6 +17,7 @@ EXPLAIN
"key": "col1", "key": "col1",
"key_length": "21", "key_length": "21",
"used_key_parts": ["col1"], "used_key_parts": ["col1"],
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -1587,6 +1587,7 @@ ANALYZE
"key_length": "10", "key_length": "10",
"used_key_parts": ["a", "c"], "used_key_parts": ["a", "c"],
"ref": ["const", "const"], "ref": ["const", "const"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 1, "r_rows": 1,
@ -3475,6 +3476,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 100, "rows": 100,
"r_rows": 100, "r_rows": 100,
@ -3826,6 +3828,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 100, "rows": 100,
"r_rows": 100, "r_rows": 100,
@ -3994,6 +3997,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 5, "rows": 5,
"r_rows": 5, "r_rows": 5,
@ -4045,6 +4049,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 6, "rows": 6,
"r_rows": 6, "r_rows": 6,
@ -4102,6 +4107,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 6, "rows": 6,
"r_rows": 6, "r_rows": 6,
@ -4173,6 +4179,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -4347,6 +4354,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 50, "rows": 50,
"r_rows": 50, "r_rows": 50,
@ -4382,6 +4390,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 50, "r_loops": 50,
"rows": 50, "rows": 50,
"r_rows": 50, "r_rows": 50,
@ -4494,6 +4503,7 @@ EXPLAIN
"key": "PRIMARY", "key": "PRIMARY",
"key_length": "4", "key_length": "4",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4520,6 +4530,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 97, "rows": 97,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -4568,6 +4579,7 @@ EXPLAIN
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"possible_keys": ["PRIMARY"], "possible_keys": ["PRIMARY"],
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -4595,6 +4607,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 97, "rows": 97,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -112,6 +112,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10000, "rows": 10000,
"r_rows": 10000, "r_rows": 10000,
@ -279,6 +280,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10000, "rows": 10000,
"r_rows": 10000, "r_rows": 10000,
@ -442,6 +444,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10000, "rows": 10000,
"r_rows": 10000, "r_rows": 10000,
@ -500,6 +503,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10000, "rows": 10000,
"r_rows": 10000, "r_rows": 10000,

View File

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

View File

@ -2437,6 +2437,7 @@ EXPLAIN
"key": "idx", "key": "idx",
"key_length": "10", "key_length": "10",
"used_key_parts": ["a", "b"], "used_key_parts": ["a", "b"],
"loops": 1,
"rows": 6, "rows": 6,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2504,6 +2505,7 @@ EXPLAIN
"key": "idx", "key": "idx",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 5, "rows": 5,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2537,6 +2539,7 @@ EXPLAIN
"key": "idx", "key": "idx",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 5, "rows": 5,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2584,6 +2587,7 @@ EXPLAIN
"key": "idx1", "key": "idx1",
"key_length": "5", "key_length": "5",
"used_key_parts": ["d"], "used_key_parts": ["d"],
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 60, "filtered": 60,
@ -2601,6 +2605,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t2.d"], "ref": ["test.t2.d"],
"loops": 1.8,
"rows": 8, "rows": 8,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2666,6 +2671,7 @@ EXPLAIN
"key": "idx1", "key": "idx1",
"key_length": "5", "key_length": "5",
"used_key_parts": ["d"], "used_key_parts": ["d"],
"loops": 1,
"rows": 8, "rows": 8,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 14.42307663, "filtered": 14.42307663,
@ -2683,6 +2689,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t2.d"], "ref": ["test.t2.d"],
"loops": 1.153846154,
"rows": 8, "rows": 8,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 73.17073059 "filtered": 73.17073059
@ -2773,6 +2780,7 @@ EXPLAIN
"key": "idx1", "key": "idx1",
"key_length": "5", "key_length": "5",
"used_key_parts": ["d"], "used_key_parts": ["d"],
"loops": 1,
"rows": 7, "rows": 7,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 6.730769157, "filtered": 6.730769157,
@ -2790,6 +2798,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t2.d"], "ref": ["test.t2.d"],
"loops": 0.471153846,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2833,6 +2842,7 @@ EXPLAIN
"key": "idx3", "key": "idx3",
"key_length": "10", "key_length": "10",
"used_key_parts": ["d", "e"], "used_key_parts": ["d", "e"],
"loops": 1,
"rows": 5, "rows": 5,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2850,6 +2860,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"ref": ["test.t2.d"], "ref": ["test.t2.d"],
"loops": 5,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2892,6 +2903,7 @@ EXPLAIN
"key": "idx", "key": "idx",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 15, "rows": 15,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2908,6 +2920,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["d"], "used_key_parts": ["d"],
"ref": ["test.t1.a"], "ref": ["test.t1.a"],
"loops": 15,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2956,6 +2969,7 @@ EXPLAIN
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"possible_keys": ["idx"], "possible_keys": ["idx"],
"loops": 1,
"rows": 144, "rows": 144,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -2971,6 +2985,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["d"], "used_key_parts": ["d"],
"ref": ["test.t1.a"], "ref": ["test.t1.a"],
"loops": 144,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3016,6 +3031,7 @@ EXPLAIN
"key": "idx", "key": "idx",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3033,6 +3049,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["d"], "used_key_parts": ["d"],
"ref": ["test.t1.a"], "ref": ["test.t1.a"],
"loops": 12,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3116,6 +3133,7 @@ EXPLAIN
"key": "idx", "key": "idx",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 12, "rows": 12,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -3133,6 +3151,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["d"], "used_key_parts": ["d"],
"ref": ["test.t1.a"], "ref": ["test.t1.a"],
"loops": 12,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -95,6 +95,7 @@ EXPLAIN
"rows": 702, "rows": 702,
"selectivity_pct": 11.69025812 "selectivity_pct": 11.69025812
}, },
"loops": 1,
"rows": 509, "rows": 509,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 11.69025803, "filtered": 11.69025803,
@ -145,6 +146,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 509, "rows": 509,
"r_rows": 60, "r_rows": 60,
@ -246,6 +248,7 @@ EXPLAIN
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 509, "rows": 509,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 11.69025803, "filtered": 11.69025803,
@ -283,6 +286,7 @@ ANALYZE
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 509, "rows": 509,
"r_rows": 510, "r_rows": 510,
@ -387,6 +391,7 @@ EXPLAIN
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 69, "rows": 69,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -415,6 +420,7 @@ EXPLAIN
"rows": 98, "rows": 98,
"selectivity_pct": 1.631973356 "selectivity_pct": 1.631973356
}, },
"loops": 69,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 1.631973386, "filtered": 1.631973386,
@ -454,6 +460,7 @@ ANALYZE
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 69, "rows": 69,
"r_rows": 71, "r_rows": 71,
@ -492,6 +499,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 69,
"r_loops": 71, "r_loops": 71,
"rows": 4, "rows": 4,
"r_rows": 0.154929577, "r_rows": 0.154929577,
@ -552,6 +560,7 @@ EXPLAIN
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 98, "rows": 98,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -567,6 +576,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 4.599999905, "filtered": 4.599999905,
@ -611,6 +621,7 @@ ANALYZE
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 98, "rows": 98,
"r_rows": 98, "r_rows": 98,
@ -631,6 +642,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"r_loops": 98, "r_loops": 98,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -702,6 +714,7 @@ EXPLAIN
"rows": 702, "rows": 702,
"selectivity_pct": 11.69025812 "selectivity_pct": 11.69025812
}, },
"loops": 1,
"rows": 509, "rows": 509,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 11.69025803, "filtered": 11.69025803,
@ -726,6 +739,7 @@ EXPLAIN
"rows": 139, "rows": 139,
"selectivity_pct": 9.266666667 "selectivity_pct": 9.266666667
}, },
"loops": 59.50341382,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 9.266666412, "filtered": 9.266666412,
@ -786,6 +800,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 509, "rows": 509,
"r_rows": 60, "r_rows": 60,
@ -820,6 +835,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 59.50341382,
"r_loops": 60, "r_loops": 60,
"rows": 1, "rows": 1,
"r_rows": 0.266666667, "r_rows": 0.266666667,
@ -889,6 +905,7 @@ EXPLAIN
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 509, "rows": 509,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 11.69025803, "filtered": 11.69025803,
@ -905,6 +922,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 59.50341382,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 9.266666412, "filtered": 9.266666412,
@ -952,6 +970,7 @@ ANALYZE
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 509, "rows": 509,
"r_rows": 510, "r_rows": 510,
@ -973,6 +992,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 59.50341382,
"r_loops": 60, "r_loops": 60,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -1042,6 +1062,7 @@ EXPLAIN
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 69, "rows": 69,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1070,6 +1091,7 @@ EXPLAIN
"rows": 509, "rows": 509,
"selectivity_pct": 8.476269775 "selectivity_pct": 8.476269775
}, },
"loops": 69,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 8.476269722, "filtered": 8.476269722,
@ -1109,6 +1131,7 @@ ANALYZE
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 69, "rows": 69,
"r_rows": 71, "r_rows": 71,
@ -1147,6 +1170,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 69,
"r_loops": 71, "r_loops": 71,
"rows": 4, "rows": 4,
"r_rows": 0.521126761, "r_rows": 0.521126761,
@ -1228,6 +1252,7 @@ EXPLAIN
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 69, "rows": 69,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1248,6 +1273,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 69,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 8.476269722, "filtered": 8.476269722,
@ -1287,6 +1313,7 @@ ANALYZE
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 69, "rows": 69,
"r_rows": 71, "r_rows": 71,
@ -1312,6 +1339,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 69,
"r_loops": 71, "r_loops": 71,
"rows": 4, "rows": 4,
"r_rows": 6.704225352, "r_rows": 6.704225352,
@ -1410,6 +1438,7 @@ EXPLAIN
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 18, "rows": 18,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 0.566194832, "filtered": 0.566194832,
@ -1426,6 +1455,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 7.466666698, "filtered": 7.466666698,
@ -1475,6 +1505,7 @@ ANALYZE
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 18, "rows": 18,
"r_rows": 18, "r_rows": 18,
@ -1496,6 +1527,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"r_loops": 7, "r_loops": 7,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -1553,6 +1585,7 @@ EXPLAIN
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 18, "rows": 18,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 0.566194832, "filtered": 0.566194832,
@ -1569,6 +1602,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 7.466666698, "filtered": 7.466666698,
@ -1618,6 +1652,7 @@ ANALYZE
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 18, "rows": 18,
"r_rows": 18, "r_rows": 18,
@ -1639,6 +1674,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"r_loops": 7, "r_loops": 7,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -1697,6 +1733,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 39, "rows": 39,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 3.200000048, "filtered": 3.200000048,
@ -1726,6 +1763,7 @@ EXPLAIN
"rows": 183, "rows": 183,
"selectivity_pct": 3.04746045 "selectivity_pct": 3.04746045
}, },
"loops": 1.248,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 3.047460556, "filtered": 3.047460556,
@ -1769,6 +1807,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 39, "rows": 39,
"r_rows": 41, "r_rows": 41,
@ -1808,6 +1847,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 1.248,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -1862,6 +1902,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 39, "rows": 39,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 3.200000048, "filtered": 3.200000048,
@ -1883,6 +1924,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.248,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 3.047460556, "filtered": 3.047460556,
@ -1926,6 +1968,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 39, "rows": 39,
"r_rows": 41, "r_rows": 41,
@ -1952,6 +1995,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.248,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 6, "r_rows": 6,
@ -2014,6 +2058,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 39, "rows": 39,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -2035,6 +2080,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.760448,
"rows": 4, "rows": 4,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -2083,6 +2129,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 39, "rows": 39,
"r_rows": 41, "r_rows": 41,
@ -2109,6 +2156,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.760448,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 6, "r_rows": 6,
@ -2168,6 +2216,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 39, "rows": 39,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -2189,6 +2238,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.760448,
"rows": 4, "rows": 4,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -2237,6 +2287,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 39, "rows": 39,
"r_rows": 41, "r_rows": 41,
@ -2263,6 +2314,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.760448,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 6, "r_rows": 6,

View File

@ -96,6 +96,7 @@ EXPLAIN
"rows": 949, "rows": 949,
"selectivity_pct": 15.80349709 "selectivity_pct": 15.80349709
}, },
"loops": 1,
"rows": 482, "rows": 482,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 15.80349731, "filtered": 15.80349731,
@ -146,6 +147,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 482, "rows": 482,
"r_rows": 60, "r_rows": 60,
@ -247,6 +249,7 @@ EXPLAIN
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 482, "rows": 482,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 15.80349731, "filtered": 15.80349731,
@ -284,6 +287,7 @@ ANALYZE
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 482, "rows": 482,
"r_rows": 510, "r_rows": 510,
@ -393,6 +397,7 @@ EXPLAIN
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 92, "rows": 92,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -416,6 +421,7 @@ EXPLAIN
"rows": 106, "rows": 106,
"selectivity_pct": 7.066666667 "selectivity_pct": 7.066666667
}, },
"loops": 92,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 7.066666603, "filtered": 7.066666603,
@ -460,6 +466,7 @@ ANALYZE
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 92, "rows": 92,
"r_rows": 98, "r_rows": 98,
@ -493,6 +500,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 92,
"r_loops": 98, "r_loops": 98,
"rows": 1, "rows": 1,
"r_rows": 0.112244898, "r_rows": 0.112244898,
@ -553,6 +561,7 @@ EXPLAIN
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 92, "rows": 92,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -568,6 +577,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 92,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 7.066666603, "filtered": 7.066666603,
@ -612,6 +622,7 @@ ANALYZE
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 92, "rows": 92,
"r_rows": 98, "r_rows": 98,
@ -632,6 +643,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 92,
"r_loops": 98, "r_loops": 98,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -703,6 +715,7 @@ EXPLAIN
"rows": 949, "rows": 949,
"selectivity_pct": 15.80349709 "selectivity_pct": 15.80349709
}, },
"loops": 1,
"rows": 482, "rows": 482,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 15.80349731, "filtered": 15.80349731,
@ -727,6 +740,7 @@ EXPLAIN
"rows": 216, "rows": 216,
"selectivity_pct": 14.4 "selectivity_pct": 14.4
}, },
"loops": 76.17285595,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 14.39999962, "filtered": 14.39999962,
@ -787,6 +801,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 482, "rows": 482,
"r_rows": 60, "r_rows": 60,
@ -821,6 +836,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 76.17285595,
"r_loops": 60, "r_loops": 60,
"rows": 1, "rows": 1,
"r_rows": 0.266666667, "r_rows": 0.266666667,
@ -890,6 +906,7 @@ EXPLAIN
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 482, "rows": 482,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 15.80349731, "filtered": 15.80349731,
@ -906,6 +923,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 76.17285595,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 14.39999962, "filtered": 14.39999962,
@ -953,6 +971,7 @@ ANALYZE
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 482, "rows": 482,
"r_rows": 510, "r_rows": 510,
@ -974,6 +993,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 76.17285595,
"r_loops": 60, "r_loops": 60,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -1043,6 +1063,7 @@ EXPLAIN
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 106, "rows": 106,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1071,6 +1092,7 @@ EXPLAIN
"rows": 482, "rows": 482,
"selectivity_pct": 8.026644463 "selectivity_pct": 8.026644463
}, },
"loops": 106,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 8.026644707, "filtered": 8.026644707,
@ -1110,6 +1132,7 @@ ANALYZE
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 106, "rows": 106,
"r_rows": 71, "r_rows": 71,
@ -1148,6 +1171,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 106,
"r_loops": 71, "r_loops": 71,
"rows": 4, "rows": 4,
"r_rows": 0.521126761, "r_rows": 0.521126761,
@ -1229,6 +1253,7 @@ EXPLAIN
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 106, "rows": 106,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1249,6 +1274,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 106,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 8.026644707, "filtered": 8.026644707,
@ -1288,6 +1314,7 @@ ANALYZE
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 106, "rows": 106,
"r_rows": 71, "r_rows": 71,
@ -1313,6 +1340,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 106,
"r_loops": 71, "r_loops": 71,
"rows": 4, "rows": 4,
"r_rows": 6.704225352, "r_rows": 6.704225352,
@ -1411,6 +1439,7 @@ EXPLAIN
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 17, "rows": 17,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 0.532889247, "filtered": 0.532889247,
@ -1427,6 +1456,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.090591174,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 8.466666222, "filtered": 8.466666222,
@ -1476,6 +1506,7 @@ ANALYZE
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 17, "rows": 17,
"r_rows": 18, "r_rows": 18,
@ -1497,6 +1528,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.090591174,
"r_loops": 7, "r_loops": 7,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -1554,6 +1586,7 @@ EXPLAIN
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 17, "rows": 17,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 0.532889247, "filtered": 0.532889247,
@ -1570,6 +1603,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.090591174,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 8.466666222, "filtered": 8.466666222,
@ -1619,6 +1653,7 @@ ANALYZE
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 17, "rows": 17,
"r_rows": 18, "r_rows": 18,
@ -1640,6 +1675,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.090591174,
"r_loops": 7, "r_loops": 7,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -1698,6 +1734,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 61, "rows": 61,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 5, "filtered": 5,
@ -1727,6 +1764,7 @@ EXPLAIN
"rows": 174, "rows": 174,
"selectivity_pct": 2.897585346 "selectivity_pct": 2.897585346
}, },
"loops": 3.05,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 2.897585392, "filtered": 2.897585392,
@ -1770,6 +1808,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 61, "rows": 61,
"r_rows": 41, "r_rows": 41,
@ -1809,6 +1848,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 3.05,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -1863,6 +1903,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 61, "rows": 61,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 5, "filtered": 5,
@ -1884,6 +1925,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 3.05,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 2.897585392, "filtered": 2.897585392,
@ -1927,6 +1969,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 61, "rows": 61,
"r_rows": 41, "r_rows": 41,
@ -1953,6 +1996,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 3.05,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 6, "r_rows": 6,
@ -2015,6 +2059,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 61, "rows": 61,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -2036,6 +2081,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.779166667,
"rows": 4, "rows": 4,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -2084,6 +2130,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 61, "rows": 61,
"r_rows": 41, "r_rows": 41,
@ -2110,6 +2157,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.779166667,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 6, "r_rows": 6,
@ -2169,6 +2217,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 61, "rows": 61,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -2190,6 +2239,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.779166667,
"rows": 4, "rows": 4,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -2238,6 +2288,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 61, "rows": 61,
"r_rows": 41, "r_rows": 41,
@ -2264,6 +2315,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.779166667,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 6, "r_rows": 6,

View File

@ -98,6 +98,7 @@ EXPLAIN
"rows": 605, "rows": 605,
"selectivity_pct": 10.07493755 "selectivity_pct": 10.07493755
}, },
"loops": 1,
"rows": 510, "rows": 510,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 10.07493782, "filtered": 10.07493782,
@ -148,6 +149,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 510, "rows": 510,
"r_rows": 60, "r_rows": 60,
@ -249,6 +251,7 @@ EXPLAIN
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 510, "rows": 510,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 10.07493782, "filtered": 10.07493782,
@ -286,6 +289,7 @@ ANALYZE
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 510, "rows": 510,
"r_rows": 510, "r_rows": 510,
@ -395,6 +399,7 @@ EXPLAIN
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 98, "rows": 98,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -411,6 +416,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 4.733333111, "filtered": 4.733333111,
@ -455,6 +461,7 @@ ANALYZE
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 98, "rows": 98,
"r_rows": 98, "r_rows": 98,
@ -476,6 +483,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"r_loops": 98, "r_loops": 98,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -536,6 +544,7 @@ EXPLAIN
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 98, "rows": 98,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -552,6 +561,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 4.733333111, "filtered": 4.733333111,
@ -596,6 +606,7 @@ ANALYZE
"key": "i_l_shipdate", "key": "i_l_shipdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_shipDATE"], "used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 98, "rows": 98,
"r_rows": 98, "r_rows": 98,
@ -617,6 +628,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"r_loops": 98, "r_loops": 98,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -688,6 +700,7 @@ EXPLAIN
"rows": 605, "rows": 605,
"selectivity_pct": 10.07493755 "selectivity_pct": 10.07493755
}, },
"loops": 1,
"rows": 510, "rows": 510,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 10.07493782, "filtered": 10.07493782,
@ -704,6 +717,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 51.38218152,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 9.600000381, "filtered": 9.600000381,
@ -764,6 +778,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 510, "rows": 510,
"r_rows": 60, "r_rows": 60,
@ -785,6 +800,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 51.38218152,
"r_loops": 60, "r_loops": 60,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -848,6 +864,7 @@ EXPLAIN
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 144, "rows": 144,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -870,6 +887,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 144,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 0.855656624, "filtered": 0.855656624,
@ -911,6 +929,7 @@ ANALYZE
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 144, "rows": 144,
"r_rows": 144, "r_rows": 144,
@ -938,6 +957,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 144,
"r_loops": 144, "r_loops": 144,
"rows": 4, "rows": 4,
"r_rows": 6.625, "r_rows": 6.625,
@ -1007,6 +1027,7 @@ EXPLAIN
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 71, "rows": 71,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1028,6 +1049,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 71,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 8.492922783, "filtered": 8.492922783,
@ -1067,6 +1089,7 @@ ANALYZE
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 71, "rows": 71,
"r_rows": 71, "r_rows": 71,
@ -1093,6 +1116,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 71,
"r_loops": 71, "r_loops": 71,
"rows": 4, "rows": 4,
"r_rows": 6.704225352, "r_rows": 6.704225352,
@ -1174,6 +1198,7 @@ EXPLAIN
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 71, "rows": 71,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1195,6 +1220,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 71,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 8.492922783, "filtered": 8.492922783,
@ -1234,6 +1260,7 @@ ANALYZE
"key": "i_o_totalprice", "key": "i_o_totalprice",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totalprice"], "used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 71, "rows": 71,
"r_rows": 71, "r_rows": 71,
@ -1260,6 +1287,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 71,
"r_loops": 71, "r_loops": 71,
"rows": 4, "rows": 4,
"r_rows": 6.704225352, "r_rows": 6.704225352,
@ -1358,6 +1386,7 @@ EXPLAIN
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 18, "rows": 18,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 0.566194832, "filtered": 0.566194832,
@ -1374,6 +1403,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 5.666666508, "filtered": 5.666666508,
@ -1423,6 +1453,7 @@ ANALYZE
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 18, "rows": 18,
"r_rows": 18, "r_rows": 18,
@ -1444,6 +1475,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"r_loops": 7, "r_loops": 7,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -1501,6 +1533,7 @@ EXPLAIN
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 18, "rows": 18,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 0.566194832, "filtered": 0.566194832,
@ -1517,6 +1550,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 5.666666508, "filtered": 5.666666508,
@ -1566,6 +1600,7 @@ ANALYZE
"key": "i_l_receiptdate", "key": "i_l_receiptdate",
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_receiptDATE"], "used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 18, "rows": 18,
"r_rows": 18, "r_rows": 18,
@ -1587,6 +1622,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["o_orderkey"], "used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"], "ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"r_loops": 7, "r_loops": 7,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -1645,6 +1681,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 41, "rows": 41,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 3.333333254, "filtered": 3.333333254,
@ -1666,6 +1703,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.366666667,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 3.047460556, "filtered": 3.047460556,
@ -1709,6 +1747,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 41, "rows": 41,
"r_rows": 41, "r_rows": 41,
@ -1735,6 +1774,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.366666667,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 6, "r_rows": 6,
@ -1789,6 +1829,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 41, "rows": 41,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 3.333333254, "filtered": 3.333333254,
@ -1810,6 +1851,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.366666667,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 3.047460556, "filtered": 3.047460556,
@ -1853,6 +1895,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 41, "rows": 41,
"r_rows": 41, "r_rows": 41,
@ -1879,6 +1922,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.366666667,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 6, "r_rows": 6,
@ -1941,6 +1985,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 41, "rows": 41,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -1962,6 +2007,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.849155556,
"rows": 4, "rows": 4,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -2010,6 +2056,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 41, "rows": 41,
"r_rows": 41, "r_rows": 41,
@ -2036,6 +2083,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.849155556,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 6, "r_rows": 6,
@ -2095,6 +2143,7 @@ EXPLAIN
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 41, "rows": 41,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -2116,6 +2165,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.849155556,
"rows": 4, "rows": 4,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": "REPLACED", "filtered": "REPLACED",
@ -2164,6 +2214,7 @@ ANALYZE
"key": "i_o_totaldiscount", "key": "i_o_totaldiscount",
"key_length": "9", "key_length": "9",
"used_key_parts": ["o_totaldiscount"], "used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 41, "rows": 41,
"r_rows": 41, "r_rows": 41,
@ -2190,6 +2241,7 @@ ANALYZE
"key_length": "4", "key_length": "4",
"used_key_parts": ["l_orderkey"], "used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"], "ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.849155556,
"r_loops": 1, "r_loops": 1,
"rows": 4, "rows": 4,
"r_rows": 6, "r_rows": 6,
@ -2298,6 +2350,7 @@ EXPLAIN
"rows": 1, "rows": 1,
"selectivity_pct": 1.587301587 "selectivity_pct": 1.587301587
}, },
"loops": 1,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 1.587301612, "filtered": 1.587301612,
@ -2331,6 +2384,7 @@ EXPLAIN
"rows": 1, "rows": 1,
"selectivity_pct": 1.587301587 "selectivity_pct": 1.587301587
}, },
"loops": 1,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 1.587301612, "filtered": 1.587301612,
@ -3313,6 +3367,7 @@ ANALYZE
} }
] ]
}, },
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 3, "r_rows": 3,
@ -3335,6 +3390,7 @@ ANALYZE
"key_length": "8", "key_length": "8",
"used_key_parts": ["aclid"], "used_key_parts": ["aclid"],
"ref": ["test.t.id"], "ref": ["test.t.id"],
"loops": 2,
"r_loops": 1, "r_loops": 1,
"rows": 1, "rows": 1,
"r_rows": 3, "r_rows": 3,
@ -3376,6 +3432,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 3.5384,
"r_loops": 1, "r_loops": 1,
"rows": 24, "rows": 24,
"r_rows": 32, "r_rows": 32,

View File

@ -142,6 +142,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 101, "rows": 101,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -165,6 +166,7 @@ EXPLAIN
"rows": 87, "rows": 87,
"selectivity_pct": 87 "selectivity_pct": 87
}, },
"loops": 101,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 87, "filtered": 87,
@ -186,6 +188,7 @@ EXPLAIN
"key": "PRIMARY", "key": "PRIMARY",
"key_length": "4", "key_length": "4",
"used_key_parts": ["pk2"], "used_key_parts": ["pk2"],
"loops": 1,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -356,6 +359,7 @@ ANALYZE
"key": "idx1", "key": "idx1",
"key_length": "35", "key_length": "35",
"used_key_parts": ["nm"], "used_key_parts": ["nm"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -411,6 +415,7 @@ ANALYZE
"key": "idx1", "key": "idx1",
"key_length": "35", "key_length": "35",
"used_key_parts": ["nm"], "used_key_parts": ["nm"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 1, "rows": 1,
"r_rows": 1, "r_rows": 1,
@ -505,6 +510,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 55, "rows": 55,
"r_rows": 2, "r_rows": 2,
@ -620,6 +626,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 44, "rows": 44,
"r_rows": 0, "r_rows": 0,
@ -688,6 +695,7 @@ ANALYZE
"r_buffer_size": "REPLACED", "r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED" "r_filling_time_ms": "REPLACED"
}, },
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 44, "rows": 44,
"r_rows": 0, "r_rows": 0,

View File

@ -577,6 +577,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100 "filtered": 100
@ -595,6 +596,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100, "filtered": 100,
@ -613,6 +615,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 6, "rows": 6,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100 "filtered": 100
@ -640,6 +643,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived5>", "table_name": "<derived5>",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100, "filtered": 100,
@ -656,6 +660,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100 "filtered": 100
@ -674,6 +679,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100 "filtered": 100
@ -710,6 +716,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100 "filtered": 100
@ -728,6 +735,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 6, "rows": 6,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100 "filtered": 100
@ -746,6 +754,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100 "filtered": 100
@ -764,6 +773,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100 "filtered": 100
@ -774,6 +784,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 5,
"rows": 6, "rows": 6,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100 "filtered": 100
@ -796,6 +807,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100, "filtered": 100,
@ -807,6 +819,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 5,
"rows": 6, "rows": 6,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100 "filtered": 100
@ -829,6 +842,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 5, "rows": 5,
"cost": "REPLACED", "cost": "REPLACED",
"filtered": 100 "filtered": 100

View File

@ -422,6 +422,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 2, "r_rows": 2,

View File

@ -51,6 +51,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 1000, "rows": 1000,
"r_rows": 1000, "r_rows": 1000,
@ -86,6 +87,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 1000, "rows": 1000,
"r_rows": 1000, "r_rows": 1000,
@ -124,6 +126,7 @@ SHOW ANALYZE
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"possible_keys": ["a"], "possible_keys": ["a"],
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 1000, "rows": 1000,
"r_rows": 1000, "r_rows": 1000,
@ -173,6 +176,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -195,6 +199,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 0, "r_loops": 0,
"rows": 10, "rows": 10,
"r_rows": null, "r_rows": null,
@ -246,6 +251,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -269,6 +275,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -321,6 +328,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -345,6 +353,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 0, "r_loops": 0,
"rows": 10, "rows": 10,
"r_rows": null, "r_rows": null,
@ -397,6 +406,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -423,6 +433,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -470,6 +481,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -491,6 +503,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -535,6 +548,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -559,6 +573,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -603,6 +618,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 0, "r_loops": 0,
"rows": 10, "rows": 10,
"r_rows": null, "r_rows": null,
@ -626,6 +642,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 0, "r_loops": 0,
"rows": 10, "rows": 10,
"r_rows": null, "r_rows": null,
@ -670,6 +687,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -694,6 +712,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 2, "r_loops": 2,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -739,6 +758,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -766,6 +786,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 2, "r_loops": 2,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -839,6 +860,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 0, "r_loops": 0,
"rows": 10, "rows": 10,
"r_rows": null, "r_rows": null,
@ -885,6 +907,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -941,6 +964,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 0, "r_loops": 0,
"rows": 10, "rows": 10,
"r_rows": null, "r_rows": null,
@ -987,6 +1011,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -1031,6 +1056,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 1, "r_rows": 1,
@ -1053,6 +1079,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 0, "r_loops": 0,
"rows": 10, "rows": 10,
"r_rows": null, "r_rows": null,
@ -1087,6 +1114,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 2, "r_rows": 2,
@ -1110,6 +1138,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -1144,6 +1173,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,
@ -1167,6 +1197,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 2, "r_loops": 2,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -1224,6 +1255,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -1277,6 +1309,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -1328,6 +1361,7 @@ SHOW ANALYZE
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,

View File

@ -57,6 +57,7 @@ SHOW EXPLAIN
"key": "a", "key": "a",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 999, "rows": 999,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -89,6 +90,7 @@ SHOW EXPLAIN
"key": "a", "key": "a",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -120,6 +122,7 @@ SHOW EXPLAIN
"key": "a", "key": "a",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -154,6 +157,7 @@ SHOW EXPLAIN
"key": "a", "key": "a",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -187,6 +191,7 @@ SHOW EXPLAIN
"key": "a", "key": "a",
"key_length": "5", "key_length": "5",
"used_key_parts": ["a"], "used_key_parts": ["a"],
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -226,6 +231,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "A", "table_name": "A",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -244,6 +250,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "B", "table_name": "B",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -286,6 +293,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "A", "table_name": "A",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -304,6 +312,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "B", "table_name": "B",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -402,6 +411,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -420,6 +430,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -455,6 +466,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -473,6 +485,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -508,6 +521,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "a", "table_name": "a",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -526,6 +540,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "b", "table_name": "b",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -588,6 +603,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -624,6 +640,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -668,6 +685,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -704,6 +722,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -751,6 +770,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -787,6 +807,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -834,6 +855,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -870,6 +892,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -906,6 +929,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -923,6 +947,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -949,6 +974,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -966,6 +992,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -992,6 +1019,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1009,6 +1037,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1050,6 +1079,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1067,6 +1097,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1093,6 +1124,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1110,6 +1142,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1136,6 +1169,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1153,6 +1187,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -1199,6 +1234,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1248,6 +1284,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1296,6 +1333,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1346,6 +1384,7 @@ SHOW EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -8344,6 +8344,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 18, "rows": 18,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 5.555555344, "filtered": 5.555555344,

View File

@ -2937,6 +2937,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 2, "r_rows": 2,
@ -2963,6 +2964,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 2, "r_rows": 2,
@ -2987,6 +2989,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 2, "rows": 2,
"r_rows": 2, "r_rows": 2,

View File

@ -57,6 +57,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -83,6 +84,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 4, "r_loops": 4,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -118,6 +120,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 10, "rows": 10,
"r_rows": 10, "r_rows": 10,
@ -152,6 +155,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 4, "r_loops": 4,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -194,6 +198,7 @@ ANALYZE
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 4, "r_loops": 4,
"rows": 4, "rows": 4,
"r_rows": 4, "r_rows": 4,
@ -224,6 +229,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -242,6 +248,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -267,6 +274,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -291,6 +299,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -325,6 +334,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t2", "table_name": "t2",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 4, "rows": 4,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -7444,6 +7444,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -7475,6 +7476,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -744,6 +744,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -778,6 +779,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -792,6 +794,7 @@ EXPLAIN
"key_length": "8", "key_length": "8",
"used_key_parts": ["b"], "used_key_parts": ["b"],
"ref": ["test.t1.a"], "ref": ["test.t1.a"],
"loops": 10,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -809,6 +812,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t11", "table_name": "t11",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 1000, "rows": 1000,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -845,6 +849,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -873,6 +878,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -887,6 +893,7 @@ EXPLAIN
"key_length": "5", "key_length": "5",
"used_key_parts": ["b"], "used_key_parts": ["b"],
"ref": ["test.t1.a"], "ref": ["test.t1.a"],
"loops": 10,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -904,6 +911,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t11", "table_name": "t11",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 1000, "rows": 1000,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -918,6 +926,7 @@ EXPLAIN
"key_length": "4", "key_length": "4",
"used_key_parts": ["pk"], "used_key_parts": ["pk"],
"ref": ["test.t11.b"], "ref": ["test.t11.b"],
"loops": 1000,
"rows": 1, "rows": 1,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -1417,6 +1417,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1456,6 +1457,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1493,6 +1495,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1535,6 +1538,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1688,6 +1692,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1722,6 +1727,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1756,6 +1762,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1790,6 +1797,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1854,6 +1862,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 6, "rows": 6,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2015,6 +2024,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 9, "rows": 9,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2196,6 +2206,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2265,6 +2276,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 6, "rows": 6,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -3874,6 +3886,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,

View File

@ -54,6 +54,7 @@ EXPLAIN
"key": "PRIMARY", "key": "PRIMARY",
"key_length": "4", "key_length": "4",
"used_key_parts": ["pk"], "used_key_parts": ["pk"],
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -88,6 +89,7 @@ EXPLAIN
"key": "PRIMARY", "key": "PRIMARY",
"key_length": "4", "key_length": "4",
"used_key_parts": ["pk"], "used_key_parts": ["pk"],
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -1423,6 +1423,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t0", "table_name": "t0",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1462,6 +1463,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1499,6 +1501,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1541,6 +1544,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 10, "rows": 10,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1694,6 +1698,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1728,6 +1733,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1762,6 +1768,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1796,6 +1803,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 3, "rows": 3,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -1860,6 +1868,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 6, "rows": 6,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2021,6 +2030,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 9, "rows": 9,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2202,6 +2212,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 11, "rows": 11,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -2271,6 +2282,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 6, "rows": 6,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -3880,6 +3892,7 @@ ANALYZE
"table": { "table": {
"table_name": "t1", "table_name": "t1",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 3, "rows": 3,
"r_rows": 3, "r_rows": 3,

View File

@ -166,6 +166,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 7, "rows": 7,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -180,6 +181,7 @@ EXPLAIN
"key_length": "18", "key_length": "18",
"used_key_parts": ["name"], "used_key_parts": ["name"],
"ref": ["federated.t3.name"], "ref": ["federated.t3.name"],
"loops": 7,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,
@ -242,6 +244,7 @@ ANALYZE
"table": { "table": {
"table_name": "t3", "table_name": "t3",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"r_loops": 1, "r_loops": 1,
"rows": 7, "rows": 7,
"r_rows": 7, "r_rows": 7,
@ -261,6 +264,7 @@ ANALYZE
"key_length": "18", "key_length": "18",
"used_key_parts": ["name"], "used_key_parts": ["name"],
"ref": ["federated.t3.name"], "ref": ["federated.t3.name"],
"loops": 7,
"r_loops": 7, "r_loops": 7,
"rows": 2, "rows": 2,
"r_rows": 0, "r_rows": 0,
@ -376,6 +380,7 @@ EXPLAIN
"table": { "table": {
"table_name": "t5", "table_name": "t5",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 2, "rows": 2,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100
@ -386,6 +391,7 @@ EXPLAIN
"table": { "table": {
"table_name": "<derived2>", "table_name": "<derived2>",
"access_type": "ALL", "access_type": "ALL",
"loops": 2,
"rows": 5, "rows": 5,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100 "filtered": 100

View File

@ -217,6 +217,7 @@ EXPLAIN
"table": { "table": {
"table_name": "tt", "table_name": "tt",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 40, "rows": 40,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -195,6 +195,7 @@ EXPLAIN
"table": { "table": {
"table_name": "tt", "table_name": "tt",
"access_type": "ALL", "access_type": "ALL",
"loops": 1,
"rows": 40, "rows": 40,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -294,11 +294,12 @@ public:
} }
} }
void save_to_position(JOIN_TAB *tab, POSITION *pos) void save_to_position(JOIN_TAB *tab, double record_count, POSITION *pos)
{ {
pos->read_time= best_loose_scan_cost; pos->read_time= best_loose_scan_cost;
if (best_loose_scan_cost != DBL_MAX) if (best_loose_scan_cost != DBL_MAX)
{ {
pos->loops= record_count;
pos->records_read= best_loose_scan_records; pos->records_read= best_loose_scan_records;
pos->records_init= pos->records_out= pos->records_read; pos->records_init= pos->records_out= pos->records_read;
pos->key= best_loose_scan_start_key; pos->key= best_loose_scan_start_key;

View File

@ -1916,6 +1916,9 @@ void Explain_table_access::print_explain_json(Explain_query *query,
rowid_filter->print_explain_json(query, writer, is_analyze); rowid_filter->print_explain_json(query, writer, is_analyze);
} }
if (loops != 0.0)
writer->add_member("loops").add_double(loops);
/* r_loops (not present in tabular output) */ /* r_loops (not present in tabular output) */
if (is_analyze) if (is_analyze)
{ {

View File

@ -758,6 +758,8 @@ public:
Explain_table_access(MEM_ROOT *root, bool timed) : Explain_table_access(MEM_ROOT *root, bool timed) :
derived_select_number(0), derived_select_number(0),
non_merged_sjm_number(0), non_merged_sjm_number(0),
cost(0.0),
loops(0.0),
extra_tags(root), extra_tags(root),
range_checked_fer(NULL), range_checked_fer(NULL),
full_scan_on_null_key(false), full_scan_on_null_key(false),
@ -829,6 +831,7 @@ public:
/* Total cost incurred during one execution of this select */ /* Total cost incurred during one execution of this select */
double cost; double cost;
double loops;
/* /*
Contents of the 'Extra' column. Some are converted into strings, some have Contents of the 'Extra' column. Some are converted into strings, some have
parameters, values for which are stored below. parameters, values for which are stored below.

View File

@ -8116,6 +8116,7 @@ best_access_path(JOIN *join,
best.uses_jbuf= FALSE; best.uses_jbuf= FALSE;
best.spl_plan= 0; best.spl_plan= 0;
pos->loops= record_count;
disable_jbuf= disable_jbuf || idx == join->const_tables; disable_jbuf= disable_jbuf || idx == join->const_tables;
trace_wrapper.add_table_name(s); trace_wrapper.add_table_name(s);
@ -9239,7 +9240,7 @@ best_access_path(JOIN *join,
pos->key_dependent= (best.type == JT_EQ_REF ? (table_map) 0 : pos->key_dependent= (best.type == JT_EQ_REF ? (table_map) 0 :
key_dependent & remaining_tables); key_dependent & remaining_tables);
loose_scan_opt.save_to_position(s, loose_scan_pos); loose_scan_opt.save_to_position(s, record_count, loose_scan_pos);
if (!best.key && if (!best.key &&
idx == join->const_tables && // First table idx == join->const_tables && // First table
@ -12022,6 +12023,7 @@ bool JOIN::get_best_combination()
j->records= (ha_rows) j->records_read; j->records= (ha_rows) j->records_read;
j->cond_selectivity= 1.0; j->cond_selectivity= 1.0;
j->join_read_time= 0.0; /* Not saved currently */ j->join_read_time= 0.0; /* Not saved currently */
j->join_loops= 0.0;
JOIN_TAB *jt; JOIN_TAB *jt;
JOIN_TAB_RANGE *jt_range; JOIN_TAB_RANGE *jt_range;
if (!(jt= (JOIN_TAB*) thd->alloc(sizeof(JOIN_TAB)*sjm->tables)) || if (!(jt= (JOIN_TAB*) thd->alloc(sizeof(JOIN_TAB)*sjm->tables)) ||
@ -12083,6 +12085,7 @@ bool JOIN::get_best_combination()
j->records_read= cur_pos->records_read; j->records_read= cur_pos->records_read;
j->records_out= cur_pos->records_out; j->records_out= cur_pos->records_out;
j->join_read_time= cur_pos->read_time; j->join_read_time= cur_pos->read_time;
j->join_loops= cur_pos->loops;
loop_end: loop_end:
j->cond_selectivity= cur_pos->cond_selectivity; j->cond_selectivity= cur_pos->cond_selectivity;
@ -28588,6 +28591,7 @@ bool JOIN_TAB::save_explain_data(Explain_table_access *eta,
eta->key.clear(); eta->key.clear();
eta->quick_info= NULL; eta->quick_info= NULL;
eta->cost= join_read_time; eta->cost= join_read_time;
eta->loops= join_loops;
SQL_SELECT *tab_select; SQL_SELECT *tab_select;
/* /*

View File

@ -355,6 +355,7 @@ typedef struct st_join_table {
accessing the table in course of the join execution. accessing the table in course of the join execution.
*/ */
double join_read_time; double join_read_time;
double join_loops;
/* The selectivity of the conditions that can be pushed to the table */ /* The selectivity of the conditions that can be pushed to the table */
double cond_selectivity; double cond_selectivity;
@ -1018,6 +1019,8 @@ public:
*/ */
double read_time; double read_time;
double loops;
double prefix_record_count; double prefix_record_count;
/* Cost for the join prefix */ /* Cost for the join prefix */

View File

@ -57,6 +57,7 @@ EXPLAIN
"key": "kp1", "key": "kp1",
"key_length": "5", "key_length": "5",
"used_key_parts": ["kp1"], "used_key_parts": ["kp1"],
"loops": 1,
"rows": 1000, "rows": 1000,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,

View File

@ -57,6 +57,7 @@ EXPLAIN
"key": "kp1", "key": "kp1",
"key_length": "5", "key_length": "5",
"used_key_parts": ["kp1"], "used_key_parts": ["kp1"],
"loops": 1,
"rows": 1000, "rows": 1000,
"cost": "COST_REPLACED", "cost": "COST_REPLACED",
"filtered": 100, "filtered": 100,