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 PS cursors on a node.
Privilege requirements
Query the parameter
systenant and all user tenants can use theSHOW PARAMETERSstatement to query this parameter.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 0, asynchronous execution is not used for PS cursors. If the value is not 0, it specifies the maximum number of asynchronous PS cursors on a 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;
