Query Performance is influenced by its predicate order
(Doc ID 276877.1)
Last updated on OCTOBER 08, 2021
Applies to:Oracle Database - Enterprise Edition
Oracle Database - Standard Edition
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.
The intention of this article is to make readers aware that the order of application of the predicates in a query has an influence on it's performance.
This article is relevant to any developer and DBA. Most of the information here applies to any query in any version using Cost-Based Optimization.
Some of the information in this article also applies to Rule-based optimization, but in this case there is no guarantee that the user will be able to do anything to influence the order of the predicates besides reordering them in the WHERE clause.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!