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 Diagnostic Tool

V2.4.0

  • Overview
  • Install obdiag
  • Configure obdiag
  • One-click Cluster Inspection
    • Use obdiag to inspect an OceanBase cluster
    • Inspection metrics
  • One-click Information Collection
    • One-click General Information Collection
      • obdiag gather log
      • obdiag gather sysstat
      • obdiag gather plan_monitor
      • obdiag gather stack
      • obdiag gather perf
      • obdiag gather ash
      • obdiag gather tabledump
      • obdiag gather parameter
      • obdiag gather variable
      • obdiag gather clog/obdiag gather slog
      • obdiag gather obproxy_log
      • obdiag gather all
    • One-click Scenario-based Information Collection
      • Overview
      • observer.base
      • observer.backup
      • observer.backup_clean
      • observer.clog_disk_full
      • observer.cluster_down
      • observer.compaction
      • observer.cpu_high
      • observer.delay_of_primary_and_backup
      • observer.io
      • observer.log_archive
      • observer.long_transaction
      • observer.memory
      • observer.perf_sql
      • observer.px_collect_log
      • observer.recovery
      • observer.restart
      • observer.rootservice_switch
      • observer.suspend_transaction
      • observer.unit_data_imbalance
      • observer.perf_sql
      • other.application_error
      • obproxy.restart
      • observer.unknown
  • One-click Diagnostic Analysis
    • obdiag analyze log
    • obdiag analyze flt_trace
    • obdiag analyze parameter default
    • obdiag analyze parameter diff
    • obdiag analyze variable diff
    • obdiag analyze index_space
  • One-click Root Cause Analysis
    • Use obdiag for root cause analysis
    • disconnection
    • major_hold
    • lock_conflict
    • ddl_disk_full
    • clog_disk_full
    • log_error
    • ddl_failure
    • index_ddl_error
    • transaction_disconnection
    • transaction_execute_timeout
    • transaction_not_ending
    • transaction_other_error
    • transaction_rollback
    • transaction_wait_timeout
  • Upgrade obdiag by using add-on files
  • Upgrade and uninstall obdiag
  • Telemetry Mode
  • FAQ
  • Release Notes
    • obdiag V2.4.0
    • obdiag V2.3.0
    • obdiag V2.2.0
    • obdiag V2.1.0
    • obdiag V2.0.0
    • obdiag V1.6.2
    • obdiag V1.6.1
    • obdiag V1.6.0
    • obdiag V1.5.2
    • obdiag V1.5.1
    • obdiag V1.5.0
    • obdiag V1.4.0
    • obdiag V1.3.0

Download PDF

Overview Install obdiag Configure obdiag Use obdiag to inspect an OceanBase cluster Inspection metrics obdiag gather log obdiag gather sysstat obdiag gather plan_monitor obdiag gather stack obdiag gather perf obdiag gather ash obdiag gather tabledump obdiag gather parameter obdiag gather variable obdiag gather clog/obdiag gather slog obdiag gather obproxy_log obdiag gather all Overview observer.base observer.backup observer.backup_clean observer.clog_disk_full observer.cluster_down observer.compaction observer.cpu_high observer.delay_of_primary_and_backup observer.io observer.log_archive observer.long_transaction observer.memory observer.perf_sql observer.px_collect_log observer.recovery observer.restart observer.rootservice_switch observer.suspend_transaction observer.unit_data_imbalance observer.perf_sql other.application_error obproxy.restart observer.unknown obdiag analyze log obdiag analyze flt_trace obdiag analyze parameter default obdiag analyze parameter diff obdiag analyze variable diff obdiag analyze index_space Use obdiag for root cause analysis disconnection major_hold lock_conflict ddl_disk_full clog_disk_full log_error ddl_failure index_ddl_error transaction_disconnection transaction_execute_timeout transaction_not_ending transaction_other_error transaction_rollback transaction_wait_timeout Upgrade obdiag by using add-on files Upgrade and uninstall obdiag Telemetry Mode FAQ obdiag V2.4.0 obdiag V2.3.0 obdiag V2.2.0 obdiag V2.1.0 obdiag V2.0.0 obdiag V1.6.2 obdiag V1.6.1 obdiag V1.6.0 obdiag V1.5.2 obdiag V1.5.1 obdiag V1.5.0 obdiag V1.4.0 obdiag V1.3.0
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 Diagnostic Tool
  3. V2.4.0
iconOceanBase Diagnostic Tool
V 2.4.0
  • V 3.3.0
  • V 3.2.0
  • V 3.1.0
  • V 3.0.0
  • V 2.6.0
  • V 2.5.0
  • V 2.4.0
  • V 2.3.0
  • V 1.5.0
  • V 1.4.0

Inspection metrics

