Help Center/ GaussDB/ User Guide/ Instance Management/ Modifying the Recycle Bin Policy for a GaussDB Instance
Updated on 2025-08-11 GMT+08:00

Modifying the Recycle Bin Policy for a GaussDB Instance

GaussDB automatically moves deleted instances to the recycle bin. This section describes how to set the retention period of instances in the recycle bin.

Precautions

  • The recycle bin is enabled by default and cannot be disabled. The deleted instances can be retained for 7 days by default.
  • The new recycling policy only applies to instances that were put in the recycle bin after the new policy was put into effect. Those already in the recycle bin follow the original policy.

Billing

Instances in the recycle bin will not incur charges.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page and choose Databases > GaussDB.
  4. In the navigation pane on the left, choose Recycle Bin.
  5. Click Modify Recycling Policy. In the displayed dialog box, set the retention period for the deleted DB instances from 1 day to 7 days.

    Figure 1 Modifying the recycling policy

  6. Click OK.

Related Operations

Rebuilding a GaussDB Instance