Note
This parameter is available starting with V1.4.
Description
enable_upgrade_mode specifies whether to enable the upgrade mode. In the upgrade mode, some background system features are suspended.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query the value of this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Bool |
| Default value | False |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
Before you upgrade the system, you can disable some features that need to be disabled (such as DDL operations) by setting this parameter to True. After the upgrade, set this parameter to False.
Examples
Disable the upgrade mode.
obclient> ALTER SYSTEM SET enable_upgrade_mode = False;
