Note
For V4.4.0, this parameter is available starting with V4.4.0.
Description
async_ps_cursor_max_count specifies the maximum number of asynchronous prepared statement (PS) cursors per node.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query the value of this parameter by using theSHOW PARAMETERSstatement.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 0 |
| Value range | [0, 1024] |
| 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
If the value of async_ps_cursor_max_count is set to 0, asynchronous execution is not used for PS cursors. If the value is not 0, it specifies the maximum number of asynchronous PS cursors per node.
Examples
Run the following command to set the maximum number of asynchronous PS cursors to 200.
obclient> ALTER SYSTEM SET async_ps_cursor_max_count = 200;