Function
v$encrypted_tablespaces displays the encryption status of tablespaces with encryption enabled.
Field description
| Name | Type | Nullable | Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| TABLESPACE_ID | bigint(20) | NO | The ID of the tablespace. |
| ENCRYPTIONALG | varchar(30) | NO | The name of the encryption algorithm. Values: * AES-128 * AES-192 * AES-256 * SM4 |
| ENCRYPTED | varchar(3) | NO | Whether the encryption is completed. Values: * YES * NO |
| ENCRYPTEDKEY | varchar(33) | NO | The encryption key encrypted by the master key. |
| MASTERKEYID | bigint(20) unsigned | NO | The ID of the master key. |
| BLOCKS_ENCRYPTED | decimal(20,0) | NO | The number of encrypted macro blocks. |
| BLOCKS_DECRYPTED | decimal(21,0) | NO | The number of macro blocks that are not encrypted. |
| STATUS | varchar(10) | NO | The encryption status. Values: * NORMAL: normal * ENCRYPTING: being encrypted * DECRYPTING: being decrypted |