Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Monitoring Clusters Using Cloud Eye

Updated on 2024-06-11 GMT+08:00

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.

Table 1 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

  1. Log in to the GaussDB(DWS) management console and choose Clusters > Dedicated Clusters.
  2. 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.

  3. 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

  1. In the left navigation pane of the Cloud Eye management console, choose Dashboard > Panels.
  2. On the page that is displayed, click Create Panel. In the displayed dialog box, enter the name and click OK.
  3. Click Add Graph in the upper right corner.
  4. In the displayed dialog box, configure the title and monitoring metrics.

    NOTE:

    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

  5. 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.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback