You can view the resource distribution information, tenant list, and top 5 tenant monitoring metrics of all tenants in the clusters you manage.
Prerequisites
Ensure that the current OCP user has the following permissions:
- Cluster Read-only resource permission.
- Permission to access the Tenant Management menu.
Procedure
Log in to OCP.
In the left navigation bar, click Cluster. The system enters the Clusters tab by default.
On the Clusters page, select the target cluster and click its name to go to the cluster Overview page.
In the left navigation bar of the displayed page, click Tenant Management to enter the Tenant Management page.
Click Create Tenant to create a new tenant for the cluster. For details, see Create a tenant.
In the Capacity Usage Overview section, view the resource distribution information.
The resource distribution information mainly includes the percentage of CPU, memory, log disk, and data disk resources occupied by each tenant in the cluster, as well as the percentage of remaining CPU, memory, log disk, and data disk resources for the system.
Note
- When the cluster is an AI cluster (shared storage), Data Disk is displayed as Cache Disk, reflecting the allocation and usage of local cache disk resources.
- Currently, viewing data usage on object storage for AI clusters or Logservice clusters in OCP is not supported. It is recommended to check the specific usage in the cloud vendor's object storage console.
Hover the cursor over a tenant's position in the pie chart to display the specific resource values occupied by that tenant. Click the View Trends button in the upper-right corner of Data Disk to filter data disk usage trends within a specific time period.
Note
- When CPU overprovisioning is enabled for the cluster to which a tenant belongs, the maximum and minimum allocated CPU cores for each tenant in the cluster are displayed in Capacity Usage Overview.
- Viewing Log Disk data is not supported when OceanBase Database is version earlier than V4.0.
- When the cluster is an AI cluster (shared storage), Data Disk is displayed as Cache Disk.
In the Tenants section, view the basic information of all tenants, including the tenant name, tag, OceanBase version number, tenant mode, zone priority, read-only status, lock status, status, and creation time.
- Hover the cursor over a tenant tag to view all tag information for that tenant. You can click the edit icon to manage tags. For more information, see Manage tags.
- You can lock and clone a tenant. For more information, see Lock a tenant and Clone a tenant.
In the Top 5 Tenants by Performance section, you can view the performance metrics of the top 5 tenants with the highest workload in the current cluster, including QPS, TPS, SQL response time, transaction response time, number of sessions, event wait_count, event wait_time, capacity_tables, and capacity_partitions. You can also view the monitoring information for the last hour, last day, or last week based on your business needs.
The following table describes the performance monitoring metrics.
MetricDescriptionData sourceQPS The average number of SQL statements processed per second. v$sysstat TPS The average number of transactions processed per second. v$sysstat SQL Response Time SQL response time (μs). v$sysstat Transaction Response Time The average processing time per server transaction (μs). v$sysstat Number of Sessions The number of active sessions and the total number of sessions. __all_virtual_processlist Event Wait Count The average number of events waited for per second. v$system_event Event Wait Time The average wait time for each event (μs). v$system_event Capacity Tables The number of tables. gv$table Capacity Partitions The number of partitions. v$partition
