Note
- For V4.6.x, this parameter is available starting with V4.6.0.
- For V4.4.x, this parameter is available starting with V4.4.2.
- For V4.3.5, this parameter is available starting with V4.3.5 BP4.
Description
enable_mlog_auto_maintenance specifies whether to enable the automatic management of materialized view logs (mlogs).
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Bool |
| Default value | True
NoticeIn OceanBase Database V4.3.5 BP4:
|
| 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. |
Examples
Disable the automatic management of mlogs.
obclient> ALTER SYSTEM SET enable_mlog_auto_maintenance = False;Enable the automatic management of mlogs.
obclient> ALTER SYSTEM SET enable_mlog_auto_maintenance = True;
