Note
This parameter is available starting with V4.2.5.
Description
recover_table_dop specifies the maximum number of tables that can be restored in parallel during the cross-tenant data import phase of table-level restore.
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 all user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 0, which indicates that the default parallelism is 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 is used only to control the parallelism during the cross-tenant data import phase of table-level restore. For more information about the table-level restore process, see Restore process.
For more information about the parallel restore feature, see Execute a table-level restore.
Examples
Set the parallelism of single-table restore for the mysql tenant to 6.
obclient> ALTER SYSTEM SET recover_table_dop = 6 TENANT = 'mysql';