Note
- For V4.4.x, this parameter was introduced starting with V4.4.2.
- For V4.3.5, this parameter was introduced starting with V4.3.5 BP4.
Description
The enable_mlog_auto_maintenance clause enables or disables the automatic management feature of materialized view logs (mlogs).
Privilege requirements
Query the parameter
sysand all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this configuration.Modify the parameter
You can change the value of this parameter in the
systenant or user tenants.
Attributes
| Attribute | Description |
|---|---|
| Parameter 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 mlog automation.
obclient> ALTER SYSTEM SET enable_mlog_auto_maintenance = True;