Commit 27d9986c authored by Monty's avatar Monty

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.
parent 8d74d30d
......@@ -192,7 +192,7 @@ ANALYZE
"buffer_size": "1Kb",
"join_type": "BNL",
"attached_condition": "tbl1.c > tbl2.c",
"r_filtered": 15.833
"r_filtered": 15.83333333
}
}
}
......@@ -421,7 +421,7 @@ ANALYZE
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 100,
"r_filtered": 98.135
"r_filtered": 98.13542689
}
}
}
......
......@@ -516,7 +516,7 @@ ANALYZE
"buffer_size": "119",
"join_type": "BNL",
"attached_condition": "t5.a = t6.a",
"r_filtered": 21.429
"r_filtered": 21.42857143
}
}
}
......
......@@ -15165,7 +15165,7 @@ EXPLAIN
"access_type": "ALL",
"possible_keys": ["idx_b"],
"rows": 12,
"filtered": 83.333,
"filtered": 83.33333588,
"attached_condition": "t1.b <= 5 and t1.a is not null"
},
"table": {
......@@ -15438,7 +15438,7 @@ EXPLAIN
"access_type": "ALL",
"possible_keys": ["idx_b"],
"rows": 12,
"filtered": 83.333,
"filtered": 83.33333588,
"attached_condition": "t3.b <= 15 and t3.a is not null and t3.c is not null"
},
"table": {
......@@ -15590,7 +15590,7 @@ EXPLAIN
"access_type": "ALL",
"possible_keys": ["idx_b"],
"rows": 12,
"filtered": 83.333,
"filtered": 83.33333588,
"attached_condition": "t3.b <= 15 and t3.a is not null and t3.c is not null"
},
"table": {
......@@ -15821,7 +15821,7 @@ EXPLAIN
"table_name": "t2",
"access_type": "ALL",
"rows": 90,
"filtered": 63.281,
"filtered": 63.28125,
"attached_condition": "t2.b < 40 and t2.a is not null"
},
"table": {
......@@ -16317,7 +16317,7 @@ EXPLAIN
"table_name": "t2",
"access_type": "ALL",
"rows": 90,
"filtered": 63.281,
"filtered": 63.28125,
"attached_condition": "t2.b < 40 and t2.a is not null"
},
"table": {
......
......@@ -6129,7 +6129,7 @@ EXPLAIN
"key_length": "10",
"used_key_parts": ["kp1", "kp2"],
"rows": 836,
"filtered": 76.434,
"filtered": 76.43428802,
"index_condition": "b.kp2 <= 10",
"attached_condition": "b.kp2 <= 10 and b.col1 + 1 < 33333"
},
......
This source diff could not be displayed because it is too large. You can view the blob instead.
--source include/not_embedded.inc
--source include/have_sequence.inc
SELECT table_name, column_name FROM information_schema.columns where table_name="OPTIMIZER_TRACE";
show variables like 'optimizer_trace';
set optimizer_trace="enabled=on";
......@@ -567,4 +568,12 @@ select * from t3 where (a,a) in (select t1.a, t2.a from t1, t2 where t1.b=t2.b);
select JSON_DETAILED(JSON_EXTRACT(trace, '$**.semijoin_table_pullout')) from INFORMATION_SCHEMA.OPTIMIZER_TRACE;
drop table t1,t2,t3;
--echo #
--echo # Test many rows to see output of big cost numbers
--echo #
select count(*) from seq_1_to_10000000;
select * from INFORMATION_SCHEMA.OPTIMIZER_TRACE;
set optimizer_trace='enabled=off';
......@@ -73,7 +73,7 @@ explain select * from t1 where a=1 or b=1 {
"range_analysis": {
"table_scan": {
"rows": 1000,
"cost": 231.59
"cost": 231.5878906
},
"potential_range_indexes": [
{
......@@ -111,12 +111,12 @@ explain select * from t1 where a=1 or b=1 {
"using_mrr": false,
"index_only": true,
"rows": 1,
"cost": 0.3456,
"cost": 0.345585794,
"chosen": true
}
],
"index_to_merge": "a",
"cumulated_cost": 0.3456
"cumulated_cost": 0.345585794
},
{
"range_scan_alternatives": [
......@@ -127,15 +127,15 @@ explain select * from t1 where a=1 or b=1 {
"using_mrr": false,
"index_only": true,
"rows": 1,
"cost": 0.3456,
"cost": 0.345585794,
"chosen": true
}
],
"index_to_merge": "b",
"cumulated_cost": 0.6912
"cumulated_cost": 0.691171589
}
],
"cost_of_reading_ranges": 0.6912,
"cost_of_reading_ranges": 0.691171589,
"use_roworder_union": true,
"cause": "always cheaper than non roworder retrieval",
"analyzing_roworder_scans": [
......@@ -158,7 +158,7 @@ explain select * from t1 where a=1 or b=1 {
}
}
],
"index_roworder_union_cost": 2.4849,
"index_roworder_union_cost": 2.484903732,
"members": 2,
"chosen": true
}
......@@ -187,7 +187,7 @@ explain select * from t1 where a=1 or b=1 {
]
},
"rows_for_plan": 2,
"cost_for_plan": 2.4849,
"cost_for_plan": 2.484903732,
"chosen": true
}
}
......@@ -209,19 +209,19 @@ explain select * from t1 where a=1 or b=1 {
{
"access_type": "index_merge",
"resulting_rows": 2,
"cost": 2.4849,
"cost": 2.484903732,
"chosen": true
}
],
"chosen_access_method": {
"type": "index_merge",
"records": 2,
"cost": 2.4849,
"cost": 2.484903732,
"uses_join_buffering": false
}
},
"rows_for_plan": 2,
"cost_for_plan": 2.8849,
"cost_for_plan": 2.884903732,
"estimated_join_cardinality": 2
}
]
......@@ -322,7 +322,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
"using_mrr": false,
"index_only": false,
"rows": 2243,
"cost": 2700.1,
"cost": 2700.058937,
"chosen": true
},
......@@ -336,7 +336,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
"using_mrr": false,
"index_only": false,
"rows": 2243,
"cost": 2700.1,
"cost": 2700.058937,
"chosen": false,
"cause": "cost"
},
......@@ -351,7 +351,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
"using_mrr": false,
"index_only": false,
"rows": 2243,
"cost": 2700.1,
"cost": 2700.058937,
"chosen": false,
"cause": "cost"
}
......@@ -363,10 +363,10 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
{
"index": "key1",
"index_scan_cost": 10.314,
"cumulated_index_scan_cost": 10.314,
"disk_sweep_cost": 1923.1,
"cumulative_total_cost": 1933.5,
"index_scan_cost": 10.31393703,
"cumulated_index_scan_cost": 10.31393703,
"disk_sweep_cost": 1923.144061,
"cumulative_total_cost": 1933.457998,
"usable": true,
"matching_rows_now": 2243,
"intersect_covering_with_this_index": false,
......@@ -375,24 +375,24 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
{
"index": "key2",
"index_scan_cost": 10.314,
"cumulated_index_scan_cost": 20.628,
"disk_sweep_cost": 84.518,
"cumulative_total_cost": 105.15,
"index_scan_cost": 10.31393703,
"cumulated_index_scan_cost": 20.62787405,
"disk_sweep_cost": 84.51771758,
"cumulative_total_cost": 105.1455916,
"usable": true,
"matching_rows_now": 77.636,
"matching_rows_now": 77.6360508,
"intersect_covering_with_this_index": false,
"chosen": true
},
{
"index": "key3",
"index_scan_cost": 10.314,
"cumulated_index_scan_cost": 30.942,
"index_scan_cost": 10.31393703,
"cumulated_index_scan_cost": 30.94181108,
"disk_sweep_cost": 0,
"cumulative_total_cost": 30.942,
"cumulative_total_cost": 30.94181108,
"usable": true,
"matching_rows_now": 2.6872,
"matching_rows_now": 2.687185191,
"intersect_covering_with_this_index": true,
"chosen": true
}
......@@ -403,7 +403,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
"cause": "no clustered pk index"
},
"rows": 2,
"cost": 30.942,
"cost": 30.94181108,
"covering": true,
"chosen": true
},
......@@ -421,7 +421,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.chosen_range_access_summary'))
{
"type": "index_roworder_intersect",
"rows": 2,
"cost": 30.942,
"cost": 30.94181108,
"covering": true,
"clustered_pk_scan": false,
"intersect_of":
......@@ -459,7 +459,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.chosen_range_access_summary'))
]
},
"rows_for_plan": 2,
"cost_for_plan": 30.942,
"cost_for_plan": 30.94181108,
"chosen": true
}
]
......@@ -500,7 +500,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
"using_mrr": false,
"index_only": true,
"rows": 2243,
"cost": 457.06,
"cost": 457.058937,
"chosen": true
},
......@@ -514,13 +514,13 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
"using_mrr": false,
"index_only": true,
"rows": 2243,
"cost": 457.06,
"cost": 457.058937,
"chosen": false,
"cause": "cost"
}
],
"index_to_merge": "key1",
"cumulated_cost": 457.06
"cumulated_cost": 457.058937
},
{
......@@ -537,7 +537,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
"using_mrr": false,
"index_only": true,
"rows": 2243,
"cost": 457.06,
"cost": 457.058937,
"chosen": true
},
......@@ -551,16 +551,16 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
"using_mrr": false,
"index_only": true,
"rows": 2243,
"cost": 457.06,
"cost": 457.058937,
"chosen": false,
"cause": "cost"
}
],
"index_to_merge": "key3",
"cumulated_cost": 914.12
"cumulated_cost": 914.1178741
}
],
"cost_of_reading_ranges": 914.12,
"cost_of_reading_ranges": 914.1178741,
"use_roworder_union": true,
"cause": "always cheaper than non roworder retrieval",
"analyzing_roworder_scans":
......@@ -581,10 +581,10 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
{
"index": "key1",
"index_scan_cost": 10.314,
"cumulated_index_scan_cost": 10.314,
"disk_sweep_cost": 1923.1,
"cumulative_total_cost": 1933.5,
"index_scan_cost": 10.31393703,
"cumulated_index_scan_cost": 10.31393703,
"disk_sweep_cost": 1923.144061,
"cumulative_total_cost": 1933.457998,
"usable": true,
"matching_rows_now": 2243,
"intersect_covering_with_this_index": false,
......@@ -593,12 +593,12 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
{
"index": "key2",
"index_scan_cost": 10.314,
"cumulated_index_scan_cost": 20.628,
"disk_sweep_cost": 84.518,
"cumulative_total_cost": 105.15,
"index_scan_cost": 10.31393703,
"cumulated_index_scan_cost": 20.62787405,
"disk_sweep_cost": 84.51771758,
"cumulative_total_cost": 105.1455916,
"usable": true,
"matching_rows_now": 77.636,
"matching_rows_now": 77.6360508,
"intersect_covering_with_this_index": false,
"chosen": true
}
......@@ -609,7 +609,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
"cause": "no clustered pk index"
},
"rows": 77,
"cost": 105.15,
"cost": 105.1455916,
"covering": false,
"chosen": true
}
......@@ -630,10 +630,10 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
{
"index": "key3",
"index_scan_cost": 10.314,
"cumulated_index_scan_cost": 10.314,
"disk_sweep_cost": 1923.1,
"cumulative_total_cost": 1933.5,
"index_scan_cost": 10.31393703,
"cumulated_index_scan_cost": 10.31393703,
"disk_sweep_cost": 1923.144061,
"cumulative_total_cost": 1933.457998,
"usable": true,
"matching_rows_now": 2243,
"intersect_covering_with_this_index": false,
......@@ -642,12 +642,12 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
{
"index": "key4",
"index_scan_cost": 10.314,
"cumulated_index_scan_cost": 20.628,
"disk_sweep_cost": 84.518,
"cumulative_total_cost": 105.15,
"index_scan_cost": 10.31393703,
"cumulated_index_scan_cost": 20.62787405,
"disk_sweep_cost": 84.51771758,
"cumulative_total_cost": 105.1455916,
"usable": true,
"matching_rows_now": 77.636,
"matching_rows_now": 77.6360508,
"intersect_covering_with_this_index": false,
"chosen": true
}
......@@ -658,13 +658,13 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
"cause": "no clustered pk index"
},
"rows": 77,
"cost": 105.15,
"cost": 105.1455916,
"covering": false,
"chosen": true
}
}
],
"index_roworder_union_cost": 194.98,
"index_roworder_union_cost": 194.9771115,
"members": 2,
"chosen": true
}
......@@ -685,7 +685,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.chosen_range_access_summary'))
{
"type": "index_roworder_intersect",
"rows": 77,
"cost": 105.15,
"cost": 105.1455916,
"covering": false,
"clustered_pk_scan": false,
"intersect_of":
......@@ -716,7 +716,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.chosen_range_access_summary'))
{
"type": "index_roworder_intersect",
"rows": 77,
"cost": 105.15,
"cost": 105.1455916,
"covering": false,
"clustered_pk_scan": false,
"intersect_of":
......@@ -746,7 +746,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.chosen_range_access_summary'))
]
},
"rows_for_plan": 154,
"cost_for_plan": 194.98,
"cost_for_plan": 194.9771115,
"chosen": true
}
]
......
......@@ -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
}
]
......
......@@ -80,7 +80,7 @@ select * from db1.t1 {
"table": "t1",
"table_scan": {
"rows": 3,
"cost": 2.0051
"cost": 2.005126953
}
}
]
......@@ -95,19 +95,19 @@ select * from db1.t1 {
{
"access_type": "scan",
"resulting_rows": 3,
"cost": 2.0051,
"cost": 2.005126953,
"chosen": true
}
],
"chosen_access_method": {
"type": "scan",
"records": 3,
"cost": 2.0051,
"cost": 2.005126953,
"uses_join_buffering": false
}
},
"rows_for_plan": 3,
"cost_for_plan": 2.6051,
"cost_for_plan": 2.605126953,
"estimated_join_cardinality": 3
}
]
......@@ -203,7 +203,7 @@ select * from db1.v1 {
"table": "t1",
"table_scan": {
"rows": 3,
"cost": 2.0051
"cost": 2.005126953
}
}
]
......@@ -218,19 +218,19 @@ select * from db1.v1 {
{
"access_type": "scan",
"resulting_rows": 3,
"cost": 2.0051,
"cost": 2.005126953,
"chosen": true
}
],
"chosen_access_method": {
"type": "scan",
"records": 3,
"cost": 2.0051,
"cost": 2.005126953,
"uses_join_buffering": false
}
},
"rows_for_plan": 3,
"cost_for_plan": 2.6051,
"cost_for_plan": 2.605126953,
"estimated_join_cardinality": 3
}
]
......
......@@ -38,7 +38,7 @@ JSON_DETAILED(JSON_EXTRACT(trace, '$**.analyzing_range_alternatives'))
"using_mrr": false,
"index_only": false,
"rows": 2,
"cost": 2.5477,
"cost": 2.547733708,
"chosen": true
}
],
......
......@@ -2611,10 +2611,10 @@ EXPLAIN
"used_key_parts": ["e"]
},
"rows": 15,
"selectivity_pct": 14.423
"selectivity_pct": 14.42307692
},
"rows": 8,
"filtered": 14.423,
"filtered": 14.42307663,
"index_condition": "t2.d is not null",
"attached_condition": "(t2.d,t2.e) in (<cache>((3,3)),<cache>((7,7)),<cache>((8,8))) and octet_length(t2.f) = 1"
},
......@@ -2716,10 +2716,10 @@ EXPLAIN
"used_key_parts": ["e"]
},
"rows": 7,
"selectivity_pct": 6.7308
"selectivity_pct": 6.730769231
},
"rows": 7,
"filtered": 6.7308,
"filtered": 6.730769157,
"index_condition": "t2.d is not null",
"attached_condition": "(t2.d,t2.e) in (<cache>((4,4)),<cache>((7,7)),<cache>((8,8))) and octet_length(t2.f) = 1"
},
......
......@@ -2605,7 +2605,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["d"],
"rows": 8,
"filtered": 14.423,
"filtered": 14.42307663,
"index_condition": "t2.d is not null",
"attached_condition": "(t2.d,t2.e) in (<cache>((3,3)),<cache>((7,7)),<cache>((8,8))) and octet_length(t2.f) = 1",
"mrr_type": "Rowid-ordered scan"
......@@ -2703,7 +2703,7 @@ EXPLAIN
"key_length": "5",
"used_key_parts": ["d"],
"rows": 7,
"filtered": 6.7308,
"filtered": 6.730769157,
"index_condition": "t2.d is not null",
"attached_condition": "(t2.d,t2.e) in (<cache>((4,4)),<cache>((7,7)),<cache>((8,8))) and octet_length(t2.f) = 1",
"mrr_type": "Rowid-ordered scan"
......
......@@ -79,10 +79,10 @@ EXPLAIN
"used_key_parts": ["l_quantity"]
},
"rows": 702,
"selectivity_pct": 11.69
"selectivity_pct": 11.69025812
},
"rows": 509,
"filtered": 11.69,
"filtered": 11.69025803,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
}
......@@ -115,9 +115,9 @@ ANALYZE
"used_key_parts": ["l_quantity"]
},
"rows": 702,
"selectivity_pct": 11.69,
"selectivity_pct": 11.69025812,
"r_rows": 605,
"r_selectivity_pct": 3.6855,
"r_selectivity_pct": 3.685503686,
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
......@@ -126,7 +126,7 @@ ANALYZE
"r_rows": 60,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 11.69,
"filtered": 11.69025803,
"r_filtered": 100,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
......@@ -217,7 +217,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"rows": 509,
"filtered": 11.69,
"filtered": 11.69025803,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
}
......@@ -249,8 +249,8 @@ ANALYZE
"r_rows": 510,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 11.69,
"r_filtered": 11.765,
"filtered": 11.69025803,
"r_filtered": 11.76470588,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
}
......@@ -368,7 +368,7 @@ EXPLAIN
"selectivity_pct": 4.6
},
"rows": 1,
"filtered": 4.6,
"filtered": 4.599999905,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
}
......@@ -427,16 +427,16 @@ ANALYZE
"rows": 69,
"selectivity_pct": 4.6,
"r_rows": 71,
"r_selectivity_pct": 10.417,
"r_selectivity_pct": 10.41666667,
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"r_loops": 98,
"rows": 1,
"r_rows": 0.1122,
"r_rows": 0.112244898,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 4.6,
"filtered": 4.599999905,
"r_filtered": 100,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
......@@ -498,7 +498,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"filtered": 4.6,
"filtered": 4.599999905,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
}
......@@ -554,8 +554,8 @@ ANALYZE
"r_rows": 1,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 4.6,
"r_filtered": 11.224,
"filtered": 4.599999905,
"r_filtered": 11.2244898,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
}
......@@ -612,10 +612,10 @@ EXPLAIN
"used_key_parts": ["l_quantity"]
},
"rows": 702,
"selectivity_pct": 11.69
"selectivity_pct": 11.69025812
},
"rows": 509,
"filtered": 11.69,
"filtered": 11.69025803,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
},
......@@ -633,10 +633,10 @@ EXPLAIN
"used_key_parts": ["o_totalprice"]
},
"rows": 139,
"selectivity_pct": 9.2667
"selectivity_pct": 9.266666667
},
"rows": 1,
"filtered": 9.2667,
"filtered": 9.266666412,
"attached_condition": "orders.o_totalprice between 180000 and 230000"
}
}
......@@ -679,9 +679,9 @@ ANALYZE
"used_key_parts": ["l_quantity"]
},
"rows": 702,
"selectivity_pct": 11.69,
"selectivity_pct": 11.69025812,
"r_rows": 605,
"r_selectivity_pct": 3.6855,
"r_selectivity_pct": 3.685503686,
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
......@@ -690,7 +690,7 @@ ANALYZE
"r_rows": 60,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 11.69,
"filtered": 11.69025803,
"r_filtered": 100,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
......@@ -709,18 +709,18 @@ ANALYZE
"used_key_parts": ["o_totalprice"]
},
"rows": 139,
"selectivity_pct": 9.2667,
"selectivity_pct": 9.266666667,
"r_rows": 144,
"r_selectivity_pct": 25.424,
"r_selectivity_pct": 25.42372881,
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"r_loops": 60,
"rows": 1,
"r_rows": 0.2667,
"r_rows": 0.266666667,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 9.2667,
"filtered": 9.266666412,
"r_filtered": 100,
"attached_condition": "orders.o_totalprice between 180000 and 230000"
}
......@@ -779,7 +779,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"rows": 509,
"filtered": 11.69,
"filtered": 11.69025803,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
},
......@@ -792,7 +792,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"filtered": 9.2667,
"filtered": 9.266666412,
"attached_condition": "orders.o_totalprice between 180000 and 230000"
}
}
......@@ -834,8 +834,8 @@ ANALYZE
"r_rows": 510,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 11.69,
"r_filtered": 11.765,
"filtered": 11.69025803,
"r_filtered": 11.76470588,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
},
......@@ -852,8 +852,8 @@ ANALYZE
"r_rows": 1,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 9.2667,
"r_filtered": 26.667,
"filtered": 9.266666412,
"r_filtered": 26.66666667,
"attached_condition": "orders.o_totalprice between 180000 and 230000"
}
}
......@@ -925,10 +925,10 @@ EXPLAIN
"used_key_parts": ["l_shipDATE"]
},
"rows": 509,
"selectivity_pct": 8.4763
"selectivity_pct": 8.476269775
},
"rows": 4,
"filtered": 8.4763,
"filtered": 8.476269722,
"attached_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'"
}
}
......@@ -985,18 +985,18 @@ ANALYZE
"used_key_parts": ["l_shipDATE"]
},
"rows": 509,
"selectivity_pct": 8.4763,
"selectivity_pct": 8.476269775,
"r_rows": 510,
"r_selectivity_pct": 7.7731,
"r_selectivity_pct": 7.773109244,
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
"r_loops": 71,
"rows": 4,
"r_rows": 0.5211,
"r_rows": 0.521126761,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 8.4763,
"filtered": 8.476269722,
"r_filtered": 100,
"attached_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'"
}
......@@ -1084,7 +1084,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 8.4763,
"filtered": 8.476269722,
"attached_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'"
}
}
......@@ -1137,11 +1137,11 @@ ANALYZE
"ref": ["dbt3_s001.orders.o_orderkey"],
"r_loops": 71,
"rows": 4,
"r_rows": 6.7042,
"r_rows": 6.704225352,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 8.4763,
"r_filtered": 7.7731,
"filtered": 8.476269722,
"r_filtered": 7.773109244,
"attached_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'"
}
}
......@@ -1228,7 +1228,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"rows": 18,
"filtered": 0.5662,
"filtered": 0.566194832,
"index_condition": "lineitem.l_receiptDATE between '1996-10-05' and '1996-10-10'",
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-10-10'"
},
......@@ -1241,7 +1241,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"filtered": 7.4667,
"filtered": 7.466666698,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
......@@ -1285,8 +1285,8 @@ ANALYZE
"r_rows": 18,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 0.5662,
"r_filtered": 38.889,
"filtered": 0.566194832,
"r_filtered": 38.88888889,
"index_condition": "lineitem.l_receiptDATE between '1996-10-05' and '1996-10-10'",
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-10-10'"
},
......@@ -1303,8 +1303,8 @@ ANALYZE
"r_rows": 1,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 7.4667,
"r_filtered": 14.286,
"filtered": 7.466666698,
"r_filtered": 14.28571429,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
......@@ -1350,7 +1350,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"rows": 18,
"filtered": 0.5662,
"filtered": 0.566194832,
"index_condition": "lineitem.l_receiptDATE between '1996-10-05' and '1996-10-10'",
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-10-10'"
},
......@@ -1363,7 +1363,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"filtered": 7.4667,
"filtered": 7.466666698,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
......@@ -1407,8 +1407,8 @@ ANALYZE
"r_rows": 18,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 0.5662,
"r_filtered": 38.889,
"filtered": 0.566194832,
"r_filtered": 38.88888889,
"index_condition": "lineitem.l_receiptDATE between '1996-10-05' and '1996-10-10'",
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-10-10'"
},
......@@ -1425,8 +1425,8 @@ ANALYZE
"r_rows": 1,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 7.4667,
"r_filtered": 14.286,
"filtered": 7.466666698,
"r_filtered": 14.28571429,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
......@@ -1473,7 +1473,7 @@ EXPLAIN
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"rows": 39,
"filtered": 3.2,
"filtered": 3.200000048,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
},
......@@ -1491,7 +1491,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 3.0475,
"filtered": 3.047460556,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1529,8 +1529,8 @@ ANALYZE
"r_rows": 41,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.2,
"r_filtered": 2.439,
"filtered": 3.200000048,
"r_filtered": 2.43902439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
},
......@@ -1552,8 +1552,8 @@ ANALYZE
"r_rows": 6,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.0475,
"r_filtered": 66.667,
"filtered": 3.047460556,
"r_filtered": 66.66666667,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1596,7 +1596,7 @@ EXPLAIN
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"rows": 39,
"filtered": 3.2,
"filtered": 3.200000048,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
},
......@@ -1614,7 +1614,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 3.0475,
"filtered": 3.047460556,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1652,8 +1652,8 @@ ANALYZE
"r_rows": 41,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.2,
"r_filtered": 2.439,
"filtered": 3.200000048,
"r_filtered": 2.43902439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
},
......@@ -1675,8 +1675,8 @@ ANALYZE
"r_rows": 6,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.0475,
"r_filtered": 66.667,
"filtered": 3.047460556,
"r_filtered": 66.66666667,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1727,7 +1727,7 @@ EXPLAIN
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"rows": 39,
"filtered": 1.9499,
"filtered": 1.949866652,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
},
......@@ -1745,7 +1745,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 3.0475,
"filtered": 3.047460556,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1788,8 +1788,8 @@ ANALYZE
"r_rows": 41,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 1.9499,
"r_filtered": 2.439,
"filtered": 1.949866652,
"r_filtered": 2.43902439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
},
......@@ -1811,8 +1811,8 @@ ANALYZE
"r_rows": 6,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.0475,
"r_filtered": 66.667,
"filtered": 3.047460556,
"r_filtered": 66.66666667,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1860,7 +1860,7 @@ EXPLAIN
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"rows": 39,
"filtered": 1.9499,
"filtered": 1.949866652,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
},
......@@ -1878,7 +1878,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 3.0475,
"filtered": 3.047460556,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1921,8 +1921,8 @@ ANALYZE
"r_rows": 41,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 1.9499,
"r_filtered": 2.439,
"filtered": 1.949866652,
"r_filtered": 2.43902439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
},
......@@ -1944,8 +1944,8 @@ ANALYZE
"r_rows": 6,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.0475,
"r_filtered": 66.667,
"filtered": 3.047460556,
"r_filtered": 66.66666667,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......
......@@ -80,10 +80,10 @@ EXPLAIN
"used_key_parts": ["l_quantity"]
},
"rows": 605,
"selectivity_pct": 10.075
"selectivity_pct": 10.07493755
},
"rows": 510,
"filtered": 10.075,
"filtered": 10.07493782,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
}
......@@ -116,9 +116,9 @@ ANALYZE
"used_key_parts": ["l_quantity"]
},
"rows": 605,
"selectivity_pct": 10.075,
"selectivity_pct": 10.07493755,
"r_rows": 605,
"r_selectivity_pct": 11.765,
"r_selectivity_pct": 11.76470588,
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
......@@ -127,7 +127,7 @@ ANALYZE
"r_rows": 60,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 10.075,
"filtered": 10.07493782,
"r_filtered": 100,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
......@@ -218,7 +218,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"rows": 510,
"filtered": 10.075,
"filtered": 10.07493782,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
}
......@@ -250,8 +250,8 @@ ANALYZE
"r_rows": 510,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 10.075,
"r_filtered": 11.765,
"filtered": 10.07493782,
"r_filtered": 11.76470588,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
}
......@@ -362,7 +362,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"filtered": 4.7333,
"filtered": 4.733333111,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
}
......@@ -419,8 +419,8 @@ ANALYZE
"r_rows": 1,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 4.7333,
"r_filtered": 11.224,
"filtered": 4.733333111,
"r_filtered": 11.2244898,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
}
......@@ -482,7 +482,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"filtered": 4.7333,
"filtered": 4.733333111,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
}
......@@ -539,8 +539,8 @@ ANALYZE
"r_rows": 1,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 4.7333,
"r_filtered": 11.224,
"filtered": 4.733333111,
"r_filtered": 11.2244898,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
}
......@@ -597,10 +597,10 @@ EXPLAIN
"used_key_parts": ["l_quantity"]
},
"rows": 605,
"selectivity_pct": 10.075
"selectivity_pct": 10.07493755
},
"rows": 510,
"filtered": 10.075,
"filtered": 10.07493782,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
},
......@@ -613,7 +613,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"filtered": 9.6,
"filtered": 9.600000381,
"attached_condition": "orders.o_totalprice between 180000 and 230000"
}
}
......@@ -656,9 +656,9 @@ ANALYZE
"used_key_parts": ["l_quantity"]
},
"rows": 605,
"selectivity_pct": 10.075,
"selectivity_pct": 10.07493755,
"r_rows": 605,
"r_selectivity_pct": 11.765,
"r_selectivity_pct": 11.76470588,
"r_buffer_size": "REPLACED",
"r_filling_time_ms": "REPLACED"
},
......@@ -667,7 +667,7 @@ ANALYZE
"r_rows": 60,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 10.075,
"filtered": 10.07493782,
"r_filtered": 100,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
......@@ -685,8 +685,8 @@ ANALYZE
"r_rows": 1,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 9.6,
"r_filtered": 26.667,
"filtered": 9.600000381,
"r_filtered": 26.66666667,
"attached_condition": "orders.o_totalprice between 180000 and 230000"
}
}
......@@ -757,7 +757,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 0.8557,
"filtered": 0.855656624,
"attached_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30' and lineitem.l_quantity > 45"
}
}
......@@ -817,8 +817,8 @@ ANALYZE
"r_rows": 6.625,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 0.8557,
"r_filtered": 1.6771,
"filtered": 0.855656624,
"r_filtered": 1.677148847,
"attached_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30' and lineitem.l_quantity > 45"
}
}
......@@ -886,7 +886,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 8.4929,
"filtered": 8.492922783,
"attached_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'"
}
}
......@@ -940,11 +940,11 @@ ANALYZE
"ref": ["dbt3_s001.orders.o_orderkey"],
"r_loops": 71,
"rows": 4,
"r_rows": 6.7042,
"r_rows": 6.704225352,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 8.4929,
"r_filtered": 7.7731,
"filtered": 8.492922783,
"r_filtered": 7.773109244,
"attached_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'"
}
}
......@@ -1032,7 +1032,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 8.4929,
"filtered": 8.492922783,
"attached_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'"
}
}
......@@ -1086,11 +1086,11 @@ ANALYZE
"ref": ["dbt3_s001.orders.o_orderkey"],
"r_loops": 71,
"rows": 4,
"r_rows": 6.7042,
"r_rows": 6.704225352,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 8.4929,
"r_filtered": 7.7731,
"filtered": 8.492922783,
"r_filtered": 7.773109244,
"attached_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'"
}
}
......@@ -1177,7 +1177,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"rows": 18,
"filtered": 0.5662,
"filtered": 0.566194832,
"index_condition": "lineitem.l_receiptDATE between '1996-10-05' and '1996-10-10'",
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-10-10'"
},
......@@ -1190,7 +1190,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"filtered": 5.6667,
"filtered": 5.666666508,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
......@@ -1234,8 +1234,8 @@ ANALYZE
"r_rows": 18,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 0.5662,
"r_filtered": 38.889,
"filtered": 0.566194832,
"r_filtered": 38.88888889,
"index_condition": "lineitem.l_receiptDATE between '1996-10-05' and '1996-10-10'",
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-10-10'"
},
......@@ -1252,8 +1252,8 @@ ANALYZE
"r_rows": 1,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 5.6667,
"r_filtered": 14.286,
"filtered": 5.666666508,
"r_filtered": 14.28571429,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
......@@ -1299,7 +1299,7 @@ EXPLAIN
"key_length": "4",
"used_key_parts": ["l_receiptDATE"],
"rows": 18,
"filtered": 0.5662,
"filtered": 0.566194832,
"index_condition": "lineitem.l_receiptDATE between '1996-10-05' and '1996-10-10'",
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-10-10'"
},
......@@ -1312,7 +1312,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"filtered": 5.6667,
"filtered": 5.666666508,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
......@@ -1356,8 +1356,8 @@ ANALYZE
"r_rows": 18,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 0.5662,
"r_filtered": 38.889,
"filtered": 0.566194832,
"r_filtered": 38.88888889,
"index_condition": "lineitem.l_receiptDATE between '1996-10-05' and '1996-10-10'",
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-10-10'"
},
......@@ -1374,8 +1374,8 @@ ANALYZE
"r_rows": 1,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 5.6667,
"r_filtered": 14.286,
"filtered": 5.666666508,
"r_filtered": 14.28571429,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
......@@ -1422,7 +1422,7 @@ EXPLAIN
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"rows": 41,
"filtered": 3.3333,
"filtered": 3.333333254,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
},
......@@ -1440,7 +1440,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 3.0475,
"filtered": 3.047460556,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1478,8 +1478,8 @@ ANALYZE
"r_rows": 41,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.3333,
"r_filtered": 2.439,
"filtered": 3.333333254,
"r_filtered": 2.43902439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
},
......@@ -1501,8 +1501,8 @@ ANALYZE
"r_rows": 6,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.0475,
"r_filtered": 66.667,
"filtered": 3.047460556,
"r_filtered": 66.66666667,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1545,7 +1545,7 @@ EXPLAIN
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"rows": 41,
"filtered": 3.3333,
"filtered": 3.333333254,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
},
......@@ -1563,7 +1563,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 3.0475,
"filtered": 3.047460556,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1601,8 +1601,8 @@ ANALYZE
"r_rows": 41,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.3333,
"r_filtered": 2.439,
"filtered": 3.333333254,
"r_filtered": 2.43902439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
},
......@@ -1624,8 +1624,8 @@ ANALYZE
"r_rows": 6,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.0475,
"r_filtered": 66.667,
"filtered": 3.047460556,
"r_filtered": 66.66666667,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1676,7 +1676,7 @@ EXPLAIN
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"rows": 41,
"filtered": 2.0711,
"filtered": 2.071111202,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
},
......@@ -1694,7 +1694,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 3.0475,
"filtered": 3.047460556,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1737,8 +1737,8 @@ ANALYZE
"r_rows": 41,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 2.0711,
"r_filtered": 2.439,
"filtered": 2.071111202,
"r_filtered": 2.43902439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
},
......@@ -1760,8 +1760,8 @@ ANALYZE
"r_rows": 6,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.0475,
"r_filtered": 66.667,
"filtered": 3.047460556,
"r_filtered": 66.66666667,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1809,7 +1809,7 @@ EXPLAIN
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"rows": 41,
"filtered": 2.0711,
"filtered": 2.071111202,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
},
......@@ -1827,7 +1827,7 @@ EXPLAIN
"used_key_parts": ["l_orderkey"],
"ref": ["dbt3_s001.orders.o_orderkey"],
"rows": 4,
"filtered": 3.0475,
"filtered": 3.047460556,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -1870,8 +1870,8 @@ ANALYZE
"r_rows": 41,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 2.0711,
"r_filtered": 2.439,
"filtered": 2.071111202,
"r_filtered": 2.43902439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
},
......@@ -1893,8 +1893,8 @@ ANALYZE
"r_rows": 6,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 3.0475,
"r_filtered": 66.667,
"filtered": 3.047460556,
"r_filtered": 66.66666667,
"attached_condition": "lineitem.l_shipDATE between '1996-10-01' and '1996-12-01'"
}
}
......@@ -2147,10 +2147,10 @@ EXPLAIN
"used_key_parts": ["f1"]
},
"rows": 1,
"selectivity_pct": 1.5873
"selectivity_pct": 1.587301587
},
"rows": 1,
"filtered": 1.5873,
"filtered": 1.587301612,
"index_condition": "t1.f1 is null",
"attached_condition": "t1.f2 is null and (t1.f2 between 'a' and 'z' or t1.f1 = 'a')"
}
......@@ -2174,10 +2174,10 @@ EXPLAIN
"used_key_parts": ["f1"]
},
"rows": 1,
"selectivity_pct": 1.5873
"selectivity_pct": 1.587301587
},
"rows": 1,
"filtered": 1.5873,
"filtered": 1.587301612,
"index_condition": "t1.f1 is null",
"attached_condition": "t1.f2 is null and (t1.f2 between 'a' and 'z' or t1.f1 = 'a')"
}
......@@ -2877,7 +2877,7 @@ ANALYZE
"used_key_parts": ["fh"]
},
"rows": 6,
"selectivity_pct": 17.143,
"selectivity_pct": 17.14285714,
"r_rows": 5,
"r_selectivity_pct": 40,
"r_buffer_size": "REPLACED",
......@@ -2888,7 +2888,7 @@ ANALYZE
"r_rows": 2,
"r_table_time_ms": "REPLACED",
"r_other_time_ms": "REPLACED",
"filtered": 17.143,
"filtered": 17.1428566,
"r_filtered": 100
},
"buffer_type": "incremental",
......
......@@ -183,7 +183,7 @@ void Json_writer::add_double(double val)
#if __has_feature(memory_sanitizer) // FIXME: remove this workaround for
__msan_unpoison(&val, sizeof val); // main.range_mrr_icp & many other tests
#endif
size_t len= my_snprintf(buf, sizeof(buf), "%lg", val);
size_t len= my_snprintf(buf, sizeof(buf), "%-.11lg", val);
add_unquoted_str(buf, len);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment