adaptiveplans
This is an old revision of the document!
Adaptive Plans
Adaptive Plans in Oracle Database 12c allow runtime changes to execution plans.
At runtime the cardinality of operations is checked and compared to the cardinality estimates used to generate the execution plan. If the cardinality of the operation is not as expected, an alternative subplan can be used.
To view the whole adaptive plan run the following after you SQL statement
SELECT * FROM TABLE(DBMS_XPLAN.display_cursor(format => 'adaptive'));
Use the following to also see the expected and actual cardinalities.
SELECT * FROM TABLE(DBMS_XPLAN.display_cursor(format => 'adaptive allstats last'));
adaptiveplans.1437571721.txt.gz · Last modified: 2025/03/08 22:23 (external edit)