OceanBase
English日本語简体中文
ドキュメントホーム
製品
エコシステム
リリース

データベース

OceanBase CloudOceanBaseデータベース

ツール

OceanBase Cloud PlatformOceanBase移行サービス(OMS)OceanBaseデベロッパーセンターOceanBase Admin Tool

データベース

OceanBase CloudOceanBaseデータベース

ツール

OceanBase Cloud PlatformOceanBase移行サービス(OMS)OceanBaseデベロッパーセンターOceanBase Admin Tool
OceanBase CloudOceanBaseデータベース

OceanBase移行サービス(OMS)

V4.3.3Enterprise Edition
  • OMSドキュメント
  • OMSの概要
    • OMSの概要
    • 用語解説
    • OMS高可用性(HA)の紹介
    • Storeの原理
    • Full-Import/Incr-Syncデータ転送の原理
    • データ検証の原理について
    • システムアーキテクチャ
      • アーキテクチャ概要
      • 機能アーキテクチャ
      • コンポーネントの基本原理
    • OMS Oracle 全量移行の設計原理と影響
    • 制限事項
  • クイックスタート
    • データ移行プロセス
    • データ同期プロセス
  • OMSのデプロイ
    • デプロイメントタイプ
    • システムとネットワーク要件
    • メモリとディスク要件
    • 環境の準備
    • シングルノードデプロイ
    • 単一リージョン・マルチノード構成
    • 複数リージョン・複数ノードへのデプロイ
    • スケールアウトデプロイメント
    • スケールインのデプロイ
    • デプロイ状態の確認
    • (オプション)時系列データベースのデプロイ
  • 管理コンソール
    • OMSコンソールへのログイン
    • マネジメントコンソールの紹介
    • 個人設定
      • 個人情報の設定
      • ログインパスワードの変更
      • ログアウト
  • データ移行
    • データ移行の概要
    • MySQLデータベースのデータをOceanBaseデータベースのMySQL互換モードに移行する
    • OceanBaseデータベースのMySQL互換モードのデータをMySQLデータベースに移行する
    • OracleデータベースのデータをOceanBaseデータベースのMySQL互換モードに移行する
    • OceanBaseデータベースのOracle互換モードのデータをOracleデータベースに移行する
    • OracleデータベースのデータをOceanBaseデータベースのOracle互換モードに移行する
    • DB2 LUWデータベースのデータをOceanBaseデータベースのOracle互換モードに移行する
    • OceanBaseデータベースのOracle互換モードのデータをDB2 LUWデータベースに移行する
    • DB2 LUWデータベースのデータをOceanBaseデータベースのMySQL互換モードに移行する
    • OceanBaseデータベースのMySQL互換モードのデータをDB2 LUWデータベースに移行する
    • OceanBaseデータベース間のデータ移行
    • 双方向同期タスクの設定
    • TiDBデータベースのデータをOceanBaseデータベースのMySQL互換モードに移行する
    • PostgreSQLデータベースのデータをOceanBaseデータベースのOracle互換モードに移行する
    • PostgreSQLデータベースのデータをOceanBaseデータベースのMySQL互換モードに移行する
    • PolarDB-X 1.0データベースのデータをOceanBaseデータベースのMySQL互換モードに移行する
    • MilvusデータベースのデータをOceanBaseデータベースのMySQL互換モードに移行する
    • OBShardingデータベースのデータをOceanBaseデータベースのMySQL互換モードに移行する
    • OceanBaseデータベースのOracle互換モードからMySQLデータベースへの増分データ移行
    • データ移行タスクの管理
      • データ移行タスクの詳細を表示する
      • データ移行タスクの名前を変更する
      • 移行対象オブジェクトの表示と変更
      • タグを使用したデータ移行タスクの管理
      • データ移行タスクの一括操作
      • 移行対象オブジェクト設定のダウンロードとインポート
      • 移行パラメータ設定の確認と変更
      • 競合ログファイルのダウンロード
      • データ移行タスクの開始と一時停止
      • データ移行タスクの終了と削除
    • DDL同期のサポート範囲と制限事項
      • MySQLデータベースからOceanBaseデータベースのMySQL互換モードへのDDL同期
        • MySQLデータベースからOceanBaseデータベースのMySQL互換モードへのDDL同期の概要
        • テーブルの作成 CREATE TABLE
          • テーブルの作成
          • 列の作成
          • インデックスまたは制約の作成
          • パーティションの作成
        • データ型の変換
        • テーブルの変更 ALTER TABLE
          • テーブルの変更
          • フィールド操作
          • 制約とインデックスの操作
          • パーティション操作
        • テーブルの全行削除 TRUNCATE TABLE
        • テーブルの名前変更 RENAME TABLE
        • テーブルの削除 DROP TABLE
        • インデックスの作成 CREATE INDEX
        • インデックスの削除 DROP INDEX
        • MySQLデータベースとOceanBaseデータベースのMySQL互換モード間のDDLの非互換点
          • 非互換点の概要
          • CREATE TABLEの非互換点
            • CREATE TABLEの非互換点
            • インデックスまたは制約でサポートされるフィールドタイプ
          • ALTER TABLEの非互換点
            • ALTER TABLEの非互換点
            • 制約のある列の型の変更
            • 制約のない列の型の変更
            • 制約のある列の長さの変更
            • 制約のない列の長さの変更
            • 制約を持つ列の削除
          • インデックスの削除DROP INDEXの非互換点
      • OceanBaseデータベースのMySQL互換モードからMySQLデータベースへのDDL同期
      • OracleデータベースからOceanBaseデータベースのOracle互換モードへのDDL同期
        • OracleデータベースからOceanBaseデータベースのOracle互換モードへのDDL同期の概要
        • テーブルの作成 CREATE TABLE
          • テーブル作成の概要
          • リレーショナルテーブルの作成
            • リレーショナルテーブルの作成
            • リレーショナルテーブルの列定義
          • 仮想列
          • 通常列
          • パーティションの作成
            • パーティションの概要
            • パーティション
            • サブパーティション
            • 複合パーティション
            • カスタムパーティション
            • サブパーティションテンプレート
          • 制約
            • 制約の概要
            • 行内制約
            • 行外制約
        • インデックスの作成 CREATE INDEX
          • インデックス作成の概要
          • 通常のテーブルインデックス
        • テーブルの変更 ALTER TABLE
          • テーブル変更の概要
          • テーブル属性の変更、削除、追加
          • 列属性の管理
            • 列属性の変更、削除、追加
            • 列名の変更
            • 列と列属性の追加
            • 列属性の変更
            • 列の削除操作
          • 制約の変更、削除、追加
          • パーティションの管理
            • パーティションの変更、削除、追加
            • パーティションの削除
            • サブパーティションの削除
            • パーティションとサブパーティションの追加
            • パーティションの変更
            • パーティションデータの削除
        • テーブルの削除 DROP TABLE
        • 名前の変更 RENAME OBJECT
        • テーブルの全行削除 TRUNCATE TABLE
        • インデックスの削除 DROP INDEX
        • OracleデータベースとOceanBaseデータベースのOracle互換モード間のDDLの非互換点
          • 非互換点の概要
          • CREATE TABLEの非互換点
          • ALTER TABLEの非互換点
            • ALTER TABLEの非互換点
            • 制約のある列の型の変更
            • 制約のない列の型の変更
            • 制約のある列の長さの変更
            • 制約のない列の長さの変更
      • OceanBaseデータベースのOracle互換モードからOracleデータベースへのDDL同期
      • DB2 LUWデータベースからOceanBaseデータベースのOracle互換モードへのDDL同期
      • OceanBaseデータベースのOracle互換モードからDB2 LUWデータベースへのDDL同期
      • DB2 LUWデータベースからOceanBaseデータベースのMySQL互換モードへのDDL同期
      • OceanBaseデータベースのMySQL互換モードからDB2 LUWデータベースへのDDL同期
      • OceanBaseデータベースのMySQL互換モード間でのDDL同期
      • OceanBaseデータベースのOracle互換モード間でのDDL同期
      • PostgreSQLデータベースからOceanBaseデータベースのMySQL互換モードへのDDL同期
      • PostgreSQLデータベースからOceanBaseデータベースのOracle互換モードへのDDL同期
      • OBShardingデータベースからOceanBaseデータベースのMySQL互換モードへのDDL同期
  • データ同期
    • データ同期の概要
    • OceanBaseデータベースのデータをKafkaに同期する
    • OceanBaseデータベースのデータをRocketMQに同期する
    • OceanBaseデータベースのデータをDataHubに同期する
    • OceanBaseデータベースのデータをSwiftに同期する
    • ODPの論理テーブルデータをOceanBaseデータベースのMySQL互換モードの物理テーブルに同期する
    • ODPの論理テーブルデータをDataHubに同期する
    • IDBの論理テーブルデータをOceanBaseデータベースのMySQL互換モードに同期する
    • IDBの論理テーブルデータをDataHubに同期する
    • MySQLデータベースのデータをDataHubに同期する
    • OracleデータベースのデータをDataHubに同期する
    • OBShardingデータベースのデータをKafkaに同期する
    • データ同期タスクの管理
      • データ同期タスクの詳細を表示する
      • データ同期タスクの名前を変更する
      • 同期オブジェクトの表示と変更
      • タグを使用したデータ同期タスクの管理
      • データ同期タスクの一括操作
      • 同期対象設定のダウンロードとインポート
      • 同期パラメータ設定の確認と変更
      • データ同期タスクの開始と一時停止
      • データ同期タスクの終了と削除
  • データ検証
    • データ検証の概要
    • データ検証タスクの新規作成
    • データ検証タスクの管理
      • データ検証タスクの詳細を表示する
      • データ検証タスクの名前を変更する
      • 検証オブジェクトの表示と変更
      • 検証パラメータの確認と変更
      • タグを使用したデータ検証タスクの管理
      • 検証オブジェクトのインポート
      • データ検証タスクの開始、一時停止、および再開
      • データ検証タスクのクローン
      • データ検証タスクの削除
  • データソースの作成と管理
    • データソースの作成
      • OceanBaseデータソースの作成
        • OceanBase物理データソースの作成
        • ODPデータソースの作成
        • IDBデータソースの作成
        • OceanBaseパブリッククラウドデータソースの作成
        • OceanBase単一マシンデータソースの作成
      • MySQLデータソースの作成
      • Oracleデータソースの作成
      • TiDBデータソースの新規作成
      • Milvusデータソースの新規作成
      • Kafkaデータソースの作成
      • RocketMQデータソースの作成
      • DataHubデータソースの新規作成
      • Swiftデータソースの作成
      • DB2 LUWデータソースの作成
      • PostgreSQLデータソースの作成
      • PolarDB-X 1.0データソースの新規作成
      • OBShardingデータソースの作成
    • データソースの管理
      • データソース情報の表示
      • データソースのコピー
      • データソースの編集
      • データソースの削除
    • データベースユーザーの作成
    • ユーザー権限の説明
    • MySQLデータベースでBinlogを有効にする
    • ソース側Oracleデータベースの最小権限
  • 運用監視
    • 運用概要
    • 概要ページにアクセスする
    • マシン
      • マシン情報の表示
      • マシンの追加
      • マシンの削除
      • Quotaの更新
      • マシンのログを表示する
      • リソースグループの管理
    • コンポーネント
      • Store
        • Storeの追加
        • Storeコンポーネントの詳細を表示する
        • Storeコンポーネントの更新
        • Storeコンポーネントの起動と一時停止
        • Storeコンポーネントの削除
      • Incr-Sync
        • Incr-Syncコンポーネントの詳細を表示する
        • Incr-Syncコンポーネントの起動と一時停止
        • Incr-Syncコンポーネントの移行
        • Incr-Syncコンポーネントの更新
        • バッチ運用保守
        • Incr-Syncコンポーネントの削除
      • Full-Import
        • Full-Importコンポーネントの詳細を表示する
        • Full-Importコンポーネントの一時停止
        • Full-Importコンポーネントの再実行と再開
        • Full-Importコンポーネントの更新
        • Full-Importコンポーネントの削除
      • Full-Verification
        • Full-Verificationコンポーネントの詳細を表示する
        • Full-Verificationコンポーネントの一時停止
        • Full-Verificationコンポーネントの再実行と再開
        • Full-Verificationコンポーネントの更新
      • Incr-Verification
        • Incr-Verificationコンポーネントの詳細を表示する
        • Incr-Verificationコンポーネントの一時停止
        • Incr-Verificationコンポーネントの再実行と再開
        • Incr-Verificationコンポーネントの更新
      • Row-Verification
        • Row-Verificationコンポーネントの詳細を表示する
    • 運用管理タスク
      • オペレーションタスクの表示
      • タスクまたはサブタスクのスキップ
      • タスクまたはサブタスクの再試行
    • パラメータテンプレート
      • 概要
      • タスクテンプレート
        • タスクテンプレートの作成
        • タスクテンプレートの表示と編集
        • タスクテンプレートのコピーとエクスポート
        • タスクテンプレートの削除
      • コンポーネントテンプレート
        • コンポーネントテンプレートの作成
        • コンポーネントテンプレートの表示と編集
        • コンポーネントテンプレートのコピーとエクスポート
        • コンポーネントテンプレートの削除
      • コンポーネントパラメータの説明
        • Storeコンポーネントのパラメータ説明
        • Incr-Syncコンポーネントのパラメータ説明
        • Full-Importコンポーネントのパラメータ説明
        • Full-Verificationコンポーネントのパラメータ説明
        • Incr-Verificationコンポーネントのパラメータ説明
        • Row-Verificationコンポーネントのパラメータ説明
        • CMコンポーネントパラメータ説明
        • Supervisorコンポーネントのパラメータ説明
  • システム管理
    • 権限管理
      • 権限管理の概要
      • ユーザー管理
      • 部門管理
    • アラート管理
      • タスクのアラート情報を表示する
      • システムアラート情報の表示
      • アラート設定
    • OCPの関連付け
    • システムパラメータ
      • システムパラメータの変更
      • 高可用性機能の設定を変更する
      • oblogproxyパラメータの説明
    • キーの管理
    • 操作監査
  • トラブルシューティングガイド
    • OMSサービスの管理
    • OMSログのトラブルシューティング
    • コンポーネントの運用
      • Supervisorコンポーネントの運用
      • Connectorのコマンドライン操作インターフェース
      • Storeコンポーネントの運用
    • コンポーネントのチューニング
      • Incr-Sync/Full-Importのチューニング
      • Oracle Storeのチューニング
    • スロットリングとレート制限の設定方法
    • Storeコンポーネントのパフォーマンス診断について
  • リファレンスガイド
    • 機能紹介
      • DDL/DMLのカスタム設定
      • DDL同期範囲
      • データベース・テーブルの名前変更
      • SQL条件によるデータのフィルタリング
      • 増分同期の開始タイムスタンプの設定
      • 移行または同期オブジェクトのマッチングルールの設定
      • 検証対象のマッチングルールを設定する
      • ワイルドカード規則の説明
      • データ移行サービスの隠し列メカニズムについて
      • 構造移行操作の説明
      • ハートビートテーブルの作成と更新
      • Topicの変更
      • 列フィルタリングと列マッピング
      • データ形式の説明
    • APIリファレンス
      • 概要
      • タスクの作成
      • タスクの開始
      • タスクの一時停止
      • タスクの再開
      • タスクの解放
      • タスクの削除
      • タスクリストのページ単位の取得
      • タスクの詳細を照会する
      • タスクのステップの詳細を照会する
      • タスクのステップメトリクスの照会
      • タスクの進捗状況を照会する
      • タスクのコンポーネント情報を照会する
      • タスクの全量検証結果を照会する
      • 指定したラベルが付いた開始されていないすべてのタスクを開始する
      • 指定したラベルが付いた実行中のすべてのタスクを一時停止する
      • MySQLデータソースの作成
      • OceanBaseデータソースの作成
      • ODPデータソースの作成
      • PolarDB-X 1.0データソースの作成
      • Milvusデータソースの作成
      • データソースリストの取得
      • ラベルの作成
      • ラベルリストの取得
      • データソースの削除
      • 転送オブジェクトの変更
      • タスクの変更履歴を照会する
      • 変更操作の中止
      • 変更操作の再試行
      • 変更のキャンセル
      • タスクの事前チェック
      • 事前チェック結果の取得
      • タスク設定の更新
      • テーブル構造変換情報のダウンロード
      • 競合ログファイルのダウンロード
      • 競合ログファイルリストの取得
      • 正逆方向の増分同期の同期ポイントを変更する
      • タスクの実行を進める
      • リージョンリストの取得
      • ユーザーの作成
      • ユーザーの削除
      • ユーザー詳細の取得
      • 部門リストの取得
      • Kafka認証ファイルのアップロード
      • Kafkaデータソースの作成
      • DB2 LUWデータソースの作成
    • アラートリファレンス
      • oms_host_down OMSマシンダウンアラート
      • oms_host_down_migrate_resource OMSマシンダウン時の移行アラート
      • oms_host_threshold OMSマシンのしきい値アラート
      • oms_migration_failed 移行タスク失敗
      • oms_migration_delay 移行タスクの遅延
      • oms_sync_failed 同期タスクの失敗
      • oms_sync_status_inconsistent 同期タスクの状態が一致しない
      • oms_sync_delay 同期タスクの遅延
    • シングルサインオン
      • OMSにOIDCプロトコルを接続してシングルサインオンを実現する
      • OMSがSAML 2.0プロトコルに接続してシングルサインオンを実装する
      • OMS SAML 2.0によるMicrosoft Entra IDへのアクセス
    • OMSエラーコード
    • データベースオブジェクトのクエリ
    • トリガーの作成
    • PostgreSQLデータベースインスタンスのログレベルを変更する
    • Online DDLツールへの対応について
    • Oracleデータベースの補足ログに関する説明
    • Milvusトピックの設定
  • アップグレードガイド
    • 概要
    • シングルノードでのアップグレード
    • 複数ノードでのアップグレード
    • よくある質問
  • リリースノート
    • リリースノート
      • バージョン番号ルール
      • V4.3
        • OMS V4.3.3
        • OMS V4.3.2
        • OMS V4.3.1
        • OMS V4.3.0
      • V4.2
        • OMS V4.2.5
        • OMS V4.2.4
        • OMS V4.2.3
        • OMS V4.2.2
        • OMS V4.2.1
        • OMS V4.2.0
      • V4.1
        • OMS V4.1.0
      • V4.0
        • OMS V4.0.2
        • OMS V4.0.1
      • V3.4
        • OMS V3.4.0
      • V3.3
        • OMS V3.3.1
        • OMS V3.3.0
      • V3.2
        • OMS V3.2.2
        • OMS V3.2.1
      • V3.1
        • OMS V3.1.0
      • V2.1
        • OMS V2.1.2
        • OMS V2.1.0

PDF をダウンロード

このページには現在中国語/日本語版がなく、英語版を表示しています。
ドキュメントフィードバック
  1. ドキュメントセンター
  2. OceanBase移行サービス(OMS)
  3. V4.3.3

Store parameters

最終更新:2026-10-09 03:34:20

Common parameters
Parameters of an OceanBase store
Parameters of a MySQL store
Parameters of an Oracle store
Parameters of a DB2 store
Parameters of a PostgreSQL store

OceanBase Migration Service (OMS) supports the following types of store components: MySQL, Oracle, OceanBase, DB2, and PostgreSQL. This topic introduces general parameters that are not specific to database types, as well as Store component parameters for different database types.

Common parameters

Parameter
Required?
Default value
Description
Applicable version
store.clearer.outdated Yes None The maximum period that a piece of data can be stored in the store component, in seconds. All versions
store.clearer.period Yes None The storage period of a piece of data in the store component, after which the data is cleared. Unit: seconds. All versions

Parameters of an OceanBase store

This topic describes the common parameters of an OceanBase store component. To modify parameters, log on to the OceanBase Migration Service (OMS) console, choose O&M and Monitoring > Component > Store, find the target component on the page that appears, and click Update in the Actions column to open the Update Configuration dialog box.

Note

All parameters of the OceanBase store component are in the liboblog section where all parameter names are prefixed with liboblog.. For example, the full name of the cluster_appname parameter is liboblog.cluster_appname.

Parameter
Default value/Value range
Description
cluster_url | The URL used by OBCDC to obtain RS information of an OceanBase cluster. Generally, the value is consistent with that of the obconfig_url parameter of the observer process.
cluster_user | The username of the user in the sys tenant. The user has the permission to read the oceanbase database.
cluster_password | The password for the user of the sys tenant.
tenant_endpoint | The information of the server that hosts a user tenant in the svr_ip:sql_port format.
tenant_user | The name of the tenant user. The user has the permission to read system tables.
tenant_password | The password of the tenant user.
cluster_id_black_list | For more information, see ob_org_cluster_id.
tb_white_list *.*.* The allowlist of tables to be synchronized, in the format of tenant name.database name.table name, such as mytenant1.db1.tb1\|mytenant2.db2.*. In tenant mode, you must specify the name of the tenant that you want to synchronize.

Notice

This parameter is invalid if you are using OceanBase V4.x.

tb_black_list | The blocklist of tables that will not be synchronized.

Notice

This parameter is invalid if you are using OceanBase V4.x.

working_mode storage/{storage,memory} The working mode. In storage mode, redo logs pulled by OBCDC are persisted into the specified directory of RocksDB, which is cleared when OBCDC is restarted.
fetching_log_mode integrated/{integrated,direct} The log pull mode. integrated indicates that the store component pulls logs from the server by using remote procedure calls (RPCs). direct indicates that the store component pulls logs by reading archive files.
archive_dest | The path of archive files if the direct mode is used. If archive files are stored on Alibaba Cloud Object Storage Service (OSS), you must also specify the AccessKey pair.
meta_data_refresh_mode online/{online,data_dict} The metadata source. online indicates that the schemas are constructed by reading internal tables through SQL queries. data_dict indicates that the schemas are constructed by using data dictionaries in the logs.
skip_ob_version_compat_check 0/{0,1} Specifies whether to ignore the version check.
  • Set this parameter to 1 when you must use OceanBase CDC of an earlier version to synchronize data from OceanBase Database of a later version, which is not recommended.
  • By default, OceanBase CDC uses data dictionaries when it synchronizes data from OceanBase Database of a version later than V4.2. To enable the online mode, set this parameter to 1.
skip_delete_tablet_op 0/{0,1} If OceanBase CDC ignores DROP TABLE operations, some bypass import or offline DDL operations may cause the parser of OceanBase CDC to report an ENTRY_NOT_EXIST error. You can configure this parameter to skip the error in case of emergency. This parameter is available in OceanBase Database of a version later than V4.2.1 BP2.
skip_dirty_data 0/{0,1} You must specify this parameter when you synchronize data from OBKV or HBase.
skip_empty_outrow_lob_update 0/{0,1} Specifies whether OceanBase CDC ignores empty OUTROW LOB columns. You can configure this parameter in case of emergency.
lsn_black_list | Specifies the logs whose log sequence numbers (LSNs) are ignored.
sql_server_blacklist | The list of servers that are blocked from processing SQL queries. You must specify the information of each server in the svr_ip:rpc_port format.
server_blacklist | The list of servers that are blocked from processing RPC requests. You must specify the information of each server in the svr_ip:rpc_port format.
data_start_schema_version | The schema version, in the tenant_id:schema_version\|xxxx format, used to build schemas in OceanBase CDC.
timezone +8:00 The time zone used to process the time data that is written in the local time zone. The value must be the same as the local time zone used by the server where OceanBase Database is located. If the time zone is specified in a session and you want the value of this parameter to be consistent with the time zone in the session output, you can set this parameter to the time zone specified in the session.
region | The region from which logs are first pulled. The specified region must be obtained from the internal table of OceanBase Database.
memory_limit 8G/[2G, ) The maximum memory usage of OceanBase CDC. OceanBase CDC will control its memory usage near the specified value as much as possible.
memory_usage_warn_threshold 85 The memory percentage that triggers log pull throttling. The value is the ratio between the memory size already occupied by OceanBase CDC and the value of the memory_limit parameter.
pause_redo_dispatch_task_count_threshold 80 The ratio between the number and length of tasks in the USER_QUEUE or RESOURCE_COLLECTOR module. If the ratio exceeds the specified value, the pull of redo logs is throttled.
part_trans_task_active_count_upper_bound 0/[0, ) The maximum number of transactions allowed for all participants. The default value is 0, which indicates that OceanBase CDC automatically adjusts the maximum number of transactions. You can modify the value as needed. Like the memory_limit parameter, you can use this parameter for throttling control.
part_trans_task_reusable_count_upper_bound 0/[0, ) The maximum allowed number of reusable participant transactions. A reusable transaction is a processed transaction that can be consumed or recycled. The default value is 0, which indicates that OceanBase CDC automatically adjusts the maximum number of transactions. You can modify the value as needed. Like the memory_limit parameter, you can use this parameter for throttling control.
part_trans_task_prealloc_page_count 20000/[1, ) The maximum number of transactions of participants that can be cached. If you set the parameter to a larger value, the memory usage of OceanBase CDC may be very high during the idle period.
enable_hbase_mode 0/{0,1} Specifies whether to enable HBase mode. If a table in HBase mode is to be synchronized, you must enable HBase mode.
enable_compatible_charset 0/{0,1} Specifies whether to use character sets that are compatible with the data replication center (DRC) in the output.
enable_convert_timestamp_to_unix_timestamp 0/{0,1} Specifies whether to convert a timestamp to a UNIX timestamp. This parameter takes effect in a MySQL Tenant of OceanBase Database.
enable_oracle_mode_match_case_sensitive 0/{0,1} Specifies whether to enable case sensitivity for table names in the allowlist and blocklist of an Oracle tenant of OceanBase Database.
enable_output_by_table_def 0/{0,1} Specifies whether to sort the output columns in the user-defined order.
enable_output_hidden_primary_key 0/{0,1} Specifies whether to include hidden primary keys in the output.
enable_output_invisible_column 0/{0,1} Specifies whether to include invisible columns in the output.
fetch_log_rpc_timeout_sec 15/[1, ) The timeout period for log pull.
rs_sql_connect_timeout_sec 40/[1, ) The timeout period for connecting to the root server of the sys tenant. You can use online schema mode to obtain the timeout periods of SQL statements in a specified schema.
rs_sql_query_timeout_sec 30/[1, ) The timeout period for SQL queries processed on the root server.
tenant_sql_connect_timeout_sec 40/[1, ) The timeout period for connecting to an OBServer node of a user tenant.
tenant_sql_query_timeout_sec 30/[1, ) The timeout period for SQL queries processed in a user tenant.
max_log_file_count 40/[1, ) The maximum number of retained logs. The size of each log file is 256 MB.

