DDL Statement Length
Oracle GoldenGate measures the length of a DDL statement in bytes, not in characters. The supported length is approximately 4 MB, allowing for some internal overhead that can vary in size depending on the name of the affected object and its DDL type, among other characteristics. If the DDL is longer than the supported size, Extract will issue a warning and ignore the DDL operation.
If Extract is capturing DDL by means of the DDL trigger, the ignored
DDL is saved in the marker table. You can capture Oracle DDL statements that are
ignored, as well as any other Oracle DDL statement, by using the
ddl_ddl2file.sql
script, which saves the DDL operation to a
text file in the USER_DUMP_DEST
directory of Oracle. The script
prompts for the following input:
-
The name of the schema that contains the Oracle GoldenGate DDL objects, which is specified in the
GLOBALS
file. -
The Oracle GoldenGate marker sequence number, which is recorded in the Extract report file when
DDLOPTIONS
with theREPORT
option is used in the Extract parameter file. -
A name for the output file.