Parameter types

2025-09-08 08:15:43  Updated

ApsaraDB for OceanBase supports multiple parameter types, including BOOL, CAPACITY, DOUBLE, INT, MOMENT, STRING, STRING_LIST, and TIME.

The following table describes the main parameter types and default units.

Parameter Description
BOOL The Boolean type. Valid values: true and false.
CAPACITY The capacity. The unit can be byte, kilobyte, megabyte, gigabyte, terabyte, or petabyte. The unit is not case-sensitive. By default, the unit is megabyte.
DOUBLE The double-precision floating-point type. A 64-bit value of this type is accurate to 15 digits after the decimal point and has 16 significant digits at most.
INT The 64-bit integer type. The value can be a positive integer, negative integer, or zero.
MOMENT The time point. The value is in the hh:mm format, for example, 02:00. You can also set this parameter to disable. This indicates that the time is not specified. MOMENT is used only in the major_freeze_duty_time parameter.
STRING The string type. You can enter a string based on the parameter description of ApsaraDB for OceanBase.
STRING_LIST A list of strings. Strings are separated with semicolons ;.
TIME The time type. The unit can be microsecond, millisecond, second, minute, hour, or day. By default, the unit is second. The unit is not case-sensitive.

Contact Us