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 Cloud Platform

V4.3.5

    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 Cloud Platform
    3. V4.3.5
    iconOceanBase Cloud Platform
    V 4.3.5
    • V 4.3.6
    • V 4.3.5
    • V 4.3.4
    • V 4.3.3
    • V 4.3.2
    • V 4.3.1
    • V 4.3.0
    • V 4.2.2
    • V 4.0.0 and earlier

    Collect host logs containing the dump tenant info keyword

    Last Updated:2026-04-16 03:36:04  Updated
    share
    What is on this page
    Description
    Statement

    folded

    share

    Description

    You can query logs containing the dump tenant info.tenant keyword from the observer.log file.

    Statement

    Query INFO logs containing the dump tenant info.tenant or tenant={id:5|tenant={id:9|tenant={id:1, keyword from the observer.log file in the observer log directory, which is /home/admin/oceanbase/log by default.

    Here is a sample command:

    grep 'dump tenant info.tenant' ${observer.log.path}/observer.log | grep 'tenant={id:5|tenant={id:9|tenant={id:1'
    

    You can search logs by using the dump tenant info keyword for tenant information, such as resource specifications, threads, queues, and request statistics.

    observer.log.20171129181406:[2017-11-29 18:13:54.020089] INFO  [SERVER.OMT] ob_multi_tenant.cpp:533 [116676][Y0-0000000000000000] [lt=42] dump tenant info(tenant={id:500, 			unit_min_cpu:"10.000000000000", unit_max_cpu:"10.000000000000", slice:"0.000000000000", slice_remain:"0.000000000000", token_cnt:40, ass_token_cnt:40, lq_tokens:12, used_lq_tokens:0, stopped:false, idle_us:0, recv_hp_rpc_cnt:380082895, recv_np_rpc_cnt:0, recv_lp_rpc_cnt:0, recv_mysql_cnt:0, recv_task_cnt:0, recv_large_req_cnt:0, tt_large_quries:0, actives:40, workers:40, lq waiting workers:0, req_queue:total_size=65537 queue[0]=65537 queue[1]=0 queue[2]=0 queue[3]=0 queue[4]=0 queue[5]=0 , large queued:0})
    

    Note

  • In OceanBase Database V4.x, this type of logs is generated every 30 seconds.
  • In OceanBase Database V3.x or V2.x, this type of logs is generated every 10 seconds.
  • You can identify backlog of the tenant queue from this type of logs. The fields in the logs are described as follows:

    • id: the ID of the tenant.
    • unit_min_cpu: the minimum number of CPU cores for the tenant.
    • unit_max_cpu: the maximum number of CPU cores for the tenant.
    • slice: N/A.
    • slice_remain: N/A.
    • token_cnt: the number of tokens allocated by the scheduler. Each token is converted into a worker thread.
    • ass_token_cnt: the number of tokens confirmed by the tenant. You can determine the number of tokens based on the token_cnt field. Typically, the values of the two fields are the same.
    • lq_tokens: the number of tokens for large requests. The value of this field is equal to the value of the token_cnt field multiplied by the proportion of large requests.
    • used_lq_tokens: the number of worker threads that hold large query tokens.
    • stopped: indicates whether resource units of the tenant are being deleted.
    • idle_us: the total idle time of the worker threads in one round (10s). The idle time includes only the wait time in queues.
    • recv_hp/np/lp_rpc_cnt: the cumulative number of RPC requests received by the tenant at different levels, including hp (high), np (normal), and lp (low).
    • recv_mysql_cnt: the cumulative number of MySQL requests received by the tenant.
    • recv_task_cnt: the cumulative number of internal tasks received by the tenant.
    • recv_large_req_cnt: the cumulative number of large requests predicted by the tenant. The value of this field is only incremented but not cleared. The value is incremented upon retries.
    • tt_large_quries: the cumulative number of large requests processed by the tenant. The value of this field is only incremented but not cleared. The value is incremented upon checks.
    • actives: the number of active worker threads.
    • workers: the number of worker threads held by the tenant, which equals the size of the workers_ list.
    • nesting workers: the number of dedicated threads held by the tenant for nested requests. A total of seven threads correspond to seven nesting levels.
    • lq waiting workers: the number of worker threads waiting to be scheduled.
    • req_queue: the worker queues with different priorities. A smaller value indicates a higher priority. This field indicates the number of queued requests at each priority.
    • large queued: the number of large requests predicted by the tenant.
    • multi_level_queue: the worker queues to accommodate nested requests. The values 1 to 7 correspond to the seven nesting levels. queue[0] is invalid. This field indicates the number of queued requests at each level.

    Previous topic

    Collect host logs containing the dump tenant disk usage keyword
    Last

    Next topic

    OCP error codes
    Next
    What is on this page
    Description
    Statement