enable_sql_extension

2025-11-14 07:33:33  Updated

Note

For V3.2.1, this parameter is available starting with V3.2.1.

Description

enable_sql_extension specifies whether to enable the SQL extension feature for a tenant.

Applicability

This parameter is applicable only to OceanBase Database in MySQL mode.

Privilege requirements

  • Query the parameter

    The sys tenant and all user tenants can query this parameter by using the SHOW PARAMETERS statement or the GV$OB_PARAMETERS view.

  • Modify the parameter

    The sys tenant and user tenants can modify this parameter.

Attributes

Attribute Description
Parameter type Bool
Default value False
Value range
  • True: enabled
  • False: disabled
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

Disable the SQL extension feature for a tenant.

obclient> ALTER SYSTEM SET enable_sql_extension = False;

References

Manually collect statistics

Contact Us