Note
For V4.2.5, this parameter is available starting with V4.2.5 BP1.
Description
ls_scale_out_factor specifies the scaling-out factor of a log stream. This parameter specifies the number of log streams in each service node of a tenant.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
The
systenant and user tenants can use theALTER SYSTEM SETstatement to modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 1 |
| Value range | [1, 10] |
| 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 scaling-out factor of the
mytesttenant to 2 in thesystenant.obclient> ALTER SYSTEM SET ls_scale_out_factor = 2 TENANT = mytest;Set the scaling-out factor of the current user tenant to 2.
obclient> ALTER SYSTEM SET ls_scale_out_factor = 2;