OceanBase
English日本語简体中文
Docs Home
Products
Integrations
Release Notes

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Databases

OceanBase DatabaseOceanBase Cloud OceanBase Best Practices

Connectors and Middleware

OceanBase Database Proxy OceanBase Connector/C OceanBase Connector/J OceanBase Connector/ODBC OceanBase Connector/NETOceanBase Command-Line Client

Tools

OceanBase Cloud PlatformOceanBase Migration ServiceOceanBase Developer CenterOceanBase Migration AssessmentOceanBase Admin ToolOceanBase Loader and DumperOceanBase DeployerKubernetes operator for OceanBaseOceanBase Diagnostic Tool OceanBase Binlog Service
OceanBase DatabaseOceanBase Cloud ToolsConnectors and MiddlewareLifecycle Support Policy

OceanBase Database

KV - V4.3.5
  • OBKV overview
  • Architecture
  • OBKV-Table
    • Introduction to OBKV-Table
      • Overview
      • OBKV-Table operation types
      • Core features of OBKV-Table
      • Differences between replace and insert_or_update
      • Supported value types
      • OBKV-Table data models
    • Use the OBKV-Table Java client
      • Java development guide for OBKV-Table
      • Prepare for development with OBKV-Table
      • Use the OBKV-Table Java client to connect to a cluster
      • Set client parameters
      • Supported client interfaces
      • Use the OBKV-Table Java client
    • Use the OBKV-Table GO client
      • Use the OBKV-Table Go client to connect to a cluster
      • Overview of the Go client
      • Individual API operations
      • Batch operations
      • About queries
      • Aggregation API
      • Filters
    • FAQ
  • OBKV-HBase
    • Overview
    • OBKV-HBase core features
    • Compatibility with HBase
    • Deployment
    • Application development with OBKV-HBase
      • Overview of OBKV-HBase application development
      • Data model
      • Data model design
      • Connect to a cluster using the OBKV-HBase client
      • Migrate HBase business code to OBKV-HBase
      • Data operation examples
      • Delete expired data
    • OBKV-HBase migration guide
    • OBKV-HBase management
      • Overview
      • High availability
      • Security and permissions
      • Monitoring metrics
    • Performance test
    • OBKV-HBase integrations
      • Flink
        • Synchronize data to OBKV-HBase by using Flink
    • Views
    • FAQ

Download PDF

Document Feedback
  1. Documentation Center
  2. OceanBase Database
  3. KV
  4. V4.3.5

Views

Last Updated:2026-09-29 10:40:08

Views related to the connection count
Views related to TTL

Views related to the connection count

The GV$OB_KV_CONNECTIONS view displays the number of active KV connections of the current tenant.

MySQL [oceanbase]> select * from GV$OB_KV_CONNECTIONS;
+-----------+---------+--------+----------------+----------+----------------+-------------+----------------------------+----------------------------+
| TENANT_ID | USER_ID | DB_ID  | SVR_IP         | SVR_PORT | CLIENT_IP      | CLIENT_PORT | FIRST_ACTIVE_TIME          | LAST_ACTIVE_TIME           |
+-----------+---------+--------+----------------+----------+----------------+-------------+----------------------------+----------------------------+
|         1 |  200001 | 500001 | 11.162.xx.xx   |    54302 | 30.182.xx.xx   |       59346 | 2024-05-31 22:23:17.359210 | 2024-05-31 22:23:17.359210 |
+-----------+---------+--------+----------------+----------+----------------+-------------+----------------------------+----------------------------+

Views related to TTL

View name
Description
oceanbase.CDB_OB_KV_TTL_TASKS Displays the ongoing time-to-live (TTL) tasks in all tenants. You can query this view only from the sys tenant.
oceanbase.CDB_OB_KV_TTL_TASK_HISTORY Displays the historical TTL tasks in all tenants. You can query this view only from the sys tenant.
oceanbase.DBA_OB_KV_TTL_TASKS Displays the ongoing TTL tasks in the current tenant.
oceanbase.DBA_OB_KV_TTL_TASK_HISTORY Displays the historical TTL tasks in the current tenant.

Previous topic

Synchronize data to OBKV-HBase by using Flink
Last

Next topic

FAQ
Next
on this page
Views related to the connection count
Views related to TTL