HomeMogDBMogDB StackUqbar
v3.0

Documentation:v3.0

Supported Versions:

Other Versions:

Flashback

This section describes parameters related to the flashback function.

enable_recyclebin

Parameter description: Specifies whether the recycle bin is enabled or disabled in real time.

This parameter is a SIGHUP parameter. Set it based on instructions provided in Table 1 GUC parameters.

Value range: Boolean

Default value: off

timecapsule_mode

Parameter description: Specifies whether to enable the flashback function.

This parameter is a SIGHUP parameter. Set it based on instructions provided in Table 1 GUC parameters.

Value range: enumerated values

  • none indicates that the flashback function is disabled.
  • heap indicates that only the flashback function of the Heap engine is enabled.
  • ustore indicates that only the flashback function of the UStore engine is enabled.
  • all indicates that the flashback function is enabled for both the Heap and UStore engines.

Default value: none

recyclebin_retention_time

Parameter description: Specifies the retention period of objects in the recycle bin. The objects will be automatically deleted after the retention period expires.

This parameter is a SIGHUP parameter. Set it based on instructions provided in Table 1 GUC parameters.

Value range: an integer ranging from 1 to 2147483647. The unit is s.

Default value: 15 min (900s)

version_retention_age

Parameter description: Specifies the number of transactions retained in the old version. If the number of transactions exceeds the value of this parameter, the old version will be recycled and cleared.

This parameter is a SIGHUP parameter. Set it based on instructions provided in Table 1 GUC parameters.

Value range: an integer ranging from 0 to 576460752303423487. 0 means no delay.

Default value: 0

img CAUTION: This parameter has been deprecated.

vacuum_defer_cleanup_age

Parameter description: Specifies the number of transactions by which VACUUM will defer the cleanup of invalid row-store table records, so that VACUUM and VACUUM FULL do not clean up deleted tuples immediately. You can also set this parameter to configure the retention period of the flashback function in the old version.

This parameter is a SIGHUP parameter. Set it based on instructions provided in Table 1 GUC parameters.

Value range: an integer ranging from 0 to 1000000. 0 means no delay. The value range needs to be extended to 100 million.

Default value: 0

img CAUTION: This parameter can be ignored when you use the Ustore engine to flash back. It serves the Astore flashback function of the earlier version and has other functions. The flashback function is not used in this version.

undo_retention_time

Parameter description: Specifies the period for retaining undo logs of earlier versions.

This parameter is a SIGHUP parameter. Set it based on instructions provided in Table 1 GUC parameters.

Value range: an integer ranging from 0 to 2147483647. The unit is second.

Default value: 0

Copyright © 2011-2024 www.enmotech.com All rights reserved.