You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* DOCSP-48670-update-oracle-prereqs
* Fixing code-block definition.
* Adding sub-steps to Create Tablespaces in Continous Jobs tab.
* Further editing and formatting for Create Tablespaces new step.
* Minor edits from internal feedback.
* Edits for external feedback.
Copy file name to clipboardExpand all lines: source/jobs/prerequisites/oracle.txt
+146-6Lines changed: 146 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,14 @@ About this Task
33
33
architecture, see `Overview of Container Databases and Pluggable Databases <https://oracle-base.com/articles/12c/multitenant-overview-container-database-cdb-12cr1>`__.
34
34
- Some commands differ based on whether the database is single or
35
35
multi-tenant. In a multi-tenant database, permissions must
36
-
include the suffix ``CONTAINER=ALL``.
36
+
include the suffix ``CONTAINER=ALL``. To check whether the database is
37
+
multi-tenant or not, run the following SQL query:
38
+
39
+
.. code-block:: sql
40
+
:copyable: true
41
+
42
+
SELECT cdb AS is_multitenant FROM v$database;
43
+
37
44
- You can't run a continuous migration job against Oracle Database Express
38
45
Edition (XE), because XE doesn't support the necessary logs.
39
46
@@ -77,7 +84,7 @@ Steps
77
84
GRANT CREATE TABLE TO <user>;
78
85
GRANT LOCK ANY TABLE TO <user>;
79
86
GRANT CREATE SEQUENCE TO <user>;
80
-
GRANT SELECT ON DBA_TABLESPACES TO <user>;
87
+
GRANT SELECT ON DBA_TABLESPACES TO <user>;
81
88
GRANT EXECUTE ON DBMS_LOGMNR TO <user>;
82
89
GRANT EXECUTE ON DBMS_LOGMNR_D TO <user>;
83
90
GRANT SELECT ON V_$LOG TO <user>;
@@ -90,11 +97,11 @@ Steps
90
97
GRANT SELECT ON V_$ARCHIVE_DEST_STATUS TO <user>;
91
98
GRANT SELECT ON V_$TRANSACTION TO <user>;
92
99
GRANT SELECT ON V_$MYSTAT TO <user>;
93
-
GRANT SELECT ON V_$STATNAME TO <user>;
100
+
GRANT SELECT ON V_$STATNAME TO <user>;
94
101
95
102
.. step:: Turn on archive logging
96
103
97
-
a. To see if archive logging is already enabled, run the following query:
104
+
a. To check if archive logging is already enabled, run the following query:
98
105
99
106
.. code-block:: sql
100
107
:copyable: true
@@ -120,7 +127,7 @@ Steps
120
127
STARTUP MOUNT
121
128
ALTER DATABASE ARCHIVELOG;
122
129
ALTER DATABASE OPEN;
123
-
130
+
124
131
.. step:: Enable supplemental logging
125
132
126
133
a. Enable supplemental logging on the database:
@@ -136,7 +143,140 @@ Steps
136
143
:copyable: true
137
144
138
145
ALTER TABLE schemaName.tableName ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;
0 commit comments