Note
This statement is supported from V4.4.0.
Purpose
This statement is used to import a specified module 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 = {gis|timezone}
tenant = <tenant_name>
infile = <file_name>;
Syntax
| Field | Description |
|---|---|
| module | Required.
|
| tenant | Required. Specifies the tenant to which the module is to be imported. |
| infile | Optional. The path to the data file to be imported. You can specify an absolute path or a relative path to the working directory of an OBServer node. If you do not specify this parameter, the system uses the default file path and file name. |
Examples
Import the GIS module to a MySQL-compatible tenant:
ALTER SYSTEM LOAD MODULE DATA module=gis tenant=mysql;