Note
This parameter was introduced in OceanBase Database V4.2.5.
Description
recover_table_concurrency specifies the maximum number of tables for concurrent restore in the cross-tenant table import phase of a table-level restore.
Limitations
Query the parameter
In the
systenant or a user tenant, you can execute theSHOW PARAMETERSstatement to query the parameter or query theGV$OB_PARAMETERSview for the parameter.Modify the parameter
You can modify the parameter in the
systenant or a user tenant.
Attributes
| Attribute | Description |
|---|---|
| Type | Integer |
| Default value | 0 |
| Value range | [0, INT_MAX) |
| 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 controls only the concurrency in the cross-tenant table import phase of a table-level restore. For more information about the table restore process, see Restore process.
Examples
Set the concurrency for the mysql tenant to 3.
obclient> ALTER SYSTEM SET recover_table_concurrency = 3 TENANT = 'mysql';