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 Database Proxy

V4.3.3
  • What is ODP?
  • Installation and deployment
    • Overview
    • Deploy ODP by using obd
    • Deploy ODP by using OCP
    • Deploy ODP by using the CLI
    • Deployment modes
  • Basic operations
  • Configuration parameter
    • View and modify parameters
    • Configuration items
    • Global parameters
      • automatic_match_work_thread
      • block_thread_num
      • cache_cleaner_clean_interval
      • check_tenant_locality_change
      • client_max_connections
      • client_max_memory_size
      • client_session_id_version
      • client_sock_option_flag_out
      • client_tcp_keepcnt
      • client_tcp_keepidle
      • client_tcp_keepintvl
      • client_tcp_user_timeout
      • cluster_count_high_water_mark
      • cluster_expire_time
      • config_server_refresh_interval
      • congestion_fail_window
      • congestion_failure_threshold
      • congestion_retry_interval
      • connection_diagnosis_option
      • connect_observer_max_retries
      • current_local_config_version
      • default_buffer_water_mark
      • default_inactivity_timeout
      • delay_exit_time
      • delay_update_entry_interval
      • detect_server_timeout
      • digest_sql_length
      • enable_abort_conn_info
      • enable_async_log
      • enable_async_pull_location_cache
      • enable_auto_restart
      • enable_bad_route_reject
      • enable_binlog_service
      • enable_cached_server
      • enable_causal_order_read
      • enable_client_connection_lru_disconnect
      • enable_client_ip_checkout
      • enable_cluster_checkout
      • enable_compression_protocol
      • enable_congestion
      • enable_connection_diagnosis
      • enable_cpu_isolate
      • enable_cpu_topology
      • enable_cross_shard_txn
      • enable_extra_prometheus_metric
      • enable_flow_control
      • enable_full_link_trace
      • enable_full_username
      • enable_get_rslist_remote
      • enable_global_ps_cache
      • enable_index_route
      • enable_monitor_stat
      • enable_ob_protocol_v2
      • enable_obproxy_rpc_service
      • enable_partition_table_route
      • enable_performance_mode
      • enable_pl_route
      • enable_primary_zone
      • enable_prometheus
      • enable_proxy_scramble
      • enable_qa_mode
      • enable_qos
      • enable_report_session_stats
      • enable_reroute
      • enable_sequence_prefetch
      • enable_sharding
      • enable_single_leader_node_routing
      • enable_standby
      • enable_stat
      • enable_strict_kernel_release
      • enable_strict_stat_time
      • enable_sync_all_stats
      • enable_syslog_file_compress
      • enable_syslog_wf
      • enable_trace
      • enable_trace_stats
      • enable_trans_detail_stats
      • enable_transaction_internal_routing
      • enable_xa_route
      • fetch_proxy_bin_random_time
      • fetch_proxy_bin_timeout
      • flow_consumer_reenable_threshold
      • flow_event_queue_threshold
      • flow_high_water_mark
      • flow_low_water_mark
      • grpc_client_num
      • grpc_thread_num
      • hot_upgrade_exit_timeout
      • hot_upgrade_failure_retries
      • hot_upgrade_rollback_timeout
      • idc_list_refresh_interval
      • ignore_local_config
      • internal_cmd_mem_limited
      • ip_listen_mode
      • is_need_skip_delay_interval_schema_changed
      • ldg_info_refresh_interval
      • listen_port
      • local_bound_ip
      • local_bound_ipv6_ip
      • log_cleanup_interval
      • log_dir_size_threshold
      • log_file_percentage
      • long_async_task_timeout
      • max_log_file_size
      • max_syslog_file_count
      • max_syslog_file_time
      • mem_leak_check_class_name
      • mem_leak_check_mod_name
      • metadb_server_state_refresh_interval
      • min_congested_connect_timeout
      • min_keep_congestion_interval
      • monitor_cost_ms_unit
      • monitor_item_limit
      • monitor_item_max_idle_period
      • monitor_log_level
      • monitor_stat_dump_interval
      • monitor_stat_high_threshold
      • monitor_stat_low_threshold
      • monitor_stat_middle_threshold
      • need_convert_vip_to_tname
      • net_accept_threads
      • net_config_poll_timeout
      • normal_pl_update_threshold
      • obproxy_config_server_url
      • obproxy_sys_password
      • partition_location_expire_relative_time
      • prometheus_cost_ms_unit
      • prometheus_listen_port
      • prometheus_sync_interval
      • protocol_diagnosis_level
      • proxy_cluster
      • proxy_hot_upgrade_check_interval
      • proxy_id
      • proxy_info_check_interval
      • proxy_local_cmd
      • proxy_mem_limited
      • qa_mode_mock_public_cloud_slb_addr
      • qos_stat_clean_interval
      • qos_stat_item_limit
      • refresh_idc_list
      • refresh_json_config
      • refresh_rslist
      • request_buffer_length
      • rootservice_list
      • routing_cache_mem_limited
      • rpc_async_task_thread_num
      • rpc_async_pull_batch_max_size
      • rpc_async_pull_batch_max_times
      • rpc_async_pull_batch_wait_interval
      • rpc_ctx_expire_time
      • rpc_enable_async_analyze
      • rpc_enable_async_pull_batch_tablets
      • rpc_enable_congestion
      • rpc_enable_direct_expire_route_entry
      • rpc_enable_global_index
      • rpc_enable_force_srv_black_list
      • rpc_enable_parallel_handler
      • rpc_enable_reroute
      • rpc_enable_retry_request_info_log
      • rpc_force_srv_black_list
      • rpc_listen_port
      • rpc_max_request_batch_size
      • rpc_max_response_batch_size
      • rpc_net_timeout_base
      • rpc_max_server_table_entry_num
      • rpc_redis_operation_timeout
      • rpc_redis_default_database_name
      • rpc_period_task_interval
      • rpc_redis_default_user_name
      • rpc_request_timeout
      • rpc_redis_max_monitor_num
      • rpc_request_max_retries
      • rpc_request_retry_waiting_time
      • rpc_request_server_entry_max_retries
      • rpc_server_entry_expire_time
      • rpc_request_timeout_delta
      • rpc_server_net_invalid_time_us
      • rpc_server_net_handler_expire_time
      • rpc_server_net_max_pending_request
      • rpc_srv_session_pool_inactive_timeout
      • rpc_service_mode
      • rpc_sub_request_isolation_mode
      • rpc_support_key_partition_shard_request
      • rpc_sub_request_weight
      • rpc_sub_req_max_retries
      • scan_buffered_rows_warning_threshold
      • sequence_entry_expire_time
      • sequence_fail_retry_count
      • sequence_prefetch_threshold
      • server_detect_fail_threshold
      • server_detect_mode
      • server_detect_refresh_interval
      • server_routing_mode
      • server_state_refresh_interval
      • server_tcp_init_cwnd
      • server_tcp_keepcnt
      • server_tcp_keepidle
      • server_tcp_keepintvl
      • server_tcp_user_timeout
      • shard_scan_thread_num
      • short_async_task_timeout
      • skip_proxy_sys_private_check
      • skip_proxyro_check
      • slow_proxy_process_time_threshold
      • slow_transaction_time_threshold
      • sock_option_flag_out
      • sock_packet_mark_out
      • sock_packet_tos_out
      • sock_recv_buffer_size_out
      • sock_send_buffer_size_out
      • sql_table_cache_expire_relative_time
      • sql_table_cache_mem_limited
      • sqlaudit_mem_limited
      • stack_size
      • stat_dump_interval
      • stat_table_sync_interval
      • syslog_io_bandwidth_limit
      • syslog_level
      • task_thread_num
      • tenant_location_valid_time
      • tunnel_request_size_threshold
      • username_separator
      • work_thread_num
      • xflush_log_level
    • Multi-level parameters
      • binlog_service_ip
      • compression_algorithm
      • enable_check_cluster_name
      • enable_client_ssl
      • enable_cloud_full_username
      • enable_read_write_split
      • enable_rpc_throttle
      • enable_server_ssl
      • enable_standby_read_write_split
      • enable_transaction_split
      • enable_weak_reroute
      • init_sql
      • mysql_version
      • ob_max_read_stale_time
      • obproxy_force_parallel_query_dop
      • obproxy_read_consistency
      • obproxy_read_only
      • observer_query_timeout_delta
      • observer_sys_password
      • observer_sys_password1
      • proxy_idc_name
      • proxy_primary_zone_name
      • proxy_route_policy
      • proxy_tenant_name
      • query_digest_time_threshold
      • read_stale_retry_interval
      • rootservice_cluster_name
      • route_diagnosis_level
      • rpc_request_throttle_waiting_time
      • rpc_throttle_limit_qps_qa
      • route_target_replica_type
      • rpc_throttle_trigger_percentage
      • slow_query_time_threshold
      • sql_firewall_config
      • ssl_attributes
      • target_db_server
      • weakread_weight_zone
  • Connection management
    • Principles
    • Session status synchronization
    • Configure a globally unique client session ID
    • Client session
    • Server session
    • Network connection
  • Data routing
    • Factors affecting data routing
    • ODP routing
    • Intra-tenant routing
      • Overview
      • IP address-based routing
      • Partitioned table-based routing for strong-consistency reads
      • Global index table-based routing for strong-consistency reads
      • Replicated table-based routing for strong-consistency reads
      • Primary zone-based routing for strong-consistency reads
      • Strategy-based routing
      • Distributed transaction routing
      • Rerouting
      • Forcible routing
      • Weight-based load-balanced routing
    • Automatic routing to the primary/standby tenants
    • Read/Write separation
    • Follower latency threshold
    • Function partition key routing
      • Overview
      • String functions
      • Numeric calculation functions
      • Date calculation functions
      • FAQ
    • Character set-based routing
    • Partitioning key types supported for routing by ODP
  • Logs
    • Overview
    • obproxy_diagnosis.log
    • obproxy_digest.log
    • obproxy_error.log
    • obproxy_slow.log
    • obproxy_stat.log
    • obproxy.log
  • Commands
    • Overview
    • Dedicated ODP commands
      • ALTER
      • KILL
      • ping
      • SHOW
        • SHOW
        • SHOW PROXYPS
    • Compatible MySQL commands
      • BINLOG
      • KILL
      • SHOW PROCESSLIST
      • SHOW RELAYLOG EVENTS
      • SHOW SLAVE HOSTS
  • High availability mechanism
    • Overview
    • High availability of ODP services
    • High availability of OceanBase Database
    • High availability testing
  • OBKV
    • RPC service port
    • Throttling
  • Security and protocols
  • Operation and maintenance
    • Troubleshooting logic
    • Performance analysis
    • Show Trace
    • Routing diagnostics
      • Overview
      • Obtain diagnostic information
      • Diagnostic point troubleshooting
        • Overview
        • SQL_PARSE
        • ROUTE_INFO
        • LOCATION_CACHE_LOOKUP
        • ROUTINE_ENTRY_LOOKUP_DONE
        • FETCH_TABLE_RELATED_DATA
        • TABLE_ENTRY_LOOKUP_DONE
        • EXPR_PARSE
        • CALC_ROWID
        • RESOLVE_TOKEN
        • RESOLVE_EXPR
        • CALC_PARTITION_ID
        • PARTITION_ID_CALC_DONE
        • PARTITION_ENTRY_LOOKUP_DONE
        • ROUTE_POLICY
        • CONGESTION_CONTROL
        • RETRY
        • HANDLE_RESPONSE
      • Examples
    • Memory leak diagnostics
    • Connection diagnostics
    • Prometheus monitoring
    • SQL firewall
  • Release Notes
    • Versioning rules
    • Enterprise Edition
      • V4.3
        • ODP Enterprise Edition V4.3.3
        • ODP Enterprise Edition V4.3.2
        • ODP Enterprise Edition V4.3.1
        • ODP Enterprise Edition V4.3.0
      • V4.2
        • ODP Enterprise Edition V4.2.3
        • ODP Enterprise Edition V4.2.2
        • ODP Enterprise Edition V4.2.1
      • V4.1
        • ODP Enterprise Edition V4.1.0
      • V4.0
        • ODP Enterprise Edition V4.0.0
      • V3.2
        • ODP Enterprise Edition V3.2.11
        • ODP Enterprise Edition V3.2.3.5
    • Community Edition
      • V4.3
        • ODP Community Edition V4.3.3
        • ODP Community Edition V4.3.2
        • ODP Community Edition V4.3.1
      • V4.2
        • ODP Community Edition V4.2.3
        • ODP Community Edition V4.2.1
        • ODP Community Edition V4.2.0
      • V4.1
        • ODP Community Edition V4.1.0
      • V4.0
        • ODP Community Edition V4.0.0

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase Database Proxy
  3. V4.3.3

Configuration items

Last Updated:2026-10-15 10:04:10

Configuration
Task interval-related parameters
Hot upgrade
Log
Resource pool related
Session related
Connection-related
Network-related
Initialization-related parameters
Request response conversion
Statistics
Startup parameters
Tenant-related parameters
Blacklist-related
Congestion-related
Audit-related
Debugging-related
LDC-related
Monitoring-related
Prometheus-related
Cache-related
SSL-related
QoS-related
Primary and standby databases
Sequence-related
Password-related
O&M-related
RPC related
Routing
Others
Removed

This topic lists the configuration items in ODP based on their functions.

Configuration

Configuration Item
Description
refresh_json_config Controls whether to forcibly update the JSON information when the Config Server is refreshed.
refresh_rslist Controls whether to update all RS lists when the Config Server is refreshed.
refresh_idc_list Controls whether to update all IDC lists when the Config Server is refreshed.

Task interval-related parameters

Parameter
Description
proxy_info_check_interval The interval at which ODP checks for configuration updates.
proxy_hot_upgrade_check_interval The interval at which ODP checks for hot upgrades.
cache_cleaner_clean_interval The interval at which cache cleaner cleans cache.
server_state_refresh_interval The interval at which OceanBase Database status is refreshed to obtain the latest status of a zone or OBServer node.
metadb_server_state_refresh_interval The interval at which MetaDB database node status is refreshed to obtain the latest status of a zone or OBServer node.
config_server_refresh_interval The interval at which Config Server information is refreshed.
idc_list_refresh_interval The interval at which the IDC list is refreshed to obtain the latest information about regions and IDCs.
stat_table_sync_interval The interval at which statistics are synchronized to the ob_all_proxy_stat table.
stat_dump_interval The interval at which statistics are recorded in logs.
cluster_count_high_water_mark The maximum number of OceanBase clusters that can be accessed. When the number of accessed clusters exceeds this value, ODP will evict clusters based on the LRU algorithm.
cluster_expire_time The expiration time of cluster information.
ldg_info_refresh_interval The interval at which server information refresh tasks are performed.
read_stale_retry_interval The interval at which retries are performed for reading stale data.
is_need_skip_delay_interval_schema_changed Controls whether to skip the delay interval when the schema_version of a table changes.

Hot upgrade

Parameter
Description
fetch_proxy_bin_random_time The maximum random waiting time for obtaining a binary file during a hot upgrade.
fetch_proxy_bin_timeout The timeout for obtaining a binary file during a hot upgrade.
hot_upgrade_failure_retries The number of retries after a hot upgrade fails.
hot_upgrade_rollback_timeout The timeout for rolling back a hot upgrade.
hot_upgrade_exit_timeout The timeout for graceful exit.
delay_exit_time The delay time for ODP exit.

Log

Parameter
Description
log_file_percentage The percentage threshold of the available space occupied by ODP log files.
log_cleanup_interval The interval for log file cleanup tasks.
log_dir_size_threshold The maximum available space threshold for the ODP log directory.
max_syslog_file_time The maximum retention time for archived logs.
max_syslog_file_count The maximum number of archived logs that can be retained.
enable_syslog_file_compress Whether to enable compression of archived logs.
enable_syslog_wf Whether to print WARN and above-level logs in obproxy.log to a separate log file (obproxy.log.wf).

Resource pool related

Parameter
Description
need_convert_vip_to_tname Specifies whether to convert the VIP to the tenant name.
long_async_task_timeout Specifies the timeout period for long asynchronous tasks.
short_async_task_timeout Specifies the timeout period for short asynchronous tasks.
username_separator Specifies the username separator for client connections to ODP.

Session related

Parameter
Description
enable_client_connection_lru_disconnect Specifies whether to accept new connections when the number of client connections reaches the upper limit.
client_max_connections Specifies the maximum number of client connections supported by ODP.
observer_query_timeout_delta Specifies the network transmission delay, which is the increment of the ob_query_timeout parameter of OceanBase Database.
enable_cluster_checkout Specifies whether to perform cluster name verification.
enable_proxy_scramble Specifies whether to enable proxy scrambling.
enable_client_ip_checkout Specifies whether to verify the client IP address.
enable_check_cluster_name Specifies whether to verify the cluster name during three-factor authentication.
proxy_id Specifies the ID of ODP to ensure that the Client Session ID generated by different ODPs does not conflict.
client_session_id_version Specifies the version of the Client Session ID generation format.

Connection-related

Parameter
Description
connect_observer_max_retries The maximum number of retries for ODP to connect to OceanBase Database.
connection_diagnosis_option The bit value specifies the connection diagnostic capability.

Network-related

Parameter
Description
net_accept_threads The number of threads that execute the accept operation.
net_config_poll_timeout The network event timeout period.
default_inactivity_timeout The default TCP connection timeout period.
sock_recv_buffer_size_out The size of the receive buffer for a socket.
sock_send_buffer_size_out The size of the send buffer for a socket.
sock_option_flag_out The parameters for TCP between OceanBase Database and ODP.
sock_packet_mark_out The packet mark when a socket sends a data packet.
sock_packet_tos_out The Type of Service (TOS) field when a socket sends a data packet.
server_tcp_init_cwnd The initial congestion window value for a new OceanBase Database connection.
server_tcp_keepidle The TCP keepalive idle period for the connection between ODP and OceanBase Database.
server_tcp_keepintvl The TCP keepalive interval for the connection between ODP and OceanBase Database.
server_tcp_keepcnt The number of TCP keepalive probes for the connection between ODP and OceanBase Database.
server_tcp_user_timeout The TCP user timeout period for the connection between ODP and OceanBase Database.
client_sock_option_flag_out The parameters for TCP between the client and ODP.
client_tcp_keepidle The TCP keepalive idle period for the connection between ODP and the client.
client_tcp_keepintvl The TCP keepalive interval for the connection between ODP and the client.
client_tcp_keepcnt The number of TCP keepalive probes for the connection between ODP and the client.
client_tcp_user_timeout The TCP user timeout period for the connection between ODP and the client.
sql_firewall_config The firewall interception rules.

Initialization-related parameters

Parameter
Description
proxy_mem_limited The maximum memory size available for ODP.
stack_size The size of a thread stack.
routing_cache_mem_limited The maximum memory size available for ODP routing cache, such as table cache and address cache.
work_thread_num The number of work threads.
task_thread_num The number of task threads.
block_thread_num The number of blocking task threads.
grpc_thread_num The number of GRPC threads.
grpc_client_num The number of GRPC clients.
shard_scan_thread_num The number of ODP shard scanning threads.
automatic_match_work_thread Specifies whether to automatically create work threads based on the number of CPU cores.
enable_strict_kernel_release Specifies whether to check the OS kernel.
max_log_file_size The maximum size of a single log file in ODP.
proxy_cluster The name of the ODP cluster to which the ODP belongs.
enable_auto_restart Specifies whether to automatically restart ODP when the memory occupied by ODP reaches 80% of the value specified by proxy_mem_limited.
init_sql The initialization SQL statement to be sent to OceanBase Database after ODP is connected to an OceanBase cluster.

Request response conversion

Parameter
Description
default_buffer_water_mark The size of the internal buffer of ODP.
tunnel_request_size_threshold The size of the request received by ODP.
request_buffer_length The maximum length of the request buffer allocated for each request.
flow_high_water_mark The high water mark of flow control.
flow_low_water_mark The low water mark of flow control.
flow_consumer_reenable_threshold The maximum threshold of data forwarding times for tunnel flow control configuration.
flow_event_queue_threshold The threshold of the event queue.
enable_flow_control Specifies whether to enable flow control in the MySQL tunnel.

Statistics

Parameter
Description
enable_trans_detail_stats Specifies whether to enable transaction state statistics.
enable_sync_all_stats Specifies whether to enable synchronization of all statistics.
enable_report_session_stats Specifies whether to enable session-level statistics to be reported to internal tables.
enable_strict_stat_time Specifies whether to enable strict statistic time.
enable_cpu_topology Specifies whether to enable CPU topology and bind worker threads to CPU cores.
enable_trace_stats Specifies whether to enable MySQL trace statistics.
slow_transaction_time_threshold Specifies the slow transaction time threshold.
slow_proxy_process_time_threshold Specifies the ODP pre-execution request execution time threshold.
query_digest_time_threshold Specifies the request execution time threshold.
slow_query_time_threshold Specifies the slow request execution time threshold.

Startup parameters

Parameter
Description
ignore_local_config Controls whether to ignore all local cache files and start ODP using remote JSON.
local_bound_ip Sets the IP address for local binding and listening in ODP.
listen_port Sets the listening port for ODP.
ip_listen_mode Sets the listening mode for ODP.
local_bound_ipv6_ip Sets the IPv6 IP address for local binding in ODP (any).
obproxy_config_server_url Sets the URL of the Config Server. After this parameter is set, ODP can proxy all clusters registered in the Config Server.
enable_get_rslist_remote Controls whether to enable direct retrieval of the Root Service list from a remote source.
rootservice_cluster_name Sets the default cluster name for rootservice_list.
rootservice_list Sets the Root Service list for OceanBase Database, in the format of ip1:sql_port1;ip2:sql_port2.

Tenant-related parameters

Parameter
Description
proxy_tenant_name Sets the default tenant name for cloud users.

Blacklist-related

Parameter
Description
enable_congestion Controls whether to enable the blacklist mechanism. The default value is enabled.
congestion_failure_threshold Controls whether to add an OceanBase Database server to the blacklist.
congestion_fail_window Specifies the error statistics period of an OceanBase Database server.
min_keep_congestion_interval Specifies the minimum time that an OceanBase Database server in the blacklist must wait before being whitelisted.
congestion_retry_interval Specifies the retry interval for an OceanBase Database server in the blacklist.
min_congested_connect_timeout Specifies the minimum timeout for an OBServer node that is alive but unavailable.

Congestion-related

Parameter
Description
server_detect_mode The server detection mode.
server_detect_fail_threshold The number of server detection attempts.
server_detect_refresh_interval The interval for refreshing the server status.
detect_server_timeout The timeout period for detecting whether OceanBase Database responds.
enable_bad_route_reject Whether to reject requests that cannot be routed.
compression_algorithm The compression level for the compression protocol and OceanBase 2.0 protocol.
enable_compression_protocol Whether to enable the compression protocol.
enable_ob_protocol_v2 Whether to enable OceanBase 2.0 protocol between ODP and OceanBase Database.
ob_max_read_stale_time The maximum delay time allowed for weak read requests. The default value is -1, indicating that this feature is disabled by default.
enable_cached_server Whether to use cached server sessions when no table entries are available.