Parameters of a MySQL store

Note

All parameters of a MySQL store component are in the mysql2store section where all parameters are prefixed with mysql2store.. For example, the full name of the xlogMode parameter is mysql2store.xlogMode.

Parameter
Required?
Default value
Description
Applicable version
xlogMode No true Specifies whether to parse incremental data of the source by using the new version of MySQL Reader. OceanBase Migration Service (OMS) V4.1.0 and later
useGtid No true Specifies whether to enable the global transaction identifier (GTID). If you set the parameter to true and the GTID is enabled in the source, the timestamp of binlog pull is located based on the GTID. OMS V4.1.0 and later
master.timestamp Yes None The start timestamp of binlog pull. By default, a new store component starts pulling with binlogs generated 10 minutes before it runs. For example, if a new store component starts running at 12:00, it pulls binlogs that have been generated since 11:50. Note that you cannot perform a DDL operation in the source data source between 11:50 and 12:00. All versions
master.host Yes None The IP address of the source database. All versions
master.port Yes None The port number of the source database. All versions
master.username Yes None The username used to connect to the source database. All versions
master.password Yes None The password used to connect to the source database. You must use this parameter with the master.username parameter. All versions
filter.conditions Yes *.* The delimiter between a database name and a table name in the allowlist for data parsing. You must separate multiple database.table name pairs with vertical bars (|). For example, a.b\|c.d indicates that only Table b in Database a and Table d in Database c are parsed. Note: If the source database is case sensitive, X.Y and X.y indicate that Table Y and Table y in Database X are parsed. All versions
filter.blacklist Yes Null The list of tables that are blocked from data parsing. You must separate multiple database tables with vertical bars (|). For example, a.b\|c.d indicates that Table b in Database a and Table d in Database c are filtered. Note: If the source database is case sensitive, X.Y and X.y indicate that Table Y and Table y in Database X are filtered out. All versions
max_landing_message_num No 40000 The maximuim number of messages waiting in the sending queue. If binlog files contain large fields, you must decrease the value of this parameter or increase the values of Java virtual machine (JVM) parameters of MySQL Reader. Otherwise, the out-of-memory (OOM) exception may be triggered. OMS V4.1.0 and later
subreader.jvm_param No -Xms2048m -Xmx2048m -Xmn1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=128m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSClassUnloadingEnabled The settings of Java virtual machine (JVM) parameters of MySQL Reader. OMS V4.2.2 and later
seek_start_position_timeout_millis No 600,000 The timeout period for identifying the MySQL file ID and offset based on the value of the master.timestamp parameter when the store component starts running. Unit: milliseconds. OMS V4.1.0 and later
connect_timeout_millis No 60,000 The timeout period for the store component to create a connection to the source database, in milliseconds. OMS V4.1.0 and later
socket_timeout_millis No 60,000 The timeout period for data read through a connection to the source database, in milliseconds. OMS V4.1.0 and later
ignore_xa_rollback No false Specifies whether to ignore the rollback of an XA transaction. OMS V4.1.0 and later
ignore_ddl_error No true Specifies whether to ignore DDL statement parsing errors. By default, the store component ignores DDL statement parsing errors, and exits when a DML statement parsing error occurs. OMS V4.1.0 and later
ignore_not_supported_ddl No true Specifies whether to ignore unsupported DDL statements. By default, unsupported DDL statements are ignored. If the DML statement parsing is affected after an unsupported DDL statement is ignored, the store component exits when a DML statement parsing error occurs. OMS V4.1.0 and later
schema_initial_parallel_num No A value that is twice the number of CPU cores or 4, whichever is smaller. The number of connections for concurrently pulling table schemas from the source database during initialization. OMS V4.1.0 and later
master.serverid Yes None The MySQL replication protocol requires that the server ID of the slave server must be specified when the slave server connects to the master server. MySQL Reader is a slave role. This parameter specifies the server ID of the slave MySQL Reader. All versions
master.uuid Yes None The MySQL replication protocol requires that the universally unique identifier (UUID) of the slave server must be specified when the slave server is connected to the master server. MySQL Reader is a slave role. This parameter specifies the UUID of the slave MySQL Reader. All versions
master.heartbeatperiod No 0.5 The interval at which the source database sends heartbeats when the binlog connection is idle, in milliseconds. All versions
master.maxdumper No 200 The maximum number of binlog dumper connections to the source database to check the workload of the source database. All versions
master.has_implicit_primary_key No true In RDS for MySQL, hidden columns are added to tables without a primary key. If you set the parameter to true, parsing of hidden columns is automatically ignored. All versions
master.binlog No Empty The binlog file ID that locates the start timestamp of binlog pull together with the master.offset parameter. This parameter is not used. When the store component starts running, it uses the master.timestamp parameter to locate the start timestamp of binlog pull. All versions
master.offset No Empty The offset that locates the start timestamp of binlog pull together with the master.binlog parameter. This parameter is not used. When the store component starts running, it uses the master.timestamp parameter to locate the start timestamp of binlog pull. All versions
Other parameters None None Parameters not described in this table are obsolete and are rarely used. If you need to modify these parameters, contact OMS Technical Support. -

