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

Databases

OceanBase DatabaseOceanBase Cloud OceanBase 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 Service

Connectors and Middleware

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

Databases

OceanBase DatabaseOceanBase Cloud OceanBase 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 Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Database Proxy

V4.2.3
  • What is ODP?
  • Installation and deployment
    • Overview
    • Use OBD to deploy ODP
    • Deploy ODP by using OCP
    • Deploy ODP by using the CLI
    • Deployment modes
  • Basic operations
  • Configuration parameter
    • View and modify parameters
    • Parameter summary
    • Parameters that take effect dynamically
      • binlog_service_ip
      • 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
      • compression_algorithm
      • 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_bad_route_reject
      • enable_binlog_service
      • enable_cached_server
      • enable_causal_order_read
      • enable_client_connection_lru_disconnect
      • enable_client_ip_checkout
      • enable_client_ssl
      • enable_cloud_full_username
      • enable_cluster_checkout
      • enable_compression_protocol
      • enable_congestion
      • enable_connection_diagnosis
      • enable_extra_prometheus_metric
      • enable_flow_control
      • enable_full_username
      • enable_get_rslist_remote
      • enable_index_route
      • enable_monitor_stat
      • enable_ob_protocol_v2
      • enable_ob_protocol_v2_with_client
      • enable_partition_table_route
      • enable_performance_mode
      • enable_pl_route
      • enable_primary_zone
      • enable_prometheus
      • enable_proxy_scramble
      • enable_qa_mode
      • enable_qos
      • enable_read_write_split
      • enable_report_session_stats
      • enable_reroute
      • enable_sequence_prefetch
      • enable_server_ssl
      • enable_standby
      • enable_stat
      • 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_transaction_split
      • enable_weak_reroute
      • 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
      • hot_upgrade_exit_timeout
      • hot_upgrade_failure_retries
      • hot_upgrade_rollback_timeout
      • idc_list_refresh_interval
      • ignore_local_config
      • internal_cmd_mem_limited
      • ldg_info_refresh_interval
      • 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
      • mysql_version
      • need_convert_vip_to_tname
      • net_config_poll_timeout
      • normal_pl_update_threshold
      • ob_max_read_stale_time
      • obproxy_force_parallel_query_dop
      • obproxy_read_consistency
      • obproxy_read_only
      • obproxy_sys_password
      • observer_query_timeout_delta
      • observer_sys_password
      • observer_sys_password1
      • partition_location_expire_relative_time
      • prometheus_sync_interval
      • protocol_diagnosis_level
      • proxy_hot_upgrade_check_interval
      • proxy_id
      • proxy_idc_name
      • proxy_info_check_interval
      • proxy_local_cmd
      • proxy_mem_limited
      • proxy_primary_zone_name
      • proxy_route_policy
      • proxy_tenant_name
      • qa_mode_mock_public_cloud_slb_addr
      • qos_stat_clean_interval
      • qos_stat_item_limit
      • query_digest_time_threshold
      • read_stale_retry_interval
      • refresh_idc_list
      • refresh_json_config
      • refresh_rslist
      • request_buffer_length
      • route_diagnosis_level
      • routing_cache_mem_limited
      • 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
      • short_async_task_timeout
      • skip_proxy_sys_private_check
      • skip_proxyro_check
      • slow_proxy_process_time_threshold
      • slow_query_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
      • ssl_attributes
      • stat_dump_interval
      • stat_table_sync_interval
      • syslog_io_bandwidth_limit
      • syslog_level
      • target_db_server
      • tenant_location_valid_time
      • tunnel_request_size_threshold
      • username_separator
      • xflush_log_level
    • Parameters that take effect after a restart
      • automatic_match_work_thread
      • block_thread_num
      • enable_cpu_isolate
      • enable_cpu_topology
      • enable_global_ps_cache
      • enable_sharding
      • enable_strict_kernel_release
      • grpc_client_num
      • grpc_thread_num
      • ip_listen_mode
      • listen_port
      • local_bound_ip
      • local_bound_ipv6_ip
      • net_accept_threads
      • obproxy_config_server_url
      • prometheus_cost_ms_unit
      • prometheus_listen_port
      • rootservice_cluster_name
      • rootservice_list
      • shard_scan_thread_num
      • stack_size
      • task_thread_num
      • work_thread_num
  • Connection management
    • Principles
    • Session status synchronization
    • Client session
    • Server session
    • Network connection
    • Connection diagnostics
  • 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
      • Replication table-based routing for strong-consistency reads
      • Primary zone-based routing for strong-consistency reads
      • Strategy-based routing
      • Distributed transaction routing
      • Rerouting
      • Forcible routing
    • Read/Write separation
    • Follower latency threshold
    • Function partition key routing
      • Overview
      • String functions
      • Numeric calculation functions
      • Date calculation functions
      • FAQ
  • Logs
    • Overview
    • obproxy_diagnosis.log
    • obproxy_digest.log
    • obproxy_error.log
    • obproxy_slow.log
    • obproxy_stat.log
    • obproxy.log
  • High availability mechanism
    • Overview
    • High availability of ODP services
    • High availability of OceanBase Database
    • High availability testing
  • 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
  • Release Notes
    • Versioning rules
    • Enterprise Edition
      • 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.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.2.3

