在Oracle中配置SQL Plan Management (SPM)需要执行以下步骤:
EXEC DBMS_SPM.CREATE_SQL_PLAN_BASELINE(plan_name => 'baseline_name', sql_handle => 'sql_handle_value');
EXEC DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE(sql_handle => 'sql_handle_value', plan_name => 'baseline_name', fixed => 'YES');
EXEC DBMS_SPM.ACCEPT_SQL_PLAN_BASELINE(plan_name => 'baseline_name', task_name => 'task_name');
EXEC DBMS_SPM.EXECUTE_TUNING_TASK(task_name => 'task_name');
通过执行上述步骤,您可以在Oracle中成功配置SQL Plan Management (SPM)。