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.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 Database
    3. SQL
    4. V4.2.5
    iconOceanBase Database
    SQL - V 4.2.5
    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

    GV$OB_THREAD

    Last Updated:2026-04-27 03:14:13  Updated
    share
    What is on this page
    Purpose
    Columns
    Example

    folded

    share

    Purpose

    The GV$OB_THREAD view displays the status information about all threads in the observer process.

    Note

    This view is introduced since OceanBase Database V4.2.0.

    Columns

    Column
    Type
    Nullable?
    Description
    SVR_IP VARCHAR2(46) NO The IP address of the observer process.
    SVR_PORT NUMBER(38) NO The port number of the observer process.
    TENANT_ID NUMBER(38) NO The ID of the tenant to which the thread belongs. The value is 500 for a process-level thread.
    TID NUMBER(38) NO The ID of the thread.
    TNAME VARCHAR2(16) NO The name of the thread.
    STATUS VARCHAR2(32) NO The status of the thread. Valid values:
    • Run: indicates that the thread is in the running state.
    • Wait: indicates that the thread is in the waiting state.
    • Sleep: indicates that the thread is in the sleep state.
    • Join: indicates that the thread is waiting for another thread to end.
    LATCH_WAIT VARCHAR2(16) NO The address of the latch that the thread is waiting for.
    LATCH_HOLD VARCHAR2(256) NO The address of the latch held by the thread. Multiple latches may be held by the thread.
    TRACE_ID VARCHAR2(40) NO The ID of the trace that is being executed by the thread.
    CGROUP_PATH NO The path of the cgroup to which the thread belongs. The information in this column comes from the CPU line under the /proc/observer-pid/task/tid/cgroup path.

    Note

    This column is introduced in V4.2.2.

    Example

    obclient > SELECT * FROM SYS.GV$OB_THREAD WHERE ROWNUM <= 2;
    

    The query result is as follows:

    +----------------+----------+-----------+-------+-----------------+--------+------------+------------+------------------------------------+-------------+
    | SVR_IP         | SVR_PORT | TENANT_ID | TID   | TNAME           | STATUS | LATCH_WAIT | LATCH_HOLD | TRACE_ID                           | CGROUP_PATH |
    +----------------+----------+-----------+-------+-----------------+--------+------------+------------+------------------------------------+-------------+
    | xx.xx.xx.xx |    28824 |      1004 | 92964 | T1004_TTLTablet | Wait   | NULL       | NULL       | Y70980BA1CCFB-00060E2D0E29CB5B-0-0 | NULL        |
    | xx.xx.xx.xx |    28824 |      1004 | 92832 | T1004_TTLManage | Wait   | NULL       | NULL       | Y70980BA1CCFB-00060E2D0DF9CB5C-0-0 | NULL        |
    +----------------+----------+-----------+-------+-----------------+--------+------------+------------+------------------------------------+-------------+
    2 rows in set (0.041 sec)
    

    Previous topic

    V$OB_DTL_INTERM_RESULT_MONITOR
    Last

    Next topic

    V$OB_THREAD
    Next
    What is on this page
    Purpose
    Columns
    Example