modify default value of some parameters

This commit is contained in:
st0 2021-08-23 13:30:33 +08:00 committed by wangzelin.wzl
parent 59c49b6a31
commit 91c4879c3c
2 changed files with 7 additions and 7 deletions

View File

@ -103,11 +103,11 @@ DEF_TIME(trace_log_sampling_interval, OB_CLUSTER_PARAMETER, "10ms", "[0ms,]",
"logging info regarding 'slow query' and 'white list' will be printed out. "
"Range: [0ms,+∞)",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_TIME(trace_log_slow_query_watermark, OB_CLUSTER_PARAMETER, "100ms", "[1ms,]",
DEF_TIME(trace_log_slow_query_watermark, OB_CLUSTER_PARAMETER, "1s", "[1ms,]",
"the threshold of execution time (in milliseconds) of a query beyond "
"which it is considered to be a \\'slow query\\'. Range: [1ms,+∞)",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_BOOL(enable_one_phase_commit, OB_CLUSTER_PARAMETER, "True", "enable one phase commit optimization",
DEF_BOOL(enable_one_phase_commit, OB_CLUSTER_PARAMETER, "False", "enable one phase commit optimization",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_BOOL(enable_pg, OB_CLUSTER_PARAMETER, "False", "open partition group",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
@ -697,7 +697,7 @@ DEF_TIME(trx_2pc_retry_interval, OB_CLUSTER_PARAMETER, "100ms", "[1ms, 5000ms]",
"the time interval between the retries in case of failure "
"during a transaction\\'s two-phase commit phase. Range: [1ms,5000ms]",
ObParameterAttr(Section::TRANS, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_TIME(clog_sync_time_warn_threshold, OB_CLUSTER_PARAMETER, "100ms", "[1ms, 10000ms]",
DEF_TIME(clog_sync_time_warn_threshold, OB_CLUSTER_PARAMETER, "1s", "[1ms, 10000ms]",
"the time given to the commit log synchronization between a leader and its followers "
"before a \\'warning\\' message is printed in the log file. Range: [1ms,1000ms]",
ObParameterAttr(Section::TRANS, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
@ -933,7 +933,7 @@ DEF_INT(restore_concurrency, OB_CLUSTER_PARAMETER, "0", "[0,512]",
DEF_INT(merge_stat_sampling_ratio, OB_CLUSTER_PARAMETER, "100", "[0,100]",
"column stats sampling ratio daily merge. Range: [0,100] in integer",
ObParameterAttr(Section::OBSERVER, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_INT(minor_freeze_times, OB_CLUSTER_PARAMETER, "5", "[0, 65535]",
DEF_INT(minor_freeze_times, OB_CLUSTER_PARAMETER, "100", "[0, 65535]",
"specifies how many minor freezes should be triggered between two major freezes. Range: [0, 65535]",
ObParameterAttr(Section::TENANT, Source::DEFAULT, EditLevel::DYNAMIC_EFFECTIVE));
DEF_INT(minor_compact_trigger, OB_CLUSTER_PARAMETER, "2", "[0,16]", "minor_compact_trigger, Range: [0,16] in integer",

View File

@ -19,15 +19,15 @@ oceanbase-ce:
schema_history_expire_time: 1d
net_thread_count: 4
sys_bkgd_migration_retry_num: 3
minor_freeze_times: 10
minor_freeze_times: 100
enable_separate_sys_clog: 0
enable_merge_by_turn: FALSE
enable_auto_leader_switch: FALSE
enable_one_phase_commit: FALSE
weak_read_version_refresh_interval: 5s
trace_log_slow_query_watermark: 10s
trace_log_slow_query_watermark: 1s
large_query_threshold: 1s
clog_sync_time_warn_threshold: 2000ms
clog_sync_time_warn_threshold: 1s
syslog_io_bandwidth_limit: 10M
enable_sql_audit: FALSE
enable_perf_event: FALSE