query_cache_type queries the cache type.
Note
At present, this variable does not take effect.
| Attribute | Description |
|---|---|
| Type | varchar |
| Default value | OFF |
| Value range | SELECT SQL_NO_CACHE ... query.SELECT SQL_CACHE ... query. |
| Applicable scope | Global |
| Modifiable? | You can set the variable when you create a tenant. After the tenant is created, you cannot modify the variable by executing SQL statements. For more information, see Set variables. |