Index Filter Predicates


There are two different ways databases use indexes to apply the where clauses (predicates):

  • As access predicates

    The access predicates express the start and stop conditions for the leaf node traversal.

  • As filter predicates

    Filter predicates are applied during the leaf node traversal only. They don’t contribute to the start and stop conditions and do not narrow the scanned range.

Important

Access and filter predicates are attributes of explain plan operations—not index attributes.

That means that different where clauses can use different access and filter predicates on the same index.

Recent Questions at Ask.Use-The-Index-Luke.com

0
votes
1
answer
229
views

query regd the CBO decision

Apr 17 at 10:27 Hulda(suspended)
index-choice optimizer
0
votes
3
answers
2.0k
views

Examples for Function Based Indexes?

Mar 25 at 15:52 Castorp 1
function-based
0
votes
1
answer
610
views

Updating multiple rows using a subquery in SQL

Jan 08 at 09:52 Jan 26
subquery update sql