This topic describes how to view statistics in the OceanBase Cloud Platform (OCP) console.
Note
Statistics management is supported only for business tables.
Feature description
The query optimizer of OceanBase Database evaluates the costs of execution plans based on the database statistics. Database statistics are closely related to query efficiency and serve as the basis for quick system response and low latency. Statistics must be updated in real time to ensure stable and efficient operation of the database system. OCP provides statistics of tables whose statistics are collected, top 10 tables with the most DML operations, statistics query, database- and table-level statistics collection, statistics collection window maintenance, and statistics collection task management. You can view, lock, and unlock statistics collection tasks to better manage and maintain the database.
Prerequisites
To view the statistics of a tenant, make sure that you have the following permissions:
-
Resource Permissions : Cluster Read-only or Tenant Read-only permission -
Menu Permissions : Permission on theStatistics Management menu ofTenants
Statistics overview
In the
View top 10 tables with the most changes
The
View the statistics table
The