Audit-related

Parameter
Description
sqlaudit_mem_limited The maximum memory threshold for SQL audit.
internal_cmd_mem_limited The memory limit for internal command responses in ODP. 0 indicates no limit.

Debugging-related

Parameter
Description
server_routing_mode The routing mode of ODP.
syslog_level The system log printing level.
monitor_log_level The monitoring log printing level.
xflush_log_level The xflush log printing level.
enable_async_log Whether to enable asynchronous logging.
mem_leak_check_class_name The class name (free_list_name) to be monitored by the show proxymemory objpool command.
mem_leak_check_mod_name The mod_name to be monitored by the show proxymemory command.

LDC-related

Parameter
Description
proxy_idc_name The IDC name for ODP IDC routing.
current_local_config_version The local configuration version of ODP.

Monitoring-related

Parameter
Description
monitor_item_limit The number of ODP monitoring statistics items or Prometheus metrics.
monitor_item_max_idle_period The maximum time that monitoring statistics items are retained in memory.
monitor_cost_ms_unit The unit of monitoring statistics. The default value is microseconds.
monitor_stat_dump_interval The time interval between two consecutive monitoring statistics dumps to logs.
monitor_stat_low_threshold The low threshold of tenant statistics.
monitor_stat_middle_threshold The middle threshold of tenant statistics.
monitor_stat_high_threshold The high threshold of tenant statistics.
enable_monitor_stat Whether to enable monitoring statistics.

Prometheus-related

Parameter
Description
prometheus_listen_port The listening port of ODP Prometheus.
prometheus_cost_ms_unit The unit of Prometheus. The default value is microseconds.
prometheus_sync_interval The time interval between two consecutive Prometheus monitoring metric updates to Prometheus Exporter.
enable_prometheus Whether to enable Prometheus monitoring.
enable_extra_prometheus_metric Whether to enable network and routing Prometheus metrics.
enable_causal_order_read Whether to enable ODP to select servers based on priority and synchronize secure snapshot versions as needed.

Cache-related

Parameter
Description
partition_location_expire_relative_time The time for which partition location cache is retained, in milliseconds.
enable_qa_mode Specifies whether to allow ODP to forcibly expire all location caches.
check_tenant_locality_change Specifies whether to enable location cache to be marked as dirty when the location changes.
enable_async_pull_location_cache Specifies whether to enable asynchronous pull of location cache when the cache is marked as dirty.

SSL-related

Parameter
Description
enable_client_ssl Specifies whether to allow ODP to use SSL to connect to clients.
enable_server_ssl Specifies whether to allow ODP to use SSL to connect to OceanBase Database.

QoS-related

Parameter
Description
enable_qos Specifies whether to allow ODP to perform QoS.
qos_stat_clean_interval The time interval for clearing QoS statistics.
qos_stat_item_limit The maximum number of QoS statistics items.

Primary and standby databases

Parameter
Description
enable_standby Specifies whether to enable standby databases.
enable_standby_read_write_split Specifies whether to enable read/write splitting between primary and standby tenants for tenants that are logged in by using the Service Name.

Sequence-related

Parameter
Description
sequence_entry_expire_time The effective time of a sequence.
sequence_fail_retry_count The number of retries for a sequence.
enable_sequence_prefetch Specifies whether to enable sequence prefetching.
sequence_prefetch_threshold The cost threshold for sequence prefetching. When the cost reaches the threshold, sequence prefetching is performed.

Password-related

Parameter
Description
obproxy_sys_password The password of the root@proxysys user.
observer_sys_password The password of the proxyro@sys account used by the ODP to connect to the OceanBase cluster.
observer_sys_password1 The password of the proxyro@sys account used by the ODP to connect to the OceanBase cluster.

O&M-related

Parameter
Description
protocol_diagnosis_level Specifies whether to enable protocol diagnostics and whether to output diagnostic information to the log.
route_diagnosis_level Specifies the level of detail for route diagnostics.

RPC related

