OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase AI DatabaseOceanBase Cloud OceanSeekOceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog ServiceOceanBase DataPilotOceanBase OAgent

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase AI DatabaseOceanBase Cloud OceanSeekOceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog ServiceOceanBase DataPilotOceanBase OAgent
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Migration Service

V4.4.0Enterprise Edition
  • OMS Documentation
  • OMS Introduction
    • Overview of OMS
    • Terms
    • OMS HA
    • Principles of Store
    • Principles of Full-Import and Incr-Sync
    • Data verification principles
    • Architecture
      • Overview
      • Hierarchical functional system
      • Basic components
    • OMS Oracle full migration design and impact
    • Limitations
  • Quick Start
    • Data migration process
    • Data synchronization process
  • Deploy OMS
    • Deployment types
    • System and network requirements
    • Memory and disk requirements
    • Environment preparations
    • Deploy OMS on a single node
    • Deploy OMS on multiple nodes in a single region
    • Deploy OMS on multiple nodes in multiple regions
    • Scale out
    • Scale down deployment
    • Check the deployment
    • Deploy a time-series database (Optional)
  • OMS console
    • Log in to the OMS console
    • Overview
    • User center
      • Configure user information
      • Change your login password
      • Log out
  • Data migration
    • Data Migration Overview
    • Migrate data from a MySQL database to the MySQL-compatible mode of OceanBase Database
    • Migrate data from an OceanBase database in MySQL-compatible mode to a MySQL database
    • Migrate data from an Oracle database to the MySQL compatible mode of OceanBase Database
    • Migrate data from an OceanBase database in Oracle compatible mode to an Oracle database
    • Migrate data from an Oracle database to OceanBase Database in Oracle compatible mode
    • Migrate data from a DB2 LUW database to an Oracle-compatible tenant of OceanBase Database
    • Migrate data from an Oracle-compatible tenant of OceanBase Database to a DB2 LUW database
    • Migrate data from a DB2 LUW database to a MySQL-compatible tenant of OceanBase Database
    • Migrate data from a MySQL-compatible tenant of OceanBase Database to a DB2 LUW database
    • Migrate data between OceanBase databases of the same tenant type
    • Configure a bidirectional synchronization task
    • Migrate data from a TiDB database to a MySQL-compatible tenant of OceanBase Database
    • Migrate data from a PostgreSQL database to the Oracle compatible mode of OceanBase Database
    • Migrate data from a PostgreSQL database to the MySQL compatible mode of OceanBase Database
    • Migrate data from a PolarDB-X 1.0 database to a MySQL-compatible tenant of OceanBase Database
    • Migrate data from a Milvus database to a MySQL-compatible tenant of OceanBase Database
    • Migrate data from an OBSharding database to a MySQL-compatible tenant of OceanBase Database
    • Migrate incremental data from an Oracle-compatible tenant of OceanBase Database to a MySQL database
    • Migrate data from a Doris database to the MySQL-compatible mode of OceanBase Database
    • Migrate data from a DM database to an OceanBase database in MySQL-compatible mode
    • Migrate data from DM Database to OceanBase Database in Oracle compatible mode
    • Migrate data from Elasticsearch to OceanBase Database in MySQL-compatible mode
    • Migrate data from a SQL Server database to OceanBase Database in MySQL-compatible mode
    • Migrate data from an SQL Server database to OceanBase Database in Oracle compatible mode
    • Manage data migration tasks
      • View details of a data migration task
      • Rename a data migration task
      • View and modify migration objects
      • Use tags to Manage data migration tasks
      • Perform batch operations on data migration tasks
      • Download and import settings of migration objects
      • View and modify migration parameters
      • Download a conflict log file
      • Start and pause a data migration task
      • End and delete a data migration task
    • Supported DDL operations and limits for synchronization
      • Synchronize DDL operations from a MySQL database to a MySQL-compatible tenant of OceanBase Database
        • Overview of DDL synchronization from MySQL to OceanBase Database's MySQL compatible mode
        • CREATE TABLE
          • Create a table
          • Create a column
          • Create indexes or constraints
          • Create partitions
        • Data type conversion
        • ALTER TABLE
          • Modify tables
          • Operations on columns
          • Operations on constraints and indexes
          • Partition operations
        • TRUNCATE TABLE
        • RENAME TABLE
        • DROP TABLE
        • CREATE INDEX
        • DROP INDEX
        • DDL incompatibilities between a MySQL database and a MySQL-compatible tenant of OceanBase Database
          • Overview
          • Incompatibilities of the CREATE TABLE statement
            • Incompatibilities of CREATE TABLE
            • Column types that are supported to create indexes or constraints
          • Incompatibilities of the ALTER TABLE statement
            • Incompatibilities of ALTER TABLE
            • Change the type of a constrained column
            • Change the type of an unconstrained column
            • Change the length of a constrained column
            • Change the length of an unconstrained column
            • Delete a constrained column
          • Incompatibilities of DROP INDEX operations
      • Synchronize DDL operations from the MySQL compatible mode of OceanBase Database to a MySQL database
      • DDL operations for synchronizing data from an Oracle database to an Oracle-compatible tenant of OceanBase Database
        • Overview of DDL synchronization from Oracle to OceanBase Database Oracle compatible mode
        • CREATE TABLE
          • Overview for CREATE TABLE
          • Create a relational table
            • Create a relational table
            • Define columns of a relational table
          • Virtual columns
          • Regular columns
          • Create partitions
            • Overview for creating partitions
            • Partitioning
            • Subpartitioning
            • Composite partitioning
            • Custom partitioning
            • Subpartition templates
          • Constraints
            • Overview
            • Inline constraints
            • Out-of-line constraints
        • CREATE INDEX
          • Overview
          • Regular table indexes
        • ALTER TABLE
          • Overview
          • Modify, drop, and add table attributes
          • Column attribute management
            • Modify, drop, and add column attributes
            • Rename a column
            • Add columns and column attributes
            • Modify column attributes
            • Drop columns
          • Modify, drop, and add constraints
          • Partition management
            • Modify, drop, and add partitions
            • Drop a partition
            • Drop a subpartition
            • Add partitions and subpartitions
            • Modify partitions
            • Drop partition data
        • DROP TABLE
        • RENAME OBJECT
        • TRUNCATE TABLE
        • DROP INDEX
        • DDL incompatibilities between an Oracle database and an Oracle-compatible tenant of OceanBase Database
          • Overview
          • Incompatibilities of CREATE TABLE
          • Incompatibilities in table modification operations
            • Incompatibilities of ALTER TABLE
            • Change the type of a constrained column
            • Change the type of an unconstrained column
            • Change the length of a constrained column
            • Change the length of an unconstrained column
      • Synchronize DDL operations from the Oracle compatible mode of OceanBase Database to an Oracle database
      • Synchronize DDL operations from a DB2 LUW database to an Oracle-compatible tenant of OceanBase Database
      • Synchronize DDL operations from the Oracle compatible mode of OceanBase Database to a DB2 LUW database
      • Synchronize DDL operations from a DB2 LUW database to a MySQL-compatible tenant of OceanBase Database
      • Synchronize DDL operations from the MySQL compatible mode of OceanBase Database to a DB2 LUW database
      • Synchronize DDL operations between MySQL-compatible tenants of OceanBase Database
      • Synchronize DDL operations between Oracle-compatible tenants of OceanBase Database
      • Synchronize DDL operations from a PostgreSQL database to the MySQL compatible mode of OceanBase Database
      • Synchronize DDL operations from a PostgreSQL database to the Oracle compatible mode of OceanBase Database
      • Synchronize DDL operations from an OBSharding database to the Oracle compatible mode of OceanBase Database
      • Synchronize DDL operations from an SQL Server database to an OceanBase database
  • Data synchronization
    • Data synchronization overview
    • Synchronize data from OceanBase Database to a Kafka instance
    • Synchronize data from OceanBase Database to a RocketMQ instance
    • Synchronize data from OceanBase Database to a DataHub instance
    • Synchronize data from OceanBase Database to Swift
    • Synchronize data from an ODP logical table to a physical table in a MySQL-compatible tenant of OceanBase Database
    • Synchronize data from an ODP logical table to a DataHub instance
    • Synchronize data from an IDB logical table to a MySQL-compatible tenant of OceanBase Database
    • Synchronize data from an IDB logical table to a DataHub instance
    • Synchronize data from a MySQL database to a DataHub instance
    • Synchronize data from an Oracle database to a DataHub instance
    • Synchronize data from an OBSharding database to Kafka
    • Manage data synchronization tasks
      • View details of a data synchronization task
      • Change the name of a data synchronization task
      • View and modify synchronization objects
      • Use tags to Manage data synchronization tasks
      • Perform batch operations on data synchronization tasks
      • Download and import the settings of synchronization objects
      • View and modify the parameter configurations of a data synchronization task
      • Start and pause a data synchronization task
      • End and delete a data synchronization task
  • Data validation
    • Data verification overview
    • Create a data validation task
    • Manage data validation tasks
      • View details of a data validation task
      • Change the name of a data validation task
      • View and modify validation objects
      • View and modify verification parameters
      • Manage data validation tasks by using tags
      • Import validation objects
      • Start, stop, and resume a data validation task
      • Clone a data validation task
      • Delete a data validation task
  • Create and manage data sources
    • Create data sources
      • Create an OceanBase data source
        • Create a physical OceanBase data source
        • Create an ODP data source
        • Create an IDB data source
        • Create a public cloud OceanBase data source
        • Create a standalone OceanBase data source
      • Create a MySQL data source
      • Create an Oracle data source
      • Create a TiDB data source
      • Create a Milvus data source
      • Create a Kafka data source
      • Create a RocketMQ data source
      • Create a DataHub data source
      • Create a Swift data source
      • Create a DB2 LUW data source
      • Create a PostgreSQL data source
      • Create an SQL Server data source
      • Create a PolarDB-X 1.0 data source
      • Create an OBSharding data source
      • Create a DM data source
      • Create a Doris data source
      • Create an Elasticsearch data source
    • Manage data sources
      • View data source information
      • Copy a data source
      • Edit a data source
      • Delete a data source
    • Create a database user
    • User privileges
    • Enable binlogs for the MySQL database
    • Minimum privileges required when an Oracle database serves as the source
  • OPS & Monitoring
    • O&M overview
    • Go to the overview page
    • Server
      • View server information
      • Add a server
      • Delete a server
      • Update the quota
      • View server logs
      • Manage resource groups
    • Components
      • Store
        • Add a Store component
        • View details of a Store component
        • Update the configurations of a Store component
        • Start and pause a Store component
        • Delete a Store component
      • Incr-Sync
        • View details of an Incr-Sync component
        • Start and pause an Incr-Sync component
        • Migrate an Incr-Sync component
        • Update the configurations of an Incr-Sync component
        • Batch O&M
        • Delete an Incr-Sync component
      • Full-Import
        • View details of a Full-Import component
        • Pause a Full-Import component
        • Rerun and resume a Full-Import component
        • Update the configurations of a Full-Import component
        • Delete a Full-Import component
      • Full-Verification
        • View details of a Full-Verification component
        • Pause a Full-Verification component
        • Rerun and resume a Full-Verification component
        • Update the configurations of a Full-Verification component
      • Incr-Verification
        • View details of the Incr-Verification component
        • Pause an Incr-Verification component
        • Rerun and resume an Incr-Verification component
        • Update an Incr-Verification component
      • Row-Verification
        • View details of a Row-Verification component
    • O&M Task
      • View O&M tasks
      • Skip a task or subtask
      • Retry a task or subtask
    • Parameter Template
      • Overview
      • Task Template
        • Create a task template
        • View and edit task templates
        • Copy and export a task template
        • Delete a task template
      • Component Template
        • Create a component template
        • View and edit component templates
        • Copy and export a component template
        • Delete a component template
      • Component parameters
        • Store component parameters
        • Incr-Sync component parameters
        • Full-Import component parameters
        • Full-Verification component parameters
        • Incr-Verification component parameters
        • Parameters of the Row-Verification component
        • CM component parameters
        • Supervisor component parameters
  • System management
    • Permission Management
      • Overview
      • Manage users
      • Manage departments
    • Alert center
      • View task alerts
      • View system alerts
      • Manage alert settings
    • Associate with OCP
    • System parameters
      • Modify system parameters
      • Modify HA configurations
      • oblogproxy parameters
    • Manage access keys
    • Operation audit
  • Troubleshooting Guide
    • Manage OMS services
    • OMS logs
    • Component O&M
      • O&M operations for the Supervisor component
      • CLI-based O&M for the Connector component
      • O&M operations for the Store component
    • Component tuning
      • Incr-Sync/Full-Import tuning
      • Oracle store tuning
    • Set throttling
    • Store performance diagnostics
  • Reference Guide
    • Features
      • Configure DDL/DML synchronization
      • DDL synchronization scope
      • Rename databases and tables
      • Use SQL conditions to filter data
      • Set the incremental synchronization start timestamp
      • Configure matching rules for migration or synchronization objects
      • Configure matching rules for validation objects
      • Wildcard patterns supported for matching rules
      • Hidden column mechanisms
      • Procedure for schema migration
      • Create and update a heartbeat table
      • Change a topic
      • Column filtering and column mapping
      • Data formats
      • Supported SQL Hints
    • API Reference
      • Overview
      • CreateProject
      • StartProject
      • StopProject
      • ResumeProject
      • ReleaseProject
      • DeleteProject
      • ListProjects
      • Query task details
      • DescribeProjectSteps
      • DescribeProjectStepMetric
      • DescribeProjectProgress
      • DescribeProjectComponents
      • ListProjectFullVerifyResult
      • StartProjectsByLabel
      • StopProjectsByLabel
      • CreateMysqlDataSource
      • CreateOceanBaseDataSource
      • CreateOceanBaseODPDataSource
      • CreatePolarDBDataSource
      • CreateMilvusDataSource
      • ListDataSource
      • CreateLabel
      • ListAllLabels
      • DeleteDataSource
      • CreateProjectModifyRecords
      • ListProjectModifyRecords
      • StopProjectModifyRecords
      • RetryProjectModifyRecords
      • CancelProjectModifyRecord
      • SubmitPreCheck
      • GetPreCheckResult
      • UpdateProjectConfig
      • Download schema conversion information
      • DownloadConflictData
      • ListConflictData
      • ResetIncrStartTimestamp
      • AdvanceProject
      • DescribeRegions
      • Create a user
      • Delete a user
      • Query user details
      • Query department list
      • Upload a Kafka authentication file
      • Create a Kafka data source
      • Create a DB2 LUW data source
    • Alert Reference
      • oms_host_down
      • oms_host_down_migrate_resource
      • oms_host_threshold
      • oms_migration_failed
      • oms_migration_delay
      • oms_sync_failed
      • oms_sync_status_inconsistent
      • oms_sync_delay
    • SSO
      • Integrate OMS with OIDC for SSO
      • Integrate the SAML 2.0 protocol to OMS to implement SSO
      • Access Microsoft Entra ID using OMS SAML 2.0
    • OMS error codes
    • SQL statements for querying database objects
    • Create a trigger
    • Change the log level for a PostgreSQL database instance
    • Online DDL tools
    • Supplemental logging in Oracle databases
    • Configure Milvus topics
  • Upgrade Guide
    • Overview
    • Upgrade OMS in single-node deployment mode
    • Upgrade OMS in multi-node deployment mode
    • FAQ
  • FAQ
    • General O&M
      • How do I modify the resource quotas of an OMS container?
      • How do I troubleshoot the OMS server down issue?
      • Deploy InfluxDB for OMS
      • Increase the disk space of the OMS host
    • Task diagnostics
      • How do I troubleshoot common problems with Oracle Store?
      • How do I perform performance tuning for Oracle Store?
      • What do I do when Oracle Store reports an error at the isUpdatePK stack?
      • What do I do when a store does not have data of the timestamp requested by the downstream?
      • What do I do when OceanBase Store failed to access an OceanBase cluster through RPC?
      • How do I use LogMiner to pull data from an Oracle database?
    • OPS & monitoring
      • What are the alert rules?
    • Data synchronization
      • FAQ about synchronization to a message queue
        • What are the strategies for ensuring the message order in incremental data synchronization to Kafka
    • Data migration
      • User privileges
        • What privileges do I need to grant to a user during data migration to or from an Oracle database?
      • Full migration
        • How do I query the ID of a checker?
        • How do I query log files of the Checker component of OMS?
        • How do I query the verification result files of the Checker component of OMS?
        • What do I do if the target table does not exist?
        • What can I do when the full migration failed due to LOB fields?
        • What do I do if garbled characters cannot be written into OceanBase Database V3.1.2?
      • Incremental synchronization
        • How do I skip DDL statements?
        • How do I migrate or synchronize Oracle database objects whose names exceed 30 bytes?
        • How do I update whitelists and blacklists?
        • What are the application scope and limits of ETL?
    • Installation and deployment
      • How do I upgrade Store?
  • Release Note
    • Release Note
      • Version number rules
      • V4.4
        • OMS V4.4.0
      • 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

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase Migration Service
  3. V4.4.0

OMS logs

Last Updated:2026-11-26 09:35:11

Logs of the console component
Logs of the CM component
Logs of the Store component
Logs of the Full-Import and Incr-Sync components
Logs of the Full-Verification component
Logs of the Incr-Verification component
Logs of the Supervisor component

The default directory for OMS logs is /home/admin/logs/. This topic describes the logs of different components of OceanBase Migration Service (OMS).

Note

To view OMS logs, you must log in to the server where OMS is deployed and then go to the container of OMS. Run the following command to go to the container where OMS is deployed:

docker exec -it <oms_container_name> bash

Logs of the console component

By default, logs of the console component are stored in /home/admin/logs/ghana/Ghana. The following table describes the different types of logs of the console component.

Log type
Description
Log retention strategy
common-default.log INFO, WARNING, and ERROR logs. Archived and compressed daily and retained for 15 days.
common-error.log ERROR logs. If OMS returns an error, search this log file by the time of the error to identify the cause. Archived and compressed daily and retained for 15 days.
oms-scheduler.log Background scheduling logs. Archived and compressed daily and retained for 6 days.
oms-step.log Step execution logs of migration and synchronization tasks. Archived and compressed daily and retained for 6 days.
oms-api.log External API call logs. Archived and compressed daily and retained for 6 days.
database.log Database call logs. Archived and compressed daily and retained for 6 days.
oms-web.log External console access logs, including the URL, request path, execution time, and API response. Archived and compressed daily and retained for 6 days.
oms-alarm.log Alert-related logs. Archived and compressed daily and retained for 6 days.
dbcat.log Logs of the schema migration component DBCat. If an SQL query returns an error, filter the DBCat logs by the ERROR keyword to identify the cause. Archived and compressed daily and retained for 3 days.
oms-ha.log Service high-availability logs. Archived and compressed daily and retained for 6 days.

