@@ -58,7 +58,7 @@ set statement optimizer_switch='rowid_filter=on' for EXPLAIN SELECT l_orderkey,
...
@@ -58,7 +58,7 @@ set statement optimizer_switch='rowid_filter=on' for EXPLAIN SELECT l_orderkey,
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
l_quantity > 45;
l_quantity > 45;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE lineitem range|filter i_l_shipdate,i_l_quantity i_l_shipdate|i_l_quantity 4|9 NULL 509 (11%) Using index condition; Using where; Using rowid filter
1 SIMPLE lineitem range|filter i_l_shipdate,i_l_quantity i_l_shipdate|i_l_quantity 4|9 NULL 509 (12%) Using index condition; Using where; Using rowid filter
set statement optimizer_switch='rowid_filter=on' for EXPLAIN FORMAT=JSON SELECT l_orderkey, l_linenumber, l_shipdate, l_quantity FROM lineitem
set statement optimizer_switch='rowid_filter=on' for EXPLAIN FORMAT=JSON SELECT l_orderkey, l_linenumber, l_shipdate, l_quantity FROM lineitem
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
l_quantity > 45;
l_quantity > 45;
...
@@ -78,11 +78,11 @@ EXPLAIN
...
@@ -78,11 +78,11 @@ EXPLAIN
"key": "i_l_quantity",
"key": "i_l_quantity",
"used_key_parts": ["l_quantity"]
"used_key_parts": ["l_quantity"]
},
},
"rows": 662,
"rows": 702,
"selectivity_pct": 11.024
"selectivity_pct": 11.69
},
},
"rows": 509,
"rows": 509,
"filtered": 11.024,
"filtered": 11.69,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
"attached_condition": "lineitem.l_quantity > 45"
}
}
...
@@ -92,7 +92,7 @@ set statement optimizer_switch='rowid_filter=on' for ANALYZE SELECT l_orderkey,
...
@@ -92,7 +92,7 @@ set statement optimizer_switch='rowid_filter=on' for ANALYZE SELECT l_orderkey,
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
l_quantity > 45;
l_quantity > 45;
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE lineitem range|filter i_l_shipdate,i_l_quantity i_l_shipdate|i_l_quantity 4|9 NULL 509 (11%) 60.00 (3%) 11.02 100.00 Using index condition; Using where; Using rowid filter
1 SIMPLE lineitem range|filter i_l_shipdate,i_l_quantity i_l_shipdate|i_l_quantity 4|9 NULL 509 (12%) 60.00 (3%) 11.69 100.00 Using index condition; Using where; Using rowid filter
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT l_orderkey, l_linenumber, l_shipdate, l_quantity FROM lineitem
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT l_orderkey, l_linenumber, l_shipdate, l_quantity FROM lineitem
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
l_quantity > 45;
l_quantity > 45;
...
@@ -114,8 +114,8 @@ ANALYZE
...
@@ -114,8 +114,8 @@ ANALYZE
"key": "i_l_quantity",
"key": "i_l_quantity",
"used_key_parts": ["l_quantity"]
"used_key_parts": ["l_quantity"]
},
},
"rows": 662,
"rows": 702,
"selectivity_pct": 11.024,
"selectivity_pct": 11.69,
"r_rows": 605,
"r_rows": 605,
"r_selectivity_pct": 3.6855,
"r_selectivity_pct": 3.6855,
"r_buffer_size": "REPLACED",
"r_buffer_size": "REPLACED",
...
@@ -125,7 +125,7 @@ ANALYZE
...
@@ -125,7 +125,7 @@ ANALYZE
"rows": 509,
"rows": 509,
"r_rows": 60,
"r_rows": 60,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 11.024,
"filtered": 11.69,
"r_filtered": 100,
"r_filtered": 100,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
"attached_condition": "lineitem.l_quantity > 45"
...
@@ -216,7 +216,7 @@ EXPLAIN
...
@@ -216,7 +216,7 @@ EXPLAIN
"key_length": "4",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"used_key_parts": ["l_shipDATE"],
"rows": 509,
"rows": 509,
"filtered": 11.024,
"filtered": 11.69,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
"attached_condition": "lineitem.l_quantity > 45"
}
}
...
@@ -226,7 +226,7 @@ set statement optimizer_switch='rowid_filter=off' for ANALYZE SELECT l_orderkey,
...
@@ -226,7 +226,7 @@ set statement optimizer_switch='rowid_filter=off' for ANALYZE SELECT l_orderkey,
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
l_quantity > 45;
l_quantity > 45;
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE lineitem range i_l_shipdate,i_l_quantity i_l_shipdate 4 NULL 509 510.00 11.02 11.76 Using index condition; Using where
1 SIMPLE lineitem range i_l_shipdate,i_l_quantity i_l_shipdate 4 NULL 509 510.00 11.69 11.76 Using index condition; Using where
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT l_orderkey, l_linenumber, l_shipdate, l_quantity FROM lineitem
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT l_orderkey, l_linenumber, l_shipdate, l_quantity FROM lineitem
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
l_quantity > 45;
l_quantity > 45;
...
@@ -247,7 +247,7 @@ ANALYZE
...
@@ -247,7 +247,7 @@ ANALYZE
"rows": 509,
"rows": 509,
"r_rows": 510,
"r_rows": 510,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 11.024,
"filtered": 11.69,
"r_filtered": 11.765,
"r_filtered": 11.765,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
"attached_condition": "lineitem.l_quantity > 45"
...
@@ -362,11 +362,11 @@ EXPLAIN
...
@@ -362,11 +362,11 @@ EXPLAIN
"key": "i_o_totalprice",
"key": "i_o_totalprice",
"used_key_parts": ["o_totalprice"]
"used_key_parts": ["o_totalprice"]
},
},
"rows": 81,
"rows": 69,
"selectivity_pct": 5.4
"selectivity_pct": 4.6
},
},
"rows": 1,
"rows": 1,
"filtered": 5.4,
"filtered": 4.6,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
}
}
}
...
@@ -377,7 +377,7 @@ WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-01-31' AND
...
@@ -377,7 +377,7 @@ WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-01-31' AND
o_totalprice between 200000 and 230000;
o_totalprice between 200000 and 230000;
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity i_l_shipdate 4 NULL 98 98.00 100.00 100.00 Using index condition
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity i_l_shipdate 4 NULL 98 98.00 100.00 100.00 Using index condition
1 SIMPLE orders eq_ref|filter PRIMARY,i_o_totalprice PRIMARY|i_o_totalprice 4|9 dbt3_s001.lineitem.l_orderkey 1 (5%) 0.11 (10%) 5.40 100.00 Using where; Using rowid filter
1 SIMPLE orders eq_ref|filter PRIMARY,i_o_totalprice PRIMARY|i_o_totalprice 4|9 dbt3_s001.lineitem.l_orderkey 1 (5%) 0.11 (10%) 4.60 100.00 Using where; Using rowid filter
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-01-31' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-01-31' AND
...
@@ -421,8 +421,8 @@ ANALYZE
...
@@ -421,8 +421,8 @@ ANALYZE
"key": "i_o_totalprice",
"key": "i_o_totalprice",
"used_key_parts": ["o_totalprice"]
"used_key_parts": ["o_totalprice"]
},
},
"rows": 81,
"rows": 69,
"selectivity_pct": 5.4,
"selectivity_pct": 4.6,
"r_rows": 71,
"r_rows": 71,
"r_selectivity_pct": 10.417,
"r_selectivity_pct": 10.417,
"r_buffer_size": "REPLACED",
"r_buffer_size": "REPLACED",
...
@@ -432,7 +432,7 @@ ANALYZE
...
@@ -432,7 +432,7 @@ ANALYZE
"rows": 1,
"rows": 1,
"r_rows": 0.1122,
"r_rows": 0.1122,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 5.4,
"filtered": 4.6,
"r_filtered": 100,
"r_filtered": 100,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
}
...
@@ -494,7 +494,7 @@ EXPLAIN
...
@@ -494,7 +494,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"rows": 1,
"filtered": 5.4,
"filtered": 4.6,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
}
}
}
...
@@ -505,7 +505,7 @@ WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-01-31' AND
...
@@ -505,7 +505,7 @@ WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-01-31' AND
o_totalprice between 200000 and 230000;
o_totalprice between 200000 and 230000;
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity i_l_shipdate 4 NULL 98 98.00 100.00 100.00 Using index condition
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity i_l_shipdate 4 NULL 98 98.00 100.00 100.00 Using index condition
1 SIMPLE orders eq_ref PRIMARY,i_o_totalprice PRIMARY 4 dbt3_s001.lineitem.l_orderkey 1 1.00 5.40 11.22 Using where
1 SIMPLE orders eq_ref PRIMARY,i_o_totalprice PRIMARY 4 dbt3_s001.lineitem.l_orderkey 1 1.00 4.60 11.22 Using where
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-01-31' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-01-31' AND
...
@@ -548,7 +548,7 @@ ANALYZE
...
@@ -548,7 +548,7 @@ ANALYZE
"rows": 1,
"rows": 1,
"r_rows": 1,
"r_rows": 1,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 5.4,
"filtered": 4.6,
"r_filtered": 11.224,
"r_filtered": 11.224,
"attached_condition": "orders.o_totalprice between 200000 and 230000"
"attached_condition": "orders.o_totalprice between 200000 and 230000"
}
}
...
@@ -576,8 +576,8 @@ WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
...
@@ -576,8 +576,8 @@ WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
l_quantity > 45 AND
l_quantity > 45 AND
o_totalprice between 180000 and 230000;
o_totalprice between 180000 and 230000;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE lineitem range|filter PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity,i_l_quantity i_l_shipdate|i_l_quantity 4|9 NULL 509 (11%) Using index condition; Using where; Using rowid filter
1 SIMPLE lineitem range|filter PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity,i_l_quantity i_l_shipdate|i_l_quantity 4|9 NULL 509 (12%) Using index condition; Using where; Using rowid filter
1 SIMPLE orders eq_ref|filter PRIMARY,i_o_totalprice PRIMARY|i_o_totalprice 4|9 dbt3_s001.lineitem.l_orderkey 1 (10%) Using where; Using rowid filter
1 SIMPLE orders eq_ref|filter PRIMARY,i_o_totalprice PRIMARY|i_o_totalprice 4|9 dbt3_s001.lineitem.l_orderkey 1 (9%) Using where; Using rowid filter
set statement optimizer_switch='rowid_filter=on' for EXPLAIN FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, l_quantity, o_totalprice
set statement optimizer_switch='rowid_filter=on' for EXPLAIN FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, l_quantity, o_totalprice
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
...
@@ -605,11 +605,11 @@ EXPLAIN
...
@@ -605,11 +605,11 @@ EXPLAIN
"key": "i_l_quantity",
"key": "i_l_quantity",
"used_key_parts": ["l_quantity"]
"used_key_parts": ["l_quantity"]
},
},
"rows": 662,
"rows": 702,
"selectivity_pct": 11.024
"selectivity_pct": 11.69
},
},
"rows": 509,
"rows": 509,
"filtered": 11.024,
"filtered": 11.69,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
"attached_condition": "lineitem.l_quantity > 45"
},
},
...
@@ -626,11 +626,11 @@ EXPLAIN
...
@@ -626,11 +626,11 @@ EXPLAIN
"key": "i_o_totalprice",
"key": "i_o_totalprice",
"used_key_parts": ["o_totalprice"]
"used_key_parts": ["o_totalprice"]
},
},
"rows": 152,
"rows": 139,
"selectivity_pct": 10.133
"selectivity_pct": 9.2667
},
},
"rows": 1,
"rows": 1,
"filtered": 10.133,
"filtered": 9.2667,
"attached_condition": "orders.o_totalprice between 180000 and 230000"
"attached_condition": "orders.o_totalprice between 180000 and 230000"
}
}
}
}
...
@@ -641,8 +641,8 @@ WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
...
@@ -641,8 +641,8 @@ WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
l_quantity > 45 AND
l_quantity > 45 AND
o_totalprice between 180000 and 230000;
o_totalprice between 180000 and 230000;
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE lineitem range|filter PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity,i_l_quantity i_l_shipdate|i_l_quantity 4|9 NULL 509 (11%) 60.00 (3%) 11.02 100.00 Using index condition; Using where; Using rowid filter
1 SIMPLE lineitem range|filter PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity,i_l_quantity i_l_shipdate|i_l_quantity 4|9 NULL 509 (12%) 60.00 (3%) 11.69 100.00 Using index condition; Using where; Using rowid filter
1 SIMPLE orders eq_ref|filter PRIMARY,i_o_totalprice PRIMARY|i_o_totalprice 4|9 dbt3_s001.lineitem.l_orderkey 1 (10%) 0.27 (25%) 10.13 100.00 Using where; Using rowid filter
1 SIMPLE orders eq_ref|filter PRIMARY,i_o_totalprice PRIMARY|i_o_totalprice 4|9 dbt3_s001.lineitem.l_orderkey 1 (9%) 0.27 (25%) 9.27 100.00 Using where; Using rowid filter
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, l_quantity, o_totalprice
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, l_quantity, o_totalprice
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
...
@@ -672,8 +672,8 @@ ANALYZE
...
@@ -672,8 +672,8 @@ ANALYZE
"key": "i_l_quantity",
"key": "i_l_quantity",
"used_key_parts": ["l_quantity"]
"used_key_parts": ["l_quantity"]
},
},
"rows": 662,
"rows": 702,
"selectivity_pct": 11.024,
"selectivity_pct": 11.69,
"r_rows": 605,
"r_rows": 605,
"r_selectivity_pct": 3.6855,
"r_selectivity_pct": 3.6855,
"r_buffer_size": "REPLACED",
"r_buffer_size": "REPLACED",
...
@@ -683,7 +683,7 @@ ANALYZE
...
@@ -683,7 +683,7 @@ ANALYZE
"rows": 509,
"rows": 509,
"r_rows": 60,
"r_rows": 60,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 11.024,
"filtered": 11.69,
"r_filtered": 100,
"r_filtered": 100,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
"attached_condition": "lineitem.l_quantity > 45"
...
@@ -701,8 +701,8 @@ ANALYZE
...
@@ -701,8 +701,8 @@ ANALYZE
"key": "i_o_totalprice",
"key": "i_o_totalprice",
"used_key_parts": ["o_totalprice"]
"used_key_parts": ["o_totalprice"]
},
},
"rows": 152,
"rows": 139,
"selectivity_pct": 10.133,
"selectivity_pct": 9.2667,
"r_rows": 144,
"r_rows": 144,
"r_selectivity_pct": 25.424,
"r_selectivity_pct": 25.424,
"r_buffer_size": "REPLACED",
"r_buffer_size": "REPLACED",
...
@@ -712,7 +712,7 @@ ANALYZE
...
@@ -712,7 +712,7 @@ ANALYZE
"rows": 1,
"rows": 1,
"r_rows": 0.2667,
"r_rows": 0.2667,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 10.133,
"filtered": 9.2667,
"r_filtered": 100,
"r_filtered": 100,
"attached_condition": "orders.o_totalprice between 180000 and 230000"
"attached_condition": "orders.o_totalprice between 180000 and 230000"
}
}
...
@@ -771,7 +771,7 @@ EXPLAIN
...
@@ -771,7 +771,7 @@ EXPLAIN
"key_length": "4",
"key_length": "4",
"used_key_parts": ["l_shipDATE"],
"used_key_parts": ["l_shipDATE"],
"rows": 509,
"rows": 509,
"filtered": 11.024,
"filtered": 11.69,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
"attached_condition": "lineitem.l_quantity > 45"
},
},
...
@@ -784,7 +784,7 @@ EXPLAIN
...
@@ -784,7 +784,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"rows": 1,
"filtered": 10.133,
"filtered": 9.2667,
"attached_condition": "orders.o_totalprice between 180000 and 230000"
"attached_condition": "orders.o_totalprice between 180000 and 230000"
}
}
}
}
...
@@ -795,8 +795,8 @@ WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
...
@@ -795,8 +795,8 @@ WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
l_quantity > 45 AND
l_quantity > 45 AND
o_totalprice between 180000 and 230000;
o_totalprice between 180000 and 230000;
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity,i_l_quantity i_l_shipdate 4 NULL 509 510.00 11.02 11.76 Using index condition; Using where
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity,i_l_quantity i_l_shipdate 4 NULL 509 510.00 11.69 11.76 Using index condition; Using where
1 SIMPLE orders eq_ref PRIMARY,i_o_totalprice PRIMARY 4 dbt3_s001.lineitem.l_orderkey 1 1.00 10.13 26.67 Using where
1 SIMPLE orders eq_ref PRIMARY,i_o_totalprice PRIMARY 4 dbt3_s001.lineitem.l_orderkey 1 1.00 9.27 26.67 Using where
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, l_quantity, o_totalprice
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, l_quantity, o_totalprice
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
...
@@ -825,7 +825,7 @@ ANALYZE
...
@@ -825,7 +825,7 @@ ANALYZE
"rows": 509,
"rows": 509,
"r_rows": 510,
"r_rows": 510,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 11.024,
"filtered": 11.69,
"r_filtered": 11.765,
"r_filtered": 11.765,
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"index_condition": "lineitem.l_shipDATE between '1997-01-01' and '1997-06-30'",
"attached_condition": "lineitem.l_quantity > 45"
"attached_condition": "lineitem.l_quantity > 45"
...
@@ -842,7 +842,7 @@ ANALYZE
...
@@ -842,7 +842,7 @@ ANALYZE
"rows": 1,
"rows": 1,
"r_rows": 1,
"r_rows": 1,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 10.133,
"filtered": 9.2667,
"r_filtered": 26.667,
"r_filtered": 26.667,
"attached_condition": "orders.o_totalprice between 180000 and 230000"
"attached_condition": "orders.o_totalprice between 180000 and 230000"
}
}
...
@@ -875,7 +875,7 @@ FROM orders JOIN lineitem ON o_orderkey=l_orderkey
...
@@ -875,7 +875,7 @@ FROM orders JOIN lineitem ON o_orderkey=l_orderkey
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
o_totalprice between 200000 and 230000;
o_totalprice between 200000 and 230000;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE orders range PRIMARY,i_o_totalprice i_o_totalprice 9 NULL 81 Using index condition
1 SIMPLE orders range PRIMARY,i_o_totalprice i_o_totalprice 9 NULL 69 Using index condition
1 SIMPLE lineitem ref|filter PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY|i_l_shipdate 4|4 dbt3_s001.orders.o_orderkey 4 (8%) Using where; Using rowid filter
1 SIMPLE lineitem ref|filter PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY|i_l_shipdate 4|4 dbt3_s001.orders.o_orderkey 4 (8%) Using where; Using rowid filter
set statement optimizer_switch='rowid_filter=on' for EXPLAIN FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
set statement optimizer_switch='rowid_filter=on' for EXPLAIN FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
...
@@ -892,7 +892,7 @@ EXPLAIN
...
@@ -892,7 +892,7 @@ EXPLAIN
"key": "i_o_totalprice",
"key": "i_o_totalprice",
"key_length": "9",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"used_key_parts": ["o_totalprice"],
"rows": 81,
"rows": 69,
"filtered": 100,
"filtered": 100,
"index_condition": "orders.o_totalprice between 200000 and 230000"
"index_condition": "orders.o_totalprice between 200000 and 230000"
},
},
...
@@ -928,7 +928,7 @@ FROM orders JOIN lineitem ON o_orderkey=l_orderkey
...
@@ -928,7 +928,7 @@ FROM orders JOIN lineitem ON o_orderkey=l_orderkey
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
o_totalprice between 200000 and 230000;
o_totalprice between 200000 and 230000;
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE orders range PRIMARY,i_o_totalprice i_o_totalprice 9 NULL 81 71.00 100.00 100.00 Using index condition
1 SIMPLE orders range PRIMARY,i_o_totalprice i_o_totalprice 9 NULL 69 71.00 100.00 100.00 Using index condition
1 SIMPLE lineitem ref|filter PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY|i_l_shipdate 4|4 dbt3_s001.orders.o_orderkey 4 (8%) 0.52 (7%) 8.48 100.00 Using where; Using rowid filter
1 SIMPLE lineitem ref|filter PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY|i_l_shipdate 4|4 dbt3_s001.orders.o_orderkey 4 (8%) 0.52 (7%) 8.48 100.00 Using where; Using rowid filter
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
...
@@ -948,7 +948,7 @@ ANALYZE
...
@@ -948,7 +948,7 @@ ANALYZE
"key_length": "9",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"used_key_parts": ["o_totalprice"],
"r_loops": 1,
"r_loops": 1,
"rows": 81,
"rows": 69,
"r_rows": 71,
"r_rows": 71,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 100,
"filtered": 100,
...
@@ -1037,7 +1037,7 @@ FROM orders JOIN lineitem ON o_orderkey=l_orderkey
...
@@ -1037,7 +1037,7 @@ FROM orders JOIN lineitem ON o_orderkey=l_orderkey
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
o_totalprice between 200000 and 230000;
o_totalprice between 200000 and 230000;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE orders range PRIMARY,i_o_totalprice i_o_totalprice 9 NULL 81 Using index condition
1 SIMPLE orders range PRIMARY,i_o_totalprice i_o_totalprice 9 NULL 69 Using index condition
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 Using where
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 Using where
set statement optimizer_switch='rowid_filter=off' for EXPLAIN FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
set statement optimizer_switch='rowid_filter=off' for EXPLAIN FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
...
@@ -1054,7 +1054,7 @@ EXPLAIN
...
@@ -1054,7 +1054,7 @@ EXPLAIN
"key": "i_o_totalprice",
"key": "i_o_totalprice",
"key_length": "9",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"used_key_parts": ["o_totalprice"],
"rows": 81,
"rows": 69,
"filtered": 100,
"filtered": 100,
"index_condition": "orders.o_totalprice between 200000 and 230000"
"index_condition": "orders.o_totalprice between 200000 and 230000"
},
},
...
@@ -1082,7 +1082,7 @@ FROM orders JOIN lineitem ON o_orderkey=l_orderkey
...
@@ -1082,7 +1082,7 @@ FROM orders JOIN lineitem ON o_orderkey=l_orderkey
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
WHERE l_shipdate BETWEEN '1997-01-01' AND '1997-06-30' AND
o_totalprice between 200000 and 230000;
o_totalprice between 200000 and 230000;
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE orders range PRIMARY,i_o_totalprice i_o_totalprice 9 NULL 81 71.00 100.00 100.00 Using index condition
1 SIMPLE orders range PRIMARY,i_o_totalprice i_o_totalprice 9 NULL 69 71.00 100.00 100.00 Using index condition
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 6.70 8.48 7.77 Using where
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 6.70 8.48 7.77 Using where
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT o_orderkey, l_linenumber, l_shipdate, o_totalprice
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
...
@@ -1102,7 +1102,7 @@ ANALYZE
...
@@ -1102,7 +1102,7 @@ ANALYZE
"key_length": "9",
"key_length": "9",
"used_key_parts": ["o_totalprice"],
"used_key_parts": ["o_totalprice"],
"r_loops": 1,
"r_loops": 1,
"rows": 81,
"rows": 69,
"r_rows": 71,
"r_rows": 71,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 100,
"filtered": 100,
...
@@ -1227,7 +1227,7 @@ EXPLAIN
...
@@ -1227,7 +1227,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"rows": 1,
"filtered": 8.7333,
"filtered": 7.4667,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
}
}
...
@@ -1240,7 +1240,7 @@ l_receiptdate BETWEEN '1996-10-05' AND '1996-10-10' AND
...
@@ -1240,7 +1240,7 @@ l_receiptdate BETWEEN '1996-10-05' AND '1996-10-10' AND
o_totalprice BETWEEN 200000 AND 250000;
o_totalprice BETWEEN 200000 AND 250000;
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_receiptdate,i_l_orderkey,i_l_orderkey_quantity i_l_receiptdate 4 NULL 18 18.00 0.57 38.89 Using index condition; Using where
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_receiptdate,i_l_orderkey,i_l_orderkey_quantity i_l_receiptdate 4 NULL 18 18.00 0.57 38.89 Using index condition; Using where
1 SIMPLE orders eq_ref PRIMARY,i_o_totalprice PRIMARY 4 dbt3_s001.lineitem.l_orderkey 1 1.00 8.73 14.29 Using where
1 SIMPLE orders eq_ref PRIMARY,i_o_totalprice PRIMARY 4 dbt3_s001.lineitem.l_orderkey 1 1.00 7.47 14.29 Using where
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT l_shipdate, l_receiptdate, o_totalprice
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT l_shipdate, l_receiptdate, o_totalprice
FROM orders, lineitem
FROM orders, lineitem
WHERE o_orderkey=l_orderkey AND
WHERE o_orderkey=l_orderkey AND
...
@@ -1287,7 +1287,7 @@ ANALYZE
...
@@ -1287,7 +1287,7 @@ ANALYZE
"rows": 1,
"rows": 1,
"r_rows": 1,
"r_rows": 1,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 8.7333,
"filtered": 7.4667,
"r_filtered": 14.286,
"r_filtered": 14.286,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
...
@@ -1347,7 +1347,7 @@ EXPLAIN
...
@@ -1347,7 +1347,7 @@ EXPLAIN
"used_key_parts": ["o_orderkey"],
"used_key_parts": ["o_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"ref": ["dbt3_s001.lineitem.l_orderkey"],
"rows": 1,
"rows": 1,
"filtered": 8.7333,
"filtered": 7.4667,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
}
}
...
@@ -1360,7 +1360,7 @@ l_receiptdate BETWEEN '1996-10-05' AND '1996-10-10' AND
...
@@ -1360,7 +1360,7 @@ l_receiptdate BETWEEN '1996-10-05' AND '1996-10-10' AND
o_totalprice BETWEEN 200000 AND 250000;
o_totalprice BETWEEN 200000 AND 250000;
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_receiptdate,i_l_orderkey,i_l_orderkey_quantity i_l_receiptdate 4 NULL 18 18.00 0.57 38.89 Using index condition; Using where
1 SIMPLE lineitem range PRIMARY,i_l_shipdate,i_l_receiptdate,i_l_orderkey,i_l_orderkey_quantity i_l_receiptdate 4 NULL 18 18.00 0.57 38.89 Using index condition; Using where
1 SIMPLE orders eq_ref PRIMARY,i_o_totalprice PRIMARY 4 dbt3_s001.lineitem.l_orderkey 1 1.00 8.73 14.29 Using where
1 SIMPLE orders eq_ref PRIMARY,i_o_totalprice PRIMARY 4 dbt3_s001.lineitem.l_orderkey 1 1.00 7.47 14.29 Using where
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT l_shipdate, l_receiptdate, o_totalprice
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT l_shipdate, l_receiptdate, o_totalprice
FROM orders, lineitem
FROM orders, lineitem
WHERE o_orderkey=l_orderkey AND
WHERE o_orderkey=l_orderkey AND
...
@@ -1407,7 +1407,7 @@ ANALYZE
...
@@ -1407,7 +1407,7 @@ ANALYZE
"rows": 1,
"rows": 1,
"r_rows": 1,
"r_rows": 1,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 8.7333,
"filtered": 7.4667,
"r_filtered": 14.286,
"r_filtered": 14.286,
"attached_condition": "orders.o_totalprice between 200000 and 250000"
"attached_condition": "orders.o_totalprice between 200000 and 250000"
}
}
...
@@ -1455,7 +1455,7 @@ EXPLAIN
...
@@ -1455,7 +1455,7 @@ EXPLAIN
"key_length": "9",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"used_key_parts": ["o_totaldiscount"],
"rows": 39,
"rows": 39,
"filtered": 3.2667,
"filtered": 3.2,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
"attached_condition": "orders.o_totalprice between 200000 and 220000"
},
},
...
@@ -1485,7 +1485,7 @@ o_totaldiscount BETWEEN 18000 AND 20000 AND
...
@@ -1485,7 +1485,7 @@ o_totaldiscount BETWEEN 18000 AND 20000 AND
o_totalprice BETWEEN 200000 AND 220000 AND
o_totalprice BETWEEN 200000 AND 220000 AND
l_shipdate BETWEEN '1996-10-01' AND '1996-12-01';
l_shipdate BETWEEN '1996-10-01' AND '1996-12-01';
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE orders range PRIMARY,i_o_totalprice,i_o_totaldiscount i_o_totaldiscount 9 NULL 39 41.00 3.27 2.44 Using index condition; Using where
1 SIMPLE orders range PRIMARY,i_o_totalprice,i_o_totaldiscount i_o_totaldiscount 9 NULL 39 41.00 3.20 2.44 Using index condition; Using where
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 6.00 3.05 66.67 Using where
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 6.00 3.05 66.67 Using where
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT o_totaldiscount, o_totalprice, l_shipdate
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT o_totaldiscount, o_totalprice, l_shipdate
FROM orders, lineitem
FROM orders, lineitem
...
@@ -1510,7 +1510,7 @@ ANALYZE
...
@@ -1510,7 +1510,7 @@ ANALYZE
"rows": 39,
"rows": 39,
"r_rows": 41,
"r_rows": 41,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 3.2667,
"filtered": 3.2,
"r_filtered": 2.439,
"r_filtered": 2.439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
"attached_condition": "orders.o_totalprice between 200000 and 220000"
...
@@ -1576,7 +1576,7 @@ EXPLAIN
...
@@ -1576,7 +1576,7 @@ EXPLAIN
"key_length": "9",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"used_key_parts": ["o_totaldiscount"],
"rows": 39,
"rows": 39,
"filtered": 3.2667,
"filtered": 3.2,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
"attached_condition": "orders.o_totalprice between 200000 and 220000"
},
},
...
@@ -1606,7 +1606,7 @@ o_totaldiscount BETWEEN 18000 AND 20000 AND
...
@@ -1606,7 +1606,7 @@ o_totaldiscount BETWEEN 18000 AND 20000 AND
o_totalprice BETWEEN 200000 AND 220000 AND
o_totalprice BETWEEN 200000 AND 220000 AND
l_shipdate BETWEEN '1996-10-01' AND '1996-12-01';
l_shipdate BETWEEN '1996-10-01' AND '1996-12-01';
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE orders range PRIMARY,i_o_totalprice,i_o_totaldiscount i_o_totaldiscount 9 NULL 39 41.00 3.27 2.44 Using index condition; Using where
1 SIMPLE orders range PRIMARY,i_o_totalprice,i_o_totaldiscount i_o_totaldiscount 9 NULL 39 41.00 3.20 2.44 Using index condition; Using where
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 6.00 3.05 66.67 Using where
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 6.00 3.05 66.67 Using where
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT o_totaldiscount, o_totalprice, l_shipdate
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT o_totaldiscount, o_totalprice, l_shipdate
FROM orders, lineitem
FROM orders, lineitem
...
@@ -1631,7 +1631,7 @@ ANALYZE
...
@@ -1631,7 +1631,7 @@ ANALYZE
"rows": 39,
"rows": 39,
"r_rows": 41,
"r_rows": 41,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 3.2667,
"filtered": 3.2,
"r_filtered": 2.439,
"r_filtered": 2.439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"attached_condition": "orders.o_totalprice between 200000 and 220000"
"attached_condition": "orders.o_totalprice between 200000 and 220000"
...
@@ -1705,7 +1705,7 @@ EXPLAIN
...
@@ -1705,7 +1705,7 @@ EXPLAIN
"key_length": "9",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"used_key_parts": ["o_totaldiscount"],
"rows": 39,
"rows": 39,
"filtered": 1.9905,
"filtered": 1.9499,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"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'"
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
},
},
...
@@ -1735,7 +1735,7 @@ o_totaldiscount BETWEEN 18000 AND 20000 AND
...
@@ -1735,7 +1735,7 @@ o_totaldiscount BETWEEN 18000 AND 20000 AND
o_totalprice BETWEEN 200000 AND 220000 AND
o_totalprice BETWEEN 200000 AND 220000 AND
l_shipdate BETWEEN '1996-10-01' AND '1996-12-01';
l_shipdate BETWEEN '1996-10-01' AND '1996-12-01';
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE orders range PRIMARY,i_o_orderdate,i_o_totalprice,i_o_totaldiscount i_o_totaldiscount 9 NULL 39 41.00 1.99 2.44 Using index condition; Using where
1 SIMPLE orders range PRIMARY,i_o_orderdate,i_o_totalprice,i_o_totaldiscount i_o_totaldiscount 9 NULL 39 41.00 1.95 2.44 Using index condition; Using where
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 6.00 3.05 66.67 Using where
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 6.00 3.05 66.67 Using where
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT o_totaldiscount, o_totalprice, l_shipdate
set statement optimizer_switch='rowid_filter=on' for ANALYZE FORMAT=JSON SELECT o_totaldiscount, o_totalprice, l_shipdate
FROM v1, lineitem
FROM v1, lineitem
...
@@ -1765,7 +1765,7 @@ ANALYZE
...
@@ -1765,7 +1765,7 @@ ANALYZE
"rows": 39,
"rows": 39,
"r_rows": 41,
"r_rows": 41,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 1.9905,
"filtered": 1.9499,
"r_filtered": 2.439,
"r_filtered": 2.439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"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'"
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
...
@@ -1836,7 +1836,7 @@ EXPLAIN
...
@@ -1836,7 +1836,7 @@ EXPLAIN
"key_length": "9",
"key_length": "9",
"used_key_parts": ["o_totaldiscount"],
"used_key_parts": ["o_totaldiscount"],
"rows": 39,
"rows": 39,
"filtered": 1.9905,
"filtered": 1.9499,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"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'"
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
},
},
...
@@ -1866,7 +1866,7 @@ o_totaldiscount BETWEEN 18000 AND 20000 AND
...
@@ -1866,7 +1866,7 @@ o_totaldiscount BETWEEN 18000 AND 20000 AND
o_totalprice BETWEEN 200000 AND 220000 AND
o_totalprice BETWEEN 200000 AND 220000 AND
l_shipdate BETWEEN '1996-10-01' AND '1996-12-01';
l_shipdate BETWEEN '1996-10-01' AND '1996-12-01';
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
1 SIMPLE orders range PRIMARY,i_o_orderdate,i_o_totalprice,i_o_totaldiscount i_o_totaldiscount 9 NULL 39 41.00 1.99 2.44 Using index condition; Using where
1 SIMPLE orders range PRIMARY,i_o_orderdate,i_o_totalprice,i_o_totaldiscount i_o_totaldiscount 9 NULL 39 41.00 1.95 2.44 Using index condition; Using where
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 6.00 3.05 66.67 Using where
1 SIMPLE lineitem ref PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity PRIMARY 4 dbt3_s001.orders.o_orderkey 4 6.00 3.05 66.67 Using where
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT o_totaldiscount, o_totalprice, l_shipdate
set statement optimizer_switch='rowid_filter=off' for ANALYZE FORMAT=JSON SELECT o_totaldiscount, o_totalprice, l_shipdate
FROM v1, lineitem
FROM v1, lineitem
...
@@ -1896,7 +1896,7 @@ ANALYZE
...
@@ -1896,7 +1896,7 @@ ANALYZE
"rows": 39,
"rows": 39,
"r_rows": 41,
"r_rows": 41,
"r_total_time_ms": "REPLACED",
"r_total_time_ms": "REPLACED",
"filtered": 1.9905,
"filtered": 1.9499,
"r_filtered": 2.439,
"r_filtered": 2.439,
"index_condition": "orders.o_totaldiscount between 18000 and 20000",
"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'"
"attached_condition": "orders.o_totalprice between 200000 and 220000 and orders.o_orderDATE between '1992-12-01' and '1997-01-01'"
SELECT a.* FROM (SELECT * FROM ts si WHERE si.query='@* 123nothingtofind123;mode=extended2;limit=1000000;maxmatches=500') AS a UNION SELECT b.* FROM (SELECT * FROM ts si WHERE si.query=';mode=extended2;limit=1000000;maxmatches=500') AS b;
SELECT a.* FROM (SELECT * FROM ts si WHERE si.query='@* 123nothingtofind123;mode=extended2;limit=1000000;maxmatches=500') AS a UNION SELECT b.* FROM (SELECT * FROM ts si WHERE si.query=';mode=extended2;limit=1000000;maxmatches=500') AS b;