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
67d4d042
Commit
67d4d042
authored
Dec 14, 2021
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test results
parent
905634dc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
mysql-test/main/derived_cond_pushdown.result
mysql-test/main/derived_cond_pushdown.result
+4
-4
mysql-test/main/opt_trace.result
mysql-test/main/opt_trace.result
+14
-14
No files found.
mysql-test/main/derived_cond_pushdown.result
View file @
67d4d042
...
...
@@ -18387,7 +18387,7 @@ explain extended select t2.a,t2.b,t2.c,t.c as t_c,t.max,t.min
from t2, t3, (select c, max(b) max, min(b) min from t4 group by c) t
where t2.b < 40 and t2.a=t3.a and t3.c=t.c;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY t2 ALL NULL NULL NULL NULL 90
53.33
Using where
1 PRIMARY t2 ALL NULL NULL NULL NULL 90
60.00
Using where
1 PRIMARY t3 ref idx_a idx_a 5 test.t2.a 1 100.00 Using where
1 PRIMARY <derived2> ref key0 key0 128 test.t3.c 10 100.00
2 DERIVED t4 ALL idx_c NULL NULL NULL 160 100.00 Using temporary; Using filesort
...
...
@@ -18406,7 +18406,7 @@ EXPLAIN
"table_name": "t2",
"access_type": "ALL",
"rows": 90,
"filtered":
53.33333206
,
"filtered":
60
,
"attached_condition": "t2.b < 40 and t2.a is not null"
}
},
...
...
@@ -18910,7 +18910,7 @@ explain extended select *
from t2, t3, (select c, b, sum(b) over (partition by c) from t4 ) t
where t2.b < 40 and t2.a=t3.a and t3.c=t.c;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 PRIMARY t2 ALL NULL NULL NULL NULL 90
53.33
Using where
1 PRIMARY t2 ALL NULL NULL NULL NULL 90
60.00
Using where
1 PRIMARY t3 ref idx_a idx_a 5 test.t2.a 1 100.00 Using where
1 PRIMARY <derived2> ref key0 key0 128 test.t3.c 10 100.00
2 DERIVED t4 ALL idx_c NULL NULL NULL 160 100.00 Using temporary
...
...
@@ -18929,7 +18929,7 @@ EXPLAIN
"table_name": "t2",
"access_type": "ALL",
"rows": 90,
"filtered":
53.33333206
,
"filtered":
60
,
"attached_condition": "t2.b < 40 and t2.a is not null"
}
},
...
...
mysql-test/main/opt_trace.result
View file @
67d4d042
...
...
@@ -8083,20 +8083,20 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.considered_execution_plans'))
{
"access_type": "scan",
"resulting_rows":
4
,
"cost": 3.
2
17089844,
"resulting_rows":
5
,
"cost": 3.
0
17089844,
"chosen": true
}
],
"chosen_access_method":
{
"type": "scan",
"records":
4
,
"cost": 3.
2
17089844,
"records":
5
,
"cost": 3.
0
17089844,
"uses_join_buffering": false
}
},
"rows_for_plan":
4
,
"rows_for_plan":
5
,
"cost_for_plan": 4.017089844,
"rest_of_plan":
[
...
...
@@ -8115,7 +8115,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.considered_execution_plans'))
{
"access_type": "scan",
"resulting_rows": 800,
"cost":
176.7890625
,
"cost":
220.9863281
,
"chosen": true
}
],
...
...
@@ -8123,13 +8123,13 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.considered_execution_plans'))
{
"type": "scan",
"records": 800,
"cost":
176.7890625
,
"cost":
220.9863281
,
"uses_join_buffering": false
}
},
"rows_for_plan":
32
00,
"cost_for_plan":
820.8061523
,
"estimated_join_cardinality":
32
00
"rows_for_plan":
40
00,
"cost_for_plan":
1025.003418
,
"estimated_join_cardinality":
40
00
}
]
},
...
...
@@ -8594,7 +8594,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.selectivity_for_columns'))
]
EXPLAIN EXTENDED SELECT * from t1 WHERE a != 5;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 100 9
8
.00 Using where
1 SIMPLE t1 ALL NULL NULL NULL NULL 100 9
9
.00 Using where
Warnings:
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` where `test`.`t1`.`a` <> 5
select JSON_DETAILED(JSON_EXTRACT(trace, '$**.selectivity_for_columns')) from INFORMATION_SCHEMA.OPTIMIZER_TRACE;
...
...
@@ -8610,13 +8610,13 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.selectivity_for_columns'))
"NULL < a < 5",
"5 < a"
],
"selectivity_from_histogram": 0.9
8
"selectivity_from_histogram": 0.9
9
}
]
]
EXPLAIN EXTENDED SELECT * from t1 WHERE b >= 10 and b < 25;
id select_type table type possible_keys key key_len ref rows filtered Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 100 1
4
.00 Using where
1 SIMPLE t1 ALL NULL NULL NULL NULL 100 1
5
.00 Using where
Warnings:
Note 1003 select `test`.`t1`.`a` AS `a`,`test`.`t1`.`b` AS `b` from `test`.`t1` where `test`.`t1`.`b` >= 10 and `test`.`t1`.`b` < 25
select JSON_DETAILED(JSON_EXTRACT(trace, '$**.selectivity_for_columns')) from INFORMATION_SCHEMA.OPTIMIZER_TRACE;
...
...
@@ -8631,7 +8631,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.selectivity_for_columns'))
[
"10 <= b < 25"
],
"selectivity_from_histogram": 0.1
4
"selectivity_from_histogram": 0.1
5
}
]
]
...
...
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