Logs of the CM component

By default, logs of the cluster manager (CM) component are stored in the /home/admin/logs/cm/log directory. The following table describes the different types of logs of the CM component.

Log type
Description
Log retention strategy
cm-scheduler.log Background scheduling logs. Archived and compressed hourly. The latest 72 log files are retained. Log files that have not been modified for more than 3 days are deleted.
error-details.log Error code information logs. Archived and compressed hourly. The latest 72 log files are retained. Log files that have not been modified for more than 3 days are deleted.
meta-db.log Database call logs. Archived and compressed hourly. The latest 72 log files are retained. Log files that have not been modified for more than 3 days are deleted.
service.log Service-layer execution logs. Archived and compressed every 12 hours. The latest 14 log files are retained. Log files that have not been modified for more than 7 days will be deleted.
common-error.log ERROR logs.
If OMS returns an error, search this log file by the time of the error to identify the cause.
Archived and compressed every 12 hours. The latest 14 log files are retained. Log files that have not been modified for more than 7 days are deleted.
common-default.log INFO, WARNING, and ERROR logs. Archived and compressed every 12 hours. The latest 14 log files are retained. Log files that have not been modified for more than 7 days will be deleted.
controller.log External API call logs. Archived and compressed every 12 hours. The latest 14 log files are retained. Log files that have not been modified for more than 7 days will be deleted.
cm-api.log Jetty HTTP request logs. Archived every 24 hours without compression and retained for 3 days.

