Updated on 2025-12-19 GMT+08:00

Setting a Maintenance Window

System maintenance is essential for keeping services running smoothly. To avoid workload interruption during peak hours, you can set a maintenance window for GeminiDB Redis instances. The default maintenance window is 10:00 to 14:00 (GMT+08:00). Maintenance during off-peak hours helps reduce the impact on workloads.

Usage Notes

  • You can configure a maintenance window only for restarting a DB instance, changing an instance class, or upgrading the minor version of a DB instance.
  • The specification change and patch upgrade that have been performed during the maintenance period cannot be performed immediately. The instance can be restarted immediately.
  • You can cancel a scheduled task.
  • Changing the maintenance window will not affect the timing that has already been scheduled.
  • The maintenance window cannot overlap the time window configured for backups. Otherwise, scheduled tasks may fail.
  • During the maintenance window, the scheduled task is scanned and executed every 10 minutes. If the task is delivered near the end of the maintenance period, the task may fail to be scanned and the execution is canceled.

Setting the Maintenance Period

  1. Log in to the GeminiDB console.
  2. On the Instances page, click the target instance. The Basic Information page is displayed.
  3. On the Basic Information page, locate Maintenance Window and click Change.

    Figure 1 Change

  4. On the Change Maintainable Window page, select the maintenance time period as needed, and then click OK.

    Supported time periods: 02:00-06:00, 06:00-10:00, 10:00-14:00, 14:00-18:00, 18:00-22:00, and 22:00-02:00

    Figure 2 Changing a maintenance window

  5. Check the result.

    On the Basic Information page, you can view the changed maintenance window.

Related APIs

API

Description

Querying the Maintenance Period of an Instance

Queries the maintenance period of an instance.