Note
For OceanBase Database 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 feature of materialized view logs (mlogs).
Privilege requirements
Query the parameter
You can execute the
SHOW PARAMETERSstatement or query theGV$OB_PARAMETERSview to query this parameter in thesystenant and all user tenants.Modify the parameter
You can modify this parameter in the
systenant and all user tenants.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Boolean |
| Default value | True
NoticeIn OceanBase Database V4.3.5 BP4, the default value of this parameter is |
| Value range |
|
| Modifiable | Yes. You can execute the ALTER SYSTEM SET statement to modify this parameter. |
| Effective only after OBServer restart | No. The setting takes effect immediately. |
Examples
Disable the automatic management feature of mlogs.
obclient> ALTER SYSTEM SET enable_mlog_auto_maintenance = False;Enable the automatic management feature of mlogs.
obclient> ALTER SYSTEM SET enable_mlog_auto_maintenance = True;