Parameters of an Oracle store

Notice

All parameters of an Oracle store component are in the deliver2store section where all parameters are prefixed with logminer., unless otherwise specified. For example, the full name of the oracle.url parameter is logminer.oracle.url.

Parameter
Required?
Default value
Description
Applicable version
print_data No false Specifies whether to print the detailed change records pulled by LogMiner for data quality troubleshooting. OceanBase Migration Service (OMS) V1.3.2 and later
full_table_name_white_list Yes None The allowlist of tables accessible by the Store component. The table names in the allowlist must contain the full paths. You can use wildcards and specify multiple tables. Table names must be separated with vertical bars (|). For example, schema1.table*\|schema2.table1. OMS V3.1.0 and later
full_table_name_black_list Yes (nullable) None The blocklist. The table names in the blocklist must contain the full paths. You can use wildcards and specify multiple tables. Table names must be separated with vertical bars (|). For example, schema1.table*\|schema2.table1. OMS V3.1.0 and later
log_prepared_converter_queue_size No 20000 The number of logs in the queue prepared in the converter stage. OMS V3.2.0 and later
read_timeout_ms No
  • 180000 in OMS of a version earlier than V4.2.2.
  • 300000 in OMS V4.2.2 and later.
The timeout period for a read request to an Oracle database through a non-log-pull connection, in milliseconds. OMS V1.3.2 and later
fetch_log_read_timeout_ms No 1200000 The timeout period for a read request to an Oracle database through a log pull connection, in milliseconds. OMS V4.2.2 and later
max_fetch_log_read_timeout_ms No 2400000 The maximum timeout period for a read request to an Oracle database through a log pull connection, in milliseconds. The store component can automatically adjust the timeout for a log pull connection. OMS V4.2.2 and later
converter_thread_num No 8 The number of threads during the conversion phase. OMS V3.2.1 and later
use_independent_fetcher_per_instance No
  • false in OMS V2.2.0.
  • true in OMS V3.1.0 and later.
