tencent cloud

TDSQL Boundless

PERSIST

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2026-02-10 11:06:30

Function

INFORMATION_SCHEMA.PERSIST is used to display variables persisted to the MC.

Field Description

Field Name
Type
Description
VARIABLE_NAME
varchar(64)
Indicates the variable name.
VARIABLE_VALUE
varchar(1024)
Indicates the variable value.

Examples

Variables persisted to the MC can be queried through SELECT or SHOW.
tdsql>SELECT * FROM INFORMATION_SCHEMA.PERSIST;
+-------------------------+----------------+
| VARIABLE_NAME | VARIABLE_VALUE |
+-------------------------+----------------+
| tdstore_deadlock_detect | ON |
| tdsql_lock_wait_timeout | 50 |
+-------------------------+----------------+
2 rows in set (0.01 sec)

tdsql>SHOW PERSIST VARIABLES;
+-------------------------+-------+
| Variable_name | Value |
+-------------------------+-------+
| tdstore_deadlock_detect | ON |
| tdsql_lock_wait_timeout | 50 |
+-------------------------+-------+
2 rows in set (0.00 sec)


Ajuda e Suporte

Esta página foi útil?

comentários