Commit 859d6066 authored by Charles Delort's avatar Charles Delort
Browse files

fix hints: OPTIMIZER_ADAPTIVE_FEATURES obsolete since Oracle 12.2

parent 9af359de
......@@ -1582,7 +1582,9 @@ RelationalObjectTable::queryDefinitionGeneric
if ( serverVersionMajor >= 12 ) // FIX bug #103602
{
// Do not prepare adaptive plans (get rid of STATISTICS COLLECTOR in exec plans)
hint += "OPT_PARAM('OPTIMIZER_ADAPTIVE_FEATURES','FALSE') ";
// OPTIMIZER_ADAPTIVE_FEATURES obsolete in Oracle 12.2
hint += "OPT_PARAM('OPTIMIZER_ADAPTIVE_PLANS','FALSE') ";
hint += "OPT_PARAM('OPTIMIZER_ADAPTIVE_STATISTICS','FALSE') ";
// Do not use adaptive plans (get rid of OPT_ESTIMATE extra queries)
hint += "OPT_PARAM('OPTIMIZER_ADAPTIVE_REPORTING_ONLY','TRUE') ";
// NB: both hints above must be included!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment