by Markus Winand.

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.

About the Author

Photo of Markus Winand

Markus Winand teaches efficient SQL—inhouse and online. He minimizes the development time using modern SQL and optimizes the runtime with smart indexing. His book entitled SQL Performance Explained has become standard reading.

Buy his Book on Amazon

Cover of “SQL Performance Explained”: Squirrel running on grass

The essence of SQL tuning in 200 pages

Buy on Amazon
(paperback only)

Paperback and PDF also available at Markus’ store.

Hire Markus

The quick and easy way to benefit from his extensive knowledge and experience.
Learn more »

“Use The Index, Luke!” by Markus Winand is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.
Legal | Contact | NO WARRANTY | Trademarks | Privacy | CC-BY-NC-ND 3.0 license