Skip to content

Commit 765fbfd

Browse files
Revert "DOC-4384 removed spurious info on RDI Oracle prep page"
This reverts commit f17c3c4.
1 parent f17c3c4 commit 765fbfd

File tree

1 file changed

+22
-0
lines changed
  • content/integrate/redis-data-integration/data-pipelines/prepare-dbs

1 file changed

+22
-0
lines changed

content/integrate/redis-data-integration/data-pipelines/prepare-dbs/oracle.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,28 @@ exec rdsadmin.rdsadmin_util.set_configuration('archivelog retention hours',24);
7878
exec rdsadmin.rdsadmin_util.alter_supplemental_logging('ADD');
7979
```
8080

81+
You must enable supplemental logging for the tables you want to capture or
82+
for the entire database. This lets Debezium capture the state of
83+
database rows before and after changes occur.
84+
85+
The following example shows how to configure supplemental logging for all columns
86+
in a single table called `inventory.customers`:
87+
88+
```sql
89+
ALTER TABLE inventory.customers ADD SUPPLEMENTAL LOG DATA (ALL) COLUMNS;
90+
```
91+
92+
{{< note >}}If you enable supplemental logging for *all* table columns, you will
93+
probably see the size of the Oracle redo logs increase dramatically. Avoid this
94+
by using supplemental logging only when you need it. {{< /note >}}
95+
96+
You must also enable minimal supplemental logging at the database level with
97+
the following command:
98+
99+
```sql
100+
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
101+
```
102+
81103
## 2. Check the redo log sizing
82104

83105
Before you use the Debezium connector, you should check with your

0 commit comments

Comments
 (0)