Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 83aaca2

Browse files
committed
2019-02-19
1 parent 94ab2fb commit 83aaca2

114 files changed

Lines changed: 9443 additions & 4467 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

iod/iod_amw/iod_amw.pks.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CREATE OR REPLACE PACKAGE &&1..iod_amw AUTHID CURRENT_USER AS
2222
-- (2) Expected to execute for all PDBs.
2323
--
2424
/* ------------------------------------------------------------------------------------ */
25-
gk_report_only CONSTANT VARCHAR2(1) := 'Y';
25+
gk_report_only CONSTANT VARCHAR2(1) := 'N';
2626
gk_default_timezone CONSTANT VARCHAR2(8) := '+00:00';
2727
gk_log_history CONSTANT VARCHAR2(8) := '14';
2828
gk_accept_sql_profiles_status CONSTANT VARCHAR2(8) := 'DISABLE';

iod/iod_amw/version.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DEF library_version = '2018-09-25T18:38:21';
1+
DEF library_version = '2019-02-11T19:47:28';

iod/iod_rsrc_mgr/iod_rsrc_mgr.pks.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ CREATE OR REPLACE PACKAGE &&1..iod_rsrc_mgr AUTHID CURRENT_USER AS
3636
-- Notes: (1) Parameter p_report_only = 'Y' produces "what-if" report.
3737
--
3838
/* ------------------------------------------------------------------------------------ */
39-
gk_report_only CONSTANT VARCHAR2(1) := 'Y';
39+
gk_report_only CONSTANT VARCHAR2(1) := 'N';
4040
gk_plan CONSTANT VARCHAR2(128) := 'IOD_CDB_PLAN';
4141
gk_incl_pdb_directives CONSTANT VARCHAR2(1) := 'Y';
42-
gk_switch_plan CONSTANT VARCHAR2(1) := 'N';
42+
gk_switch_plan CONSTANT VARCHAR2(1) := 'Y';
4343
gk_ash_age_days CONSTANT NUMBER := 10;
4444
gk_pdb_age_days CONSTANT NUMBER := 5;
4545
gk_utilization_adjust_factor CONSTANT NUMBER := 1; -- 1.2 means adjust 20% up "original" algorithm

iod/iod_rsrc_mgr/objects.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CREATE TABLE &&1..rsrc_mgr_plan_config (
1616
parallel_server_limit_default NUMBER,
1717
parallel_server_imit_pdb_cap NUMBER
1818
)
19-
TABLESPACE USERS
19+
TABLESPACE IOD
2020
]';
2121
l_sql_statement2 VARCHAR2(32767) := q'[
2222
INSERT INTO &&1..rsrc_mgr_plan_config (plan) VALUES ('IOD_CDB_PLAN')
@@ -55,7 +55,7 @@ CREATE TABLE &&1..rsrc_mgr_pdb_config (
5555
utilization_limit NUMBER,
5656
parallel_server_limit NUMBER
5757
)
58-
TABLESPACE USERS
58+
TABLESPACE IOD
5959
]';
6060
l_sql_statement2 VARCHAR2(32767) := q'[
6161
ALTER TABLE &&1..rsrc_mgr_pdb_config ADD (
@@ -116,7 +116,7 @@ INTERVAL (NUMTOYMINTERVAL(1,'MONTH'))
116116
PARTITION before_2018_04_01 VALUES LESS THAN (TO_DATE('2018-04-01', 'YYYY-MM-DD'))
117117
)
118118
ROW STORE COMPRESS ADVANCED
119-
TABLESPACE USERS
119+
TABLESPACE IOD
120120
]';
121121
BEGIN
122122
SELECT COUNT(*) INTO l_exists FROM dba_tables WHERE owner = UPPER(TRIM('&&1.')) AND table_name = UPPER('rsrc_mgr_pdb_hist');

iod/iod_rsrc_mgr/version.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DEF library_version = '2018-09-24T15:53:37';
1+
DEF library_version = '2019-02-11T19:44:59';

iod/iod_sess/objects.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ PARTITION before_2018_03_01 VALUES LESS THAN (TO_DATE('2018-03-01', 'YYYY-MM-DD'
4242
PARTITION before_2018_04_01 VALUES LESS THAN (TO_DATE('2018-04-01', 'YYYY-MM-DD'))
4343
)
4444
ROW STORE COMPRESS ADVANCED
45-
TABLESPACE USERS
45+
TABLESPACE IOD
4646
]';
4747
l_sql_statement2 VARCHAR2(32767) := q'[
4848
ALTER TABLE &&1..inactive_sessions_audit_trail ADD (

iod/iod_sess/version.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
DEF library_version = '2018-09-20T18:54:38';
1+
DEF library_version = '2019-02-11T19:47:28';

iod/iod_space/iod_space.pkb.sql

Lines changed: 132 additions & 32 deletions
Large diffs are not rendered by default.

iod/iod_space/iod_space.pks.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ CREATE OR REPLACE PACKAGE &&1..iod_space AUTHID CURRENT_USER AS
4242
--
4343
/* ------------------------------------------------------------------------------------ */
4444
gk_package_version CONSTANT VARCHAR2(30) := '&&library_version.'; -- used to circumvent ORA-04068: existing state of packages has been discarded
45-
gk_report_only CONSTANT VARCHAR2(1) := 'Y';
45+
gk_report_only CONSTANT VARCHAR2(1) := 'N';
4646
gk_only_if_ref_by_full_scans CONSTANT VARCHAR2(1) := 'Y'; -- to perform DDL oprration
4747
gk_min_size_mb CONSTANT NUMBER := 10; -- of segment to perform DDL oprration
4848
gk_max_size_gb CONSTANT NUMBER := 100; -- of segment to perform DDL oprration

iod/iod_space/iod_space_changes.log

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2+
2019-01-11
3+
~~~~~~~~~
4+
1. rrighett - tablespace_resize() - added smallfile support
5+
2. rrighett - purge_recyclebin() - changed to support lower case table_name
6+
7+
2019-01-03
8+
~~~~~~~~~~
9+
1. rrighett - table_stats_hist() - added filter |AND o.object_type = 'TABLE'| on s_cdb_table view to remove duplicate for Partitioned tables
10+
111
2018-11-15
212
~~~~~~~~~~
313
1. Include in alert log instructions how to drop staging objects from a prior failed table redefinition.

0 commit comments

Comments
 (0)