OceanBase logo

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Resources

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS

OceanBase Cloud

OceanBase Database

Tools

Connectors and Middleware

QUICK START

OceanBase Cloud

OceanBase Database

BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Company

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

International - English
中国站 - 简体中文
日本 - 日本語
Sign In
Start on Cloud

OceanBase

A unified distributed database ready for your transactional, analytical, and AI workloads.

Product Overview
DEPLOY YOUR WAY

OceanBase Cloud

The best way to deploy and scale OceanBase

OceanBase Enterprise

Run and manage OceanBase on your infra

TRY OPEN SOURCE

OceanBase Community Edition

The free, open-source distributed database

OceanBase seekdb

Open source AI native search database

Customer Stories

Real-world success stories from enterprises across diverse industries.

View All
BY USE CASES

Mission-Critical Transactions

Global & Multicloud Application

Elastic Scaling for Peak Traffic

Real-time Analytics

Active Geo-redundancy

Database Consolidation

Comprehensive knowledge hub for OceanBase.

Blog

Live Demos

Training & Certification

Documentation

Official technical guides, tutorials, API references, and manuals for all OceanBase products.

View All
PRODUCTS
OceanBase CloudOceanBase Database
ToolsConnectors and Middleware
QUICK START
OceanBase CloudOceanBase Database
BEST PRACTICES

Practical guides for utilizing OceanBase more effectively and conveniently

Learn more about OceanBase – our company, partnerships, and trust and security initiatives.

About OceanBase

Partner

Trust Center

Contact Us

Start on Cloud
编组
All Products
    • Databases
    • iconOceanBase Database
    • iconOceanBase Cloud
    • iconOceanBase Tugraph
    • iconInteractive Tutorials
    • iconOceanBase Best Practices
    • Tools
    • iconOceanBase Cloud Platform
    • iconOceanBase Migration Service
    • iconOceanBase Developer Center
    • iconOceanBase Migration Assessment
    • iconOceanBase Admin Tool
    • iconOceanBase Loader and Dumper
    • iconOceanBase Deployer
    • iconKubernetes operator for OceanBase
    • iconOceanBase Diagnostic Tool
    • iconOceanBase Binlog Service
    • Connectors and Middleware
    • iconOceanBase Database Proxy
    • iconEmbedded SQL in C for OceanBase
    • iconOceanBase Call Interface
    • iconOceanBase Connector/C
    • iconOceanBase Connector/J
    • iconOceanBase Connector/ODBC
    • iconOceanBase Connector/NET
icon

OceanBase Database

