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
sysand all user tenants can query the value of this parameter by executing theSHOW PARAMETERSstatement or querying 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 unit is MB.
NoteStarting from V4.0.0, the default value of this parameter is adjusted 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 | Yes. You must restart the OBServer node. |
Examples
Set the size of the program function call stack to 512K.
obclient> ALTER SYSTEM SET stack_size = '512K';