When INDEX SKIP SCAN Is Healthy
Acceptable only when the omitted leading column has very low cardinality (e.g. 2-5 distinct values like gender or boolean flags).
When INDEX SKIP SCAN Becomes a Production Bottleneck
Slow when the leading column has hundreds or thousands of distinct values, generating excessive logical reads (Buffers).
DBMS_XPLAN Tuning Checklist
- Check the distinct value count (NDV) of the composite index's first column.
- Create a dedicated index starting with the columns actually filtered in WHERE.
Before (Slow Pattern)
-- Index is on (region_id, email) with 400 regions; query filters only email SELECT * FROM users WHERE email = :v_email;
After (Tuned Pattern)
CREATE INDEX idx_users_email ON users (email) ONLINE;