mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Added more digits to JSON output of double
sprintf() format of double changed from '%lg' to '%-.11lg' The change was to make it easier to read optimizer trace output with tables that has millions of records.
This commit is contained in:
@@ -117,7 +117,7 @@ explain select * from t1 where pk1 != 0 and key1 = 1 {
|
||||
"using_mrr": false,
|
||||
"index_only": false,
|
||||
"rows": 1000,
|
||||
"cost": 201.65,
|
||||
"cost": 201.6536043,
|
||||
"chosen": true
|
||||
},
|
||||
{
|
||||
@@ -127,7 +127,7 @@ explain select * from t1 where pk1 != 0 and key1 = 1 {
|
||||
"using_mrr": false,
|
||||
"index_only": false,
|
||||
"rows": 1,
|
||||
"cost": 1.3451,
|
||||
"cost": 1.345146475,
|
||||
"chosen": true
|
||||
}
|
||||
],
|
||||
@@ -135,10 +135,10 @@ explain select * from t1 where pk1 != 0 and key1 = 1 {
|
||||
"intersecting_indexes": [
|
||||
{
|
||||
"index": "key1",
|
||||
"index_scan_cost": 1.0001,
|
||||
"cumulated_index_scan_cost": 1.0001,
|
||||
"disk_sweep_cost": 1.0014,
|
||||
"cumulative_total_cost": 2.0015,
|
||||
"index_scan_cost": 1.000146475,
|
||||
"cumulated_index_scan_cost": 1.000146475,
|
||||
"disk_sweep_cost": 1.001383604,
|
||||
"cumulative_total_cost": 2.00153008,
|
||||
"usable": true,
|
||||
"matching_rows_now": 1,
|
||||
"intersect_covering_with_this_index": false,
|
||||
@@ -166,7 +166,7 @@ explain select * from t1 where pk1 != 0 and key1 = 1 {
|
||||
"ranges": ["(1) <= (key1) <= (1)"]
|
||||
},
|
||||
"rows_for_plan": 1,
|
||||
"cost_for_plan": 1.3451,
|
||||
"cost_for_plan": 1.345146475,
|
||||
"chosen": true
|
||||
}
|
||||
}
|
||||
@@ -176,7 +176,7 @@ explain select * from t1 where pk1 != 0 and key1 = 1 {
|
||||
"rowid_filters": [
|
||||
{
|
||||
"key": "key1",
|
||||
"build_cost": 0.1301,
|
||||
"build_cost": 0.130146475,
|
||||
"rows": 1
|
||||
}
|
||||
]
|
||||
@@ -209,7 +209,7 @@ explain select * from t1 where pk1 != 0 and key1 = 1 {
|
||||
"index": "key1",
|
||||
"used_range_estimates": true,
|
||||
"rows": 1,
|
||||
"cost": 1.1251,
|
||||
"cost": 1.125146475,
|
||||
"chosen": true
|
||||
},
|
||||
{
|
||||
@@ -221,12 +221,12 @@ explain select * from t1 where pk1 != 0 and key1 = 1 {
|
||||
"chosen_access_method": {
|
||||
"type": "ref",
|
||||
"records": 1,
|
||||
"cost": 1.1251,
|
||||
"cost": 1.125146475,
|
||||
"uses_join_buffering": false
|
||||
}
|
||||
},
|
||||
"rows_for_plan": 1,
|
||||
"cost_for_plan": 1.3251,
|
||||
"cost_for_plan": 1.325146475,
|
||||
"estimated_join_cardinality": 1
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user