recyclebin_object_expire_time

2023-10-31 11:17:11  Updated

recyclebin_object_expire_time specifies the lifetime of a schema in the recycle bin. A schema that reached its lifetime in the recycle bin is automatically purged.

Description

Property Description
Type INTERVAL
Default value 0s
Value range [0s,+∞)
Effective upon OBServer node restart No

recyclebin_object_expire_time can be set to:

  • 0s: Automatic purging is disabled.

  • A value other than 0s: Schemas that have remained in recycle bin for the specified time will be purged.

Examples

  • Disable automatic purging:

    obclient> ALTER SYSTEM SET recyclebin_object_expire_time = "0s";
    
  • Enable automatic purging and purge schemas that entered the recycle bin seven days ago:

    obclient> ALTER SYSTEM SET recyclebin_object_expire_time = "7d";
    

Contact Us