oceanbase.DBA_WR_SYSSTAT

2026-04-02 06:23:58  Updated

Note

This view was introduced in OceanBase Database V4.2.1.

Purpose

This view displays the details of system statistics in the current tenant.

Columns

Column Type Nullable? Description
CLUSTER_ID bigint(20) NO The ID of the cluster.
TENANT_ID bigint(20) NO The ID of the tenant.
SNAP_ID bigint(20) NO The ID of the snapshot.
SVR_IP varchar(46) NO The IP address of the node.
SVR_PORT bigint(20) NO The port of the node.
STAT_ID bigint(20) NO The ID of the statistic.
VALUE bigint(20) YES The value of the statistic.

Sample query

The following example queries the details of system statistics in the current tenant.

obclient [oceanbase]> SELECT * FROM oceanbase.DBA_WR_SYSSTAT limit 1;

The return result is as follows:

  +------------+-----------+---------+----------------+----------+---------+--------+
  | CLUSTER_ID | TENANT_ID | SNAP_ID | SVR_IP         | SVR_PORT | STAT_ID | VALUE  |
  +------------+-----------+---------+----------------+----------+---------+--------+
  |       4000 |         1 |     114 | xx.xx.xx.xx    |     2882 |   10000 | 228856 |
  +------------+-----------+---------+----------------+----------+---------+--------+
  1 row in set (0.026 sec)

Contact Us