Note
For V4.4.1, this parameter is available starting with V4.4.1.
Description
mds_compaction_mid_thread_score specifies the number of DAG threads for MDS minor compaction with medium priority. The priority queue of MDS minor compaction is used for MDS minor compaction.
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 | Int |
| Default value | 0, which indicates that the default value of 2 is used |
| 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 number for MDS minor compaction with medium priority in the user tenant to 2.
obclient> ALTER SYSTEM SET mds_compaction_mid_thread_score = 2;Set the DAG thread number for MDS minor compaction with medium priority in the
mysqltenant to 2.obclient> ALTER SYSTEM SET mds_compaction_mid_thread_score = 2 TENANT = 'mysql';
References
The following table lists the parameters related to data compaction.
