You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/user-guide/configure_olr.md
+32-4Lines changed: 32 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,16 @@
2
2
3
3
## **Overview**
4
4
5
-
In addition to LogMiner-based replication, **SynchDB** supports **Openlog Replicator (OLR)** as a data source for Oracle connectors. This integration enables low-latency, redo log–based change data capture from Oracle databases via a standalone replication server.
5
+
In addition to LogMiner-based Oracle replication, **SynchDB** supports **Openlog Replicator (OLR)** as a data source for Debezium-based Oracle connectors (type = `oracle`). This integration enables low-latency, redo log–based change data capture from Oracle databases via a standalone replication server.
6
6
7
-
This guide details the configuration steps necessary to associate an Oracle connector with an OLR endpoint using `synchdb_add_olr_conninfo()` and `synchdb_del_olr_conninfo()`.
7
+
Furthermore, Synchdb also supports `native` Openlog Replicator connector, which does not rely on Debezium. This is a OLR client written purely in C that eliminates the JNI overheads.
8
+
9
+
This guide details the configuration steps necessary to:
10
+
11
+
* associate an Oracle connector with an OLR endpoint
12
+
* or create a native Openlog Replicator Connector
13
+
14
+
Both can be done using `synchdb_add_olr_conninfo()` and `synchdb_del_olr_conninfo()`.
8
15
9
16
## **Requirements**
10
17
@@ -15,10 +22,29 @@ This guide details the configuration steps necessary to associate an Oracle conn
15
22
16
23
Refer to this [external guide](https://highgo.atlassian.net/wiki/external/OTUzY2Q2OWFkNzUzNGVkM2EyZGIyMDE1YzVhMDdkNWE) for details on deploying Openlog Replicator via Docker.
17
24
25
+
## **`synchdb_add_conninfo()`**
26
+
27
+
To create a **Debezium-based** or **Native** Openlog Replicator, users first have to create the connector with `synchdb_add_conninfo()` but with different `connector type`. For example:
28
+
29
+
```sql
30
+
SELECT synchdb_add_conninfo('olrconn',
31
+
'ora19c',
32
+
1521,
33
+
'DBZUSER',
34
+
'dbz',
35
+
'FREE',
36
+
'postgres',
37
+
'null',
38
+
'null',
39
+
'olr'); -- 'olr' for native openlog replicator or 'oracle' for debezium based openlog replicator connector
40
+
41
+
```
42
+
43
+
More on creating a connector can be found [here](https://docs.synchdb.com/user-guide/create_a_connector/)
18
44
19
45
## **`synchdb_add_olr_conninfo()`**
20
46
21
-
Registers an Openlog Replicator endpoint for an existing Oracle connector.
47
+
With a connector created, the user then registers an Openlog Replicator endpoint for an existing Oracle connector.
0 commit comments