偶发性插入数据操作延迟高

【 使用环境 】
测试环境:单节点数据库,数据库版本为5.7.25-OceanBase_CE-v4.3.1.0,运行平台为open euler2203.
【 OB or 其他组件 】
【 使用版本 】
【问题描述】
1、向数据库表进行插入时,偶尔会延迟比较高;
2、使用odbc进行数据库连接与操作,插入语句如下:

int OceanBase::Insert(const std::string &sql)
{
    LogTrace() << "Insert sql: " << sql.c_str();
    if (!m_odbcInit)
    {
        LogError() << "Obdc init failed.";
        return GM_FAILED;
    }

    // insert
    SQLHSTMT hstmt = nullptr;
    SQLRETURN retcode = SQLAllocHandle(SQL_HANDLE_STMT, m_odbcHandle.hdbc, &hstmt);
    if (!IsSuccess(retcode)) {
        LogError() << "SQLAllocHandle hstmt failed, retcode = " << retcode;
        return GM_FAILED;
    }
    defer _(nullptr, [&](...) {
        SQLFreeHandle(SQL_HANDLE_STMT, hstmt);
    });

    retcode = SQLExecDirect(hstmt, (SQLCHAR *)sql.c_str(), SQL_NTS);
    if (!IsSuccess(retcode, hstmt)) {
        LogError() << "Obdc Insert SQLExecute failed,sql = " << sql.c_str()
                   << ",retcode = " << retcode;
        return GM_FAILED;
    }

    LogTrace() << "Insert done.";
    return retcode;
}

大部分时间,调用该函数后,都能很快完成。但是偶尔会出现,函数阻塞较长时间的情况。
3、问题出现时间点:
1)2024-07-28 15:42:52之后的一小段时间;
2)2024-07-28 15:47:04之后的一小段时间。
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):
ob_log_127.0.0.1_20240728140000_20240728170000.zip (9.5 MB)

【SOP系列 22 】——故障诊断第一步(自助诊断和诊断信息收集)

你给的日志没用啊,都是WARN的。。
我建议先检查下内存限速参数 writting_throttling_trigger_percentage 是否打开
然后排查下找到单条插入慢的sql,找到相关的sql_aduit信息一般就能看到耗时在什么地方,有必要的话才根据trace_id去找日志

1 个赞

请问,在哪里看 writting_throttling_trigger_percentage 是否打开呢

1 个赞

OCP的租户参数管理中,或者用show parameters like ‘writting_throttling_trigger_percentage’; 命令看,如果是100就代表没有限速

1 个赞

可以看下是否触发写入限速了
select * from gv$session_event where EVENT=‘memstore memory page alloc wait’ \G;

1 个赞

查出有很多如下结果,是否就表示有限速,需要通过设置writting_throttling_trigger_percentage来取消限速?

1	192.168.100.100	2882	3221561244	memstore memory page alloc wait	0	0	0.0	0.0	0.0	0		11015	109	9	SYSTEM_IO
1	192.168.100.100	2882	3221561245	memstore memory page alloc wait	0	0	0.0	0.0	0.0	0		11015	109	9	SYSTEM_IO
1	192.168.100.100	2882	3221561246	memstore memory page alloc wait	0	0	0.0	0.0	0.0	0		11015	109	9	SYSTEM_IO
1	192.168.100.100	2882	3221553056	memstore memory page alloc wait	0	0	0.0	0.0	0.0	0		11015	109	9	SYSTEM_IO

必须要通过OCP吗?我是单节点测试,没有安装OCP,有其它方式可以查看与设置该值吗

是的,租户规格多大啊。
可以在租户管理员账号下或者在sys租户中指定租户,设置内存写入达到 80% 开始限速,并保证剩余内存足够提供 2h 的写入限速,示例:
ALTER SYSTEM SET writing_throttling_trigger_percentage = 80;
ALTER SYSTEM SET writing_throttling_maximum_duration = ‘2h’;

或者在sys租户中指定租户
ALTER SYSTEM SET writing_throttling_trigger_percentage = 80 tenant=<tenant_name>;

我已经按照你提供的进行了设置。通过SHOW PARAMETERS;可以看到如下参数:

zone	name	data_type	value	section	scope	source	edit_level	default_value	is_default
zone1	_enable_dbms_job_package	BOOL	FALSE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	0
zone1	strict_check_os_params	BOOL	FALSE	OBSERVER	CLUSTER	DEFAULT	STATIC_EFFECTIVE	FALSE	1
zone1	enable_rpc_authentication_bypass	BOOL	TRUE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	sql_protocol_min_tls_version	STRING	none	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	none	1
zone1	rpc_server_authentication_method	STRING	ALL	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	ALL	1
zone1	rpc_client_authentication_method	STRING	NONE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	NONE	1
zone1	observer_id	INT	1	OBSERVER	CLUSTER	DEFAULT	READONLY	0	0
zone1	local_ip	STRING	192.168.100.100	OBSERVER	CLUSTER	DEFAULT	READONLY		0
zone1	enable_dblink	BOOL	TRUE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	enable_cgroup	BOOL	TRUE	OBSERVER	CLUSTER	DEFAULT	STATIC_EFFECTIVE	TRUE	1
zone1	sql_net_thread_count	INT	0	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	sql_login_thread_count	INT	0	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	tcp_keepcnt	INT	10	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	10	1
zone1	tcp_keepintvl	TIME	6s	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	6s	1
zone1	tcp_keepidle	TIME	7200s	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	7200s	1
zone1	enable_tcp_keepalive	BOOL	TRUE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	ob_ratelimit_stat_period	TIME	1s	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1s	1
zone1	enable_ob_ratelimit	BOOL	FALSE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	ssl_external_kms_info	STRING		OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE		1
zone1	use_large_pages	STRING	FALSE	OBSERVER	CLUSTER	DEFAULT	STATIC_EFFECTIVE	FALSE	1
zone1	schema_history_recycle_interval	TIME	10m	LOAD_BALANCE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	10m	1
zone1	use_ipv6	BOOL	FALSE	OBSERVER	CLUSTER	DEFAULT	STATIC_EFFECTIVE	FALSE	1
zone1	ssl_client_authentication	BOOL	FALSE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	stack_size	CAPACITY	512K	OBSERVER	CLUSTER	DEFAULT	STATIC_EFFECTIVE	512K	1
zone1	px_task_size	CAPACITY	2M	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	2M	1
zone1	dtl_buffer_size	CAPACITY	64K	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	64K	1
zone1	micro_block_merge_verify_level	INT	2	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	2	1
zone1	builtin_db_data_verify_cycle	INT	20	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	20	1
zone1	tablet_size	CAPACITY	128M	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	128M	1
zone1	sys_bkgd_migration_change_member_list_timeout	TIME	20s	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	20s	1
zone1	sys_bkgd_migration_retry_num	INT	3	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	3	1
zone1	disk_io_thread_count	INT	8	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	8	1
zone1	sys_bkgd_net_percentage	INT	60	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	60	1
zone1	data_disk_usage_limit_percentage	INT	90	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	90	1
zone1	data_storage_error_tolerance_time	TIME	300s	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	300s	1
zone1	data_storage_warning_tolerance_time	TIME	5s	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	5s	1
zone1	storage_meta_cache_priority	INT	10	CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	10	1
zone1	fuse_row_cache_priority	INT	1	CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1	1
zone1	bf_cache_miss_count_threshold	INT	100	CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	100	1
zone1	bf_cache_priority	INT	1	CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1	1
zone1	user_row_cache_priority	INT	1	CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1	1
zone1	user_block_cache_priority	INT	1	CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1	1
zone1	index_block_cache_priority	INT	10	CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	10	1
zone1	opt_tab_stat_cache_priority	INT	1	CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1	1
zone1	tablet_ls_cache_priority	INT	1000	CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1000	1
zone1	location_cache_refresh_sql_timeout	TIME	1s	LOCATION_CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1s	1
zone1	location_cache_refresh_rpc_timeout	TIME	500ms	LOCATION_CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	500ms	1
zone1	all_server_list	STRING	192.168.100.100:2882	LOCATION_CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE		0
zone1	location_cache_refresh_min_interval	TIME	100ms	LOCATION_CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	100ms	1
zone1	location_fetch_concurrency	INT	20	LOCATION_CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	20	1
zone1	location_refresh_thread_count	INT	2	LOCATION_CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	2	1
zone1	virtual_table_location_cache_expire_time	TIME	8s	LOCATION_CACHE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	8s	1
zone1	standby_fetch_log_bandwidth_limit	CAPACITY	0MB	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0MB	1
zone1	rpc_timeout	TIME	2s	RPC	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	2s	1
zone1	ignore_replay_checksum_error	BOOL	FALSE	TRANS	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	row_compaction_update_limit	INT	6	TRANS	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	6	1
zone1	clog_sync_time_warn_threshold	TIME	100ms	TRANS	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	100ms	1
zone1	trx_2pc_retry_interval	TIME	100ms	TRANS	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	100ms	1
zone1	enable_sys_unit_standalone	BOOL	FALSE	LOAD_BALANCE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	server_balance_cpu_mem_tolerance_percent	INT	5	LOAD_BALANCE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	5	1
zone1	server_balance_disk_tolerance_percent	INT	1	LOAD_BALANCE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1	1
zone1	server_balance_critical_disk_waterlevel	INT	80	LOAD_BALANCE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	80	1
zone1	__min_full_resource_pool_memory	INT	2147483648	LOAD_BALANCE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	5368709120	0
zone1	balancer_log_interval	TIME	1m	LOAD_BALANCE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1m	1
zone1	balancer_task_timeout	TIME	20m	LOAD_BALANCE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	20m	1
zone1	balancer_tolerance_percentage	INT	10	LOAD_BALANCE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	10	1
zone1	enable_rereplication	BOOL	TRUE	LOAD_BALANCE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	resource_hard_limit	INT	100	LOAD_BALANCE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	100	1
zone1	log_storage_warning_tolerance_time	TIME	5s	LOGSERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	5s	1
zone1	log_disk_percentage	INT	0	LOGSERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	log_disk_size	CAPACITY	70177M	LOGSERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0M	0
zone1	recyclebin_object_expire_time	TIME	0s	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0s	1
zone1	ob_event_history_recycle_interval	TIME	7d	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	7d	1
zone1	enable_crazy_medium_compaction	BOOL	FALSE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	enable_major_freeze	BOOL	TRUE	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	enable_ddl	BOOL	TRUE	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	min_observer_version	STRING	4.3.1.0	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	4.3.1.0	1
zone1	tablet_meta_table_check_interval	TIME	30m	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	30m	1
zone1	ls_meta_table_check_interval	TIME	1s	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1s	1
zone1	tablet_meta_table_scan_batch_count	INT	999	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	999	1
zone1	rootservice_ready_check_interval	TIME	3s	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	3s	1
zone1	server_check_interval	TIME	30s	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	30s	1
zone1	migration_disable_time	TIME	3600s	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	3600s	1
zone1	server_permanent_offline_time	TIME	3600s	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	3600s	1
zone1	enable_sys_table_ddl	BOOL	FALSE	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	rootservice_async_task_queue_size	INT	16384	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	16384	1
zone1	rootservice_async_task_thread_count	INT	4	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	4	1
zone1	lease_time	TIME	10s	ROOT_SERVICE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	10s	1
zone1	plan_cache_evict_interval	TIME	5s	TENANT	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	5s	1
zone1	data_disk_write_limit_percentage	INT	0	TENANT	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	memstore_limit_percentage	INT	0	TENANT	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	large_query_threshold	TIME	600s	TENANT	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	5s	0
zone1	large_query_worker_percentage	DOUBLE	30	TENANT	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	30	1
zone1	workers_per_cpu_quota	INT	10	TENANT	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	10	1
zone1	location_cache_cpu_quota	DOUBLE	5	TENANT	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	5	1
zone1	server_cpu_quota_max	DOUBLE	0	TENANT	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	server_cpu_quota_min	DOUBLE	0	TENANT	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	tableapi_transport_compress_func	STRING	none	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	none	1
zone1	enable_sql_operator_dump	BOOL	TRUE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	autoinc_cache_refresh_interval	TIME	3600s	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	3600s	1
zone1	memory_chunk_cache_size	CAPACITY	0M	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0M	1
zone1	cache_wash_threshold	CAPACITY	4GB	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	4GB	1
zone1	memory_limit_percentage	INT	80	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	80	1
zone1	syslog_file_uncompressed_count	INT	0	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	syslog_compress_func	STRING	none	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	none	1
zone1	syslog_disk_size	CAPACITY	0M	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0M	1
zone1	enable_syslog_recycle	BOOL	TRUE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	0
zone1	enable_syslog_wf	BOOL	FALSE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	0
zone1	enable_async_syslog	BOOL	TRUE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	max_syslog_file_count	INT	4	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	0
zone1	diag_syslog_per_error_limit	INT	200	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	200	1
zone1	syslog_io_bandwidth_limit	CAPACITY	30MB	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	30MB	1
zone1	syslog_level	STRING	WDIAG	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	WDIAG	1
zone1	obconfig_url	STRING		OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE		1
zone1	cluster_id	INT	1722168062	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	0
zone1	cluster	STRING	gm4c	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	obcluster	0
zone1	rootservice_list	STR_LIST	192.168.100.100:2882:2881	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE		0
zone1	weak_read_version_refresh_interval	TIME	100ms	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	100ms	1
zone1	default_compress	STRING	archive	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	archive	1
zone1	default_row_format	STRING	dynamic	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	dynamic	1
zone1	default_compress_func	STRING	zstd_1.3.8	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	zstd_1.3.8	1
zone1	schema_history_expire_time	TIME	7d	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	7d	1
zone1	enable_upgrade_mode	BOOL	FALSE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	enable_perf_event	BOOL	TRUE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	dead_socket_detection_timeout	TIME	3s	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	3s	1
zone1	debug_sync_timeout	TIME	0	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	enable_rich_error_msg	BOOL	FALSE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	enable_record_trace_id	BOOL	FALSE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	enable_sql_audit	BOOL	TRUE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	max_string_print_length	INT	500	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	500	1
zone1	enable_record_trace_log	BOOL	FALSE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	0
zone1	trace_log_slow_query_watermark	TIME	1s	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	1s	1
zone1	cpu_count	INT	30	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	0
zone1	system_memory	CAPACITY	5120M	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0M	0
zone1	memory_limit	CAPACITY	26806M	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0M	0
zone1	tenant_task_queue_size	INT	16384	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	16384	1
zone1	high_priority_net_thread_count	INT	0	OBSERVER	CLUSTER	DEFAULT	STATIC_EFFECTIVE	0	1
zone1	net_thread_count	INT	0	OBSERVER	CLUSTER	DEFAULT	STATIC_EFFECTIVE	0	1
zone1	internal_sql_execute_timeout	TIME	30s	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	30s	1
zone1	ob_startup_mode	STRING	NORMAL	OBSERVER	CLUSTER	DEFAULT	READONLY	NORMAL	1
zone1	zone	STRING	zone1	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE		0
zone1	devname	STRING	eno1	OBSERVER	CLUSTER	DEFAULT	READONLY	bond0	0
zone1	mysql_port	INT	2881	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	2881	1
zone1	rpc_port	INT	2882	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	2882	1
zone1	leak_mod_to_check	STRING	NONE	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	NONE	1
zone1	config_additional_dir	STR_LIST	etc2;etc3	OBSERVER	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	etc2;etc3	1
zone1	memory_reserved	CAPACITY	500M	SSTABLE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	500M	1
zone1	datafile_disk_percentage	INT	0	SSTABLE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	datafile_maxsize	CAPACITY	2611G	SSTABLE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	0
zone1	datafile_next	CAPACITY	261G	SSTABLE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0	0
zone1	datafile_size	CAPACITY	80417M	SSTABLE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	0M	0
zone1	redundancy_level	STRING	NORMAL	SSTABLE	CLUSTER	DEFAULT	DYNAMIC_EFFECTIVE	NORMAL	1
zone1	data_dir	STRING	/home/DB/gm4c/oceanbase/store	SSTABLE	CLUSTER	DEFAULT	READONLY	store	0
zone1	choose_migration_source_policy	STRING	idc	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	idc	1
zone1	max_partition_num	INT	8192	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	8192	1
zone1	optimizer_index_cost_adj	INT	0	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	ttl_thread_score	INT	0	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	enable_kv_ttl	BOOL	FALSE	ROOT_SERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	kv_ttl_history_recycle_interval	TIME	7d	ROOT_SERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	7d	1
zone1	kv_ttl_duty_duration	STRING		ROOT_SERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE		1
zone1	range_optimizer_max_mem_size	CAPACITY	128M	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	128M	1
zone1	enable_user_defined_rewrite_rules	BOOL	FALSE	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	dump_data_dictionary_to_log_interval	TIME	24h	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	24h	1
zone1	tenant_sql_net_thread_count	INT	0	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	tenant_sql_login_thread_count	INT	0	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	arbitration_timeout	TIME	5s	TRANS	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	5s	1
zone1	query_response_time_range_base	INT	10	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	10	1
zone1	query_response_time_flush	BOOL	FALSE	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	query_response_time_stats	BOOL	FALSE	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	default_enable_extended_rowid	BOOL	FALSE	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	ob_query_switch_leader_retry_timeout	TIME	0ms	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0ms	1
zone1	default_auto_increment_mode	STRING	order	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	order	1
zone1	enable_sql_extension	BOOL	FALSE	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	job_queue_processes	INT	1000	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	1000	1
zone1	ob_proxy_readonly_transaction_routing_policy	BOOL	FALSE	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	connection_control_max_connection_delay	INT	2147483647	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	2147483647	1
zone1	connection_control_min_connection_delay	INT	1000	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	1000	1
zone1	connection_control_failed_connections_threshold	INT	0	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	open_cursors	INT	50	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	50	1
zone1	ob_ssl_invited_common_names	STRING	NONE	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	NONE	1
zone1	plsql_v2_compatibility	BOOL	FALSE	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	plsql_optimize_level	INT	1	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	1	1
zone1	plsql_debug	BOOL	FALSE	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	plsql_code_type	STRING	native	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	native	1
zone1	tde_method	STRING	none	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	none	1
zone1	external_kms_info	STRING		OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE		1
zone1	ob_enable_batched_multi_statement	BOOL	FALSE	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	backup_data_file_size	CAPACITY	4G	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	4G	1
zone1	audit_trail	STRING	None	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	None	1
zone1	audit_sys_operations	BOOL	FALSE	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	sql_work_area	CAPACITY	1G	OBSERVER	TENANT	DEFAULT	STATIC_EFFECTIVE	1G	1
zone1	ob_compaction_schedule_interval	TIME	120s	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	120s	1
zone1	major_compact_trigger	INT	0	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	minor_compact_trigger	INT	2	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	2	1
zone1	ddl_thread_score	INT	0	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	ha_low_thread_score	INT	0	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	ha_mid_thread_score	INT	0	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	ha_high_thread_score	INT	0	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	compaction_high_thread_score	INT	0	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	compaction_mid_thread_score	INT	0	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	compaction_low_thread_score	INT	0	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	compaction_schedule_tablet_batch_cnt	INT	50000	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	50000	1
zone1	compaction_dag_cnt_limit	INT	15000	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	15000	1
zone1	rpc_memory_limit_percentage	INT	0	RPC	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	enable_early_lock_release	BOOL	TRUE	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	merger_check_interval	TIME	10m	DAILY_MERGE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	10m	1
zone1	major_freeze_duty_time	MOMENT	2:00	DAILY_MERGE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	2:00	1
zone1	partition_balance_schedule_interval	TIME	2h	LOAD_BALANCE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	2h	1
zone1	balancer_idle_time	TIME	10s	LOAD_BALANCE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	10s	1
zone1	enable_transfer	BOOL	TRUE	LOAD_BALANCE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	enable_rebalance	BOOL	TRUE	LOAD_BALANCE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	TRUE	1
zone1	standby_db_preferred_upstream_log_region	STRING		LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE		1
zone1	archive_lag_target	TIME	120s	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	120s	1
zone1	standby_db_fetch_log_rpc_timeout	TIME	15s	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	15s	1
zone1	ls_gc_delay_time	TIME	0s	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0s	1
zone1	log_disk_throttling_maximum_duration	TIME	2h	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	2h	1
zone1	log_disk_throttling_percentage	INT	60	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	60	1
zone1	log_disk_utilization_threshold	INT	80	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	80	1
zone1	log_disk_utilization_limit_threshold	INT	95	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	95	1
zone1	log_archive_concurrency	INT	0	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	log_restore_concurrency	INT	0	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	log_storage_compress_func	STRING	lz4_1.0	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	lz4_1.0	1
zone1	log_storage_compress_all	BOOL	FALSE	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	log_transport_compress_func	STRING	lz4_1.0	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	lz4_1.0	1
zone1	log_transport_compress_all	BOOL	FALSE	LOGSERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	compatible	VERSION	4.3.1.0	ROOT_SERVICE	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	4.3.1.0	1
zone1	workarea_size_policy	STRING	AUTO	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	AUTO	1
zone1	default_progressive_merge_num	INT	0	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	0	1
zone1	writing_throttling_maximum_duration	TIME	2h	TRANS	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	2h	1
zone1	writing_throttling_trigger_percentage	INT	80	TRANS	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	60	0
zone1	freeze_trigger_percentage	INT	20	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	20	1
zone1	undo_retention	INT	1800	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	1800	1
zone1	px_workers_per_cpu_quota	INT	10	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	10	1
zone1	cpu_quota_concurrency	DOUBLE	10	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	4	0
zone1	enable_monotonic_weak_read	BOOL	FALSE	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	FALSE	1
zone1	max_stale_time_for_weak_consistency	TIME	5s	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	5s	1
zone1	spill_compression_codec	STRING	NONE	OBSERVER	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	NONE	1
zone1	default_table_store_format	STRING	row	TENANT	TENANT	DEFAULT	DYNAMIC_EFFECTIVE	row	1

但是使用如下查询语句,看到还是有新增的触发限速。

select * from gv$session_event where EVENT='memstore memory page alloc wait';

当前通过free -h 看到系统的内存状态如下:

[root@localhost bin]# free -h
               total        used        free      shared  buff/cache   available
Mem:            62Gi        27Gi       554Mi        11Gi        46Gi        34Gi
Swap:           31Gi        10Gi        20Gi

请问这是为什么呢?

这只是扩大限制写入阈值,不一定能治本, 要看你的写入量和写入速度,租户规格

过程中使用的insert语句,如下所示:

[DbOperator]Insert sql: REPLACE INTO TaskPoleData             (TaskID,PoleState,PoleRecoState,PoleWeight,            CreateTime,UpdateTime,PoleID,PoleNo,PoleKm,PoleMile,            PoleStation,PoleProduceType, PoleType,FrontTrgNo,            FrontTrgTime,FrontTrgUpdateTime,FrontTrgWidth,FrontTrgMile,BackTrgNo,BackTrgTime,BackTrgUpdateTime,            BackTrgWidth,BackTrgMile,TunnelState,Speed,GnssInfo,GykInfo,Info) VALUES ('4ecabf1e-63f0-487a-a9d6-ae0d136d2e98','0','0','0.000000',TIMESTAMP('2024-07-29 10:03:38.042'),TIMESTAMP('1970-01-01 08:00:00.000'),'0','','0.000000','15685.741211','','0','0','6','17537240',TIMESTAMP('2024-07-29 10:03:37.979'),'0','15685.741211','0','0',TIMESTAMP('1970-01-01 08:00:00.000'),'0','0.000000','1','119.877525','{"altitude":517.84490000000005,"gnssError":1,"gnssTmstamp":"020337.85","latitude":30.533364583333334,"longitude":103.97571789883334,"updateTime":1722218617969}
','','');(OceanBase.cpp:444)

update 语句如下所示:

[DbOperator]Update sql: UPDATE TaskProcessData SET TotalPoles='2' WHERE TaskID='a8ade80d-e447-453d-8568-399d78921607';(OceanBase.cpp:413)

过程中有多个节点访问 本数据库,但是预计全部的iops不超过200.

租户规格没有更改,就是系统部署时的默认配置。
通过SELECT * FROM DBA_OB_UNIT_CONFIGS;查询信息如下

1	sys_unit_config	2024-07-28 20:03:06.165	2024-07-28 20:03:06.165	3.0	3.0	2147483648	4294967296	9223372036854775807	9223372036854775807	3
1001	ocp_meta_unit	2024-07-28 20:03:34.169	2024-07-28 20:03:34.169	1.0	1.0	2147483648	6442450944	9223372036854775807	9223372036854775807	1

请问,是否需要改某些配置?

自己建一个租户吧,规格比如4C/8G

可以对现有租户规格进行更改吗?请问怎么更改呢

改是可以改,但不建议用sys,ocp租户做测试,建一个也不麻烦,可以参照一下文档新建租户
OceanBase分布式数据库-海量数据 笔笔算数

建了新的租户,其规格如下:

oceanbase.DBA_OB_UNIT_CONFIGS
+----------------+-----------------+----------------------------+----------------------------+---------+---------+-------------+---------------+---------------------+---------------------+-------------+
| UNIT_CONFIG_ID | NAME            | CREATE_TIME                | MODIFY_TIME                | MAX_CPU | MIN_CPU | MEMORY_SIZE | LOG_DISK_SIZE | MAX_IOPS            | MIN_IOPS            | IOPS_WEIGHT |
+----------------+-----------------+----------------------------+----------------------------+---------+---------+-------------+---------------+---------------------+---------------------+-------------+
|              1 | sys_unit_config | 2024-07-28 20:03:06.165110 | 2024-07-28 20:03:06.165110 |       3 |       3 |  2147483648 |    4294967296 | 9223372036854775807 | 9223372036854775807 |           3 |
|           1001 | ocp_meta_unit   | 2024-07-28 20:03:34.169029 | 2024-07-28 20:03:34.169029 |       1 |       1 |  2147483648 |    6442450944 | 9223372036854775807 | 9223372036854775807 |           1 |
|           1002 | gm_unit_config  | 2024-07-29 16:19:25.823224 | 2024-07-29 16:19:25.823224 |       8 |       8 | 17179869184 |   51539607552 | 9223372036854775807 | 9223372036854775807 |           8 |
+----------------+-----------------+----------------------------+----------------------------+---------+---------+-------------+---------------+---------------------+---------------------+-------------+
+------------------+---------------+-----------+----------------------------+----------------------------+------------+----------------+-----------+--------------+
| RESOURCE_POOL_ID | NAME          | TENANT_ID | CREATE_TIME                | MODIFY_TIME                | UNIT_COUNT | UNIT_CONFIG_ID | ZONE_LIST | REPLICA_TYPE |
+------------------+---------------+-----------+----------------------------+----------------------------+------------+----------------+-----------+--------------+
|                1 | sys_pool      |         1 | 2024-07-28 20:03:06.175218 | 2024-07-28 20:03:06.204417 |          1 |              1 | zone1     | FULL         |
|             1001 | ocp_meta_pool |      1002 | 2024-07-28 20:03:34.182023 | 2024-07-28 20:03:34.247615 |          1 |           1001 | zone1     | FULL         |
|             1002 | gm_pool_01    |      1004 | 2024-07-29 16:22:58.200163 | 2024-07-29 16:26:07.999457 |          1 |           1002 | zone1     | FULL         |
+------------------+---------------+-----------+----------------------------+----------------------------+------------+----------------+-----------+--------------+
+-----------+-------------+-------------+----------------------------+----------------------------+--------------+---------------+-------------------+--------------------+--------+---------------+--------+-------------+-------------------+------------------+---------------------+---------------------+---------------------+---------------------+--------------+----------------------------+----------+------------+-----------+
|         1 | sys         | SYS         | 2024-07-28 20:03:06.261809 | 2024-07-28 20:03:06.261809 | RANDOM       | FULL{1}@zone1 | NULL              | MYSQL              | NORMAL | NO            | NO     | PRIMARY     | NORMAL            |                0 |                NULL |                NULL |                NULL |                NULL | NOARCHIVELOG | DISABLED                   |        1 | 4.3.1.0    |         1 |
|      1001 | META$1002   | META        | 2024-07-28 20:03:34.230599 | 2024-07-28 20:03:53.065203 | RANDOM       | FULL{1}@zone1 | NULL              | MYSQL              | NORMAL | NO            | NO     | PRIMARY     | NORMAL            |                0 |                NULL |                NULL |                NULL |                NULL | NOARCHIVELOG | DISABLED                   |        1 | 4.3.1.0    |         1 |
|      1002 | ocp_meta    | USER        | 2024-07-28 20:03:34.235135 | 2024-07-28 20:03:53.141405 | RANDOM       | FULL{1}@zone1 | NULL              | MYSQL              | NORMAL | NO            | NO     | PRIMARY     | NORMAL            |                0 | 1722243123130388001 | 1722243123130388001 | 1722243121878384001 | 4611686018427387903 | NOARCHIVELOG | DISABLED                   |        1 | 4.3.1.0    |      1001 |
|      1003 | META$1004   | META        | 2024-07-29 16:26:07.017102 | 2024-07-29 16:27:04.749718 | zone1        | FULL{1}@zone1 | NULL              | MYSQL              | NORMAL | NO            | NO     | PRIMARY     | NORMAL            |                0 |                NULL |                NULL |                NULL |                NULL | NOARCHIVELOG | DISABLED                   |        1 | 4.3.1.0    |         1 |
|      1004 | gm          | USER        | 2024-07-29 16:26:07.095126 | 2024-07-29 16:27:04.838384 | zone1        | FULL{1}@zone1 | NULL              | MYSQL              | NORMAL | NO            | NO     | PRIMARY     | NORMAL            |                0 | 1722243123053675000 | 1722243123053675000 | 1722243121727215000 | 4611686018427387903 | NOARCHIVELOG | DISABLED                   |        1 | 4.3.1.0    |      1001 |
+-----------+-------------+-------------+----------------------------+----------------------------+--------------+---------------+-------------------+--------------------+--------+---------------+--------+-------------+-------------------+------------------+---------------------+---------------------+---------------------+---------------------+--------------+----------------------------+----------+------------+-----------+

使用了该租户后,还是会有延迟高的现象。请问,下一步,该怎么排查与解决呢。

测试看到tps下降的时候,看下observer.log日志
grep ‘report write throttle info’ observer.log 有下降时间点有过滤到日志不,

全局搜了下,没有找到observer.log,只有clog与slog

肯定有,在软件安装目录下,

你好,已经找到了日志文件。
重新开启了一次测试,还是有调用语句延迟的情况发生,但是使用下述语句没有过滤出结果。

tail -f observer.log |grep 'report write throttle info'

测试程序能发下不,还有表结构,我测试下