Overview
ls_scale_out_factor indicates the scaling-out factor for log streams, which controls the number of log streams per tenant on each service node.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Both the
systenant and user tenants can use theALTER SYSTEM SETstatement to modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 1 |
| Value range | [1, 10] |
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
In the sys tenant, set the expansion factor for tenant
mytestto 2.obclient> ALTER SYSTEM SET ls_scale_out_factor = 2 TENANT = mytest;In the user tenant, set the tenant's expansion factor to 2.
obclient> ALTER SYSTEM SET ls_scale_out_factor = 2;
References
For detailed operations on pre-expanding a tenant, see Pre-expand a tenant.