This topic describes how to monitor the performance of databases in an instance by using OceanBase Cloud.
Procedure
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
On the Instances page, click the name of the target instance to go to the Overview page of the instance.
In the left-side navigation pane of the Overview page of the instance, click Metrics.
The Databases tab automatically appears.
By default, this tab shows the monitoring data of all databases in the instance in the last hour.
- You can select a tenant from the Tenant drop-down list to view its monitoring data. If you select multiple tenants, you can click tenant names in a chart to filter the data to view.
- You can also specify a time period to filter the data to view.
The following table describes the performance metrics.
SQL
Metric English Name Unit Description QPS sql_all_count times/s The number of SQL statements processed per second. SQL Response Time sql_all_rt ms The average response time of SQL statements. Single Operation Per Second single_kv_all_count times/s The average number of operations processed per second for single operations. Single Operation Average Time single_kv_all_rt μs The average time consumed for single operations. Multi-Operation Average Per Second multi_kv_all_count times/s The average number of operations processed per second for multi-operations of the same type. Multi-Operation Average Time multi_kv_all_rt ms The average time consumed for multi-operations of the same type. TABLE Operation P99 Response Time kv_table_all_rt_p99 ms The P99 response time of TABLE operations. Multi-Operation Average Rows multi_kv_all_row count The average number of rows processed for multi-operations of the same type. Batch Operation Average Per Second batch_kv_all_count times/s The average number of operations processed per second for batch operations. Batch Operation Average Time batch_kv_all_rt ms The average time consumed for batch operations. Batch Operation Average Rows batch_kv_all_row count The average number of rows processed for batch operations. Query Average Per Second query_kv_select_count times/s The average number of queries processed per second. Query Average Time query_kv_select_rt ms The average response time of queries. Query Average Rows query_kv_select_row count The average number of rows processed for queries. Query and Modify Average Per Second query_and_muate_kv_select_count count The average number of queries processed per second for query and modify operations. Query and Modify Average Time query_and_muate_kv_select_rt μs The average response time of query and modify operations. Query and Modify Average Rows query_and_muate_kv_select_row count The average number of rows processed for query and modify operations. HBase Operation Count hbase_all_count count The total number of HBase operations. HBase Operation Time hbase_rt μs The total time consumed for HBase operations. HBase Operation P999 Response Time kv_hbase_all_rt_p999 ms The P999 response time of HBase operations. HBase Operation Rows hbase_all_rows count The total number of rows processed for HBase operations. IOPS io_count times/s The number of I/O operations processed per second by SSStore. I/O Time io_rt ms The time consumed for I/O operations. I/O Throughput io_size byte The data volume processed by SSStore per second. Wait Events ob_waitevent_count count The number of wait events in a specific database state. Execution Events ob_sql_event count The number of execution events in a specific database state. Sessions all_session count The number of current sessions. Transactions
Metric English Name Unit Description TPS transaction_count times/s The number of transactions processed per second. Transaction Response Time transaction_rt ms The average response time of a transaction. Request Queue Time request_queue_time μs The time consumed for an SQL request to wait in the queue. Transaction Log Count trans_commit_log_count times/s The number of transaction logs committed per second. Transaction Log Size clog_trans_log_total_size byte The size of transaction logs committed per second. Transaction Count transaction_partition_count times/s The number of transactions processed per second. Transaction Log Network Sync Time trans_commit_log_sync_rt μs The average time consumed for network synchronization of a transaction log. Database status
Metric English Name Unit Description Database Working Time ob_worktime s The total working time of the database. Database Non-idle Waiting Time ob_no_idle_waiting_time ms The total non-idle waiting time of the database. Disk
Metric English name Unit Description Log disk total size ob_tenant_log_disk_total_bytes GiB Log disk total size Log disk used size ob_tenant_log_disk_used_bytes GiB Log disk used size Data size ob_tenant_server_required_size GiB Data size Data volume ob_tenant_server_data_size GiB Data volume Binlog disk used size ob_tenant_binlog_disk_used GiB Binlog disk used size Cache
Metric English name Unit Description Shared storage cache allocated size ss_cache_assigned_size byte Shared storage cache allocated size Note
This metric is displayed only for shared storage instances.
Shared storage cache used size ss_cache_used_size byte Shared storage cache used size Note
This metric is displayed only for shared storage instances.