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
308
308
41 parameter => 'ALTERNATE_PLAN_BASELINE',
309
309
42 value => 'EXISTING');
310
310
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 --
316
311
49 DBMS_SPM.SET_EVOLVE_TASK_PARAMETER(
317
312
50 task_name => tname,
318
313
51 parameter => 'ALTERNATE_PLAN_SOURCE',
Original file line number Diff line number Diff line change @@ -15,10 +15,6 @@ connect spmdemo/spmdemo
15
15
-- Run the testq1 multiple times and capture in AWR
16
16
-- Assuming a SQL Disagnostics Pack licence.
17
17
--
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
- --
22
18
@@q1many
23
19
--
24
20
-- 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
48
48
41 parameter => 'ALTERNATE_PLAN_BASELINE',
49
49
42 value => 'EXISTING');
50
50
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 --
56
51
49 DBMS_SPM.SET_EVOLVE_TASK_PARAMETER(
57
52
50 task_name => tname,
58
53
51 parameter => 'ALTERNATE_PLAN_SOURCE',
Original file line number Diff line number Diff line change 82
82
parameter => ' ALTERNATE_PLAN_BASELINE' ,
83
83
value => ' EXISTING' );
84
84
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
- --
90
85
DBMS_SPM .SET_EVOLVE_TASK_PARAMETER (
91
86
task_name => tname,
92
87
parameter => ' ALTERNATE_PLAN_SOURCE' ,
You can’t perform that action at this time.
0 commit comments