1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge branch '10.4' into 10.5

This commit is contained in:
Oleksandr Byelkin
2023-11-08 12:59:00 +01:00
396 changed files with 10324 additions and 5797 deletions

View File

@ -468,6 +468,9 @@ select * from v2 {
}
]
}
},
{
"test_if_skip_sort_order": []
}
]
}
@ -796,6 +799,9 @@ explain select * from v1 {
}
]
}
},
{
"test_if_skip_sort_order": []
}
]
}
@ -1291,6 +1297,9 @@ EXPLAIN SELECT DISTINCT a FROM t1 {
}
]
}
},
{
"test_if_skip_sort_order": []
}
]
}
@ -1484,6 +1493,9 @@ EXPLAIN SELECT MIN(d) FROM t1 where b=2 and c=3 group by a {
}
]
}
},
{
"test_if_skip_sort_order": []
}
]
}
@ -1678,6 +1690,9 @@ EXPLAIN SELECT id,MIN(a),MAX(a) FROM t1 WHERE a>=20010104e0 GROUP BY id {
}
]
}
},
{
"test_if_skip_sort_order": []
}
]
}
@ -1861,6 +1876,9 @@ EXPLAIN SELECT * FROM t1 WHERE a = 20010104e0 GROUP BY id {
}
]
}
},
{
"test_if_skip_sort_order": []
}
]
}
@ -2142,97 +2160,101 @@ explain select * from t1 where a=1 and b=2 order by c limit 1 {
}
},
{
"reconsidering_access_paths_for_index_ordering": {
"clause": "ORDER BY",
"fanout": 1,
"read_time": 21.14342739,
"table": "t1",
"rows_estimation": 21,
"possible_keys": [
{
"index": "a_a",
"can_resolve_order": true,
"updated_limit": 47,
"index_scan_time": 47,
"usable": false,
"cause": "cost"
},
{
"index": "a_c",
"can_resolve_order": true,
"updated_limit": 47,
"range_scan_time": 4.331020747,
"index_scan_time": 4.331020747,
"records": 180,
"chosen": true
},
{
"index": "a_b",
"can_resolve_order": false,
"cause": "not usable index for the query"
"test_if_skip_sort_order": [
{
"reconsidering_access_paths_for_index_ordering": {
"clause": "ORDER BY",
"fanout": 1,
"read_time": 21.14342739,
"table": "t1",
"rows_estimation": 21,
"possible_keys": [
{
"index": "a_a",
"can_resolve_order": true,
"updated_limit": 47,
"index_scan_time": 47,
"usable": false,
"cause": "cost"
},
{
"index": "a_c",
"can_resolve_order": true,
"updated_limit": 47,
"range_scan_time": 4.331020747,
"index_scan_time": 4.331020747,
"records": 180,
"chosen": true
},
{
"index": "a_b",
"can_resolve_order": false,
"cause": "not usable index for the query"
}
]
}
]
}
},
{
"table": "t1",
"range_analysis": {
"table_scan": {
"rows": 1000,
"cost": 1.79769e308
},
"potential_range_indexes": [
{
"index": "a_a",
"usable": false,
"cause": "not applicable"
},
{
"index": "a_c",
"usable": true,
"key_parts": ["a", "c"]
},
{
"index": "a_b",
"usable": false,
"cause": "not applicable"
}
],
"setup_range_conditions": [],
"analyzing_range_alternatives": {
"range_scan_alternatives": [
{
"index": "a_c",
"ranges": ["(1) <= (a) <= (1)"],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 180,
"cost": 216.2943776,
{
"table": "t1",
"range_analysis": {
"table_scan": {
"rows": 1000,
"cost": 1.79769e308
},
"potential_range_indexes": [
{
"index": "a_a",
"usable": false,
"cause": "not applicable"
},
{
"index": "a_c",
"usable": true,
"key_parts": ["a", "c"]
},
{
"index": "a_b",
"usable": false,
"cause": "not applicable"
}
],
"setup_range_conditions": [],
"analyzing_range_alternatives": {
"range_scan_alternatives": [
{
"index": "a_c",
"ranges": ["(1) <= (a) <= (1)"],
"rowid_ordered": false,
"using_mrr": false,
"index_only": false,
"rows": 180,
"cost": 216.2943776,
"chosen": true
}
],
"analyzing_roworder_intersect": {
"cause": "too few roworder scans"
},
"analyzing_index_merge_union": []
},
"group_index_range": {
"chosen": false,
"cause": "no group by or distinct"
},
"chosen_range_access_summary": {
"range_access_plan": {
"type": "range_scan",
"index": "a_c",
"rows": 180,
"ranges": ["(1) <= (a) <= (1)"]
},
"rows_for_plan": 180,
"cost_for_plan": 216.2943776,
"chosen": true
}
],
"analyzing_roworder_intersect": {
"cause": "too few roworder scans"
},
"analyzing_index_merge_union": []
},
"group_index_range": {
"chosen": false,
"cause": "no group by or distinct"
},
"chosen_range_access_summary": {
"range_access_plan": {
"type": "range_scan",
"index": "a_c",
"rows": 180,
"ranges": ["(1) <= (a) <= (1)"]
},
"rows_for_plan": 180,
"cost_for_plan": 216.2943776,
"chosen": true
}
}
}
]
}
]
}