Note
For V4.4.1, this parameter is available starting with V4.4.1.
Description
mds_compaction_high_thread_score specifies the number of threads for the DAG of high-priority MDS compaction. The high-priority MDS compaction queue is used by MDS Mini Dump.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 0, which indicates the default value of 2 |
| Value range | [0,100] |
| 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
Set the DAG thread count for high-priority MDS compaction of the current user tenant to 4.
obclient> ALTER SYSTEM SET mds_compaction_high_thread_score = 4;Set the DAG thread count for high-priority MDS compaction of the
mysqltenant to 4.obclient> ALTER SYSTEM SET mds_compaction_high_thread_score = 4 TENANT = 'mysql';
References
The following table lists the parameters related to data compaction.
