Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
6c4076fa
Commit
6c4076fa
authored
Nov 21, 2022
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-30032: EXPLAIN FORMAT=JSON output: part #2: print 'loops'.
parent
ffe0beca
Changes
51
Show whitespace changes
Inline
Side-by-side
Showing
51 changed files
with
1641 additions
and
4 deletions
+1641
-4
mysql-test/main/analyze_format_json.result
mysql-test/main/analyze_format_json.result
+29
-0
mysql-test/main/analyze_stmt_orderby.result
mysql-test/main/analyze_stmt_orderby.result
+16
-0
mysql-test/main/brackets.result
mysql-test/main/brackets.result
+8
-0
mysql-test/main/cte_recursive.result
mysql-test/main/cte_recursive.result
+28
-0
mysql-test/main/derived_cond_pushdown.result
mysql-test/main/derived_cond_pushdown.result
+687
-0
mysql-test/main/derived_view.result
mysql-test/main/derived_view.result
+21
-0
mysql-test/main/except.result
mysql-test/main/except.result
+20
-0
mysql-test/main/except_all.result
mysql-test/main/except_all.result
+22
-0
mysql-test/main/explain_json.result
mysql-test/main/explain_json.result
+79
-0
mysql-test/main/explain_json_format_partitions.result
mysql-test/main/explain_json_format_partitions.result
+2
-0
mysql-test/main/explain_json_innodb.result
mysql-test/main/explain_json_innodb.result
+3
-0
mysql-test/main/fetch_first.result
mysql-test/main/fetch_first.result
+1
-0
mysql-test/main/having_cond_pushdown.result
mysql-test/main/having_cond_pushdown.result
+154
-0
mysql-test/main/in_subq_cond_pushdown.result
mysql-test/main/in_subq_cond_pushdown.result
+126
-0
mysql-test/main/innodb_ext_key,off.rdiff
mysql-test/main/innodb_ext_key,off.rdiff
+4
-2
mysql-test/main/innodb_ext_key.result
mysql-test/main/innodb_ext_key.result
+2
-0
mysql-test/main/intersect.result
mysql-test/main/intersect.result
+20
-0
mysql-test/main/intersect_all.result
mysql-test/main/intersect_all.result
+20
-0
mysql-test/main/join_cache.result
mysql-test/main/join_cache.result
+2
-0
mysql-test/main/opt_trace.result
mysql-test/main/opt_trace.result
+5
-0
mysql-test/main/opt_trace_ucs2.result
mysql-test/main/opt_trace_ucs2.result
+1
-0
mysql-test/main/order_by.result
mysql-test/main/order_by.result
+13
-0
mysql-test/main/order_by_pack_big.result
mysql-test/main/order_by_pack_big.result
+4
-0
mysql-test/main/range.result
mysql-test/main/range.result
+19
-0
mysql-test/main/range_mrr_icp.result
mysql-test/main/range_mrr_icp.result
+19
-0
mysql-test/main/rowid_filter.result
mysql-test/main/rowid_filter.result
+52
-0
mysql-test/main/rowid_filter_aria.result
mysql-test/main/rowid_filter_aria.result
+52
-0
mysql-test/main/rowid_filter_innodb.result
mysql-test/main/rowid_filter_innodb.result
+57
-0
mysql-test/main/rowid_filter_myisam.result
mysql-test/main/rowid_filter_myisam.result
+8
-0
mysql-test/main/set_operation.result
mysql-test/main/set_operation.result
+14
-0
mysql-test/main/show_analyze.result
mysql-test/main/show_analyze.result
+1
-0
mysql-test/main/show_analyze_json.result
mysql-test/main/show_analyze_json.result
+34
-0
mysql-test/main/show_explain_json.result
mysql-test/main/show_explain_json.result
+39
-0
mysql-test/main/statistics_json.result
mysql-test/main/statistics_json.result
+1
-0
mysql-test/main/subselect4.result
mysql-test/main/subselect4.result
+3
-0
mysql-test/main/subselect_cache.result
mysql-test/main/subselect_cache.result
+10
-0
mysql-test/main/subselect_no_semijoin.result
mysql-test/main/subselect_no_semijoin.result
+2
-0
mysql-test/main/table_elim.result
mysql-test/main/table_elim.result
+9
-0
mysql-test/main/win.result
mysql-test/main/win.result
+13
-0
mysql-test/main/win_empty_over.result
mysql-test/main/win_empty_over.result
+2
-0
mysql-test/suite/encryption/r/tempfiles_encrypted.result
mysql-test/suite/encryption/r/tempfiles_encrypted.result
+13
-0
mysql-test/suite/federated/federatedx_create_handlers.result
mysql-test/suite/federated/federatedx_create_handlers.result
+6
-0
mysql-test/suite/json/r/json_table.result
mysql-test/suite/json/r/json_table.result
+1
-0
mysql-test/suite/json/r/json_table_mysql.result
mysql-test/suite/json/r/json_table_mysql.result
+1
-0
sql/opt_subselect.h
sql/opt_subselect.h
+2
-1
sql/sql_explain.cc
sql/sql_explain.cc
+3
-0
sql/sql_explain.h
sql/sql_explain.h
+3
-0
sql/sql_select.cc
sql/sql_select.cc
+5
-1
sql/sql_select.h
sql/sql_select.h
+3
-0
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_icp.result
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_icp.result
+1
-0
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_icp_rev.result
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_icp_rev.result
+1
-0
No files found.
mysql-test/main/analyze_format_json.result
View file @
6c4076fa
...
...
@@ -18,6 +18,7 @@ ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -56,6 +57,7 @@ ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -76,6 +78,7 @@ ANALYZE
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t0.a"],
"loops": 10,
"r_loops": 0,
"rows": 1,
"r_rows": null,
...
...
@@ -109,6 +112,7 @@ ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -129,6 +133,7 @@ ANALYZE
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t0.a"],
"loops": 10,
"r_loops": 10,
"rows": 1,
"r_rows": 1,
...
...
@@ -165,6 +170,7 @@ ANALYZE
"table": {
"table_name": "tbl1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 100,
"r_rows": 100,
...
...
@@ -181,6 +187,7 @@ ANALYZE
"table": {
"table_name": "tbl2",
"access_type": "ALL",
"loops": 100,
"r_loops": 1,
"rows": 100,
"r_rows": 100,
...
...
@@ -218,6 +225,7 @@ ANALYZE
"table": {
"table_name": "tbl1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 100,
"r_rows": 100,
...
...
@@ -234,6 +242,7 @@ ANALYZE
"table": {
"table_name": "tbl2",
"access_type": "ALL",
"loops": 100,
"r_loops": 1,
"rows": 100,
"r_rows": 100,
...
...
@@ -280,6 +289,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -300,6 +310,7 @@ ANALYZE
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t1.a"],
"loops": 10,
"r_loops": 10,
"rows": 2,
"r_rows": 0.2,
...
...
@@ -344,6 +355,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -414,6 +426,7 @@ ANALYZE
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["pk"],
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -492,6 +505,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 5,
"r_rows": 5,
...
...
@@ -519,6 +533,7 @@ ANALYZE
"table_name": "t2",
"access_type": "ALL",
"possible_keys": ["key1", "key2", "key3", "key4"],
"loops": 5,
"r_loops": 5,
"rows": 1010,
"r_rows": 203.8,
...
...
@@ -565,6 +580,7 @@ ANALYZE
"table": {
"table_name": "tbl1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -591,6 +607,7 @@ ANALYZE
"table": {
"table_name": "tbl2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -650,6 +667,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 256,
"r_rows": 256,
...
...
@@ -691,6 +709,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 256,
"r_rows": 256,
...
...
@@ -746,6 +765,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 256,
"r_rows": 256,
...
...
@@ -785,6 +805,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -800,6 +821,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -831,6 +853,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -897,6 +920,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -912,6 +936,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -943,6 +968,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 0,
"rows": 2,
"r_rows": null,
...
...
@@ -956,6 +982,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 2,
"r_loops": 0,
"rows": 2,
"r_rows": null,
...
...
@@ -1007,6 +1034,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -1041,6 +1069,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 0,
"rows": 10,
"r_rows": null,
...
...
mysql-test/main/analyze_stmt_orderby.result
View file @
6c4076fa
...
...
@@ -191,6 +191,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -206,6 +207,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t0.a"],
"loops": 10,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -242,6 +244,7 @@ ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -262,6 +265,7 @@ ANALYZE
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t0.a"],
"loops": 10,
"r_loops": 10,
"rows": 1,
"r_rows": 0.4,
...
...
@@ -300,6 +304,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -317,6 +322,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t0.a"],
"loops": 10,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -352,6 +358,7 @@ ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -374,6 +381,7 @@ ANALYZE
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t0.a"],
"loops": 10,
"r_loops": 10,
"rows": 1,
"r_rows": 0.4,
...
...
@@ -425,6 +433,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 1000,
"r_rows": 1000,
...
...
@@ -483,6 +492,7 @@ ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -498,6 +508,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 10,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -570,6 +581,7 @@ ANALYZE
"table": {
"table_name": "t6",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 5,
"r_rows": 5,
...
...
@@ -586,6 +598,7 @@ ANALYZE
"table": {
"table_name": "t5",
"access_type": "ALL",
"loops": 5,
"r_loops": 1,
"rows": 7,
"r_rows": 7,
...
...
@@ -630,6 +643,7 @@ EXPLAIN
"table": {
"table_name": "t6",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -641,6 +655,7 @@ EXPLAIN
"table": {
"table_name": "t5",
"access_type": "ALL",
"loops": 5,
"rows": 7,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -700,6 +715,7 @@ ANALYZE
"key": "idx",
"key_length": "5",
"used_key_parts": ["col1"],
"loops": 1,
"r_loops": 1,
"rows": 7,
"r_rows": 20,
...
...
mysql-test/main/brackets.result
View file @
6c4076fa
...
...
@@ -270,6 +270,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -302,6 +303,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -339,6 +341,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -358,6 +361,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -397,6 +401,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -416,6 +421,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -466,6 +472,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -486,6 +493,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/cte_recursive.result
View file @
6c4076fa
...
...
@@ -1345,6 +1345,7 @@ EXPLAIN
"table": {
"table_name": "<derived4>",
"access_type": "ALL",
"loops": 1,
"rows": 24,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1363,6 +1364,7 @@ EXPLAIN
"table": {
"table_name": "folks",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1382,6 +1384,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1401,6 +1404,7 @@ EXPLAIN
"table": {
"table_name": "folks",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1421,6 +1425,7 @@ EXPLAIN
"table_name": "folks",
"access_type": "ALL",
"possible_keys": ["PRIMARY"],
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1431,6 +1436,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 12,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1463,6 +1469,7 @@ EXPLAIN
"table": {
"table_name": "<derived4>",
"access_type": "ALL",
"loops": 1,
"rows": 24,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1518,6 +1525,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1536,6 +1544,7 @@ EXPLAIN
"table": {
"table_name": "v",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1551,6 +1560,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["id"],
"ref": ["test.v.father"],
"loops": 12,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1565,6 +1575,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["id"],
"ref": ["test.v.mother"],
"loops": 12,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1583,6 +1594,7 @@ EXPLAIN
"table": {
"table_name": "<derived4>",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1598,6 +1610,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["id"],
"ref": ["a.father"],
"loops": 2,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1612,6 +1625,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["id"],
"ref": ["a.mother"],
"loops": 2,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1853,6 +1867,7 @@ EXPLAIN
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1871,6 +1886,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1889,6 +1905,7 @@ EXPLAIN
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2497,6 +2514,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 10,
...
...
@@ -2533,6 +2551,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 10,
"rows": 2,
"r_rows": 1,
...
...
@@ -3910,6 +3929,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -3930,6 +3950,7 @@ ANALYZE
"key_length": "23",
"used_key_parts": ["a2"],
"ref": ["test.t1.a1"],
"loops": 3,
"r_loops": 3,
"rows": 1,
"r_rows": 0.333333333,
...
...
@@ -3986,6 +4007,7 @@ ANALYZE
"table_name": "tt2",
"access_type": "ALL",
"possible_keys": ["b1"],
"loops": 1,
"r_loops": 1,
"rows": 14,
"r_rows": 14,
...
...
@@ -4006,6 +4028,7 @@ ANALYZE
"key_length": "23",
"used_key_parts": ["a2"],
"ref": ["test.tt2.b1"],
"loops": 14,
"r_loops": 14,
"rows": 1,
"r_rows": 0.071428571,
...
...
@@ -4192,6 +4215,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
@@ -4219,6 +4243,7 @@ ANALYZE
"table": {
"table_name": "s",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
@@ -4244,6 +4269,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
@@ -4264,6 +4290,7 @@ ANALYZE
"key_length": "9",
"used_key_parts": ["a"],
"ref": ["test.t1.c"],
"loops": 4,
"r_loops": 4,
"rows": 2,
"r_rows": 0.5,
...
...
@@ -4354,6 +4381,7 @@ ANALYZE
"table": {
"table_name": "tt",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
mysql-test/main/derived_cond_pushdown.result
View file @
6c4076fa
This source diff could not be displayed because it is too large. You can
view the blob
instead.
mysql-test/main/derived_view.result
View file @
6c4076fa
...
...
@@ -387,6 +387,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -402,6 +403,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["f1"],
"ref": ["test.t2.f2"],
"loops": 11,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -417,6 +419,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -496,6 +499,7 @@ EXPLAIN
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -511,6 +515,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -527,6 +532,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -583,6 +589,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -599,6 +606,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -621,6 +629,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["f1"],
"ref": ["tt.f1"],
"loops": 11,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -636,6 +645,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -731,6 +741,7 @@ EXPLAIN
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -747,6 +758,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -763,6 +775,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -792,6 +805,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["f1"],
"ref": ["x.f1"],
"loops": 11,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -807,6 +821,7 @@ EXPLAIN
"table": {
"table_name": "<derived5>",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -823,6 +838,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -888,6 +904,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -904,6 +921,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -978,6 +996,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -993,6 +1012,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["f1"],
"ref": ["test.t2.f2"],
"loops": 11,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1008,6 +1028,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/except.result
View file @
6c4076fa
...
...
@@ -43,6 +43,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -61,6 +62,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -97,6 +99,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -122,6 +125,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -155,6 +159,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 1,
...
...
@@ -182,6 +187,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -207,6 +213,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -301,6 +308,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -311,6 +319,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 2,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -333,6 +342,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -343,6 +353,7 @@ EXPLAIN
"table": {
"table_name": "t4",
"access_type": "ALL",
"loops": 2,
"rows": 2,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -383,6 +394,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -398,6 +410,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -429,6 +442,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -444,6 +458,7 @@ ANALYZE
"table": {
"table_name": "t4",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -484,6 +499,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 3,
...
...
@@ -511,6 +527,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -526,6 +543,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -557,6 +575,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -572,6 +591,7 @@ ANALYZE
"table": {
"table_name": "t4",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
mysql-test/main/except_all.result
View file @
6c4076fa
...
...
@@ -71,6 +71,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 7,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -89,6 +90,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 7,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -132,6 +134,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 7,
"r_rows": 4,
...
...
@@ -159,6 +162,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 7,
"r_rows": 7,
...
...
@@ -184,6 +188,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 7,
"r_rows": 7,
...
...
@@ -222,6 +227,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 7,
"r_rows": 4,
...
...
@@ -249,6 +255,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 7,
"r_rows": 7,
...
...
@@ -274,6 +281,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 7,
"r_rows": 7,
...
...
@@ -409,6 +417,7 @@ EXPLAIN
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"rows": 9,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -427,6 +436,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -437,6 +447,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 3,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -459,6 +470,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -469,6 +481,7 @@ EXPLAIN
"table": {
"table_name": "t4",
"access_type": "ALL",
"loops": 2,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -514,6 +527,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -529,6 +543,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 3,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -560,6 +575,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -575,6 +591,7 @@ ANALYZE
"table": {
"table_name": "t4",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -614,6 +631,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 9,
"r_rows": 7,
...
...
@@ -641,6 +659,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -656,6 +675,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 3,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -687,6 +707,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -702,6 +723,7 @@ ANALYZE
"table": {
"table_name": "t4",
"access_type": "ALL",
"loops": 2,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
mysql-test/main/explain_json.result
View file @
6c4076fa
...
...
@@ -12,6 +12,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -41,6 +42,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -69,6 +71,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -84,6 +87,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t0.a"],
"loops": 10,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -110,6 +114,7 @@ EXPLAIN
"key": "a1",
"key_length": "5",
"used_key_parts": ["a1"],
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -148,6 +153,7 @@ EXPLAIN
}
]
},
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -186,6 +192,7 @@ EXPLAIN
}
]
},
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -225,6 +232,7 @@ EXPLAIN
}
]
},
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -246,6 +254,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -261,6 +270,7 @@ EXPLAIN
"key_length": "10",
"used_key_parts": ["b1", "b2"],
"ref": ["test.t0.a", "const"],
"loops": 10,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -290,6 +300,7 @@ EXPLAIN
"table": {
"table_name": "A",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -308,6 +319,7 @@ EXPLAIN
"table": {
"table_name": "B",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -335,6 +347,7 @@ EXPLAIN
"table": {
"table_name": "A",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -353,6 +366,7 @@ EXPLAIN
"table": {
"table_name": "B",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -381,6 +395,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -399,6 +414,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -425,6 +441,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -444,6 +461,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -475,6 +493,7 @@ EXPLAIN
"table": {
"table_name": "tbl1",
"access_type": "ALL",
"loops": 1,
"rows": 100,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -486,6 +505,7 @@ EXPLAIN
"table": {
"table_name": "tbl2",
"access_type": "ALL",
"loops": 100,
"rows": 100,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -581,6 +601,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -611,6 +632,7 @@ EXPLAIN
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -628,6 +650,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -656,6 +679,7 @@ EXPLAIN
"table": {
"table_name": "tbl2",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -671,6 +695,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["cnt"],
"ref": ["test.tbl2.a"],
"loops": 10,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -687,6 +712,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -717,6 +743,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -732,6 +759,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["max(a)"],
"ref": ["test.t1.a"],
"loops": 10,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -746,6 +774,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -777,6 +806,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -806,6 +836,7 @@ EXPLAIN
"key": "PRIMARY",
"key_length": "8",
"used_key_parts": ["seq"],
"loops": 1,
"rows": 100,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -822,6 +853,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 10,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -854,6 +886,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -864,6 +897,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 10,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -900,6 +934,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -912,6 +947,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 10,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 10
...
...
@@ -951,6 +987,7 @@ EXPLAIN
"key": "a",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -975,6 +1012,7 @@ EXPLAIN
"table": {
"table_name": "tbl1",
"access_type": "ALL",
"loops": 1,
"rows": 100,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -987,6 +1025,7 @@ EXPLAIN
"table_name": "tbl2",
"access_type": "ALL",
"possible_keys": ["a"],
"loops": 100,
"rows": 100,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1019,6 +1058,7 @@ EXPLAIN
"key": "a",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1044,6 +1084,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["func"],
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1057,6 +1098,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 3,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1097,6 +1139,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1113,6 +1156,7 @@ EXPLAIN
"table": {
"table_name": "tbl1",
"access_type": "ALL",
"loops": 1,
"rows": 100,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1123,6 +1167,7 @@ EXPLAIN
"table": {
"table_name": "tbl2",
"access_type": "ALL",
"loops": 100,
"rows": 100,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1159,6 +1204,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1177,6 +1223,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1226,6 +1273,7 @@ EXPLAIN
"key": "a",
"key_length": "10",
"used_key_parts": ["a", "b"],
"loops": 1,
"rows": 101,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1254,6 +1302,7 @@ ANALYZE
"key": "a",
"key_length": "10",
"used_key_parts": ["a", "b"],
"loops": 1,
"r_loops": 1,
"rows": 101,
"r_rows": 100,
...
...
@@ -1341,6 +1390,7 @@ EXPLAIN
"key": "idx_t1_2",
"key_length": "147",
"used_key_parts": ["a1", "a2", "b"],
"loops": 1,
"rows": 17,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1365,6 +1415,7 @@ EXPLAIN
"key": "idx_t1_1",
"key_length": "163",
"used_key_parts": ["a1", "a2", "b", "c"],
"loops": 1,
"rows": 128,
"cost": "COST_REPLACED",
"filtered": 0.198364258,
...
...
@@ -1390,6 +1441,7 @@ EXPLAIN
"key": "idx_t1_1",
"key_length": "147",
"used_key_parts": ["a1", "a2", "b"],
"loops": 1,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1417,6 +1469,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1443,6 +1496,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1482,6 +1536,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 256,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1507,6 +1562,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 256,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1543,6 +1599,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 256,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1630,6 +1687,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1669,6 +1727,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -1700,6 +1759,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1714,6 +1774,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["pk"],
"ref": ["test.t1.a"],
"loops": 2,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1742,6 +1803,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -1761,6 +1823,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["pk"],
"ref": ["test.t1.a"],
"loops": 2,
"r_loops": 2,
"rows": 1,
"r_rows": 1,
...
...
@@ -1796,6 +1859,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1811,6 +1875,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["pk"],
"ref": ["test.t1.a"],
"loops": 2,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1840,6 +1905,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -1860,6 +1926,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["pk"],
"ref": ["test.t1.a"],
"loops": 2,
"r_loops": 2,
"rows": 1,
"r_rows": 1,
...
...
@@ -1907,6 +1974,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1923,6 +1991,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t3.a"],
"loops": 10,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1954,6 +2023,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -1975,6 +2045,7 @@ ANALYZE
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t3.a"],
"loops": 10,
"r_loops": 1,
"rows": 1,
"r_rows": 10,
...
...
@@ -2018,6 +2089,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2037,6 +2109,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2070,6 +2143,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2094,6 +2168,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2118,6 +2193,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2147,6 +2223,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2159,6 +2236,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 2,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2174,6 +2252,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 4,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 25
...
...
mysql-test/main/explain_json_format_partitions.result
View file @
6c4076fa
...
...
@@ -19,6 +19,7 @@ EXPLAIN
"table_name": "t1",
"partitions": ["p0"],
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -45,6 +46,7 @@ ANALYZE
"table_name": "t1",
"partitions": ["p0"],
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
mysql-test/main/explain_json_innodb.result
View file @
6c4076fa
...
...
@@ -22,6 +22,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -38,6 +39,7 @@ EXPLAIN
"table": {
"table_name": "tbl_alias1",
"access_type": "ALL",
"loops": 1,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -56,6 +58,7 @@ EXPLAIN
"test.tbl_alias1.column_name_2",
"test.tbl_alias1.column_name_1"
],
"loops": 1,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/fetch_first.result
View file @
6c4076fa
...
...
@@ -465,6 +465,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 8,
"r_rows": 8,
...
...
mysql-test/main/having_cond_pushdown.result
View file @
6c4076fa
...
...
@@ -43,6 +43,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -71,6 +72,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -115,6 +117,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -138,6 +141,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -185,6 +189,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -213,6 +218,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -264,6 +270,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -294,6 +301,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -345,6 +353,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -375,6 +384,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -423,6 +433,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -453,6 +464,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -500,6 +512,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -530,6 +543,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -574,6 +588,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -599,6 +614,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -641,6 +657,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -666,6 +683,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -711,6 +729,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -741,6 +760,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -790,6 +810,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -820,6 +841,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -864,6 +886,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -889,6 +912,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -935,6 +959,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -965,6 +990,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1020,6 +1046,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1035,6 +1062,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.x"],
"loops": 4,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1050,6 +1078,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1085,6 +1114,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1100,6 +1130,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.x"],
"loops": 4,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1115,6 +1146,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1177,6 +1209,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1192,6 +1225,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.x"],
"loops": 4,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1209,6 +1243,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1243,6 +1278,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1258,6 +1294,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.x"],
"loops": 4,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1275,6 +1312,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1337,6 +1375,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1352,6 +1391,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["x", "MAX(t2.y)"],
"ref": ["test.t1.a", "test.t1.b"],
"loops": 5,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1366,6 +1406,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1401,6 +1442,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1416,6 +1458,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["x", "MAX(t2.y)"],
"ref": ["test.t1.a", "test.t1.b"],
"loops": 5,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1430,6 +1473,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1490,6 +1534,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1505,6 +1550,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["x", "MAX(t2.y)"],
"ref": ["test.t1.a", "test.t1.b"],
"loops": 5,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1520,6 +1566,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1555,6 +1602,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1570,6 +1618,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["x", "MAX(t2.y)"],
"ref": ["test.t1.a", "test.t1.b"],
"loops": 5,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1585,6 +1634,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1640,6 +1690,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1669,6 +1720,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1713,6 +1765,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1738,6 +1791,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1783,6 +1837,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1810,6 +1865,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1853,6 +1909,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1876,6 +1933,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1921,6 +1979,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1951,6 +2010,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2004,6 +2064,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2032,6 +2093,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2083,6 +2145,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2111,6 +2174,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2162,6 +2226,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2192,6 +2257,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2246,6 +2312,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2276,6 +2343,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2346,6 +2414,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2374,6 +2443,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2422,6 +2492,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2450,6 +2521,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2500,6 +2572,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2528,6 +2601,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2577,6 +2651,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2605,6 +2680,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2656,6 +2732,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2684,6 +2761,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2732,6 +2810,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2760,6 +2839,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2810,6 +2890,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2838,6 +2919,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2885,6 +2967,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2915,6 +2998,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2964,6 +3048,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2994,6 +3079,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3039,6 +3125,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3064,6 +3151,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3107,6 +3195,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3132,6 +3221,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3174,6 +3264,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3199,6 +3290,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3253,6 +3345,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3281,6 +3374,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3329,6 +3423,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3352,6 +3447,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3401,6 +3497,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3429,6 +3526,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3477,6 +3575,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3500,6 +3599,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3593,6 +3693,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3616,6 +3717,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3667,6 +3769,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3695,6 +3798,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3743,6 +3847,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3766,6 +3871,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3813,6 +3919,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3836,6 +3943,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3927,6 +4035,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3950,6 +4059,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3999,6 +4109,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4027,6 +4138,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4126,6 +4238,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4154,6 +4267,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4203,6 +4317,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4226,6 +4341,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4277,6 +4393,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4305,6 +4422,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4354,6 +4472,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4377,6 +4496,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4429,6 +4549,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4460,6 +4581,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4509,6 +4631,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4538,6 +4661,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4586,6 +4710,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4610,6 +4735,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4656,6 +4782,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4682,6 +4809,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4728,6 +4856,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4752,6 +4881,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4804,6 +4934,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4835,6 +4966,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4889,6 +5021,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4918,6 +5051,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4972,6 +5106,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5001,6 +5136,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5049,6 +5185,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5072,6 +5209,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5118,6 +5256,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5142,6 +5281,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5332,6 +5472,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5361,6 +5502,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5410,6 +5552,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5439,6 +5582,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5529,6 +5673,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5573,6 +5718,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5650,6 +5796,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 7,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5667,6 +5814,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -5698,6 +5846,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 7,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5715,6 +5864,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -5747,6 +5897,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 7,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5764,6 +5915,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -5792,6 +5944,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 7,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -5809,6 +5962,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
mysql-test/main/in_subq_cond_pushdown.result
View file @
6c4076fa
...
...
@@ -57,6 +57,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -72,6 +73,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -87,6 +89,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -161,6 +164,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -176,6 +180,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -191,6 +196,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -267,6 +273,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -282,6 +289,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -297,6 +305,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -371,6 +380,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -386,6 +396,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -401,6 +412,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -477,6 +489,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -492,6 +505,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -507,6 +521,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -581,6 +596,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -596,6 +612,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["v1_x", "MAX(v1_y)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -611,6 +628,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -686,6 +704,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -697,6 +716,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 8,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -716,6 +736,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t3.y"],
"loops": 128,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -731,6 +752,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -807,6 +829,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -822,6 +845,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -836,6 +860,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -912,6 +937,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -927,6 +953,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -941,6 +968,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1019,6 +1047,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1034,6 +1063,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1048,6 +1078,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1122,6 +1153,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1137,6 +1169,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1151,6 +1184,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1225,6 +1259,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1240,6 +1275,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1254,6 +1290,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1328,6 +1365,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1343,6 +1381,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1357,6 +1396,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1431,6 +1471,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1446,6 +1487,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["const", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1459,6 +1501,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1532,6 +1575,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1547,6 +1591,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1561,6 +1606,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1633,6 +1679,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1648,6 +1695,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["v1_x", "MAX(v1_y)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1662,6 +1710,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1739,6 +1788,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1750,6 +1800,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 8,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1769,6 +1820,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t3.x", "test.t1.c"],
"loops": 128,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1783,6 +1835,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1858,6 +1911,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1873,6 +1927,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1888,6 +1943,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1962,6 +2018,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1977,6 +2034,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1992,6 +2050,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2068,6 +2127,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2083,6 +2143,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2098,6 +2159,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2172,6 +2234,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2187,6 +2250,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2202,6 +2266,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2280,6 +2345,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2295,6 +2361,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2310,6 +2377,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2384,6 +2452,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2399,6 +2468,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2414,6 +2484,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2488,6 +2559,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2503,6 +2575,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2517,6 +2590,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2591,6 +2665,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2606,6 +2681,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2620,6 +2696,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2694,6 +2771,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2709,6 +2787,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2723,6 +2802,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2799,6 +2879,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2814,6 +2895,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2828,6 +2910,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2908,6 +2991,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2923,6 +3007,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["e", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2937,6 +3022,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3015,6 +3101,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3030,6 +3117,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "MAX(v2.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3045,6 +3133,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3062,6 +3151,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3146,6 +3236,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3161,6 +3252,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "MAX(v2.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3175,6 +3267,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3192,6 +3285,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3277,6 +3371,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3292,6 +3387,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "MAX(v2.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3307,6 +3403,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3324,6 +3421,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3432,6 +3530,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3447,6 +3546,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "MAX(d_tab.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3461,6 +3561,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3478,6 +3579,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -3604,6 +3706,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3619,6 +3722,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "MAX(d_tab.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3633,6 +3737,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3650,6 +3755,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -3777,6 +3883,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3792,6 +3899,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "MAX(d_tab.f)", "max_g"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3806,6 +3914,7 @@ EXPLAIN
"table": {
"table_name": "<derived3>",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3823,6 +3932,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -3932,6 +4042,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3947,6 +4058,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t3.x"],
"loops": 8,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3964,6 +4076,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3979,6 +4092,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3994,6 +4108,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4125,6 +4240,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4140,6 +4256,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t3.x"],
"loops": 8,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4157,6 +4274,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4172,6 +4290,7 @@ EXPLAIN
"key_length": "12",
"used_key_parts": ["e", "f", "MAX(t2.g)"],
"ref": ["test.t1.a", "test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4187,6 +4306,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4271,6 +4391,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4286,6 +4407,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["f", "MAX(t2.g) OVER (PARTITION BY t2.f)"],
"ref": ["test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4308,6 +4430,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4380,6 +4503,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 16,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4398,6 +4522,7 @@ EXPLAIN
"CAST(SUM(t2.g) OVER (PARTITION BY t2.f) AS INT)"
],
"ref": ["test.t1.b", "test.t1.c"],
"loops": 16,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4421,6 +4546,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/innodb_ext_key,off.rdiff
View file @
6c4076fa
...
...
@@ -265,7 +265,7 @@
drop table t0,t1,t2;
#
# MDEV-11196: Error:Run-Time Check Failure #2 - Stack around the variable 'key_buff'
@@ -770,1
1 +770,12
@@
@@ -770,1
2 +770,13
@@
{
"table": {
"table_name": "t1",
...
...
@@ -278,10 +278,11 @@
+ "key_length": "3066",
+ "used_key_parts": ["f2"],
+ "ref": ["const"],
"loops": 1,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
@@ -809,
8 +810,8
@@
@@ -809,
9 +810,9
@@
"access_type": "range",
"possible_keys": ["k1"],
"key": "k1",
...
...
@@ -289,6 +290,7 @@
- "used_key_parts": ["pk1", "f2", "pk2"],
+ "key_length": "3007",
+ "used_key_parts": ["pk1", "f2"],
"loops": 1,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
mysql-test/main/innodb_ext_key.result
View file @
6c4076fa
...
...
@@ -775,6 +775,7 @@ EXPLAIN
"key": "f2",
"key_length": "3070",
"used_key_parts": ["f2", "pk1"],
"loops": 1,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -811,6 +812,7 @@ EXPLAIN
"key": "k1",
"key_length": "3011",
"used_key_parts": ["pk1", "f2", "pk2"],
"loops": 1,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/intersect.result
View file @
6c4076fa
...
...
@@ -57,6 +57,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -75,6 +76,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -93,6 +95,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -129,6 +132,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -154,6 +158,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -179,6 +184,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -212,6 +218,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 1,
...
...
@@ -239,6 +246,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -264,6 +272,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -289,6 +298,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -372,6 +382,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -390,6 +401,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -400,6 +412,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 3,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -440,6 +453,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -465,6 +479,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -480,6 +495,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 3,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -519,6 +535,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 1,
...
...
@@ -546,6 +563,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -571,6 +589,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -586,6 +605,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 3,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
mysql-test/main/intersect_all.result
View file @
6c4076fa
...
...
@@ -69,6 +69,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -87,6 +88,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -105,6 +107,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -141,6 +144,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
@@ -166,6 +170,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
@@ -191,6 +196,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
@@ -224,6 +230,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 2,
...
...
@@ -251,6 +258,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
@@ -276,6 +284,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
@@ -301,6 +310,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
@@ -403,6 +413,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 6,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -421,6 +432,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -431,6 +443,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 5,
"rows": 7,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -471,6 +484,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 6,
"r_rows": 6,
...
...
@@ -496,6 +510,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 5,
"r_rows": 5,
...
...
@@ -511,6 +526,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 5,
"r_loops": 1,
"rows": 7,
"r_rows": 7,
...
...
@@ -550,6 +566,7 @@ ANALYZE
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 6,
"r_rows": 3,
...
...
@@ -577,6 +594,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 6,
"r_rows": 6,
...
...
@@ -602,6 +620,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 5,
"r_rows": 5,
...
...
@@ -617,6 +636,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 5,
"r_loops": 1,
"rows": 7,
"r_rows": 7,
...
...
mysql-test/main/join_cache.result
View file @
6c4076fa
...
...
@@ -6264,6 +6264,7 @@ EXPLAIN
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["a"],
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -6280,6 +6281,7 @@ EXPLAIN
"key": "kp1",
"key_length": "10",
"used_key_parts": ["kp1", "kp2"],
"loops": 10,
"rows": 836,
"cost": "COST_REPLACED",
"filtered": 9.090909004,
...
...
mysql-test/main/opt_trace.result
View file @
6c4076fa
...
...
@@ -10703,6 +10703,7 @@ EXPLAIN
"key": "start_date",
"key_length": "8",
"used_key_parts": ["start_date", "end_date"],
"loops": 1,
"rows": 1000,
"cost": 1.235599899,
"filtered": 100,
...
...
@@ -12382,6 +12383,7 @@ EXPLAIN
"table": {
"table_name": "three",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": 0.010504815,
"filtered": 100,
...
...
@@ -12405,6 +12407,7 @@ EXPLAIN
"rows": 4312,
"selectivity_pct": 43.12
},
"loops": 3,
"rows": 1000,
"cost": 2.292585745,
"filtered": 43.11999893,
...
...
@@ -12426,6 +12429,7 @@ EXPLAIN
"table": {
"table_name": "three",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": 0.010504815,
"filtered": 100
...
...
@@ -12437,6 +12441,7 @@ EXPLAIN
"table_name": "t1",
"access_type": "ALL",
"possible_keys": ["a", "b"],
"loops": 3,
"rows": 10000,
"cost": 1.701731924,
"filtered": 4.307688236,
...
...
mysql-test/main/opt_trace_ucs2.result
View file @
6c4076fa
...
...
@@ -17,6 +17,7 @@ EXPLAIN
"key": "col1",
"key_length": "21",
"used_key_parts": ["col1"],
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/order_by.result
View file @
6c4076fa
...
...
@@ -1587,6 +1587,7 @@ ANALYZE
"key_length": "10",
"used_key_parts": ["a", "c"],
"ref": ["const", "const"],
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 1,
...
...
@@ -3475,6 +3476,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 100,
"r_rows": 100,
...
...
@@ -3826,6 +3828,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 100,
"r_rows": 100,
...
...
@@ -3994,6 +3997,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 5,
"r_rows": 5,
...
...
@@ -4045,6 +4049,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 6,
"r_rows": 6,
...
...
@@ -4102,6 +4107,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 6,
"r_rows": 6,
...
...
@@ -4173,6 +4179,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -4347,6 +4354,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 50,
"r_rows": 50,
...
...
@@ -4382,6 +4390,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 50,
"rows": 50,
"r_rows": 50,
...
...
@@ -4494,6 +4503,7 @@ EXPLAIN
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["a"],
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4520,6 +4530,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 97,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -4568,6 +4579,7 @@ EXPLAIN
"table_name": "t1",
"access_type": "ALL",
"possible_keys": ["PRIMARY"],
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -4595,6 +4607,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 97,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/order_by_pack_big.result
View file @
6c4076fa
...
...
@@ -112,6 +112,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10000,
"r_rows": 10000,
...
...
@@ -279,6 +280,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10000,
"r_rows": 10000,
...
...
@@ -442,6 +444,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10000,
"r_rows": 10000,
...
...
@@ -500,6 +503,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10000,
"r_rows": 10000,
...
...
mysql-test/main/range.result
View file @
6c4076fa
...
...
@@ -2434,6 +2434,7 @@ EXPLAIN
"key": "idx",
"key_length": "10",
"used_key_parts": ["a", "b"],
"loops": 1,
"rows": 6,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2500,6 +2501,7 @@ EXPLAIN
"key": "idx",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2532,6 +2534,7 @@ EXPLAIN
"key": "idx",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2586,6 +2589,7 @@ EXPLAIN
"rows": 12,
"selectivity_pct": 60
},
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 60,
...
...
@@ -2602,6 +2606,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.d"],
"loops": 1.8,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2675,6 +2680,7 @@ EXPLAIN
"rows": 15,
"selectivity_pct": 14.42307692
},
"loops": 1,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 14.42307663,
...
...
@@ -2691,6 +2697,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.d"],
"loops": 1.153846154,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 73.17073059
...
...
@@ -2789,6 +2796,7 @@ EXPLAIN
"rows": 7,
"selectivity_pct": 6.730769231
},
"loops": 1,
"rows": 7,
"cost": "COST_REPLACED",
"filtered": 6.730769157,
...
...
@@ -2805,6 +2813,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.d"],
"loops": 0.471153846,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2848,6 +2857,7 @@ EXPLAIN
"key": "idx3",
"key_length": "10",
"used_key_parts": ["d", "e"],
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2864,6 +2874,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.d"],
"loops": 5,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2906,6 +2917,7 @@ EXPLAIN
"key": "idx",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 15,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2921,6 +2933,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["d"],
"ref": ["test.t1.a"],
"loops": 15,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2969,6 +2982,7 @@ EXPLAIN
"table_name": "t1",
"access_type": "ALL",
"possible_keys": ["idx"],
"loops": 1,
"rows": 144,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2984,6 +2998,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["d"],
"ref": ["test.t1.a"],
"loops": 144,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3029,6 +3044,7 @@ EXPLAIN
"key": "idx",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3045,6 +3061,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["d"],
"ref": ["test.t1.a"],
"loops": 12,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3128,6 +3145,7 @@ EXPLAIN
"key": "idx",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3144,6 +3162,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["d"],
"ref": ["test.t1.a"],
"loops": 12,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/range_mrr_icp.result
View file @
6c4076fa
...
...
@@ -2437,6 +2437,7 @@ EXPLAIN
"key": "idx",
"key_length": "10",
"used_key_parts": ["a", "b"],
"loops": 1,
"rows": 6,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2504,6 +2505,7 @@ EXPLAIN
"key": "idx",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2537,6 +2539,7 @@ EXPLAIN
"key": "idx",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2584,6 +2587,7 @@ EXPLAIN
"key": "idx1",
"key_length": "5",
"used_key_parts": ["d"],
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 60,
...
...
@@ -2601,6 +2605,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.d"],
"loops": 1.8,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2666,6 +2671,7 @@ EXPLAIN
"key": "idx1",
"key_length": "5",
"used_key_parts": ["d"],
"loops": 1,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 14.42307663,
...
...
@@ -2683,6 +2689,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.d"],
"loops": 1.153846154,
"rows": 8,
"cost": "COST_REPLACED",
"filtered": 73.17073059
...
...
@@ -2773,6 +2780,7 @@ EXPLAIN
"key": "idx1",
"key_length": "5",
"used_key_parts": ["d"],
"loops": 1,
"rows": 7,
"cost": "COST_REPLACED",
"filtered": 6.730769157,
...
...
@@ -2790,6 +2798,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.d"],
"loops": 0.471153846,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2833,6 +2842,7 @@ EXPLAIN
"key": "idx3",
"key_length": "10",
"used_key_parts": ["d", "e"],
"loops": 1,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2850,6 +2860,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["a"],
"ref": ["test.t2.d"],
"loops": 5,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2892,6 +2903,7 @@ EXPLAIN
"key": "idx",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 15,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2908,6 +2920,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["d"],
"ref": ["test.t1.a"],
"loops": 15,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2956,6 +2969,7 @@ EXPLAIN
"table_name": "t1",
"access_type": "ALL",
"possible_keys": ["idx"],
"loops": 1,
"rows": 144,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -2971,6 +2985,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["d"],
"ref": ["test.t1.a"],
"loops": 144,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3016,6 +3031,7 @@ EXPLAIN
"key": "idx",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3033,6 +3049,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["d"],
"ref": ["test.t1.a"],
"loops": 12,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3116,6 +3133,7 @@ EXPLAIN
"key": "idx",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 12,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -3133,6 +3151,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["d"],
"ref": ["test.t1.a"],
"loops": 12,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/rowid_filter.result
View file @
6c4076fa
...
...
@@ -95,6 +95,7 @@ EXPLAIN
"rows": 702,
"selectivity_pct": 11.69025812
},
"loops": 1,
"rows": 509,
"cost": "COST_REPLACED",
"filtered": 11.69025803,
...
...
@@ -145,6 +146,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 1,
"r_loops": 1,
"rows": 509,
"r_rows": 60,
...
...
@@ -246,6 +248,7 @@ EXPLAIN
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 509,
"cost": "COST_REPLACED",
"filtered": 11.69025803,
...
...
@@ -283,6 +286,7 @@ ANALYZE
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1,
"rows": 509,
"r_rows": 510,
...
...
@@ -387,6 +391,7 @@ EXPLAIN
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 69,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -415,6 +420,7 @@ EXPLAIN
"rows": 98,
"selectivity_pct": 1.631973356
},
"loops": 69,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 1.631973386,
...
...
@@ -454,6 +460,7 @@ ANALYZE
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1,
"rows": 69,
"r_rows": 71,
...
...
@@ -492,6 +499,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 69,
"r_loops": 71,
"rows": 4,
"r_rows": 0.154929577,
...
...
@@ -552,6 +560,7 @@ EXPLAIN
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 98,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -567,6 +576,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 4.599999905,
...
...
@@ -611,6 +621,7 @@ ANALYZE
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1,
"rows": 98,
"r_rows": 98,
...
...
@@ -631,6 +642,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"r_loops": 98,
"rows": 1,
"r_rows": 1,
...
...
@@ -702,6 +714,7 @@ EXPLAIN
"rows": 702,
"selectivity_pct": 11.69025812
},
"loops": 1,
"rows": 509,
"cost": "COST_REPLACED",
"filtered": 11.69025803,
...
...
@@ -726,6 +739,7 @@ EXPLAIN
"rows": 139,
"selectivity_pct": 9.266666667
},
"loops": 59.50341382,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 9.266666412,
...
...
@@ -786,6 +800,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 1,
"r_loops": 1,
"rows": 509,
"r_rows": 60,
...
...
@@ -820,6 +835,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 59.50341382,
"r_loops": 60,
"rows": 1,
"r_rows": 0.266666667,
...
...
@@ -889,6 +905,7 @@ EXPLAIN
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 509,
"cost": "COST_REPLACED",
"filtered": 11.69025803,
...
...
@@ -905,6 +922,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 59.50341382,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 9.266666412,
...
...
@@ -952,6 +970,7 @@ ANALYZE
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1,
"rows": 509,
"r_rows": 510,
...
...
@@ -973,6 +992,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 59.50341382,
"r_loops": 60,
"rows": 1,
"r_rows": 1,
...
...
@@ -1042,6 +1062,7 @@ EXPLAIN
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 69,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1070,6 +1091,7 @@ EXPLAIN
"rows": 509,
"selectivity_pct": 8.476269775
},
"loops": 69,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 8.476269722,
...
...
@@ -1109,6 +1131,7 @@ ANALYZE
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1,
"rows": 69,
"r_rows": 71,
...
...
@@ -1147,6 +1170,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 69,
"r_loops": 71,
"rows": 4,
"r_rows": 0.521126761,
...
...
@@ -1228,6 +1252,7 @@ EXPLAIN
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 69,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1248,6 +1273,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 69,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 8.476269722,
...
...
@@ -1287,6 +1313,7 @@ ANALYZE
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1,
"rows": 69,
"r_rows": 71,
...
...
@@ -1312,6 +1339,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 69,
"r_loops": 71,
"rows": 4,
"r_rows": 6.704225352,
...
...
@@ -1410,6 +1438,7 @@ EXPLAIN
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 18,
"cost": "COST_REPLACED",
"filtered": 0.566194832,
...
...
@@ -1426,6 +1455,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 7.466666698,
...
...
@@ -1475,6 +1505,7 @@ ANALYZE
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1,
"rows": 18,
"r_rows": 18,
...
...
@@ -1496,6 +1527,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"r_loops": 7,
"rows": 1,
"r_rows": 1,
...
...
@@ -1553,6 +1585,7 @@ EXPLAIN
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 18,
"cost": "COST_REPLACED",
"filtered": 0.566194832,
...
...
@@ -1569,6 +1602,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 7.466666698,
...
...
@@ -1618,6 +1652,7 @@ ANALYZE
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1,
"rows": 18,
"r_rows": 18,
...
...
@@ -1639,6 +1674,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"r_loops": 7,
"rows": 1,
"r_rows": 1,
...
...
@@ -1697,6 +1733,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 39,
"cost": "COST_REPLACED",
"filtered": 3.200000048,
...
...
@@ -1726,6 +1763,7 @@ EXPLAIN
"rows": 183,
"selectivity_pct": 3.04746045
},
"loops": 1.248,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 3.047460556,
...
...
@@ -1769,6 +1807,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 39,
"r_rows": 41,
...
...
@@ -1808,6 +1847,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 1.248,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
@@ -1862,6 +1902,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 39,
"cost": "COST_REPLACED",
"filtered": 3.200000048,
...
...
@@ -1883,6 +1924,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.248,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 3.047460556,
...
...
@@ -1926,6 +1968,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 39,
"r_rows": 41,
...
...
@@ -1952,6 +1995,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.248,
"r_loops": 1,
"rows": 4,
"r_rows": 6,
...
...
@@ -2014,6 +2058,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 39,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -2035,6 +2080,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.760448,
"rows": 4,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -2083,6 +2129,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 39,
"r_rows": 41,
...
...
@@ -2109,6 +2156,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.760448,
"r_loops": 1,
"rows": 4,
"r_rows": 6,
...
...
@@ -2168,6 +2216,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 39,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -2189,6 +2238,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.760448,
"rows": 4,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -2237,6 +2287,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 39,
"r_rows": 41,
...
...
@@ -2263,6 +2314,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.760448,
"r_loops": 1,
"rows": 4,
"r_rows": 6,
...
...
mysql-test/main/rowid_filter_aria.result
View file @
6c4076fa
...
...
@@ -96,6 +96,7 @@ EXPLAIN
"rows": 949,
"selectivity_pct": 15.80349709
},
"loops": 1,
"rows": 482,
"cost": "COST_REPLACED",
"filtered": 15.80349731,
...
...
@@ -146,6 +147,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 1,
"r_loops": 1,
"rows": 482,
"r_rows": 60,
...
...
@@ -247,6 +249,7 @@ EXPLAIN
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 482,
"cost": "COST_REPLACED",
"filtered": 15.80349731,
...
...
@@ -284,6 +287,7 @@ ANALYZE
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1,
"rows": 482,
"r_rows": 510,
...
...
@@ -393,6 +397,7 @@ EXPLAIN
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 92,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -416,6 +421,7 @@ EXPLAIN
"rows": 106,
"selectivity_pct": 7.066666667
},
"loops": 92,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 7.066666603,
...
...
@@ -460,6 +466,7 @@ ANALYZE
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1,
"rows": 92,
"r_rows": 98,
...
...
@@ -493,6 +500,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 92,
"r_loops": 98,
"rows": 1,
"r_rows": 0.112244898,
...
...
@@ -553,6 +561,7 @@ EXPLAIN
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 92,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -568,6 +577,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 92,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 7.066666603,
...
...
@@ -612,6 +622,7 @@ ANALYZE
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1,
"rows": 92,
"r_rows": 98,
...
...
@@ -632,6 +643,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 92,
"r_loops": 98,
"rows": 1,
"r_rows": 1,
...
...
@@ -703,6 +715,7 @@ EXPLAIN
"rows": 949,
"selectivity_pct": 15.80349709
},
"loops": 1,
"rows": 482,
"cost": "COST_REPLACED",
"filtered": 15.80349731,
...
...
@@ -727,6 +740,7 @@ EXPLAIN
"rows": 216,
"selectivity_pct": 14.4
},
"loops": 76.17285595,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 14.39999962,
...
...
@@ -787,6 +801,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 1,
"r_loops": 1,
"rows": 482,
"r_rows": 60,
...
...
@@ -821,6 +836,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 76.17285595,
"r_loops": 60,
"rows": 1,
"r_rows": 0.266666667,
...
...
@@ -890,6 +906,7 @@ EXPLAIN
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 482,
"cost": "COST_REPLACED",
"filtered": 15.80349731,
...
...
@@ -906,6 +923,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 76.17285595,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 14.39999962,
...
...
@@ -953,6 +971,7 @@ ANALYZE
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1,
"rows": 482,
"r_rows": 510,
...
...
@@ -974,6 +993,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 76.17285595,
"r_loops": 60,
"rows": 1,
"r_rows": 1,
...
...
@@ -1043,6 +1063,7 @@ EXPLAIN
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 106,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1071,6 +1092,7 @@ EXPLAIN
"rows": 482,
"selectivity_pct": 8.026644463
},
"loops": 106,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 8.026644707,
...
...
@@ -1110,6 +1132,7 @@ ANALYZE
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1,
"rows": 106,
"r_rows": 71,
...
...
@@ -1148,6 +1171,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 106,
"r_loops": 71,
"rows": 4,
"r_rows": 0.521126761,
...
...
@@ -1229,6 +1253,7 @@ EXPLAIN
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 106,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1249,6 +1274,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 106,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 8.026644707,
...
...
@@ -1288,6 +1314,7 @@ ANALYZE
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1,
"rows": 106,
"r_rows": 71,
...
...
@@ -1313,6 +1340,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 106,
"r_loops": 71,
"rows": 4,
"r_rows": 6.704225352,
...
...
@@ -1411,6 +1439,7 @@ EXPLAIN
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 17,
"cost": "COST_REPLACED",
"filtered": 0.532889247,
...
...
@@ -1427,6 +1456,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.090591174,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 8.466666222,
...
...
@@ -1476,6 +1506,7 @@ ANALYZE
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1,
"rows": 17,
"r_rows": 18,
...
...
@@ -1497,6 +1528,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.090591174,
"r_loops": 7,
"rows": 1,
"r_rows": 1,
...
...
@@ -1554,6 +1586,7 @@ EXPLAIN
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 17,
"cost": "COST_REPLACED",
"filtered": 0.532889247,
...
...
@@ -1570,6 +1603,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.090591174,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 8.466666222,
...
...
@@ -1619,6 +1653,7 @@ ANALYZE
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1,
"rows": 17,
"r_rows": 18,
...
...
@@ -1640,6 +1675,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.090591174,
"r_loops": 7,
"rows": 1,
"r_rows": 1,
...
...
@@ -1698,6 +1734,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 61,
"cost": "COST_REPLACED",
"filtered": 5,
...
...
@@ -1727,6 +1764,7 @@ EXPLAIN
"rows": 174,
"selectivity_pct": 2.897585346
},
"loops": 3.05,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 2.897585392,
...
...
@@ -1770,6 +1808,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 61,
"r_rows": 41,
...
...
@@ -1809,6 +1848,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 3.05,
"r_loops": 1,
"rows": 4,
"r_rows": 4,
...
...
@@ -1863,6 +1903,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 61,
"cost": "COST_REPLACED",
"filtered": 5,
...
...
@@ -1884,6 +1925,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 3.05,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 2.897585392,
...
...
@@ -1927,6 +1969,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 61,
"r_rows": 41,
...
...
@@ -1953,6 +1996,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 3.05,
"r_loops": 1,
"rows": 4,
"r_rows": 6,
...
...
@@ -2015,6 +2059,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 61,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -2036,6 +2081,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.779166667,
"rows": 4,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -2084,6 +2130,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 61,
"r_rows": 41,
...
...
@@ -2110,6 +2157,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.779166667,
"r_loops": 1,
"rows": 4,
"r_rows": 6,
...
...
@@ -2169,6 +2217,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 61,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -2190,6 +2239,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.779166667,
"rows": 4,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -2238,6 +2288,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 61,
"r_rows": 41,
...
...
@@ -2264,6 +2315,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.779166667,
"r_loops": 1,
"rows": 4,
"r_rows": 6,
...
...
mysql-test/main/rowid_filter_innodb.result
View file @
6c4076fa
...
...
@@ -98,6 +98,7 @@ EXPLAIN
"rows": 605,
"selectivity_pct": 10.07493755
},
"loops": 1,
"rows": 510,
"cost": "COST_REPLACED",
"filtered": 10.07493782,
...
...
@@ -148,6 +149,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 1,
"r_loops": 1,
"rows": 510,
"r_rows": 60,
...
...
@@ -249,6 +251,7 @@ EXPLAIN
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 510,
"cost": "COST_REPLACED",
"filtered": 10.07493782,
...
...
@@ -286,6 +289,7 @@ ANALYZE
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1,
"rows": 510,
"r_rows": 510,
...
...
@@ -395,6 +399,7 @@ EXPLAIN
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 98,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -411,6 +416,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 4.733333111,
...
...
@@ -455,6 +461,7 @@ ANALYZE
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1,
"rows": 98,
"r_rows": 98,
...
...
@@ -476,6 +483,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"r_loops": 98,
"rows": 1,
"r_rows": 1,
...
...
@@ -536,6 +544,7 @@ EXPLAIN
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"rows": 98,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -552,6 +561,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 4.733333111,
...
...
@@ -596,6 +606,7 @@ ANALYZE
"key": "i_l_shipdate",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"loops": 1,
"r_loops": 1,
"rows": 98,
"r_rows": 98,
...
...
@@ -617,6 +628,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 98,
"r_loops": 98,
"rows": 1,
"r_rows": 1,
...
...
@@ -688,6 +700,7 @@ EXPLAIN
"rows": 605,
"selectivity_pct": 10.07493755
},
"loops": 1,
"rows": 510,
"cost": "COST_REPLACED",
"filtered": 10.07493782,
...
...
@@ -704,6 +717,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 51.38218152,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 9.600000381,
...
...
@@ -764,6 +778,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 1,
"r_loops": 1,
"rows": 510,
"r_rows": 60,
...
...
@@ -785,6 +800,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 51.38218152,
"r_loops": 60,
"rows": 1,
"r_rows": 1,
...
...
@@ -848,6 +864,7 @@ EXPLAIN
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 144,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -870,6 +887,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 144,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 0.855656624,
...
...
@@ -911,6 +929,7 @@ ANALYZE
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1,
"rows": 144,
"r_rows": 144,
...
...
@@ -938,6 +957,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 144,
"r_loops": 144,
"rows": 4,
"r_rows": 6.625,
...
...
@@ -1007,6 +1027,7 @@ EXPLAIN
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 71,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1028,6 +1049,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 71,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 8.492922783,
...
...
@@ -1067,6 +1089,7 @@ ANALYZE
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1,
"rows": 71,
"r_rows": 71,
...
...
@@ -1093,6 +1116,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 71,
"r_loops": 71,
"rows": 4,
"r_rows": 6.704225352,
...
...
@@ -1174,6 +1198,7 @@ EXPLAIN
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"rows": 71,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1195,6 +1220,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 71,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 8.492922783,
...
...
@@ -1234,6 +1260,7 @@ ANALYZE
"key": "i_o_totalprice",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"loops": 1,
"r_loops": 1,
"rows": 71,
"r_rows": 71,
...
...
@@ -1260,6 +1287,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 71,
"r_loops": 71,
"rows": 4,
"r_rows": 6.704225352,
...
...
@@ -1358,6 +1386,7 @@ EXPLAIN
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 18,
"cost": "COST_REPLACED",
"filtered": 0.566194832,
...
...
@@ -1374,6 +1403,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 5.666666508,
...
...
@@ -1423,6 +1453,7 @@ ANALYZE
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1,
"rows": 18,
"r_rows": 18,
...
...
@@ -1444,6 +1475,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"r_loops": 7,
"rows": 1,
"r_rows": 1,
...
...
@@ -1501,6 +1533,7 @@ EXPLAIN
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"rows": 18,
"cost": "COST_REPLACED",
"filtered": 0.566194832,
...
...
@@ -1517,6 +1550,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 5.666666508,
...
...
@@ -1566,6 +1600,7 @@ ANALYZE
"key": "i_l_receiptdate",
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"loops": 1,
"r_loops": 1,
"rows": 18,
"r_rows": 18,
...
...
@@ -1587,6 +1622,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"loops": 0.101915071,
"r_loops": 7,
"rows": 1,
"r_rows": 1,
...
...
@@ -1645,6 +1681,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 41,
"cost": "COST_REPLACED",
"filtered": 3.333333254,
...
...
@@ -1666,6 +1703,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.366666667,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 3.047460556,
...
...
@@ -1709,6 +1747,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 41,
"r_rows": 41,
...
...
@@ -1735,6 +1774,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.366666667,
"r_loops": 1,
"rows": 4,
"r_rows": 6,
...
...
@@ -1789,6 +1829,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 41,
"cost": "COST_REPLACED",
"filtered": 3.333333254,
...
...
@@ -1810,6 +1851,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.366666667,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 3.047460556,
...
...
@@ -1853,6 +1895,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 41,
"r_rows": 41,
...
...
@@ -1879,6 +1922,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 1.366666667,
"r_loops": 1,
"rows": 4,
"r_rows": 6,
...
...
@@ -1941,6 +1985,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 41,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -1962,6 +2007,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.849155556,
"rows": 4,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -2010,6 +2056,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 41,
"r_rows": 41,
...
...
@@ -2036,6 +2083,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.849155556,
"r_loops": 1,
"rows": 4,
"r_rows": 6,
...
...
@@ -2095,6 +2143,7 @@ EXPLAIN
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"rows": 41,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -2116,6 +2165,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.849155556,
"rows": 4,
"cost": "REPLACED",
"filtered": "REPLACED",
...
...
@@ -2164,6 +2214,7 @@ ANALYZE
"key": "i_o_totaldiscount",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"loops": 1,
"r_loops": 1,
"rows": 41,
"r_rows": 41,
...
...
@@ -2190,6 +2241,7 @@ ANALYZE
"key_length": "4",
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"loops": 0.849155556,
"r_loops": 1,
"rows": 4,
"r_rows": 6,
...
...
@@ -2298,6 +2350,7 @@ EXPLAIN
"rows": 1,
"selectivity_pct": 1.587301587
},
"loops": 1,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 1.587301612,
...
...
@@ -2331,6 +2384,7 @@ EXPLAIN
"rows": 1,
"selectivity_pct": 1.587301587
},
"loops": 1,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 1.587301612,
...
...
@@ -3313,6 +3367,7 @@ ANALYZE
}
]
},
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 3,
...
...
@@ -3335,6 +3390,7 @@ ANALYZE
"key_length": "8",
"used_key_parts": ["aclid"],
"ref": ["test.t.id"],
"loops": 2,
"r_loops": 1,
"rows": 1,
"r_rows": 3,
...
...
@@ -3376,6 +3432,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 3.5384,
"r_loops": 1,
"rows": 24,
"r_rows": 32,
...
...
mysql-test/main/rowid_filter_myisam.result
View file @
6c4076fa
...
...
@@ -142,6 +142,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 101,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -165,6 +166,7 @@ EXPLAIN
"rows": 87,
"selectivity_pct": 87
},
"loops": 101,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 87,
...
...
@@ -186,6 +188,7 @@ EXPLAIN
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["pk2"],
"loops": 1,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -356,6 +359,7 @@ ANALYZE
"key": "idx1",
"key_length": "35",
"used_key_parts": ["nm"],
"loops": 1,
"r_loops": 1,
"rows": 1,
"r_rows": 1,
...
...
@@ -411,6 +415,7 @@ ANALYZE
"key": "idx1",
"key_length": "35",
"used_key_parts": ["nm"],
"loops": 1,
"r_loops": 1,
"rows": 1,
"r_rows": 1,
...
...
@@ -505,6 +510,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 1,
"r_loops": 1,
"rows": 55,
"r_rows": 2,
...
...
@@ -620,6 +626,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 1,
"r_loops": 1,
"rows": 44,
"r_rows": 0,
...
...
@@ -688,6 +695,7 @@ ANALYZE
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"loops": 1,
"r_loops": 1,
"rows": 44,
"r_rows": 0,
...
...
mysql-test/main/set_operation.result
View file @
6c4076fa
...
...
@@ -577,6 +577,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -595,6 +596,7 @@ EXPLAIN
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "REPLACED",
"filtered": 100,
...
...
@@ -613,6 +615,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 6,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -640,6 +643,7 @@ EXPLAIN
"table": {
"table_name": "<derived5>",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "REPLACED",
"filtered": 100,
...
...
@@ -656,6 +660,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -674,6 +679,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -710,6 +716,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -728,6 +735,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 6,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -746,6 +754,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -764,6 +773,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -774,6 +784,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 5,
"rows": 6,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -796,6 +807,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "REPLACED",
"filtered": 100,
...
...
@@ -807,6 +819,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 5,
"rows": 6,
"cost": "REPLACED",
"filtered": 100
...
...
@@ -829,6 +842,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 5,
"cost": "REPLACED",
"filtered": 100
...
...
mysql-test/main/show_analyze.result
View file @
6c4076fa
...
...
@@ -422,6 +422,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
mysql-test/main/show_analyze_json.result
View file @
6c4076fa
...
...
@@ -51,6 +51,7 @@ SHOW ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 1000,
"r_rows": 1000,
...
...
@@ -86,6 +87,7 @@ SHOW ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 1000,
"r_rows": 1000,
...
...
@@ -124,6 +126,7 @@ SHOW ANALYZE
"table_name": "t1",
"access_type": "ALL",
"possible_keys": ["a"],
"loops": 1,
"r_loops": 1,
"rows": 1000,
"r_rows": 1000,
...
...
@@ -173,6 +176,7 @@ SHOW ANALYZE
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -195,6 +199,7 @@ SHOW ANALYZE
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"r_loops": 0,
"rows": 10,
"r_rows": null,
...
...
@@ -246,6 +251,7 @@ SHOW ANALYZE
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -269,6 +275,7 @@ SHOW ANALYZE
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -321,6 +328,7 @@ SHOW ANALYZE
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -345,6 +353,7 @@ SHOW ANALYZE
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"r_loops": 0,
"rows": 10,
"r_rows": null,
...
...
@@ -397,6 +406,7 @@ SHOW ANALYZE
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -423,6 +433,7 @@ SHOW ANALYZE
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -470,6 +481,7 @@ SHOW ANALYZE
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -491,6 +503,7 @@ SHOW ANALYZE
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -535,6 +548,7 @@ SHOW ANALYZE
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -559,6 +573,7 @@ SHOW ANALYZE
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -603,6 +618,7 @@ SHOW ANALYZE
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"r_loops": 0,
"rows": 10,
"r_rows": null,
...
...
@@ -626,6 +642,7 @@ SHOW ANALYZE
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"r_loops": 0,
"rows": 10,
"r_rows": null,
...
...
@@ -670,6 +687,7 @@ SHOW ANALYZE
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -694,6 +712,7 @@ SHOW ANALYZE
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"r_loops": 2,
"rows": 10,
"r_rows": 10,
...
...
@@ -739,6 +758,7 @@ SHOW ANALYZE
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -766,6 +786,7 @@ SHOW ANALYZE
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"r_loops": 2,
"rows": 10,
"r_rows": 10,
...
...
@@ -839,6 +860,7 @@ SHOW ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 0,
"rows": 10,
"r_rows": null,
...
...
@@ -885,6 +907,7 @@ SHOW ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -941,6 +964,7 @@ SHOW ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 0,
"rows": 10,
"r_rows": null,
...
...
@@ -987,6 +1011,7 @@ SHOW ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -1031,6 +1056,7 @@ SHOW ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 1,
...
...
@@ -1053,6 +1079,7 @@ SHOW ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 0,
"rows": 10,
"r_rows": null,
...
...
@@ -1087,6 +1114,7 @@ SHOW ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 2,
...
...
@@ -1110,6 +1138,7 @@ SHOW ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -1144,6 +1173,7 @@ SHOW ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
@@ -1167,6 +1197,7 @@ SHOW ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 2,
"rows": 10,
"r_rows": 10,
...
...
@@ -1224,6 +1255,7 @@ SHOW ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -1277,6 +1309,7 @@ SHOW ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -1328,6 +1361,7 @@ SHOW ANALYZE
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
mysql-test/main/show_explain_json.result
View file @
6c4076fa
...
...
@@ -57,6 +57,7 @@ SHOW EXPLAIN
"key": "a",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 999,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -89,6 +90,7 @@ SHOW EXPLAIN
"key": "a",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -120,6 +122,7 @@ SHOW EXPLAIN
"key": "a",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -154,6 +157,7 @@ SHOW EXPLAIN
"key": "a",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -187,6 +191,7 @@ SHOW EXPLAIN
"key": "a",
"key_length": "5",
"used_key_parts": ["a"],
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -226,6 +231,7 @@ SHOW EXPLAIN
"table": {
"table_name": "A",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -244,6 +250,7 @@ SHOW EXPLAIN
"table": {
"table_name": "B",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -286,6 +293,7 @@ SHOW EXPLAIN
"table": {
"table_name": "A",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -304,6 +312,7 @@ SHOW EXPLAIN
"table": {
"table_name": "B",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -402,6 +411,7 @@ SHOW EXPLAIN
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -420,6 +430,7 @@ SHOW EXPLAIN
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -455,6 +466,7 @@ SHOW EXPLAIN
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -473,6 +485,7 @@ SHOW EXPLAIN
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -508,6 +521,7 @@ SHOW EXPLAIN
"table": {
"table_name": "a",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -526,6 +540,7 @@ SHOW EXPLAIN
"table": {
"table_name": "b",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -588,6 +603,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -624,6 +640,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -668,6 +685,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -704,6 +722,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -751,6 +770,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -787,6 +807,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -834,6 +855,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -870,6 +892,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -906,6 +929,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -923,6 +947,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -949,6 +974,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -966,6 +992,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -992,6 +1019,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1009,6 +1037,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1050,6 +1079,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1067,6 +1097,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1093,6 +1124,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1110,6 +1142,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1136,6 +1169,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1153,6 +1187,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -1199,6 +1234,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1248,6 +1284,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1296,6 +1333,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1346,6 +1384,7 @@ SHOW EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/statistics_json.result
View file @
6c4076fa
...
...
@@ -8344,6 +8344,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 18,
"cost": "COST_REPLACED",
"filtered": 5.555555344,
...
...
mysql-test/main/subselect4.result
View file @
6c4076fa
...
...
@@ -2937,6 +2937,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -2963,6 +2964,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
@@ -2987,6 +2989,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 2,
"r_rows": 2,
...
...
mysql-test/main/subselect_cache.result
View file @
6c4076fa
...
...
@@ -57,6 +57,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -83,6 +84,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 4,
"rows": 4,
"r_rows": 4,
...
...
@@ -118,6 +120,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 10,
"r_rows": 10,
...
...
@@ -152,6 +155,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 4,
"rows": 4,
"r_rows": 4,
...
...
@@ -194,6 +198,7 @@ ANALYZE
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"r_loops": 4,
"rows": 4,
"r_rows": 4,
...
...
@@ -224,6 +229,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -242,6 +248,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -267,6 +274,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -291,6 +299,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -325,6 +334,7 @@ EXPLAIN
"table": {
"table_name": "t2",
"access_type": "ALL",
"loops": 1,
"rows": 4,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/subselect_no_semijoin.result
View file @
6c4076fa
...
...
@@ -7444,6 +7444,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -7475,6 +7476,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/table_elim.result
View file @
6c4076fa
...
...
@@ -744,6 +744,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -778,6 +779,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -792,6 +794,7 @@ EXPLAIN
"key_length": "8",
"used_key_parts": ["b"],
"ref": ["test.t1.a"],
"loops": 10,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -809,6 +812,7 @@ EXPLAIN
"table": {
"table_name": "t11",
"access_type": "ALL",
"loops": 1,
"rows": 1000,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -845,6 +849,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -873,6 +878,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -887,6 +893,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["b"],
"ref": ["test.t1.a"],
"loops": 10,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -904,6 +911,7 @@ EXPLAIN
"table": {
"table_name": "t11",
"access_type": "ALL",
"loops": 1,
"rows": 1000,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -918,6 +926,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["pk"],
"ref": ["test.t11.b"],
"loops": 1000,
"rows": 1,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/main/win.result
View file @
6c4076fa
...
...
@@ -1417,6 +1417,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1456,6 +1457,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1493,6 +1495,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1535,6 +1538,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1688,6 +1692,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1722,6 +1727,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1756,6 +1762,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1790,6 +1797,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1854,6 +1862,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 6,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2015,6 +2024,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 9,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2196,6 +2206,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2265,6 +2276,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 6,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -3874,6 +3886,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
mysql-test/main/win_empty_over.result
View file @
6c4076fa
...
...
@@ -54,6 +54,7 @@ EXPLAIN
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["pk"],
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -88,6 +89,7 @@ EXPLAIN
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["pk"],
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/suite/encryption/r/tempfiles_encrypted.result
View file @
6c4076fa
...
...
@@ -1423,6 +1423,7 @@ EXPLAIN
"table": {
"table_name": "t0",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1462,6 +1463,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1499,6 +1501,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1541,6 +1544,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 10,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1694,6 +1698,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1728,6 +1733,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1762,6 +1768,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1796,6 +1803,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 3,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -1860,6 +1868,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 6,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2021,6 +2030,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 9,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2202,6 +2212,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 11,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -2271,6 +2282,7 @@ EXPLAIN
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"rows": 6,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -3880,6 +3892,7 @@ ANALYZE
"table": {
"table_name": "t1",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 3,
"r_rows": 3,
...
...
mysql-test/suite/federated/federatedx_create_handlers.result
View file @
6c4076fa
...
...
@@ -166,6 +166,7 @@ EXPLAIN
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"rows": 7,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -180,6 +181,7 @@ EXPLAIN
"key_length": "18",
"used_key_parts": ["name"],
"ref": ["federated.t3.name"],
"loops": 7,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
@@ -242,6 +244,7 @@ ANALYZE
"table": {
"table_name": "t3",
"access_type": "ALL",
"loops": 1,
"r_loops": 1,
"rows": 7,
"r_rows": 7,
...
...
@@ -261,6 +264,7 @@ ANALYZE
"key_length": "18",
"used_key_parts": ["name"],
"ref": ["federated.t3.name"],
"loops": 7,
"r_loops": 7,
"rows": 2,
"r_rows": 0,
...
...
@@ -376,6 +380,7 @@ EXPLAIN
"table": {
"table_name": "t5",
"access_type": "ALL",
"loops": 1,
"rows": 2,
"cost": "COST_REPLACED",
"filtered": 100
...
...
@@ -386,6 +391,7 @@ EXPLAIN
"table": {
"table_name": "<derived2>",
"access_type": "ALL",
"loops": 2,
"rows": 5,
"cost": "COST_REPLACED",
"filtered": 100
...
...
mysql-test/suite/json/r/json_table.result
View file @
6c4076fa
...
...
@@ -217,6 +217,7 @@ EXPLAIN
"table": {
"table_name": "tt",
"access_type": "ALL",
"loops": 1,
"rows": 40,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
mysql-test/suite/json/r/json_table_mysql.result
View file @
6c4076fa
...
...
@@ -195,6 +195,7 @@ EXPLAIN
"table": {
"table_name": "tt",
"access_type": "ALL",
"loops": 1,
"rows": 40,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
sql/opt_subselect.h
View file @
6c4076fa
...
...
@@ -294,11 +294,12 @@ class Loose_scan_opt
}
}
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
;
if
(
best_loose_scan_cost
!=
DBL_MAX
)
{
pos
->
loops
=
record_count
;
pos
->
records_read
=
best_loose_scan_records
;
pos
->
records_init
=
pos
->
records_out
=
pos
->
records_read
;
pos
->
key
=
best_loose_scan_start_key
;
...
...
sql/sql_explain.cc
View file @
6c4076fa
...
...
@@ -1916,6 +1916,9 @@ void Explain_table_access::print_explain_json(Explain_query *query,
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) */
if
(
is_analyze
)
{
...
...
sql/sql_explain.h
View file @
6c4076fa
...
...
@@ -758,6 +758,8 @@ class Explain_table_access : public Sql_alloc
Explain_table_access
(
MEM_ROOT
*
root
,
bool
timed
)
:
derived_select_number
(
0
),
non_merged_sjm_number
(
0
),
cost
(
0.0
),
loops
(
0.0
),
extra_tags
(
root
),
range_checked_fer
(
NULL
),
full_scan_on_null_key
(
false
),
...
...
@@ -829,6 +831,7 @@ class Explain_table_access : public Sql_alloc
/* Total cost incurred during one execution of this select */
double
cost
;
double
loops
;
/*
Contents of the 'Extra' column. Some are converted into strings, some have
parameters, values for which are stored below.
...
...
sql/sql_select.cc
View file @
6c4076fa
...
...
@@ -8116,6 +8116,7 @@ best_access_path(JOIN *join,
best.uses_jbuf= FALSE;
best.spl_plan= 0;
pos->loops= record_count;
disable_jbuf= disable_jbuf || idx == join->const_tables;
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 :
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 &&
idx == join->const_tables && // First table
...
...
@@ -12022,6 +12023,7 @@ bool JOIN::get_best_combination()
j->records= (ha_rows) j->records_read;
j->cond_selectivity= 1.0;
j->join_read_time= 0.0; /* Not saved currently */
j->join_loops= 0.0;
JOIN_TAB *jt;
JOIN_TAB_RANGE *jt_range;
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_out= cur_pos->records_out;
j->join_read_time= cur_pos->read_time;
j->join_loops= cur_pos->loops;
loop_end:
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->quick_info= NULL;
eta->cost= join_read_time;
eta->loops= join_loops;
SQL_SELECT *tab_select;
/*
sql/sql_select.h
View file @
6c4076fa
...
...
@@ -355,6 +355,7 @@ typedef struct st_join_table {
accessing the table in course of the join execution.
*/
double
join_read_time
;
double
join_loops
;
/* The selectivity of the conditions that can be pushed to the table */
double
cond_selectivity
;
...
...
@@ -1018,6 +1019,8 @@ class POSITION
*/
double
read_time
;
double
loops
;
double
prefix_record_count
;
/* Cost for the join prefix */
...
...
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_icp.result
View file @
6c4076fa
...
...
@@ -57,6 +57,7 @@ EXPLAIN
"key": "kp1",
"key_length": "5",
"used_key_parts": ["kp1"],
"loops": 1,
"rows": 1000,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
storage/rocksdb/mysql-test/rocksdb/r/rocksdb_icp_rev.result
View file @
6c4076fa
...
...
@@ -57,6 +57,7 @@ EXPLAIN
"key": "kp1",
"key_length": "5",
"used_key_parts": ["kp1"],
"loops": 1,
"rows": 1000,
"cost": "COST_REPLACED",
"filtered": 100,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment