Note
This parameter is available starting with V2.2.50.
Description
stack_size specifies the size of the program function call stack.
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
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Capacity |
| Default value | 512K. The default unit is MB. You must specify the unit when you configure this parameter.
NoteFor V4.0.0, the default value of this parameter is changed from 1M to 512K. |
| Value range | [512K, 20M] |
| 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. |
Examples
Set the size of the program function call stack to 512K.
obclient> ALTER SYSTEM SET stack_size = '512K';