Specifies whether to use an independent fetcher module to pull transaction logs generated by each instance (thread) in the database. Default value: false.
  • If you set the value to false, the previous combined pull structure of OMS V1.x is used, which supports real application clusters (RACs) consisting of at most three instances.
  • If you set the value to true, the new independent pull structure is used, which supports RACs consisting of any number of instances and non-RAC structures including only one instance.
  • fetch_arch_logs_max_parallelism_per_instance, max_actively_staged_arch_logs_per_instance, enable_stage_queue_compression, and stage_queue_directory are valid only when this parameter is set to true.
OMS V2.2.0 and later
staged_arch_logs_in_memory No false Specifies whether to temporarily store the pulled logs in memory if parallel pull is enabled during the log pull phase. The default value false indicates that the pulled logs are temporarily stored in a local disk. OMS V2.2.0 and later
fetch_online_log_interval_seconds No
  • 5 in OMS V3.2.1 and later to a version earlier than V4.0.1.
  • 20 in OMS V4.0.1 and later.
The interval of pulling online logs, in seconds. OMS V3.2.1 and later
enable_flashback_query No
  • true in OMS V3.2.1 and V3.2.2.
  • false in OMS V3.3.0 and later.
Specifies whether to use flashback queries for table access. OMS V3.2.1 and later
need_all_column_data No true Specifies whether to pull all column data, which reduces unnecessary table access. This parameter applies only to data migration or synchronization between databases. OMS V3.3.0 and later
need_check_object_length No true Specifies whether to check the length of the object name, such as the schema name, table name, and column name. By default, the length of the object name cannot exceed 30 bytes. OMS V3.3.1 and later
analyser_thread_num No 4 The number of threads during the analysis phase. OMS V3.3.1 and later
analyser_batch_size No 1000 The maximum number of records processed in each parallel batch during the analysis phase. OMS V3.3.1 and later
instance_threads No Empty The ID of the thread that pulls instance logs. You must separate multiple thread IDs with vertical bars (|). For example, 1|2|3. OMS V3.3.1 and later
print_diagnose_info No false Specifies whether to print the diagnostic logs for data quality troubleshooting.
The amount of printed diagnostic logs is related to that of archive logs in the Oracle database. You need to pay attention to the disk usage.
OMS V3.4.0 and later
transaction_id_use_full_version No true Whether to use the complete transaction id as the basis during transaction-related processing. OMS V4.2.2 and later
enable_assist_fetch No
  • false in OMS V4.0.1 and V4.0.2.
  • true in OMS V4.1.0 and later.
Specifies whether LogMiner mines an auxiliary file that precedes the log of interest. OMS V4.0.1 and later
assist_fetch_fallback_scn No 1000 The number of the last SCNs to be mined by LogMiner in the auxiliary file that precedes the target log file. If you set the value to less than 0, LogMiner mines the entire auxiliary file that precedes the target log file. This parameter takes effect only if you set the enable_assist_fetch parameter to true. OMS V4.0.1 and later
enable_log_big_transaction No true Specifies whether to print the information about large transactions, such as the tables involved in a large transaction, and the number of changes per table. OMS V4.0.2 and later
big_transaction_threshold No 100000 If the number of changes involved in a transaction exceeds the value of this parameter, the transaction is a large transaction. This parameter takes effect only if you set the enable_log_big_transaction parameter to true. OMS V4.0.2 and later
big_transaction_top_table No 10 The number of tables that involve the most changes and whose information is printed in descending order based on the number of changes in each table. This parameter takes effect only if you set the enable_log_big_transaction parameter to true. OMS V4.0.2 and later
enable_level_store No
  • false in OMS V4.0.2.
  • true in OMS V4.1.0 and later.
Specifies whether to use a new storage layer to cache concurrently pulled logs and large transactions during log pull. OMS V4.0.2 and later
level_store_block_size No 8192 The size of a block of a new storage layer. OMS V4.0.2 and later
level_store_data_threshold No 1000 The number of changes involved in a transaction that triggers a data dump from a new storage layer to a disk. OMS V4.0.2 and later
level_store_pool_size No 100 The number of blocks in the memory pool of a new storage layer. OMS V4.0.2 and later
level_store_memory_record_limit No 1000 The maximum number of data records in the memory of a new storage layer. This parameter prevents full memory usage when the speed of data dump to a disk is much lower than that of data insertion to the memory. OMS V4.0.2 and later
use_rsid_instead_of_xid No true Specifies whether to replace the generated transaction ID with an RSID. OMS V4.2.2 and later
ignore_unused_commit_rollback No true Specifies whether to ignore some useless commit or rollback operation. OMS V4.2.2 and later
deliver2store.subreader.jvm_param No -Xms8g -Xmx8g -Xmn2g -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+DisableExplicitGC The settings of Java virtual machine (JVM) parameters of LogMiner Reader. Note that the full parameter name is deliver2store.subreader.jvm_param. OMS V4.2.2 and later

