Overview
async_ps_cursor_max_count specifies the maximum number of asynchronous PS cursors allowed on a single node.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can execute theSHOW PARAMETERSstatement to query this parameter.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 0 |
| Value range | [0,1024] |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Usage instructions
When the async_ps_cursor_max_count value is set to 0, it indicates that PS cursors do not use asynchronous execution. When it is set to a value other than 0, it indicates the maximum number of asynchronous PS cursors allowed on a single node.
Configuration example
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;