ODP Enterprise Edition V4.2.3

Last Updated:2026-09-04 08:23:04

V4.2.3
Version information
Overview
Key features
Compatibility changes
Supported OceanBase Database versions
Bug fixes

V4.2.3

Version information

  • Release date: December 26, 2023

  • Version: V4.2.3

  • RPM version: obproxy-4.2.3.0-20231226165754

Overview

Apart from the usability capabilities, such as routing diagnostics and connection diagnostics, introduced in OceanBase Database Proxy (ODP) V4.2.2, ODP V4.2.3 supports the following new features:

  • Logon audit logs, log usability, protocol diagnostics, and memory diagnostics usability, which comprehensively improve the product's usability; wide-integer routing and routing based on more partitioning functions and expressions, which enrich the product's routing capabilities.

  • Globally unique client session IDs and protocol compression between ODP and OBServer nodes, which enhance the product's link capabilities.

  • MySQL-compatible features, such as the MYSQL_SET_OPTION(27) command and data loading from local files.

Key features

Globally unique client session IDs

A client session ID uniquely identifies a session. ODP and OceanBase Database have different mechanisms for generating client session IDs. The client session ID generated by an ODP for a connected client differs from that generated by an OBServer node. When a client connects to an ODP, the ODP sends the generated client session ID back to the client during the handshake. In a distributed system, the client may connect to a different ODP after connecting to the load balancer. An ODP does not know the client session ID generated by another ODP. Therefore, client session IDs must be globally unique. With globally unique client session IDs, OceanBase clusters can better support the kill session and show processlist mechanisms, transaction table locks, and other features.

Link compression between ODP and OBServer nodes

OceanBase clusters support geo-redundant deployment modes, such as three IDCs across two regions. When OceanBase Database replicas are deployed across regions, data writing and reading across regions may encounter bandwidth restrictions. ODP V4.2.3 supports data compression between ODP and OBServer nodes at a stable compression rate around 55% for random data insertion, which effectively reduces the bandwidth pressure.

Log usability

ODP provides various log files, including obproxy_digest.log, obproxy_error.log, and obproxy.log, to help you quickly troubleshoot problems. Numerous and comprehensive logs also cause problems such as poor readability of logs and performance loss, which impair log usability.

ODP V4.2.3 improves log usability in two aspects. First, it solves the problem of fast log printing based on throttling and printing optimization. Second, it improves log readability and reduces the log volume by optimizing log content and setting clearer log levels. For more information about log levels and different type of logs, see Logs.

Memory usability

ODP of earlier versions records limited memory information. Once a memory leak occurs, it will be difficult to locate the leak location. In addition, connection establishment behavior and logging after memory usage exceeds the limit must also be optimized.

ODP V4.2.3 improves memory usability by adding the feature of memory leak diagnostics and the WARN log level. After memory usage exceeds the limit, new connections cannot be established and memory cannot be allocated to prepared statements, but forced logout will not be triggered. This reduces the impact on existing business. For more information about memory leak diagnostics, see Memory leak diagnostics.

Routing improvement

