Oracle Database 18c includes a powerful array of query optimization features that maximize performance and allow DBAs to become more productive by providing innovation in plan stability.
The Optimizer is one of the most fascinating components of the Oracle Database, since it is essential to the processing of every SQL statement. The Optimizer determines the most efficient execution plan for each SQL statement based on the structure of the query, the available statistical information about the underlying objects, and all the relevant optimizer and execution features.
Adaptive Query Optimization is a set of capabilities that enable the optimizer to make run-time adjustments to execution plans and discover additional information that can lead to better statistics. This approach is extremely helpful when existing statistics are not sufficient to generate an optimal plan. There are two distinct aspects in adaptive query optimization; adaptive plans, which focuses on improving the initial execution of a query and adaptive statistics, which provide additional information to improve subsequent executions.
SQL plan management is a mechanism that enables the optimizer to automatically manage execution plans, ensuring that the database uses only known or verified plans.
In SQL plan management, the optimizer has the following main objectives:
SQL plan management is a mechanism that enables the optimizer to automatically manage execution plans, ensuring that the database uses only known or verified plans.
In SQL plan management, the optimizer has the following main objectives:
The job of the Optimizer is to determine the best execution plan for each SQL statement. An overview of the Optimizer, uses of the Optimizer, Optimizer components, access paths, Optimizer statistics and Optimizer hints can be found in Database Concepts. More documentation specific to query Optimizer fundamentals, Optimizer statistics and Optimizer controls can be found in the SQL Tuning Guide. Documentation specific to the Optimizer is also available in the Database Performance Tuning Guide.
Database Performance Tuning Guide
Learn more about Oracle Query Optimization by exploring data sheets, presentations, online tutorials, demos, and more!