Purpose
The V$ENCRYPTED_TABLESPACES view displays the encryption status of tablespaces that have enabled encryption.
Note
This view is introduced since OceanBase Database V2.2.77.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TABLESPACE_ID | NUMBER(38) | NO | The ID of the tablespace. |
| ENCRYPTIONALG | VARCHAR2(30) | NO | The name of the encryption algorithm. Valid values: |
| ENCRYPTED | VARCHAR2(3) | NO | Indicates whether the encryption is completed. Valid values: |
| ENCRYPTEDKEY | VARCHAR2(32) | NO | The encryption key encrypted by the master key. |
| MASTERKEYID | NUMBER(38) | NO | The ID of the master key. |
| BLOCKS_ENCRYPTED | NUMBER | NO | The number of encrypted macroblocks. |
| BLOCKS_DECRYPTED | NUMBER | NO | The number of macroblocks that are not encrypted. |
| STATUS | VARCHAR2(10) | NO | The encryption status. Valid values: NORMAL: normalENCRYPTING: being encryptedDECRYPTING: being decrypted |
| CON_ID | NUMBER(38) | NO | The ID of the tenant. |