Columnar OceanBase Database supports wide-integer columns. Accordingly, ODP V4.2.3 supports accurate routing for queries on partitioned tables with wide-integer columns as partitioning keys. The new version also supports accurate routing based on more partitioning key expressions, including arithmetic expressions, character expressions, and time expressions. For more information, see Function partitioning key-based routing.

Compatibility changes

Product behavioral changes

The default system log level is changed to WDIAG.

When memory usage exceeds 90% of the limit, the product's behavior changes as follows:

  • For existing connections: Memory allocation to prepared statements fails (connections are terminated) while the execution of other SQL statements remains normal.

  • For new connections: New connections to user tenants cannot be established but those to the sys tenant and proxysys tenant are allowed. ODP configurations are modified, and SQL execution remains normal.

Parameter changes

Parameter
Change type
Description
mem_leak_check_mod_name New Specifies the names of modules to be monitored by the show proxymemory command, which can be names in the mod_name column of the command output. The value ALL indicates to monitor all modules. We recommend that you use the value ALL only in debugging mode.
mem_leak_check_class_name New Specifies the names of classes to be monitored by the show proxymemory objpool command, which can be names in the free_list_name column of the command output. The value ALL indicates to monitor all classes. We recommend that you use the value ALL only in debugging mode.
protocol_diagnosis_level New Specifies whether to enable protocol diagnostics and whether to output diagnostic information to logs. The default value is 0, which indicates to disable protocol diagnostics.
compression_algorithm New Specifies the compression protocol and compression level of the OceanBase 2.0 protocol. Value range: zlib:[0,9]. The value zlib:0 indicates to disable the compression protocol and the compression feature of the OceanBase 2.0 protocol.
syslog_io_bandwidth_limit New Specifies the upper limit of disk I/O bandwidth allowed for ODP logging. ODP logging is throttled when its traffic exceeds the upper bandwidth limit. When throttling is triggered, the log REACH SYSLOG RATE LIMIT will be printed in obproxy.log. The default value is 30 MB. You need to specify the unit when you configure the parameter. The default unit is MB.
enable_syslog_wf New Specifies whether to print logs at or above the WARN level in obproxy.log to a separate log file (obproxy.log.wf). The default value is False, indicating not to print such logs to a separate log file.
client_session_id_version New Specifies the version of the format used for generating client session IDs. The default value is 1. To use the new calculation logic, you need to set this parameter to 2.
enable_abort_conn_info Deprecated This parameter is introduced since ODP V4.2.0 and is deprecated since ODP V4.2.3.
xflush_log_level Modified The default value of this parameter is changed from INFO to ERROR since ODP V4.2.3.
syslog_level Modified The default value of this parameter is changed from INFO to WDIAG since ODP V4.2.3.
connection_diagnosis_option Modified The default value of this parameter is changed from 1 to 3 since ODP V4.2.3. The description of bit 1 is changed. In the new version, bit 1 specifies whether to build an error packet when internal errors occur.
enable_sharding Modified This parameter takes effect upon a restart since ODP V4.2.3. In earlier versions, the parameter takes effect dynamically after modification.

Supported OceanBase Database versions

OceanBase Database V4.x, V3.x, and earlier versions are supported. The recommended ODP version varies based on the OceanBase Database version.

  • We recommend that you use ODP V3.2.11 for OceanBase Database V3.x or earlier.

  • For OceanBase Database V4.x:

    • We recommend that you use ODP V4.2.3 if new features are required.

    • We recommend that you use ODP V4.2.1 (an LTS version) if new features are not required.

Bug fixes

  • Fixed the issue where connection fails when a .NET driver is used for connection and SSL is enabled.

  • Fixed the issue where connection attributes fail to be parsed and the connection is then terminated when a .NET driver is used for connection.

  • Fixed the issue where the performance of queries based on the specified cursor fetch size is poor when ODP connects to an OceanBase cluster.

  • Fixed the issue where a MySQL 8.0 client fails to connect to an OceanBase cluster with a password.

Previous topic

Versioning rules
Last

Next topic

ODP Enterprise Edition V4.2.2
Next
on this page
V4.2.3
Version information
Overview
Key features
Compatibility changes
Supported OceanBase Database versions
Bug fixes