Last Updated:2026-04-13 09:12:25  Updated
share
What is on this page
OBServer node-related metrics
ODP-related metrics

folded

share

This topic describes the inspection metrics of obdiag V1.5.2 and later.

OBServer node-related metrics

Type Task Inspection purpose
cluster core_file_find Checks for OBServer nodes that have caused the generation of core dump files.
deadlocks Checks for deadlocks.
major Checks for major compaction tasks that have been in execution for more than 36 hours.
part_trans_action_max Checks whether the number of transaction participants exceeds 200.
tenant_log_size Checks whether the size of logs in the log disk is three times or more of the memory size.
data_path_settings Checks whether the data disk and log disk are set to the same disk.
mod_too_large Checks whether the number of global indexes exceeds 20.
mod_too_large Checks for user-side modules that have occupied more than 10 GB of memory space.
task_opt_stat_gather_fail Checks for failed history collection tasks.
ob_enable_plan_cache_bad_version Checks for OceanBase Database versions for which ob_enable_plan_cache is enabled.
observer_not_active Checks for OBServer nodes that are not started.
sys_log_level Checks the level of syslogs.
optimizer_better_inlist_costing Checks for OceanBase Database versions for which optimizer_better_inlist_costing is enabled.
resource_limit_max_session_num Checks the maximum number of sessions.
table_history_too_many Checks for tables that have excessive historical records.
tenant_number Checks whether the number of tenants is excessively large.
cpu oversold Checks for OBServer nodes that are not in the ACTIVE state.
disk disk_full Checks for full disk usage. A warning is sent if the disk usage exceeds 80% and an error is sent if it exceeds 90%.
disk_hole Checks for disk holes.
err_code find_err_* Checks for error codes of serious errors.
system aio Checks whether asynchronous I/O is correctly configured.
dependent_software Checks whether the dependencies of basic software are correctly configured. For more information, see Host standardization check items.
parameter* Checks whether the kernel parameters are configured as required. For more information, see Host standardization check items.
ulimit_parameter Checks whether the ulimit parameters are configured as required. For more information, see Host standardization check items.
clock_source Checks whether the time information matches the clock source.
core_pattern Checks whether the kernel.core_pattern parameter is normal.
dependent_software_swapon Checks whether swapon is properly configured.
instruction_set_avx2 Checks whether the Advanced Vector Extensions 2 (AVX2) instruction set is normal.
version bad_version Checks whether an unrecommended OceanBase Database version is used.
sysbench sysbench_free_test_cpu_count Checks whether the value of cpu_count is 80% to 100% of the total number of CPU cores of the server.
sysbench_run_test_tenant_memory_used Checks whether the sum of used or held memory is less than 80% of the total memory for the tenant.
sysbench_test_cpu_quota_concurrency Checks whether the CPU quota concurrency is 2 or 4.
sysbench_test_tenant_log_disk_size Checks whether the size of the log disk is less than 20 GB.
sysbench_free_test_memory_limit Checks whether the allocated memory is 80% to 90% of the memory for the server.
sysbench_test_cluster_datafile_size Checks whether the the percentage of disk space for data files is 60% if data files are stored on the same disk as logs, and 90% if data files are stored on an exclusive disk.
sysbench_test_log_level Checks whether the log level is INFO, WARN, or ERROR.
sysbench_test_tenant_primary_zone Checks whether the primary zone is set to RANDOM.
sysbench_free_test_network_speed Checks whether the network interface card (NIC) provides a bandwidth greater than 1 Gbit/s.
sysbench_test_cluster_log_disk_size Checks whether the percentage of disk space for log files is 30% if logs and data are stored on the same disk, and 90% if logs and data are stored on different disks.
sysbench_test_sql_net_thread_count Checks whether net_thread_count is set to 1/8 of the value of cpu_count, and whether sql_net_thread_count is set to 0 or the same value as net_thread_count.
sysbench_run_test_tenant_cpu_used Checks whether the value is greater than 90% of the value of the max_cpu parameter.
sysbench_test_cluster_parameters Checks whether the enable_sql_audit, enable_perf_event, and enable_record_trace_log parameters are set to false.
sysbench_test_tenant_cpu_parameters Checks whether the max_iops parameter is set to a value greater than the value of max_cpu × 10000.
bugs bug_182 For more information, see issue #182.
table information_schema_tables_two_data Checks for tables that have two records in the information_schema.tables view.
column_storage tenant_parameters Checks proof of concept (POC) configurations for columnar storage.

ODP-related metrics

Type Task Inspection purpose
version bad_version Checks whether an unrecommended OceanBase Database Proxy (ODP) version is used.

Previous topic

Use obdiag to inspect an OceanBase cluster
Last

Next topic

obdiag gather log
Next
What is on this page
OBServer node-related metrics
ODP-related metrics