Note
For V2.2.50, this parameter is available starting with V2.2.50.
Description
default_row_format specifies the default row format when you create a table in MySQL mode.
Applicability
This parameter is applicable only to OceanBase Database in MySQL mode.
Privilege requirements
Query the parameter
You can execute the
SHOW PARAMETERSstatement or query theGV$OB_PARAMETERSview in thesystenant and all user tenants to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | DYNAMIC |
| 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. |
Examples
Set the default row format to DYNAMIC when you create a table in MySQL mode.
obclient> ALTER SYSTEM SET default_row_format= 'DYNAMIC';