Parameter
Description
enable_obproxy_rpc_service Specifies whether to enable the RPC service.
rpc_enable_congestion Specifies whether to enable the server blacklisting feature for RPC requests.
rpc_enable_direct_expire_route_entry Specifies whether to forcibly expire the route information and no longer use dirty data for asynchronous refresh.
rpc_enable_force_srv_black_list Specifies whether to enable the forced blacklisting feature for authentication login.
rpc_enable_global_index Specifies whether to enable the global index routing feature for RPC requests.
rpc_enable_parallel_handler Specifies whether to enable the asynchronous execution framework.
rpc_enable_reroute Specifies whether to enable the RPC rerouting feature.
rpc_enable_retry_request_info_log Specifies whether to print the information about RPC request retries.
rpc_force_srv_black_list Specifies the forced blacklisting list for authentication login.
rpc_listen_port Specifies the port for listening to RPC services.
rpc_max_response_batch_size Specifies the maximum number of batches in a single response.
rpc_max_request_batch_size Specifies the maximum number of batches in a single request.
rpc_max_server_table_entry_num Specifies the maximum number of connections in the backend connection pool for RPC processing.
rpc_net_timeout_base Specifies the base sending rate, which is the time required to send 1B of data, in ms. The minimum bandwidth is 200Bps. If the configured rate is lower than 200Bps, an exception occurs in the backend connection, and ODP removes the connection from the connection pool.
rpc_period_task_interval Specifies the time interval for ODP to process RPC periodic tasks. The periodic tasks mainly clean up invalid requests in the frontend and backend.
rpc_redis_default_database_name Specifies the name of the physical database for OBKV-Redis.
rpc_redis_default_user_name Specifies the username for accessing OBKV-Redis in the single AUTH password scenario.
rpc_redis_operation_timeout Specifies the default timeout period for OBKV-Redis requests.
rpc_service_mode Specifies whether to enable access to OBKV-Redis.
rpc_request_timeout Specifies the default timeout period for sending requests, in us.
rpc_request_timeout_delta Specifies the delta value of the internal request processing timeout period for ODP.
rpc_server_entry_expire_time Specifies the idle timeout period for the backend connection pool. If no connections are available in the specified time, the backend connection pool exits.
rpc_server_net_handler_expire_time Specifies the timeout period for backend connection request processing. If no response is received within the specified time after a request is sent, ODP considers the connection invalid and removes it from the connection pool.
rpc_server_net_invalid_time_us Specifies the sending interval for pending requests in the backend connection.
rpc_server_net_max_pending_request Specifies the number of pending requests in the backend connection. If the number reaches the specified value within the rpc_server_net_invalid_time_us period, ODP considers the backend connection invalid and removes it from the connection pool.
rpc_srv_session_pool_inactive_timeout Specifies the inactive timeout period for server connections in the synchronous module.
rpc_support_key_partition_shard_request Specifies whether to forward key partition sharding requests to all partitions.
rpc_async_task_thread_num Specifies the number of asynchronous threads for OBKV, aiming to reduce the impact of subrequest forwarding and large request parsing on normal requests.
rpc_sub_request_isolation_mode Specifies the RPC subrequest processing mode to control the processing threads of subrequests and reduce their impact on the RT of normal requests.
rpc_sub_request_weight Specifies the weight of RPC subrequests. The number of ordinary threads occupied by subrequests increases with the weight.
enable_rpc_throttle Specifies whether to control traffic based on the memory occupied by RPC requests.
rpc_request_throttle_waiting_time Specifies the RPC request throttling waiting time.
rpc_throttle_limit_qps_qa Specifies the QPS limit for RPC requests when throttling is triggered.
rpc_throttle_trigger_percentage Specifies the throttling trigger threshold. When the memory occupied by RPC requests reaches the specified percentage, throttling is triggered.
rpc_enable_async_pull_batch_tablets Specifies whether to enable the asynchronous batch pull tablet ID feature.
rpc_enable_async_analyze Specifies whether to enable asynchronous parsing of large requests or result sets for RPC.
rpc_async_pull_batch_max_size Specifies the size of the asynchronous batch pull partition address.
rpc_async_pull_batch_max_times Specifies the maximum number of RPC batch pull operations.
rpc_async_pull_batch_wait_interval Specifies the waiting interval for asynchronous batch pull operations.
rpc_ctx_expire_time Specifies the expiration time for RPC login-related information. If the RPC login-related information is not accessed within the specified time, it will be deleted.
rpc_redis_max_monitor_num Specifies the maximum number of monitors for OBKV-Redis.
rpc_request_max_retries Specifies the maximum number of retries for RPC requests when a partition lookup fails.
rpc_request_retry_waiting_time Specifies the RPC request retry waiting time.
rpc_request_server_entry_max_retries Specifies the maximum number of retries for RPC requests when a database interaction fails.
rpc_sub_req_max_retries Specifies the maximum number of retries for RPC subrequests when a request fails.

Routing

