Purpose
You can use this statement to check whether the specified or all features have been loaded to a specific tenant.
Syntax
Notice
You can execute this statement only in the sys tenant.
The syntax is as follows:
ALTER SYSTEM CHECK MODULE DATA
module = {redis}
tenant = <tenant_name> ;
Parameters
| Parameter | Description |
|---|---|
| module | Required. The module whose features are loaded to the tenant. At present, only the value redis is supported. |
| tenant | Required. The target tenant. |
Examples
Check whether the features of the OBKV-Redis module have been successfully loaded to the mysql tenant.
ALTER SYSTEM CHECK MODULE DATA module=redis tenant=mysql;
If the load fails, the following error is returned:
ERROR 4025 (HY000): redis module data is not complete, please retry loading
References
For more information about how to load specified features to a specific tenant, see LOAD MODULE DATA.