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 Database Metrics tab automatically appears. By default, this tab shows the monitoring data of all databases in the instance in the last 6 hours. You can also specify a time period to filter the data to view.
The following table describes the performance metrics.
Monitoring item Metric Description QPS sql_all_count The number of SQL queries processed per second in the database of the tenant. Query Response Time sql_all_rt The average time consumed in processing an SQL statement. Unit: ms. TPS transaction_count The number of transactions requested by the database of the tenant per second.
The value is the sum of the following types of requests:- INSERT
- REPLACE
- UPDATE
- DELETE
Transaction Response Time transaction_rt The average time consumed in processing a transaction. Unit: μs. Number of Sessions all_session The current number of sessions in the database of the tenant. Wait Time of SQL Requests in Queue request_queue_time The wait time of an SQL query in a queue. Unit: μs. Transactions Logged per Second trans_commit_log_count The number of transaction logs committed per second in the database of the tenant. Transaction Log Size clog_trans_log_total_size The total size of transaction logs committed per second in the database of the tenant. Unit: MB. IOPS io_count The average number of I/O operations per second in the SSStore. IO RT io_rt The average time consumed in each read or write operation in the SSStore. Unit: μs. IO Throughput io_size The amount of data processed per second in the SSStore. Unit: bytes. Transaction Count transaction_partition_count The number of transactions committed per second. Uptime uptime The amount of time when the tenant is in service. Unit: seconds. Average Time for Network Synchronization of Transaction Logs per Transaction trans_commit_log_sync_rt The average amount of time consumed on each synchronization of transaction logs over the network. Unit: ms. Database Work Time ob_worktime Database work time, in seconds. Database Non-idle Waiting Time ob_no_idle_waiting_time Database non-idle waiting time, in seconds. Number of waiting events in a specific state for the database ob_waiteven_count The number of wait events in a specific state in the database of the tenant. Number of Events in a Specific State ob_sql_event The number of execution events in a specific state in the tenant. Total number of log disks ob_tenant_log_disk_total_bytes The total size of the tenant log disk. Unit: GB. Log disk usage ob_tenant_log_disk_used_bytes The occupied space of the tenant log disk. Unit: GB. Data Usage ob_tenant_disk_used_percentage The ratio between the disk space occupied by tenant data and the total disk size. Unit: %. Data Volume ob_tenant_data_size The volume of tenant data. Unit: GB. Binlog Disk Usage ob_tenant_binlog_disk_used The size of disk space occupied by binlogs. Unit: GB.