Note
For V4.3.5, this parameter is available starting with V4.3.5 BP5.
Description
default_skip_index_level specifies the mechanism for generating Skip Indexes in incremental SSTables of a tenant.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | INT |
| Default value | 0 |
| Value range |
|
| 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. |
Considerations
The default_skip_index_level parameter only affects tables created in user tenants.
- If
default_skip_index_level = 0, incremental SSTables do not generate Skip Indexes. - If
default_skip_index_level = 1, incremental SSTables generate Skip Indexes in columns that are included in the baseline SSTables. This option applies only to tables wheremerge_engine = 'delete_insert'.
Examples
In MySQL mode: Set the default value of the
skip_index_levelparameter for tables created in a user tenant to 1.obclient> ALTER SYSTEM SET default_skip_index_level = 1;In Oracle mode: Set the default value of the
skip_index_levelparameter for tables created in a user tenant to 1.obclient> ALTER SYSTEM SET "default_skip_index_level" = 1;