tencent cloud

TDSQL Boundless

PERSIST

PDF
Focus Mode
Font Size
Last updated: 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)


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback