Overview
stack_size specifies the size of the function call stack for the program.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Capacity |
| Default Value | 512 KB. The default unit is MB. You must specify the unit when configuring it. |
| Value range | [512K, 20M] |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | Yes, a restart is required for the changes to take effect. |
Configuration example
Set the program function call stack size to 512K.
obclient> ALTER SYSTEM SET stack_size = '512K';