File tree Expand file tree Collapse file tree 4 files changed +0
-19
lines changed Expand file tree Collapse file tree 4 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -308,11 +308,6 @@ SQL> DECLARE
308308 41 parameter => 'ALTERNATE_PLAN_BASELINE',
309309 42 value => 'EXISTING');
310310 43
311- 44 --
312- 45 -- You can use CURSOR_CACHE+SQL_TUNING_SET+AUTOMATIC_WORKLOAD_REPOSITORY
313- 46 -- if you have the Oracle Tuning and Oracle Diagnostic Packs.
314- 47 -- See Oracle License Guide for details.
315- 48 --
316311 49 DBMS_SPM.SET_EVOLVE_TASK_PARAMETER(
317312 50 task_name => tname,
318313 51 parameter => 'ALTERNATE_PLAN_SOURCE',
Original file line number Diff line number Diff line change @@ -15,10 +15,6 @@ connect spmdemo/spmdemo
1515-- Run the testq1 multiple times and capture in AWR
1616-- Assuming a SQL Disagnostics Pack licence.
1717--
18- -- We could also load Q1 into a SQL Tuning Set because
19- -- this source is also searched by SPM for previous plans.
20- -- SQL tuning sets required a SQL Tuning Pack licence.
21- --
2218@@q1many
2319--
2420-- Induce a bad plan for Q1 by dropping the histograms
Original file line number Diff line number Diff line change @@ -48,11 +48,6 @@ SQL> DECLARE
4848 41 parameter => 'ALTERNATE_PLAN_BASELINE',
4949 42 value => 'EXISTING');
5050 43
51- 44 --
52- 45 -- You can use CURSOR_CACHE+SQL_TUNING_SET+AUTOMATIC_WORKLOAD_REPOSITORY
53- 46 -- if you have the Oracle Tuning and Oracle Diagnostic Packs.
54- 47 -- See Oracle License Guide for details.
55- 48 --
5651 49 DBMS_SPM.SET_EVOLVE_TASK_PARAMETER(
5752 50 task_name => tname,
5853 51 parameter => 'ALTERNATE_PLAN_SOURCE',
Original file line number Diff line number Diff line change 8282 parameter => ' ALTERNATE_PLAN_BASELINE' ,
8383 value => ' EXISTING' );
8484
85- --
86- -- You can use CURSOR_CACHE+SQL_TUNING_SET+AUTOMATIC_WORKLOAD_REPOSITORY
87- -- if you have the Oracle Tuning and Oracle Diagnostic Packs.
88- -- See Oracle License Guide for details.
89- --
9085 DBMS_SPM .SET_EVOLVE_TASK_PARAMETER (
9186 task_name => tname,
9287 parameter => ' ALTERNATE_PLAN_SOURCE' ,
You can’t perform that action at this time.
0 commit comments