🧠 Skip Scan vs Multiple Predicate Ranges
Both behaviors involve scanning multiple ranges of an index.
The difference is:
- ● Skip scan: occurs when the leading index column is not constrained
- ● Multiple predicate ranges: occur when queries contain
IN() predicates on indexed columns
In our example, the leading column
tenant_id is constrained, so YugabyteDB can directly seek to the correct tenant range without performing a skip scan.