Description
The CREATE TABLESPACE statement creates a tablespace logical object. The tablespace attributes can be encrypted.
Syntax
CREATE TABLESPACE tablespace_name [ENCRYPTION USING 'AES-256|AES-128|AES-192|SM4']
Parameter description
| Parameter | Description |
|---|---|
| tablespace_name | Specifies the name of the tablespace object to be created. |
| ENCRYPTION USING | The keyword for using encryption. |
| AES-256|AES-128|AES-192|SM4 | Represents different encryption algorithms. |
Examples
- Create a tablespace object.
CREATE TABLESPACE ob_tablespace;
CREATE TABLESPACE ob_tablespace ENCRYPTION USING 'AES-256';