Logs of the Store component

Logs of the Store component are stored in /home/ds/store/store{storeport}/log by default. You can view the logs of the Store component in the OMS console. Perform the following steps:

  1. Log in to the OMS console.

  2. In the left-side navigation pane, click Data Synchronization.

  3. On the Data Synchronization page, click the name of the target data synchronization task to go to its details page.

  4. Click View Component Monitoring in the upper-right corner to view the ID of the corresponding store. You can find the port number in the component ID.

    In the OMS console, you can view the logs of the Store component in either of the following ways:

    • Go to the View Component Monitoring page. Click View Logs in the Actions column of the target component.

    • Choose OPS & Monitoring > Component > Store. On the page that appears, click View Logs in the Actions column of the target store.

The following table describes the different types of logs of the Store component.

Log type
Description
Log retention strategy
store.log The standard output and standard error output of the Store component will be redirected to this log file. If you cannot find useful error information in other log files, you can check this log file. Only one log file is retained without compression.
congo.log This log file records the parameters used when a reader task (a transaction log capture task) is started on the Store component. MySQL Reader also records binlog pulling and parsing logs in this file. To troubleshoot MySQL Reader, search this file for ERROR logs. If it does not contain useful information, check the meta.log file in the data directory. The data directory name consists of the values of the subTopic and subId parameters in conf/crawler.conf, in the format ${subTopic}.${subId}. Each log file can be up to 256 MB. Up to 12 log files (about 3 GB in total) are retained without compression.
liboblog.log/libobcdc.log This log file records logs related to pulling and parsing after OceanBase Reader is started. Check this log file when you troubleshoot issues related to OceanBase Reader.
This log file is named liboblog.log in OceanBase Database V2.x and V3.x, and libobcdc.log in OceanBase Database V4.x.
Each log file can be up to 256 MB. By default, 40 log files (about 10 GB in total) are retained without compression.
connector.log This log file records pulling and parsing logs generated after Oracle Reader, DB2 LUW Reader, or PostgreSQL Reader is started. Check this file when you troubleshoot the corresponding reader. Archived and compressed hourly. Logs are retained for up to 7 days or until their total size reaches 2 GB.

