While reading the certification matrix of GoldenGate 26ai, I noticed that it lists one 12c version for 26ai: 12.1.0.2. It appears in the row of the latest October 2026 minor release, 23.26.4.0.0. Until then, GoldenGate 26ai only supported 19c and later versions, so 12.1.0.2 support is a huge change for customers who are still running under old Oracle database versions, and struggle to upgrade to 19c.
In this blog, I give you what a standard 12.1.0.2 home needs before a GoldenGate 26ai extract can capture from it.
Certification matrix for 12c
Among the Oracle Database data stores, there is only one row for 26ai that lists a 12c version:
Data store Versions Minor version Architecture Platform Operating systems
Oracle AI Database 12.1.0.2, 19c, 21c 23.26.4.0.0 Microservices Linux x86-64 Oracle Linux 8, Oracle Linux 9, RHEL 8, RHEL 9
Additional information gives Supports Local and Remote, Capture and Delivery. The row of 23.26.3.0.3 lists 19c, 21c, 26ai only. As a reminder, 12c was also supported in GoldenGate 19c and 21c:
Data store Versions Minor version Operating systems
Oracle Database 11.2.0.4, 12.1.0.2, 19c, 21c 21.3.0.0.0 Oracle Linux 7, Oracle Linux 8, RHEL 7, RHEL 8
Oracle Database 11.2.0.4+; 12.1.0.2+; 12.2.0.1+; 18c; 19c 19.1.0.0.0 Oracle Linux 7, RHEL 7
One note about the documentation, which is now outdated: the FAQ of GoldenGate 26ai states that GoldenGate 26ai supports Oracle databases from 19c to 26ai+. The support note PNEWS3025 mentions 12.x only for migration, so it’s unclear at the moment whether this is a real support or just a migration support.
Questions about your own setup? A dbi services consultant can look at your case.
Talk to an expert (opens in a new tab)Test setup
The test uses a base 12.1.0.2.0 Oracle home, with no bundle patch:
- Source database: Oracle Database
12.1.0.2.0for Linux x86-64 on Oracle Linux 7.9, non-CDB, inARCHIVELOGmode, with force logging and minimal supplemental logging. - OPatch:
12.2.0.1.55replaces the OPatch of the home. - GoldenGate: three Microservices Architecture deployments,
23.26.4.0.2and23.26.3.0.3(26ai) and23.10.2.2510(23ai), to check if26.4is really mandatory for 12c support. - Table and extract:
APP_DB12.TEST_TABLEwithADD TRANDATA, and an integrated extract.
Base home: ORA-01031 when registering the extract
GoldenGate 26ai no longer allows classic capture with Oracle databases, so integrated extract is the only Oracle capture available. It registers with the database through DBMS_XSTREAM_GG, which makes the patch below mandatory.
The connection works and ADD TRANDATA works. Creating the extract fails during the registration, on all three releases:
Integrated Extract added.
Cannot register or unregister Extract group EXT26 because of the following SQL error: Error 1031 on OCI call [ORA] - ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_XSTREAM_GG_INTERNAL", line 258
ORA-06512: at "SYS.DBMS_XSTREAM_GG", line 93
ORA-06512: at "SYS.DBMS_XSTREAM_GG", line 124
ORA-06512: at line 1
Extract group EXT26 deleted.
Although it looks like a privilege issue, it is not. OGGADMIN has the DBA role and the GoldenGate administrator privilege. The Oracle Support note KB933584 explains the cause:
In older Oracle Database versions, including 11g and 12c, the DBMS_XSTREAM_GG functions restrict access to a hard-coded list of process names, such as ggsci%. Applying patch 20448066 resolves the issue which includes the SCA processes adminsrvr, distsrvr, and distcoll from Microservices architecture.
Patch 20448066 for 12.1.0.2.0
MOS offers 20448066 in one build per release level:
$ opatch apply -silent
Backing up files...
Applying interim patch '20448066' to OH '/u01/app/oracle/product/12.1.0/dbhome_1'
Patching component oracle.rdbms, 12.1.0.2.0...
Patch 20448066 successfully applied.
OPatch succeeded.
After the restart, the same REST call works on all three releases:
Integrated Extract added.
Extract group EXT26 successfully registered with database at SCN 1686619.
Parameter file EXT26.prm passed validity check.
EXTTRAIL added.
The report of the extract shows that GoldenGate reads the database as a 12.1.0.2 source:
INFO OGG-06618 Database DB12 Platform: Linux x86 64-bit.
INFO OGG-02089 Source redo compatibility version is: 12.1.0.2.0.
Capture on three releases
I tested a few DML statements on the source table, followed by a switch of the redo log:
INSERT INTO app_db12.test_table VALUES (401, '12c patched A');
INSERT INTO app_db12.test_table VALUES (402, '12c patched B');
COMMIT;
UPDATE app_db12.test_table SET data = '12c patched B updated' WHERE id = 402;
DELETE FROM app_db12.test_table WHERE id = 401;
COMMIT;
ALTER SYSTEM SWITCH LOGFILE;
These are the relevant lines of the logdump count output on 23.26.4.0.2:
Logdump 6709 >LogTrail .../db12u/h1000000000 has 7 records
Delete 1
Insert 2
GGSPKUpdate 1
On 23.26.3.0.3, with the same statements and new ids:
Logdump 6727 >LogTrail .../db12x/h1000000000 has 7 records
Delete 1
Insert 2
GGSPKUpdate 1
And on 23.10.2.2510, with the same statements:
Logdump 6712 >LogTrail .../db12t/h1000000000 has 7 records
Delete 1
Insert 2
GGSPKUpdate 1
Every change reached the trail on all three releases. The extract did not abend with OGG-02912, the error raised when the database lacks the dictionary attributes that the default trail format needs.
12.1.0.2 does not need a second patch
I will publish soon about GoldenGate support for 11g extraction, where another patch is needed. With 12.1.0.2, only one interim patch is installed in the home, and the extract report shows that integrated capture attached and read the dictionary without error.
INFO OGG-02068 Integrated capture successfully attached to logmining server OGG$CAP_EXT26 using OGGCapture API.
INFO OGG-02089 Source redo compatibility version is: 12.1.0.2.0.
INFO OGG-02086 Integrated Dictionary will be used.
The Oracle Support note KB868419, “12.1.0.2 Patch Set – List of Bug Fixes by Problem Type”, lists the fix in the patch set itself:
17030189 Logminer GG Dictionary Support: Missing Attributes
Replicat on 12.1.0.2
The matrix row mentions “Capture and Delivery”, so a replicat on 12.1.0.2 is inside the certified scope. While testing, I found that every replicat type worked, except parallel integrated:
INFO OGG-02528 Replicat group R12A successfully registered with database as inbound server OGG$R12A.
INFO OGG-02530 Integrated replicat successfully attached to inbound server OGG$R12A.
ERROR OGG-06062 Integrated Parallel Replicat not supported for this DB version.
Please note that patch 20448066 is not needed to apply changes, only to capture them.
Matrix and test side by side
12. home | 23. | 23. | 23. |
|---|---|---|---|
| Base | ORA-01031 | ORA-01031 | ORA-01031 |
With 20448066 | captures | captures | captures |
The matrix lists 12.1.0.2 for 23.26.4.0.0 only, but 23.26.3.0.3 and 23.10.2.2510 also allow this capture. I did not find anything in the GoldenGate 26.4 release justifying the official support.
Summary
- Certification matrix: GoldenGate 26ai matrix lists
12.1.0.2as supported, starting with23.26.4.0.0(October 2026 release). - Base home: it fails with
ORA-01031at the registration of the extract. - Integrated extract only: 26ai has no classic extract, so patch
20448066is mandatory. - No second patch:
17030189is part of the12.1.0.2patch set, soOGG-02912does not occur. - Replicat: classic, integrated and parallel non-integrated replicats apply to
12.1.0.2, with or without the patch. Parallel integrated replicat abends withOGG-06062. - Certified row and capability:
23.26.3.0.3and23.10.2.2510capture from12.1.0.2as well, but do not officially support it.