Tracing the DDL Trigger
To trace the activity of the Oracle GoldenGate DDL trigger, use the following tools.
-
ggs_ddl_trace.logtrace file: Oracle GoldenGate creates a trace file in theUSER_DUMP_DESTdirectory of Oracle. On RAC, each node has its own trace file that captures DDL tracing for that node. You can query the trace file as follows:select value from sys.v_$parameter where name = 'user_dump_dest';
-
ddl_tracelevelscript: Edit and run this script to set the trace level. A value ofNonegenerates no DDL tracing, except for fatal errors and installation logging. The default value of0generates minimal tracing information. A value of1or2generates a much larger amount of information in the trace file. Do not use1or2unless requested to do so by a Oracle GoldenGate Technical Support analyst as part of a support case. -
ddl_cleartracescript: Run this script on a regular schedule to prevent the trace file from consuming excessive disk space as it expands. It deletes the file, but Oracle GoldenGate will create another one. The DDL trigger stops writing to the trace file when the Oracle directory gets low on space, and then resumes writing when space is available again. This script is in the Oracle GoldenGate directory. Back up the trace file before running the script.