Parameters of a DB2 store

Parameter
Required?
Default value
Description
Applicable version
deliver2store.logminer.fetcherRetryCodes No -1018,-1024 The error code of a log pull operation that can be retried. You must separate multiple error codes with commas (,). OceanBase Migration Service (OMS) V3.2.1 and later
deliver2store.logminer.initialTimestamp No Current time The timestamp when the store component starts processing a heartbeat or DDL statement without having processed a DML statement. OMS V3.2.1 and later
deliver2store.logminer.db2EnableQueryBack No true Specifies whether to use table access. OMS V3.2.1 and later
deliver2store.logminer.localEndianName No big for an Advanced Interactive eXecutive (AIX) system. little for other systems. Specifies to parse logs in big-endian or little-endian mode. If you set the value to big (case-insensitive), logs are parsed in big-endian mode. Otherwise, logs are parsed in little-endian mode. OMS V3.2.1 and later
deliver2store.subreader.jvm_param No -Xms8g -Xmx8g -Xmn2g -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+DisableExplicitGC The settings of Java virtual machine (JVM) parameters of DB2 Reader. OMS V4.2.2 and later

Parameters of a PostgreSQL store

Note

All parameters of a PostgreSQL store component are in the deliver2store section where all parameter names are prefixed with postgresql., unless otherwise specified. For example, the full name of the publication_name parameter is deliver2store.postgresql.publication_name.

Parameter
Required?
Default value
Description
Applicable version
publication_name Yes None The unique name of the publication. This parameter is automatically specified when the project is started. OMS V3.4.0 and later
slot_name Yes None The unique name of the publication replication slot. This parameter is automatically specified when the project is started. OMS V3.4.0 and later
archive_log_keep_seconds No 172800 The retention period of replication slot logs, in seconds. OMS V3.4.0 and later
notify_confirmed_flush_lsn_interval_seconds No 600 The interval for the submission of log consumption checkpoints, in seconds. OMS V3.4.0 and later
connect_timeout_seconds No 180 The timeout period for connecting to the PostgreSQL database. OMS V3.4.0 and later
read_timeout_seconds No 600 The timeout period for data read through a connection to the PostgreSQL database. OMS V3.4.0 and later
print_detail_msg_log No false Specifies whether to print log details. OMS V3.4.0 and later
ignore_not_supported_ddl No true Specifies whether to ignore the DDL statements that cannot be parsed. OMS V4.2.2 and later
skip_ddl No [] The DDL statements that are not to be parsed. For example, ["create table t(c1 int)","create table t2(c1 int)"]. The value is case sensitive. On the parameter configuration page, double quotation marks (") in the value must be escaped. OMS V4.2.2 and later
data_type_mapping No {} The mapping logic of data types. For example, {"smallint":"int2","int4":"integer"}. On the parameter configuration page, double quotation marks (") in the value must be escaped. OMS V4.2.2 and later
reconnect_retry_interval_ms No 10000 The interval between connection retries. OMS V4.2.2 and later
host Yes 127.0.0.1 The IP address of the PostgreSQL database. OMS V3.4.0 and later
port Yes 5432 The port of the PostgreSQL database. OMS V3.4.0 and later
database Yes None The name of the database in the PostgreSQL instance. OMS V3.4.0 and later
username Yes None The username. OMS V3.4.0 and later
password Yes None The password that you use to log on to the database. OMS V3.4.0 and later
blacklist No None The list of tables that are not to be migrated. OMS V3.4.0 and later
whitelist Yes None The list of tables to be migrated. OMS V3.4.0 and later
table_name_cache_size No 10000 The maximum number of table names that can be cached in the filter. OMS V3.4.0 and later
table_name_expire_seconds No 600 The validity period of table names cached in the filter. OMS V3.4.0 and later
start_position No None The start timestamp. OMS V3.4.0 and later
fetch_all_table_metas No true Specifies whether to load the metadata of all tables. OMS V4.0.1 and later
schema_initial_parallel_mode No SCHEMA_LEVEL_PARALLEL The level of concurrent metadata loading. The value is case insensitive. Valid values: NO_PARALLEL、SCHEMA_LEVEL_PARALLEL, and TABLE_LEVEL_PARALLEL. OMS V4.0.1 and later
schema_initial_parallel_num No 4 The number of concurrent metadata loading threads. OMS V4.0.1 and later
schema_initial_batch_size No 100 The number of tables loaded by a concurrent thread at a time. OMS V4.0.1 and later
long_transaction_detect_period_seconds No 5 The interval for detecting whether a large transaction exists. OMS V4.1.0 and later
long_transaction_threshold_seconds No 600 If the execution of a transaction exceeds the specified period, the transaction is a large transaction. OMS V4.1.0 and later
level_store_record_threshold_num No 1000 The maximum number of transactions that can be stored in the layered storage in memory. OMS V4.1.0 and later
level_store_block_size No 8192 The size of a block of a new storage layer. OMS V4.1.0 and later
level_store_pool_size No 100 The number of blocks in the memory pool of a new storage layer. OMS V4.1.0 and later
jvm_param No -Xms2048m -Xmx2048m -Xmn1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=128m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSClassUnloadingEnabled The settings of Java virtual machine (JVM) parameters. The full parameter name is deliver2store.subreader.jvm_param. OMS V4.2.2 and later

次のトピック

OMSドキュメント
次へ
このページの内容
Common parameters
Parameters of an OceanBase store
Parameters of a MySQL store
Parameters of an Oracle store
Parameters of a DB2 store
Parameters of a PostgreSQL store