Logs of the Full-Import and Incr-Sync components

By default, logs of the Full-Import and Incr-Sync components are stored in the /home/ds/run/{name}/logs directory. You can also view the logs of the Full-Import and Incr-Sync components in the OMS console. Perform the following steps:

  1. Log in to the OMS console.

  2. In the left-side navigation pane, click Data Migration.

  3. On the Data Migration page, click the name of the target data migration task to go to its details page.

  4. Click View Component Monitoring in the upper-right corner and view the ID of the Full-Import or Incr-Sync component.

    In the OMS console, you can view the logs of the Full-Import and Incr-Sync components in either of the following ways:

    • Go to the View Component Monitoring page. Click View Logs in the Actions column of the target component.

    • Choose OPS & Monitoring > Component > Full-Import/Incr-Sync. On the page that appears, click the More icon in the Actions column of the target Full-Import or Incr-Sync component and select View Logs from the drop-down list.

The following table describes the different types of logs of the Full-Import and Incr-Sync components.

Log type
Description
Log retention strategy
<link_id>.out in the link root directory Task startup logs. Not archived; retained permanently.
logs/connector.log Info-level logs generated while the component is running. Archived and compressed hourly and retained for 7 days.
logs/error.log Error logs generated while the task is running. Archived and compressed hourly and retained for 7 days.
logs/trace.log Trace logs sampled during batch processing of multiple records. Archived and compressed hourly and retained for 7 days.
logs/msg/connector_filter_msg.log Messages filtered out by extract-transform-load (ETL) rules. Archived and compressed hourly and retained for 7 days.
logs/msg/connector_sink_msg.log Messages successfully written to the destination database. Archived and compressed hourly and retained for 7 days.
logs/msg/connector_source_msg.log Messages successfully read from the source database. Archived and compressed hourly and retained for 7 days.
logs/msg/ddl_msg.log All DDL operations. Archived and compressed hourly and retained for 7 days.
logs/msg/metrics.log Metrics. Archived and compressed daily and retained for 7 days.
logs/msg/sql_msg.log Slow DML statements that take longer than 15 ms to execute. Archived and compressed hourly and retained for 7 days.
logs/msg/manual_table.log Logs of tables to which special columns and indexes are added. Before reverse migration, you must delete the special columns and indexes from the tables. Not archived; retained permanently.

