Modify system parameters

2023-06-28 11:59:34  Updated

OceanBase Migration Service (OMS) Community Edition allows the admin user to modify system parameters and general users to view system parameters.

Procedure

  1. Log on to the OMS Community Edition console.

  2. In the left-side navigation pane, choose System Management > System Parameters.

    The table on the System Parameters page contains the following columns: Parameter Name, Value, Module, Description, and Modified At.

    Parameter Description Default value
    alarm.thresholds The alert thresholds.
    • failedLengthOfTimeThreshold: the failure alert threshold for a project.
    • syncDelayThreshold: the delay alert threshold for a synchronization project.
    • syncFailedLengthOfTimeThreshold: the failure time alert threshold for a synchronization project.
    • migrateDelayThreshold: the delay alert threshold for a migration project.
    • migrateFailedLengthOfTimeThreshold: the failure time alert threshold for a migration project.
    • alarmRestrainTimeOfMin: the alert suppression time by alert level.
    • HIGH: the high protection level.
    • MEDIUM: the medium protection level.
    • LOW: the low protection level.
    • IGNORE: the No Protection level.
    {"delayThreshold":{"HIGH":30,"MEDIUM":300,"LOW":900},"failedLengthOfTimeThreshold":{"HIGH":30,"MEDIUM":300,"LOW":900},"alarmRestrainTimeOfMin":{"HIGH":3,"MEDIUM":3,"LOW":3,"IGNORE":100},"rule":"OMS_CONFIG_RULE_ALARM_THRESHOLDS"}
    ha.config Specifies whether to enable high availability (HA). For more information, see Modify HA configurations. {"enable":false,"enableHost":false,"enableStore":true,"perceiveStoreClientCheckpoint":false,"enableConnector":true,"enableJdbcWriter":true,"subtopicStoreNumberThreshold":5,"checkRequestIntervalSec":600,"checkJdbcWriterIntervalSec":600,"checkHostDownIntervalSec":540,"checkModuleExceptionIntervalSec":240,"clearAbnormalResourceHours":72,"refetchStoreIntervalMin":30}
    migration.checker.params.fast The parameters that need to be specified when the concurrency of the Checker is Fast.
    • limitator.platform.threads.number: the number of threads.
    • limitator.select.batch.max: the batch query size in full data migration or verification.
    • limitator.image.insert.batch.max: the batch INSERT size in full data migration.
    • limitator.datasource.connections.max: the number of connections. If the number of concurrent threads exceeds the number of connections, the concurrent data is invalid.
    • limitator.java.opt: the Java virtual machine (JVM) parameters.
    {"limitator.platform.threads.number": 32, "limitator.select.batch.max": 1200, "limitator.image.insert.batch.max": 400,"limitator.datasource.connections.max":50, "task.checker_jvm_param":"-server -Xms16g -Xmx16g -Xmn8g -Xss512k"}
    migration.checker.params.normal The parameters that need to be specified when the concurrency of the Checker is Normal.
    • limitator.platform.threads.number: the number of threads.
    • limitator.select.batch.max: the batch query size in full data migration or verification.
    • limitator.image.insert.batch.max: the batch INSERT size in full data migration.
    • limitator.datasource.connections.max: the number of connections. If the number of concurrent threads exceeds the number of connections, the concurrent data is invalid.
    • limitator.java.opt: the Java virtual machine (JVM) parameters.
    {"limitator.platform.threads.number": 8, "limitator.select.batch.max": 600, "limitator.image.insert.batch.max": 200,"limitator.datasource.connections.max":50, "task.checker_jvm_param":"-server -Xms8g -Xmx8g -Xmn4g -Xss512k"}
    migration.checker.params.steady The parameters that need to be specified when the concurrency of the Checker is Smooth.
    • limitator.platform.threads.number: the number of threads.
    • limitator.select.batch.max: the batch query size in full data migration or verification.
    • limitator.image.insert.batch.max: the batch INSERT size in full data migration.
    • limitator.datasource.connections.max: the number of connections. If the number of concurrent threads exceeds the number of connections, the concurrent data is invalid.
    • limitator.java.opt: the Java virtual machine (JVM) parameters.
    {"limitator.platform.threads.number": 4, "limitator.select.batch.max": 200, "limitator.image.insert.batch.max": 100,"limitator.datasource.connections.max":50, "task.checker_jvm_param":"-server -Xms4g -Xmx4g -Xmn2g -Xss512k"}
    migration.db.support_versions The source database versions supported in data migration. The key is the database type, and the value is a regular expression containing supported database versions.
    • "MYSQL": "(5.5\|5.6\|5.7\|8.0).*": indicates that OMS supports MySQL V5.5, V5.6, V5.7, and V8.0.
    • "MARIADB": "10.\[12345\].\*": indicates that OMS supports MariaDB 10.1.0 to 10.5.9.
    {"MYSQL":"(5.5|5.6|5.7|8.0).*","MARIADB":"10.[12345].*"}
    migration.mysql.support_charsets The whitelist of character sets supported by the source MySQL database in data migration. The value is an array of character sets supported by MySQL. Each element is one MySQL character set. ["binary","utf8mb4","utf8"]
    migration.mysql.support_datatypes The whitelist of data types supported by the source MySQL database in data migration. The value is an array of data types supported by MySQL. Each element is one MySQL data type. []
    migration.timeout Execute the migration object timeout configuration. {"ddl.timeout.in.private.cloud": 172800000, "ddl.timeout.in.public.cloud": 172800000}
    mysql.store.metabuilder.filter Specifies whether the MySQL store filters metadata based on the whitelist. Valid values: true and false.
    • true: indicates that metadata is filtered based on the whitelist.
    • false: indicates that all metadata is pulled without filtering.
    false
    ops.store.max_count_per_subtopic The maximum number of active store processes allowed under a subtopic.
    The value indicates the maximum number of active store processes allowed.
    6
    precheck.skippable_flags Specifies whether to skip the precheck. In the case of failed precheck items, if you confirm that they have no impact on the database service, you can set their values to true in the precheck.skippable_flags parameter. The value of this parameter is of the JSON type. Example:
    { "DB_ACCOUNT_FULL_READ_PRIVILEGE": true, "DB_ACCOUNT_INCR_READ_PRIVILEGE":true, "DB_SERVICE_STATUS":true }
    For the values of different precheck items, see the following Description of precheck items section.
    {}
    store.topic.mode.config Specifies the rule that is used to build a whitelist of store subtopics in a data synchronization project in OMS Community Edition.
    • OceanBase Database supports the subscription of store subtopics based on tenants or clusters. In the oceanbase field, you can specify OCEANBASE_TENANT or OCEANBASE_CLUSTER for mode. The mode_num indicates the maximum subscription granularity for the specified mode.
    • MySQL supports the subscription of store subtopics based only on service instances. In the mysql field, you can specify only MYSQL_INSTANCE for mode.
    {"oceanbase":{"mode":"OCEANBASE_TENANT","modeNum":1},"mysql":{"mode":"MYSQL_INSTANCE","modeNum":1}}
    sync.connnector.max.size The maximum number of concurrent data synchronization projects. 2
    sync.unified.config The general parameter for an OMS Community Edition synchronization project. It has the following three fields:
    • enableHeartBeatRecordToDataHub: specifies whether to deliver the heartbeats.
    • enableHadoopVendorsKafkaServer: specifies whether the Kafka server supports Hadoop.
    • checkStoreStartedMinSyncProcess: the minimum synchronization progress to verify whether the store starts. The default value is 3 seconds. You can change the value and the change takes effect immediately. The full migration starts only when the store is running and the synchronization progress exceeds the specified minimum value.
    {"enableHadoopVendorsKafkaServer":false,"checkStoreStartedMinSyncProcess":3,"fullJvmMem":4096,"incrJvmMem":2048}
  3. Click the edit icon in the Value column for a specified parameter.

  4. In the Modify Value dialog box, set Value or click Reset to Default.

  5. Click OK.

Contact Us