This topic describes how to change the interval at which monitoring data is collected.
Procedure
- Log on to the PolarDB console.
- In the upper-left corner of the console, select the region where the cluster that
you want to manage is deployed.
- Find the cluster that you want to manage and click the cluster ID.
- In the left-side navigation pane, choose .
- Click Change Data Collection Interval.
- In the Change Data Collection Interval dialog box, set Data Collection Interval to 5s or use the default value 60s based on your business requirements.

- When Data Collection Interval is set to 5s, 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 Data Collection Interval is set to 60s, 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.
- Click OK.
Related API operations
Operation |
Description |
ModifyDBClusterMonitor |
Changes the interval at which the monitoring data of a specified PolarDB cluster is collected.
|