Monitoring Clusters Using Cloud Eye
Function
This section describes how to check cluster metrics on Cloud Eye. By monitoring cluster running metrics, you can identify the time when the database cluster is abnormal and analyze potential activity problems based on the database logs, improving database performance. This section describes the metrics that can be monitored by Cloud Eye as well as their namespaces and dimensions. You can use the management console or APIs provided by Cloud Eye to query the monitoring metrics and alarms generated by GaussDB(DWS). For details, see the User Guide and API Reference of Cloud Eye.
This section is organized as follows:
Namespace
SYS.DWS
Cluster Monitoring Metrics
With the GaussDB(DWS) monitoring metrics provided by Cloud Eye, you can obtain information about the cluster running status and performance. This information will provide a better understanding of the node-level information.
Table 1 describes GaussDB(DWS) monitoring metrics.
Metric ID |
Name |
Description |
Value Range |
Monitored Object |
Monitoring Period (Raw Data) |
---|---|---|---|---|---|
dws001_shared_buffer_hit_ratio |
Cache Hit Ratio |
Ratio of requested data that already exists in the cache. It the ratio of the amount of data that already exists in the cache to the total amount of requested data. A higher cache hit ratio means higher cache usage of the system, fewer times that data needs to be read from the disk or network, and faster system response speed. Unit: Percent |
0% to 100% |
Data warehouse cluster |
4 minutes |
dws002_in_memory_sort_ratio |
In-memory Sort Ratio |
Ratio of the extra memory space used by the sorting algorithm to the memory space occupied by the sorted data. In a merge sort, for example, the size of the merge buffer is often proportional to the size of the sorted data, so the in-memory ratio is usually between 10% and 50%. Unit: Percent |
0% to 100% |
Data warehouse cluster |
4 minutes |
dws003_physical_reads |
File Reads |
Total number of database file reads |
> 0 |
Data warehouse cluster |
4 minutes |
dws004_physical_writes |
File Writes |
Total number of database file writes |
> 0 |
Data warehouse cluster |
4 minutes |
dws005_physical_reads_per_second |
File Reads per Second |
Number of database file reads per second |
≥ 0 |
Data warehouse cluster |
4 minutes |
dws006_physical_writes_per_second |
File Writes per Second |
Number of database file writes per second |
≥ 0 |
Data warehouse cluster |
4 minutes |
dws007_db_size |
Data Volume |
Total data volume of the database Unit: MB |
≥ 0 MB |
Data warehouse cluster |
4 minutes |
dws008_active_sql_count |
Active SQL Count |
Number of active SQLs in the database |
≥ 0 |
Data warehouse cluster |
4 minutes |
dws009_session_count |
Session Count |
Number of sessions that access the database |
≥ 0 |
Data warehouse cluster |
4 minutes |
dws010_cpu_usage |
CPU Usage |
CPU usage of each node in a cluster, in percentage |
0% to 100% |
Data warehouse node |
1 minute |
dws011_mem_usage |
Memory Usage |
Memory usage of each node in a cluster, in percentage |
0% to 100% |
Data warehouse node |
1 minute |
dws012_iops |
IOPS |
Number of I/O requests processed by each node in the cluster per second |
≥ 0 |
Data warehouse node |
1 minute |
dws013_bytes_in |
Network Input Throughput |
Data input to each node in the cluster per second over the network Unit: byte/s |
≥ 0 bytes/s |
Data warehouse node |
1 minute |
dws014_bytes_out |
Network Output Throughput |
Data sent to the network per second from each node in the cluster Unit: byte/s |
≥ 0 bytes/s |
Data warehouse node |
1 minute |
dws015_disk_usage |
Disk Usage |
Disk usage of each node in a cluster, in percentage |
0% to 100% |
Data warehouse node |
1 minute |
dws016_disk_total_size |
Total Disk Size |
Total disk space of each node in the cluster Unit: GB |
100 to 2000 GB |
Data warehouse node |
1 minute |
dws017_disk_used_size |
Used Disk Space |
Used disk space of each node in the cluster Unit: GB |
0 to 3600 GB |
Data warehouse node |
1 minute |
dws018_disk_read_throughput |
Disk Read Throughput |
Data volume read from each disk in the cluster per second Unit: byte/s |
≥ 0 bytes/s |
Data warehouse node |
1 minute |
dws019_disk_write_throughput |
Disk Write Throughput |
Data volume written to each disk in the cluster per second Unit: byte/s |
≥ 0 bytes/s |
Data warehouse node |
1 minute |
dws020_avg_disk_sec_per_read |
Average Time per Disk Read |
Average time used each time when a disk reads data Unit: second |
> 0s |
Data warehouse node |
1 minute |
dws021_avg_disk_sec_per_write |
Average Time per Disk Write |
Average time used each time when data is written to a disk Unit: second |
> 0s |
Data warehouse node |
1 minute |
dws022_avg_disk_queue_length |
Average Disk Queue Length |
Average I/O queue length of a disk |
≥ 0 |
Data warehouse node |
1 minute |
dws_024_dn_diskio_util |
DN I/O usage |
Average disk I/O usage of DNs in a cluster |
0% to 100% |
Data warehouse instance |
1 minute |
Dimensions
Key |
Value |
---|---|
datastore_id |
Data warehouse cluster ID |
dws_instance_id |
Data warehouse node ID |
Cluster and Node Monitoring Information
- Log in to the GaussDB(DWS) management console and choose Clusters > Dedicated Clusters.
- View the cluster information. In the cluster list, click View Metric in the Operation column where a specific cluster resides. The Cloud Eye management console is displayed. By default, the cluster monitoring information on the Cloud Eye management console is displayed.
Additionally, you can specify a specific monitoring metric and the time range to view the performance curve.
- View the node information. Click to return to the Cloud Eye management console. On the Data Warehouse Nodes tab page in the right pane, you can view metrics of each node in the cluster.
Additionally, you can specify a specific monitoring metric and the time range to view the performance curve.
Cloud Eye also supports the ability to compare the monitoring metrics of multiple nodes. For details, see Comparing the Monitoring Metrics of Multiple Nodes.
Comparing the Monitoring Metrics of Multiple Nodes
- In the left navigation pane of the Cloud Eye management console, choose .
- On the page that is displayed, click Create Panel. In the displayed dialog box, enter the name and click OK.
- Click Add Graph in the upper right corner.
- In the displayed dialog box, configure the title and monitoring metrics.
You can add multiple monitoring metrics by clicking Add Metric.
The following describes how to set parameters if you want to compare CPU usage of two nodes.
Table 2 Configuration example Parameter
Example Value
Resource Type
DWS
Dimension
Data Warehouse Node
Monitored Object
dws-demo-dws-cn-cn-2-1
dws-demo-dws-cn-cn-1-1
dws-demo-dws-dn-1-1
Metric
CPU Usage
- Click OK.
Then you can view the corresponding monitoring graph on the Panels page. Move the cursor to the graph and click in the upper right corner to zoom in the graph and view detailed metric comparison data.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot