1 Oracle GoldenGate Parameters
Topics:
Summary of Extract Parameters
The Extract process captures either full data records or transactional data changes, depending on configuration parameters, and then sends the data to a target system to be applied to target tables or processed further by another process, such as a load utility.
Table 1-1 Extract Parameters: General
Parameter | Description |
---|---|
Controls the number of discarded records after which Extract aborts. |
|
Specifies the data source as part of the login information. |
|
Adjusts timestamps of records transferred to other systems when those systems reflect different times. |
|
Controls whether before and after images are stored in one trail record or two. |
Table 1-2 Extract Parameters: Processing Method
Parameter | Description |
---|---|
Defines an Extract group as an online process. |
|
Controls whether or not operations from all processes except Replicat are written to a trail or file. |
|
Controls whether or not replicated operations are captured by an Extract on the same system. |
|
Extracts entire records from source tables. |
Table 1-3 Extract Parameters: Selecting, Converting, and Mapping Data
Parameter | Description |
---|---|
Controls whether Oracle GoldenGate writes only the key or all columns to the trail for delete operations. |
|
Causes only primary key columns and changed columns to be logged for updates. |
|
EXCLUDEHIDDENCOLUMNS |
The parameter disables all the Oracle Database hidden columns including the timestamp columns created using automatic CDR. |
Specifies Replicat or data pump changes to be excluded from trail files. |
|
Controls certain aspects of the way that Oracle GoldenGate fetches data. |
|
Logs the columns that are required to support Conflict Detection and Resolution and Integrated Replicat. |
|
Specifies sequences for synchronization. |
|
Specifies tables for extraction and controls column mapping and conversion. |
|
Excludes source tables from the extraction process. |
|
Specifies a file containing target table definitions for target databases that reside on the NonStop platform. |
|
Specifies the ASCII character set for data captured from DB2 on z/OS, when both ASCII and EBCDIC tables are present. |
|
Specifies the EBCDIC character set for data captured from DB2 on z/OS, when both ASCII and EBCDIC tables are present. |
Table 1-4 Extract Parameters: Routing Data
Parameter | Description |
---|---|
Specifies an extract file to which extracted data is written on the local system. |
|
Specifies a trail to which extracted data is written on the local system. |
|
Specifies an extract file to which extracted data is written on a remote system. |
|
Specifies the target system and Manager port number. |
|
Specifies a trail to which extracted data is written on a remote system. |
Table 1-5 Extract Parameters: Tuning
Parameter | Description |
---|---|
Controls the Bounded Recovery feature of Extract. |
|
Controls the virtual memory cache manager. |
|
Determines the amount of time that record data remains buffered before being written to the trail. |
|
Controls the amount of memory and temporary disk space available for caching transactions that contain |
|
Specifies connection attributes other than host information for a TCP/IP connection used by a passive Extract group. |
|
Supplies capture processing options. |
|
Defines a long-running transaction and controls the frequency of checking for and reporting them. |
Table 1-6 Extract Parameters: Maintenance
Parameter | Description |
---|---|
Specifies the way that trail files are aged. |
Table 1-7 Extract Parameters: Security
Parameter | Description |
---|---|
Required to decrypt data when Extract is used as a data pump and must do work on the data. |
|
Controls encryption of data in a trail or extract file. |
Summary of Replicat Parameters
The Replicat process reads data extracted by the Extract process and applies it to target tables or prepares it for use by another application, such as a load utility.
Parameter | Description |
---|---|
Specifies the data source as part of the login information. |
|
Causes Replicat to connect in UTF-8 to prevent data loss when the record being processed is a user-defined type that has an |
Replicat parameters: Processing method.
Parameter | Description |
---|---|
Specifies a starting point for Replicat processing. Required when |
|
Loads data directly into the interface of the Oracle SQL*Loader utility. |
|
Specifies a stopping point for Replicat processing. Required when using |
|
Specifies a Replicat group for online change synchronization. |
|
Used for one-time processing that does not require checkpointing from run to run. |
Replicat parameters: Selecting, converting, and mapping data.
Parameter | Description |
---|---|
DBOPTIONS |
Specifies database options. This is a global parameter, applying to all
|
Controls how Replicat responds to a no-op operation. A no-op operation is one in which there is no effect on the target table. |
|
Force a no-op update to be applied using all columns in both the |
|
Configures number of appliers. This controls the number of connections in the target database used to apply the changes. The default value is four. | |
Assumes that source and target tables have the same column structure. |
|
Inserts a new record into the target table for every change operation made to a record. |
|
Converts deletes to inserts. |
|
Converts an update to an insert when the target row does not exist. |
|
Converts updates to inserts. |
|
Specifies a relationship between one or more source and target tables and controls column mapping and conversion. |
|
Excludes source tables from being processed by a wildcard specification supplied in |
|
Configures the number of mappers. This controls the number of threads used to read the trail file. The minimum value is 1, maximum value is 100 and the default value is 2. | |
APPLY_PARALLELISM is auto-tuned. You can set a minimum and maximum value to define the ranges in which the Replicat automatically adjusts its parallelism. There are no defaults. Do not use with APPLY_PARALLELISM at the same time.
|
|
Overrides the default Replicat session time zone. |
|
Specifies a global substitution value for invalid numeric data encountered when mapping number columns. |
|
Controls whether the source character set it converted to the target character set. |
|
Specifies the time zone of the source database for Replicat to use as the session time zone. |
|
Controls whether or not a target column containing only spaces is converted to
|
|
Specifies a table or tables for which event actions are to take place when a row satisfies the given filter criteria. |
|
Specifies the character set of the source data when the trail is of an older version that does not store the source character set, or to override the character set that is stored in the trail. |
|
Converts insert operations to update operations for all |
|
Converts deletes to updates. |
|
Specifies a dedicated thread for barrier transactions when Replicat is in coordinated mode. |
Replicat parameters: Routing data.
Parameter | Description |
---|---|
Defines the name of an extract file on the local system that contains data to be replicated. Used for one-time processing. |
|
Defines a trail containing data to be replicated. Used for one-time processing. |
Replicat parameters: Error handling and reporting.
Parameter | Description |
---|---|
Handles errors for duplicate and missing records. |
|
Overlays a replicated insert record onto an existing target record whenever a duplicate-record error occurs. |
|
Controls whether or not Replicat applies |
|
Determines how Replicat responds to database errors. |
|
Determines how Replicat responds to operations for which a fetch from the source database was required. |
|
Causes Replicat to print its SQL statements to the report file. |
|
Specifies the database error number that indicates a duplicate record. Use with |
|
Determines how often database errors are reported. |
Replicat parameters: Tuning.
Parameter | Description |
---|---|
Increases the throughput of Replicat processing by arranging similar SQL statements into arrays and applying them at an accelerated rate. |
|
The interval at which the coordinator thread sends a request to the apply threads for statistics. |
|
The amount of time that the coordinator thread waits for the apply threads to start. |
|
Controls how large a transaction must be for parallel Replicat to consider it as large. When parallel Replicat encounters a transaction larger than this size, it will serialize it, resulting in decreased performance. However, increasing this value will also increase the amount of memory consumed by parallel Replicat. | |
Enables commit FULL serialization mode, which forces transactions to be committed in trail order. | |
Specifies a length of time for Replicat to wait before applying replicated operations to the target database. |
|
Controls the number of records that are grouped into a Replicat transaction. |
|
Controls whether or not Replicat uses an |
|
Controls how far ahead the Scheduler looks when batching transactions. The default value is 10000. | |
Limits the number of discarded records reported to the discard file. |
|
Controls the number of prepared SQL statements that can be used by Replicat. |
|
Divides large source transactions into smaller ones on the target system. |
|
Controls the initial allocation of memory that is dedicated to storing information about tables to be processed by Oracle GoldenGate. |
|
Specifies that large transactions should be broken into pieces of specified size and applied in parallel. Dependencies between pieces are still honored. Disabled by default. | |
Specifies a time interval after which Replicat will commit its open target transaction and roll back any incomplete source transactions that it contains, saving them for when the entire source transaction is ready to be applied. |
ODBCTRACE
Valid For
Extract and Replicat
Description
You can enable ODBC tracing, without modifying the $ODBCINI
file, by
specifying the ODBCTRACE
parameter in the Extract/Replicat
parameter file.
When ODBCTRACE
is added in the parameter file, a trace file with the
name reptrace_pid_seq.log
where pid
is process ID of the Extract or Replicat process for which
ODBCTRACE
is enabled, and seq
is the sequence
number of the trace file.
For example, an ODBC trace file with the pid
1679483 and sequence
number (seq
) 01 would be generated with the name
reptrace_1679483_01.log
.
Default
None
Syntax
ODBC
Example
The following example shows the ODBCTRACE
parameter used in a
Replicat parameter file:
REPLICAT repinit TARGETDB USERIDALIAS tgt_alias ODBCTRACE MAP public.*, TARGET public.*;