SQL - V4.2.2

    Download PDF

    OceanBase logo

    The Unified Distributed Database for the AI Era.

    Follow Us
    Products
    OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
    Resources
    DocsBlogLive DemosTraining & CertificationTicket
    Company
    About OceanBaseTrust CenterLegalPartnerContact Us
    Follow Us

    © OceanBase 2026. All rights reserved

    Cloud Service AgreementPrivacy PolicySecurity
    Contact Us
    Document Feedback
    1. Documentation Center
    2. OceanBase Database
    3. SQL
    4. V4.2.2
    iconOceanBase Database
    SQL - V 4.2.2
    Databases
    • OceanBase Database
    • OceanBase Cloud
    • OceanBase Tugraph
    • Interactive Tutorials
    • OceanBase Best Practices
    Tools
    • OceanBase Cloud Platform
    • OceanBase Migration Service
    • OceanBase Developer Center
    • OceanBase Migration Assessment
    • OceanBase Admin Tool
    • OceanBase Loader and Dumper
    • OceanBase Deployer
    • Kubernetes operator for OceanBase
    • OceanBase Diagnostic Tool
    • OceanBase Binlog Service
    Connectors and Middleware
    • OceanBase Database Proxy
    • Embedded SQL in C for OceanBase
    • OceanBase Call Interface
    • OceanBase Connector/C
    • OceanBase Connector/J
    • OceanBase Connector/ODBC
    • OceanBase Connector/NET
    SQL
    KV
    • V 4.6.0
    • V 4.4.2
    • V 4.3.5
    • V 4.3.3
    • V 4.3.1
    • V 4.3.0
    • V 4.2.5
    • V 4.2.2
    • V 4.2.1
    • V 4.2.0
    • V 4.1.0
    • V 4.0.0
    • V 3.1.4 and earlier

    ODP startup parameters

    Last Updated:2026-04-15 08:27:14  Updated
    Share
    What is on this page
    Startup parameters
    References

    folded

    Share

    When you create an OceanBase Database Proxy (ODP) cluster, you can specify the startup parameters in Parameter Settings. This topic describes the ODP startup parameters.

    Startup parameters

    The following table describes the startup parameters that you can specify when you create an ODP cluster. If you do not specify the parameters, the system creates an ODP cluster with default values.

    Parameter
    Default value
    Value range
    Description
    app_name dropship - The application name of the ODP service.
    automatic_match_work_thread true
    • true
    • false
    Specifies whether to automatically create worker threads based on the number of CPU cores. If you set the parameter to true, the maximum number of worker threads is determined by the work_thread_num parameter.
    block_thread_num 1 [1,4] The number of ODP threads for blocking tasks. The parameter is used for thread initialization.
    enable_cpu_topology false
    • true
    • false
    Specifies whether to enable CPU affinity, which is a process in which each worker thread is associated with a different CPU core.
    enable_metadb_used false
    • true
    • false
    Specifies whether the MetaDB of OceanBase Cloud Platform (OCP) is accessible when ODP is running.
    enable_strict_kernel_release false
    • true
    • false
    Specifies whether the OS kernel must be verified.
    Valid values:
    • true: specifies to verify the OS kernel only on 5U, 6U, and 7U rackmount servers running on the Red Hat operating system.
    • false: specifies not to verify the OS kernel, which may make ODPs unstable.
    frequent_accept true
    • true
    • false
    Specifies whether to initialize the net accept parameter.
    grpc_client_num 9 [9,16] The number of gRPC clients.
    grpc_thread_num 8 [8,16] The number of gRPC threads.
    listen_port 2883 (1024,65536) The listening port of the ODP.
    local_bound_ip 0.0.0.0 - The local IP address of the ODP.
    net_accept_threads 2 [0,8] The number of threads that run accept tasks.
    obproxy_config_server_url - - The URL for external users to access the OCP configurl service.
    prometheus_cost_ms_unit false
    • true
    • false
    Specifies whether to set the cost unit of Prometheus to milliseconds. By default, the cost unit is microseconds.
    prometheus_listen_port 2884 (1024,65536) The listening port of ODP Prometheus.
    proxy_id 0 [0,255] The ID of the ODP. If the proxy_service_mode parameter is set to server, you cannot set the proxy_id parameter to 0.
    proxy_service_mode client
    • client
    • server
    The deployment and service mode of the ODP.
    rootservice_cluster_name - - The default name of the cluster of the RootService list.
    rootservice_list xx.xx.xx.xx:2881 - The RootService list in the following format: ip1:sql_port1;ip2:sql_port2.
    skip_proxy_sys_private_check true
    • true
    • false
    Specifies whether to skip private CIDR blocks during the ODP check.
    stack_size 1 MB [1MB,10MB] The size of the thread stack, which is used for thread creation.
    enable_proxy_scramble true
    • true
    • false
    Specifies whether to enable scrambling on the ODP.
    task_thread_num 2 [1,4] The number of task threads for the ODP.
    work_thread_num 128 [1,128] The number of worker threads for the ODP. If the automatic_match_work_thread parameter is set to true, the work_thread_num parameter specifies the maximum number of worker threads.

    References

    ODP parameters include startup parameters and other parameters. For information about other parameters, see Parameters.

    Previous topic

    Upgrade one or more ODPs
    Last

    Next topic

    Physical connections
    Next
    What is on this page
    Startup parameters
    References