Author: Adam Leszczyński <aleszczynski@bersler.com>, version: 1.9.0, date: 2026-01-23 |
This section documents the reader element of the OpenLogReplicator JSON configuration.
It explains available reader types, each parameter’s constraints, defaults and operational notes.
| Parameter | Type / constraints | Description and notes |
|---|---|---|
|
string, max length: 256 |
Reader mode. Supported values:
IMPORTANT: |
|
string, format: |
Timezone used as the base for TIMESTAMP WITH LOCAL TIMEZONE values. |
|
integer, min: 0, max: 15, default: 0 |
Bitmask to disable selected startup/runtime checks:
NOTE: Disabling checks can improve performance but increases risk. Use with caution and prefer enabling checks in production. |
|
string, format: |
Timezone of the host running OpenLogReplicator. Adjust if the database host uses a different timezone. |
|
string, max length: 4000 |
Format pattern for archived redo log filenames used to extract sequence numbers.
When Flash Recovery Area (FRA) is enabled, filenames typically follow |
|
string, format: |
Timezone used when printing log timestamps.
Can also be set via the environment variable |
|
string, max length: 128 |
Database password for CAUTION: Stored in plaintext in the configuration file. |
|
list of string pairs, max length: 2048 |
Pairs of path prefixes TIP: Useful when OpenLogReplicator runs on a different host or mountpoint than the database server. |
|
string, max length: 2048 |
Directory where processed redo log files are copied for debugging when consistency errors occur. TIP: Copies use the name |
|
list of string, max length: 2048 |
List of redo log files or directories to process in NOTE: Only valid for |
string, max length: 4096 |
Database connect string in the form NOTE: Required for |
|
|
integer, min: 0 |
Start processing from this SCN. If omitted, processing begins at the current SCN. CAUTION: Very old SCNs may fail if required schema information is not available. |
|
integer, min: 0 |
Start processing from this log sequence number. If omitted, sequence is inferred from SCN boundaries. |
|
integer, min: 0 |
Start relative to the current time (seconds).
Converted to an SCN via NOTE: Only valid for |
|
string, format: |
Start from the SCN corresponding to this absolute timestamp (converted using NOTE: Only valid for |
|
string, max length: 128 |
Database username for NOTE: Valid only for |
|
integer, min: 0, default: 0 |
Maximum transaction size in megabytes. Transactions larger than this are split. CAUTION: Intended for debugging only. Splitting assumes the transaction is committed; partial or rolled-back operations may be emitted when splitting. |
|
Note
|
|
reader configuration (JSON){
"reader": {
"type": "online",
"server": "//dbhost:1521/ORCL",
"user": "olr",
"password": "secret",
"path-mapping": ["/db/fra", "/opt/fast-recovery-area"],
"format": { "type": "json" },
"state": { "type": "disk", "path": "checkpoint" }
}
}