Rowid Filtering Optimization
Example
SELECT ...
FROM orders JOIN lineitem ON o_orderkey=l_orderkey
WHERE
l_shipdate BETWEEN '1997-01-01' AND '1997-01-31' AND
o_totalprice between 200000 and 230000;*************************** 1. row ***************************
id: 1
select_type: SIMPLE
table: lineitem
type: range
possible_keys: PRIMARY,i_l_shipdate,i_l_orderkey,i_l_orderkey_quantity
key: i_l_shipdate
key_len: 4
ref: NULL
rows: 98
Extra: Using index condition
*************************** 2. row ***************************
id: 1
select_type: SIMPLE
table: orders
type: eq_ref|filter
possible_keys: PRIMARY,i_o_totalprice
key: PRIMARY|i_o_totalprice
key_len: 4|9
ref: dbt3_s001.lineitem.l_orderkey
rows: 1 (5%)
Extra: Using where; Using rowid filterDetails
Limitations
Control
Last updated
Was this helpful?

