Note
- For V4.3.x, this parameter is available starting with V4.3.5.
- For V4.2.x, this parameter is available starting with V4.2.5.
Description
recover_table_dop specifies the maximum number of tables that can be recovered in parallel during the cross-tenant data import phase of table-level recovery.
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, indicating a default parallelism of 1 |
| Value range | [0, +∞) |
| 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. |
Considerations
This parameter only controls the parallelism during the cross-tenant data import phase of table-level recovery. For more information about the table-level recovery process, see Recovery process.
For more information about the parallel recovery feature, see Execute table-level recovery.
Examples
Set the parallelism for single-table recovery in the mysql tenant to 6.
obclient> ALTER SYSTEM SET recover_table_dop = 6 TENANT = 'mysql';