This section applies only to MRS 3.3.0 or later.
This alarm is generated when data skew occurs in the local table of a distributed table between ClickHouse nodes. This alarm is automatically cleared when data becomes balanced.
Data skew check method:
After data skew check is enabled, if the data volume in a table is less than the min_table_check_data_bytes value, no alarm will be reported due to data skew. When the data volume is greater than the min_table_check_data_bytes value and the data volume difference between the same table on different nodes is greater than the percentage specified in min_table_data_varies_rate, data skew occurs and this alarm is reported.
Alarm ID |
Alarm Severity |
Auto Cleared |
---|---|---|
45436 |
Minor |
Yes |
Parameter |
Description |
---|---|
Source |
Specifies the cluster or system for which the alarm is generated. |
ServiceName |
Specifies the service for which the alarm is generated. |
RoleName |
Specifies the role for which the alarm is generated. |
Table |
Specifies the database name and table name for which the alarm is generated. |
SQL execution efficiency may be lowered.
The data write policy is improper, causing unbalanced data among nodes.
cd {Client installation path}
source bigdata_env
clickhouse client --host IP address of the ClickHouseServer instance that reports the alarm --port 9440 --secure
clickhouse client --host IP address of the ClickHouseServer instance that reports the alarm --user Username --password --port 9000
select FQDN(), database, table, sum(data_compressed_bytes) from clusterAllReplicas(Name of the logical cluster, system.parts) where database='Database name' and table='Table name' and active=1 group by (FQDN(), database, table);
Collect fault information.
This alarm is automatically cleared after the fault is rectified.
None.