Logs of the Full-Verification component

The logs of the Full-Verification component are stored in the /home/ds/run/{name}/logs directory. You can also view the logs of the Full-Verification component in the OMS console. Perform the following steps:

  1. Log in to the OMS console.

  2. In the left-side navigation pane, click Data Validation.

  3. On the Data Validation page, click the name of the target data verification task to go to its details page.

  4. Click View Component Monitoring in the upper-right corner and view the ID of the corresponding Full-Verification component.

    In the OMS console, you can view the logs of the Full-Verification component in either of the following ways:

    • Go to the View Component Monitoring page. Click View Logs in the Actions column of the target component.

    • Choose OPS & Monitoring > Component > Full-Verification. On the page that appears, click View Logs in the Actions column of the target Full-Verification component.

The following table describes the different types of logs of the Full-Verification component.

Log type
Description
Log retention strategy
error.log Task error logs. Archived and compressed hourly and retained for 72 hours.
metrics.log Task metrics. Archived and compressed daily and retained for 7 days.
task.log Task runtime logs. Archived and compressed hourly and retained for 72 hours.
warn.log Task warning logs. Archived and compressed hourly and retained for 72 hours.
inmode.log Results indicating whether tables use IN mode. Archived and compressed hourly and retained for 72 hours.
sql_msg.log SQL statements executed by the task. Archived and compressed hourly and retained for 168 hours.

Important log files:

Note

In the following log paths, {subid} corresponds to the task.subId value automatically passed by OMS.

  • /home/ds/run/{taskname}/[migrate|verify]/{subid}/heartbeat

  • /home/ds/run/{taskname}/[migrate|verify]/{subid}/overview-running

  • /home/ds/run/{taskname}/[migrate|verify]/{subid}/overview-done

  • /home/ds/run/{taskname}/[migrate|verify]/{subid}/overview-failed

Verification result file:

/home/ds/run/{taskname}/[migrate|verify]/{subid}/{schema}/diff/{tablename}.diff

SQL correction file:

/home/ds/run/{taskname}/[migrate|verify]/{subid}/{schema}/sql/{tablename}.sql

Logs of the Incr-Verification component

The Incr-Verification component logs are stored in the /home/ds/run/{name}/logs directory. You can also view the Incr-Verification component logs in the OMS console. To do so, follow these steps:

  1. Log in to the OMS console.

  2. In the left-side navigation pane, click Data Validation.

  3. On the Data Validation page, click the name of the target data verification task to go to the details page.

  4. Click View Component Monitoring in the upper-right corner to view the corresponding Incr-Verification component ID.

    You can view the Incr-Verification component logs in the OMS console in the following two ways:

    • On the View Component Monitoring page, click View Logs next to the target component.

    • On the OPS & Monitoring > Component > Incr-Verification page, click View Logs next to the target Incr-Verification component.

The following table describes the Incr-Verification component logs.

Log type
Description
Retention strategy
error.log Task error logs. Archived and compressed hourly and retained for 72 hours.
metrics.log Task metrics. Archived and compressed daily and retained for 7 days.
task.log Task runtime logs. Archived and compressed hourly and retained for 72 hours.
warn.log Task warning logs. Archived and compressed hourly and retained for 72 hours.
inmode.log Results indicating whether tables use IN mode. Archived and compressed hourly and retained for 72 hours.
sql_msg.log SQL statements executed by the task. Archived and compressed hourly and retained for 168 hours.
incr_trace.log Incremental records received by the task. Archived and compressed hourly and retained for 72 hours.

Logs of the Supervisor component

Locate Supervisor logs based on the logging.path option in the drc.properties file in the /home/ds/supervisor/config directory. In OMS Enterprise Edition, the logs of the Supervisor component are usually stored in the /home/admin/logs/supervisor/ directory.

The following table describes the different types of logs of the Supervisor component.

Log type
Description
Log retention strategy
error.log All error logs. Archived daily without compression and retained for 7 days.
legacy.log API request logs generated when the OMS console, Agent, and other components access the CM component, including API names, request parameters, results, and timestamps. Archived daily without compression and retained for 7 days.
routine.log Logs related to scheduled tasks in the Supervisor component, including:
  • Heartbeat collection and reporting logs
  • Metric, resource, and error collection and reporting logs
  • Logs related to backend tasks of the Supervisor component
Archived daily without compression and retained for 7 days.
supervisor.log All logs of the Supervisor component. Archived daily without compression and retained for 7 days.

Previous topic

Manage OMS services
Last

Next topic

O&M operations for the Supervisor component
Next
on this page
Logs of the console component
Logs of the CM component
Logs of the Store component
Logs of the Full-Import and Incr-Sync components
Logs of the Full-Verification component
Logs of the Incr-Verification component
Logs of the Supervisor component