ENTRYSEQUPDATES

Valid for

Replicat

Description

Use ENTRYSEQUPDATES to enable entry-sequenced records to be replicated with exactly the same key as the record on the source system. Because standard Guardian functions do not permit control of entry-sequenced record keys, omitting ENTRYSEQUPDATES results in the following limitations:

When ENTRYSEQUPDATES is specified, Replicat manipulates file contents directly through unstructured file access. This type of access imposes the following restrictions on the target file:

ENTRYSEQUPDATES causes Replicat to manipulate file blocks directly. This ensures that each record is inserted into the target file in exactly the same place as in the source file (for other file types, this occurs automatically). To maximize performance, Replicat attempts to build these blocks in memory, keeping a private cache, and assumes subsequent records will be inserted in close proximity. This maximizes performance by minimizing the amount of messages with the disk process.

You must specify ENTRYSEQUPDATES in the parameter file before any MAP statements for entry-sequenced files.

Syntax

ENTRYSEQUPDATES {<a id="d49678e75"></a>EXACTKEY | <a id="d49678e80"></a>NOEXACTKEY}
[, <a id="d49678e85"></a>FLUSHALWAYS | <a id="d49678e90"></a>NOFLUSHALWAYS]
[, <a id="d49678e95"></a>HIDEGAPS | <a id="d49678e101"></a>NOHIDEGAPS]
[, <a id="d49678e106"></a>EXCLUSIVEOPEN | <a id="d49678e111"></a>PROTECTEDOPEN]

EXACTKEY | NOEXACTKEY

Subsequent maps should always have exact key replication specified. Specify NOEXACTKEY to cancel exact key replication for subsequent entries.

FLUSHALWAYS | NOFLUSHALWAYS

Each time a block is updated, it is flushed to disk. This makes the record immediately visible to the application. The default is NOFLUSHALWAYS.

HIDEGAPS | NOHIDEGAPS

EXCLUSIVEOPEN

Opens the target file exclusively. This is recommended by Oracle GoldenGate when opening structured files for unstructured write access, as is done when ENTRYSEQUPDATES is specified.

PROTECTEDOPEN

Allows users access to read-only files while Oracle GoldenGate is writing to the file.

Example

The following example causes exact replication of the key, optimized for the highest throughput.

ENTRYSEQUPDATES, EXACTKEY, NOFLUSHALWAYS