Note
This statement is available from V4.2.5.
Purpose
This statement is used to import a specified feature to a specific tenant.
Syntax
Notice
Only the SYS tenant can execute this statement.
The syntax is as follows:
ALTER SYSTEM LOAD MODULE DATA
module = {redis|gis|timezone}
tenant = <tenant_name>
infile = <file_name>;
Syntax
| Field | Description |
|---|---|
| module | Required.
NoteFor V4.2.x versions, the value range of |
| tenant | Required. Specifies the tenant to operate on. |
| infile | Optional. The path of the data file to import. You can specify an absolute path or a relative path with respect to the OBServer working directory. If you do not specify this parameter, the internal default file path and file name are used. |
Examples
Import the OBKV-Redis module feature to the MySQL tenant:
ALTER SYSTEM LOAD MODULE DATA module=redis tenant=mysql;
References
To check whether a specified feature or all features have been imported to a specific tenant, see CHECK MODULE DATA.