Data Source Type | Edition |
OceanBase | Community Edition 3.1.4; Enterprise Edition 4.2.1.3 |
Parameter | Description |
Data Source Mode | Supports MySQL Compatibility Mode and Oracle Compatibility Mode |
Data Source | Select the OceanBase data source to be synchronized. This will filter based on the selected data source mode. For example, if you select MySQL mode, only MySQL mode OceanBase data sources will be displayed, and Oracle mode data sources will not be shown. |
Source Table | All databases and tables: Monitor all databases under the data source. Newly added databases and tables during the task run will be synchronized to the target by default. Specific table: Under this option, you need to specify the exact table name. After setting, the task will only synchronize the specified table; if you need to add a new table for synchronization, you need to stop and restart the task. Specific database: Under this option, you need to specify the exact database name and the table name regular expression. After setting, any new tables that match the table name expression during task execution will be synchronized to the target end by default. |
Read Mode | Full + Increment: Data synchronization is divided into full and increment phases. After the full phase is completed, the task enters the increment phase. The full phase will synchronize historical data in the database, and the incremental phase starts synchronizing from the binlog cdc location after the task starts. Increment: Synchronize data only from the binlog cdc location after the task starts. |
Filter Operation | Supports Insert, Update, and Delete operations. After setting, the specified operation type data will not be synchronized. Only MySQL mode supports filtering operations. |
Time Zone | Set the timezone for log timestamps. The default is Shanghai. Only MySQL mode supports timezone settings. |
Advanced Settings (optional) | You can configure parameters according to business needs. |
Parameter | Description |
Data Source Mode | Supports MySQL Compatibility Mode and Oracle Compatibility Mode. |
Data Source | Select the data source where the table to be synchronized is located. |
Database | Select the database where the table to be synchronized is located. |
Table | Select the table to be synchronized. |
Table Primary Key | Used to split the table into multiple shards for synchronization, applicable only in MySQL mode. |
Read Mode | Full + Increment: Data synchronization is divided into full and increment phases. After the full phase is completed, the task enters the increment phase. The full phase will synchronize historical data in the database, and the incremental phase starts synchronizing from the binlog cdc location after the task starts. Increment: Synchronize data only from the binlog cdc location after the task starts. |
Advanced Settings (Optional) | You can configure parameters according to business needs. |
OceanBase MySQL Mode Types | Internal Types |
TINYINT/INT/MEDIUMINT/INTEGER | INTEGER |
FLOAT,BINARY_FLOAT | FLOAT |
DECIMAL/NUMETRIC | DECIMAL |
DOUBLE PRECISION,BINARY_DOUBLE | DOUBLE |
BOOL/BOOLEAN | BOOLEAN |
DATE,TIMESTAMP [(p)] | TIMESTAMP [(p)] [WITHOUT TIMEZONE] |
TIMESTAMP [(p)] WITH TIME ZONE | TIMESTAMP [(p)] WITH TIME ZONE |
TIMESTAMP [(p)] WITH LOCAL TIME ZONE | TIMESTAMP_LTZ [(p)] |
CHAR(n), NCHAR(n), NVARCHAR2(n), VARCHAR(n), VARCHAR2(n), CLOB, NCLOB, XML, BIT types | STRING |
BLOB,ROWID | BYTES |
INTERVAL DAY TO SECOND,INTERVAL YEAR TO MONTH | BIGINT |
OceanBase Oracle Mode Types | Internal Types |
NUMBER | DOUBLE |
FLOAT,BINARY_FLOAT | FLOAT |
DOUBLE PRECISION,BINARY_DOUBLE | DOUBLE |
NUMBER(1) | BOOLEAN |
DATE,TIMESTAMP [(p)] | TIMESTAMP [(p)] [WITHOUT TIMEZONE] |
TIMESTAMP [(p)] WITH TIME ZONE | TIMESTAMP [(p)] WITH TIME ZONE |
TIMESTAMP [(p)] WITH LOCAL TIME ZONE | TIMESTAMP_LTZ [(p)] |
CHAR(n), NCHAR(n), NVARCHAR2(n), VARCHAR(n), VARCHAR2(n), CLOB, NCLOB, XML types | STRING |
BLOB,ROWID | BYTES |
INTERVAL DAY TO SECOND,INTERVAL YEAR TO MONTH | BIGINT |
Was this page helpful?