Skip to main content
Version: V1.4.1

View configuration items

Use SHOW PARAMETERS or the public V$OB_PARAMETERS view to inspect seekdb configuration items.

Use SHOW PARAMETERS​

To view all non-hidden configuration items, execute:

SHOW PARAMETERS;

To filter configuration items by name, execute:

SHOW PARAMETERS LIKE 'syslog_level';

Use SHOW PARAMETERS LIKE 'syslog_level' to inspect the current and default log level. Supported values are DEBUG, TRACE, WDIAG, EDIAG, INFO, WARN, and ERROR. An explicit --log-level at startup overrides the saved value.

The following table describes the main columns returned by SHOW PARAMETERS.

ColumnDescription
nameThe configuration item name.
data_typeThe data type of the configuration item.
valueThe current value.
infoA description of the configuration item.
edit_levelDYNAMIC_EFFECTIVE means that a change takes effect dynamically, STATIC_EFFECTIVE means that a change takes effect after restart, and READONLY means that the item cannot be modified.
default_valueThe default value.
isdefaultWhether the current value is the default value.

Use V$OB_PARAMETERS​

The V$OB_PARAMETERS view also exposes hidden configuration items and information about their scopes and modules:

SELECT NAME, VALUE, DEFAULT_VALUE, EDIT_LEVEL, ISDEFAULT
FROM oceanbase.V$OB_PARAMETERS
WHERE NAME = 'syslog_level';

To query memory-related configuration items, execute:

SELECT NAME, VALUE, DEFAULT_VALUE, EDIT_LEVEL
FROM oceanbase.V$OB_PARAMETERS
WHERE NAME IN ('memory_budget', 'kvcache_memory_limit',
'memstore_memory_limit', 'vector_memory_limit');

For the meanings of these memory configuration items and migration guidance, see Memory configuration.

References​