Overview
enable_upgrade_mode specifies whether to enable upgrade mode. In upgrade mode, some system background functions are suspended.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Bool |
| Default Value | False |
| Value range |
|
| Modifiable | Yes, you can use the following methods:ALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Usage instructions
Before the upgrade, you can use this system parameter to uniformly control features that need to be disabled (such as DDL operations), simplifying the upgrade process. Set enable_upgrade_mode to True before the upgrade and set it to False after the upgrade.
Configuration example
Set the upgrade mode to disabled.
obclient> ALTER SYSTEM SET enable_upgrade_mode = False;