Re: GoldenGate Oracle to MSSQL Server - Initial Table Create
Date: Tue, 29 Mar 2022 14:48:04 +0000
Message-ID: <DM5PR01MB22515E8E4DDBA17EC40F3DAACE1E9_at_DM5PR01MB2251.prod.exchangelabs.com>
Martin, I have used 3 methods to create tables in SQL Server based on existing Oracle tables for use with Goldengate.
- Create them manually
- Let the database import data task (SSIS) in SSMS create the tables. You will likely need to add the indexes you want manually afterward but you can generate index commands in Oracle. You will also need to verify that DATE columns got created correctly.
- Use the MS Data Migration Assistant which can create tables and copy the data
Option one may not be as much work as you think as you can generate DBMS_METADATA calls to generate the tables placing all the code into one script then perform global edits to change DATE data types to DATETIME, CLOB to varchar(max), etc....
Mark Powell
Database Administration
(313) 592-5148
From: oracle-l-bounce_at_freelists.org <oracle-l-bounce_at_freelists.org> on behalf of Martin Klier - Performing Databases GmbH <martin.klier_at_performing-db.com> Sent: Tuesday, March 29, 2022 10:26 AM
To: Oracle-L Freelists <oracle-l_at_freelists.org> Subject: GoldenGate Oracle to MSSQL Server - Initial Table Create
Hi listers,
EXTRACT:
REPLICAT:
Thank you for your ideas!
martin.klier_at_performing-db.com // https://clicktime.symantec.com/3SasWto9RkY9HZ3Fia9LUr16xU?u=https%3A%2F%2Fwww.performing-databases.com
--
INFO OGG-00993 Oracle GoldenGate Capture for Oracle, initex.prm: Extract group EXTRACT INITEX started.
INFO OGG-02911 Oracle GoldenGate Capture for Oracle, initex.prm: Processing table MYSCHEMA.MYTABLE.
WARNING OGG-01194 Oracle GoldenGate Capture for Oracle, initex.prm: Extract task INITRP abended : Initial data load error reported by REPLICAT.
ERROR OGG-01203 Oracle GoldenGate Capture for Oracle, initex.prm: Extract abending.
WARNING OGG-00869 Oracle GoldenGate Delivery for SQL Server: Could not retrieve definition for table dbo.MYTABLE.
ERROR OGG-00199 Oracle GoldenGate Delivery for SQL Server: Table dbo.MYTABLE does not exist in target database.
ERROR OGG-01668 Oracle GoldenGate Delivery for SQL Server: PROCESS ABENDING.
http://www.freelists.org/webpage/oracle-l
Received on Tue Mar 29 2022 - 16:48:04 CEST