OceanBase logo

OceanBase

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

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

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

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 Proxy

V4.1.0Community Edition

  • What is ODP?
  • Installation and deployment
    • Use OBD to deploy ODP
    • Parameter description
    • Deployment modes
  • Basic operations
  • Configuration parameter
    • Parameter description
    • Dynamically modifiable parameters
    • Parameters that are not dynamically modifiable
    • Internal and inherited parameters
    • In-memory parameters
  • Connection management
  • Data routing
    • Factors affecting data routing
    • Routing strategies
    • ODP routing
    • Intra-tenant routing
    • Read/Write separation
  • High availability mechanism
    • Overview
    • High availability of ODP services
    • High availability of OceanBase Database
    • High availability testing
  • Security and protocols
  • Operation and maintenance
    • Troubleshooting
      • Troubleshooting logic
      • Monitoring logs
    • Performance analysis

Download PDF

What is ODP? Use OBD to deploy ODP Parameter description Deployment modes Basic operations Parameter description Dynamically modifiable parameters Parameters that are not dynamically modifiable Internal and inherited parameters In-memory parameters Connection management Factors affecting data routing Routing strategies ODP routing Intra-tenant routing Read/Write separation Overview High availability of ODP services High availability of OceanBase Database High availability testing Security and protocols Troubleshooting logic Monitoring logs Performance analysis
OceanBase logo

The Unified Distributed Database for the AI Era.

Follow Us
Products
OceanBase CloudOceanBase EnterpriseOceanBase Community EditionOceanBase seekdb
Resources
DocsBlogLive DemosTraining & Certification
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 Proxy
  3. V4.1.0
iconOceanBase Database Proxy
V 4.1.0Community Edition
  • V 4.3.6
  • V 4.3.4
  • V 4.3.3
  • V 4.3.2
  • V 4.3.1
  • V 4.3.0
  • V 4.2.3
  • V 4.2.2
  • V 4.2.0 and earlier
Community Edition
  • V 4.2.0
  • V 4.1.0
  • V 4.0.0
  • V 3.1.0

Troubleshooting logic

Last Updated:2023-06-25 03:41:30  Updated
share
What is on this page

folded

share

This topic describes the troubleshooting rules and logic.

Describe the issue

When you encounter an issue, you must first clearly describe it. For example, you can describe the issue in the QA module in the OceanBase open source community. The template is as follows:

[Environment] Production environment or test environment
[OceanBase Database or other components]
[Version]
[Description] Clearly describe the issue .
[Recurrence path] Describe the actions taken after the issue occurred.
[Symptom and impact]

[Attachment]

We recommend that you describe issues based on the preceding template. Make sure that the following content is included in the description:

  • Issue occurrence time: For an issue that is difficult to reproduce, the time information can help locate and analyze the issue.

  • Client errors: Client errors contain rich information such as the SQL statement, stack, and execution time. Such information is very helpful in troubleshooting. When a conclusion is drawn, the information can also be used for comparison to further verify the conclusion.

Analyze the issue

Before troubleshooting engineers analyze the issue, they must first globally understand the database access link, including the following modules:

  • Application

  • Load balancer (LB)

  • OceanBase Database Proxy (ODP)

  • OBServer

You can look at the issue from the global perspective and then from the module perspective to help clarify your mind. ODP interacts with all modules. We recommend that you learn more about applications, LBs, and OBServers.

When you analyze an issue, you can start from the applications. First locate the module where the issue occurred and then identify the issues of the module.

The following are some inefficient troubleshooting methods. We recommend that you do not use these methods.

  • If an error occurs when an application uses the database, search for logs of the WARN and ERROR levels in the log directory of ODP. If the printed logs are not standard or if too many WARN/ERROR logs exist, this method in inefficient and may be even unrelated to the issue.

  • When a database connection is interrupted, directly check issues with OceanBase Database. You may fail to find any issue if you use this method.

Classify issues

This section describes how to classify common ODP issues to facilitate issue analysis. ODP issues are classified into the following categories from the business perspective:

  • Logon failure: A logon failure easily occurs due to configuration errors. It is easy to reproduce and troubleshoot a logon failure.

  • SQL execution

    • Error code returned: The backend service returns an error code. You can check the OBServer and ODP based on the error code.

    • Slow SQL: Determine the time consumption of each module, find the bottleneck, and perform performing tuning accordingly.

    • Disconnection: Send a FIN packet to locate the module that initiates the disconnection, and then check the module.

      • Disconnection upon timeout

      • Disconnection upon exceptions

Previous topic

Security and protocols
Last

Next topic

Monitoring logs
Next
What is on this page
Describe the issue
Analyze the issue
Classify issues
Describe the issue
Analyze the issue
Classify issues