This topic describes how to change the interval at which monitoring data is collected.
Procedure
Log on to the PolarDB console. Click Clusters in the left-side navigation pane. Select a region in the upper-left corner and click the ID of the cluster in the list to go to the Basic Information page.
In the left-side navigation pane, choose .
In the Time Granularity drop-down list, select 5 Seconds or use the default value 1 Minute.
When Time Granularity is set to 5 Seconds, the interval at which monitoring data is displayed is determined based on the following rules:
If the time range within which data is queried is less than or equal to 1 hour, the monitoring data is displayed at an interval of 5s.
If the time range within which data is queried is less than or equal to one day, the monitoring data is displayed at an interval of 1 minute.
If the time range within which data is queried is less than or equal to seven days, the monitoring data is displayed at an interval of 10 minutes.
If the time range within which data is queried is less than or equal to 30 days, the monitoring data is displayed at an interval of 1 hour.
If the time range within which data is queried is more than 30 days, the monitoring data is displayed at an interval of one day.
When Time Granularity is set to 1 Minute, the interval at which monitoring data is displayed is determined based on the following rules:
If the time range within which data is queried is less than or equal to one day, the monitoring data is displayed at an interval of 1 minute.
If the time range within which data is queried is less than or equal to seven days, the monitoring data is displayed at an interval of 10 minutes.
If the time range within which data is queried is less than or equal to 30 days, the monitoring data is displayed at an interval of 1 hour.
If the time range within which data is queried is more than 30 days, the monitoring data is displayed at an interval of one day.
Related API operations
Operation | Description |
Changes the interval at which the monitoring data of a specified PolarDB cluster is collected. |