Note
For V2.2.50, this parameter is available starting with V2.2.50.
Description
stack_size specifies the size of the call stack for program functions.
Privilege requirements
Query the parameter
The
systenant and 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 default unit is MB. You must specify the unit when you configure this parameter.
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 | No. The setting takes effect immediately. |
Examples
Set the size of the call stack for program functions to 512K.
obclient> ALTER SYSTEM SET stack_size = '512K';