Skip to content

Commit 1ecaba0

Browse files
authored
Merge pull request oracle-samples#90 from nigelbayliss/master
License doc should be single source of truth
2 parents 5369bc1 + f5d3ea8 commit 1ecaba0

File tree

4 files changed

+0
-19
lines changed

4 files changed

+0
-19
lines changed

optimizer/spm_fix/example.lst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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',

optimizer/spm_fix/example.sql

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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

optimizer/spm_fix/spm.lst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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',

optimizer/spm_fix/spm.sql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ BEGIN
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',

0 commit comments

Comments
 (0)