Parameter
Description
target_db_server The IP address of the OceanBase database server to which ODP forcibly routes traffic. The value is in the ip0:port0,ip1:port1,ip2:port2;ip3:port3;ip4:port4 format.
proxy_route_policy The routing strategy of ODP.
proxy_primary_zone_name The name of the primary zone for ODP LDC routing.
enable_primary_zone Specifies whether to route traffic to the primary zone of a tenant when routing fails.
enable_index_route Specifies whether to enable global index table routing based on the global index key.
enable_single_leader_node_routing Specifies whether to use more efficient routing rules when a tenant is deployed in the primary replica aggregation mode.
enable_partition_table_route Specifies whether to enable partition table routing.
enable_transaction_internal_routing Specifies whether to enable distributed transaction routing.
enable_reroute Specifies whether to enable rerouting.
enable_weak_reroute Specifies whether to enable weak read rerouting.
enable_pl_route Specifies whether to enable procedural language (PL) routing.
route_target_replica_type Specifies the replica type in weak read scenarios.
weakread_weight_zone Configures the weights of the zones.

Others

Parameter
Description
enable_xa_route Specifies whether to enable hold XA_START and route it to the next DML-accessed partition.
normal_pl_update_threshold Specifies the maximum number of partition location update tasks that ODP can process per second.
proxy_local_cmd Specifies the hot restart of ODP.
client_max_memory_size Specifies the maximum size of dynamically allocated memory for a client session.
delay_update_entry_interval Specifies the time interval for delaying the update of a table or partition entry.
tenant_location_valid_time Specifies the validity period of the cached tenant information.
qa_mode_mock_public_cloud_slb_addr Specifies the SLB address for simulating a public cloud.
enable_cpu_isolate Specifies whether to enable CPU isolation.
mysql_version Specifies the version returned when a connection is established with a MySQL mode tenant.
enable_performance_mode Specifies whether to enable performance mode.
enable_full_link_trace Specifies whether to use the full-link tracing feature to trace query execution.
enable_trace Specifies whether to print trace information.
enable_stat Specifies whether to collect statistics.
digest_sql_length Specifies the SQL print length. 0 indicates that the default SQL length is used.
obproxy_read_only Specifies the read/write type.
obproxy_read_consistency Specifies the target of the request.
enable_global_ps_cache Specifies whether to use the global PS cache.
enable_read_write_split Specifies whether to enable the read/write separation mode.
enable_transaction_split Specifies whether to support transaction splitting.
binlog_service_ip Specifies the address of the binlog service cluster. You can specify an IP address or a domain name. Separate multiple IP addresses or domain names with semicolons (;).
ssl_attributes Configures the attributes of SSL.
sql_table_cache_expire_relative_time Specifies the expiration time of the SQL table cache, in milliseconds. 0 indicates that the cache does not expire.
sql_table_cache_mem_limited Specifies the maximum memory threshold occupied by the SQL table cache in ODP.
enable_cloud_full_username For cloud users, specifies whether to treat the login user as the username.
enable_full_username For non-cloud users, specifies whether the username must contain the tenant and cluster.
skip_proxyro_check Specifies whether to allow clients to access proxyro@sys. If the value is false, the access is denied.
skip_proxy_sys_private_check Specifies whether to skip checking the system private address.
obproxy_force_parallel_query_dop Adapts the _force_parallel_query_dop parameter of OceanBase Database.
syslog_io_bandwidth_limit Specifies the maximum disk I/O bandwidth that ODP logs can occupy per second. If the bandwidth exceeds the limit, the logs will be throttled, and the REACH SYSLOG RATE LIMIT message will be printed in obproxy.log.
enable_sharding Specifies whether to use the logical database.
scan_buffered_rows_warning_threshold Specifies the threshold for the number of rows obtained by a shard table scan request. If the threshold is exceeded, a warning message will be printed in the ODP log.
enable_cross_shard_txn Specifies whether to allow ODP to process shard read requests across shards in a transaction.

Removed

Parameter
Description
Notes
enable_binlog_service Specifies whether ODP sends binlog requests to oblogproxy. Removed from version 4.2.2.
enable_connection_diagnosis Specifies whether to enable the connection diagnosis feature. Removed from version 4.2.2.
enable_abort_conn_info Specifies whether ODP sends error packets when a connection is terminated. Removed from version 4.2.3.

Previous topic

View and modify parameters
Last

Next topic

automatic_match_work_thread
Next
on this page
Configuration
Task interval-related parameters
Hot upgrade
Log
Resource pool related
Session related
Connection-related
Network-related
Initialization-related parameters
Request response conversion
Statistics
Startup parameters
Tenant-related parameters
Blacklist-related
Congestion-related
Audit-related
Debugging-related
LDC-related
Monitoring-related
Prometheus-related
Cache-related
SSL-related
QoS-related
Primary and standby databases
Sequence-related
Password-related
O&M-related
RPC related
Routing
Others
Removed