V$ENCRYPTED_TABLESPACES

2023-12-08 07:13:36  Updated

Purpose

The V$ENCRYPTED_TABLESPACES view displays the encryption status of tablespaces with encryption enabled.

Note

This view is introduced since OceanBase Database V2.2.77.

Columns

Column Type Nullable? Description
TABLESPACE_ID bigint(20) NO The ID of the tablespace.
ENCRYPTIONALG varchar(30) NO The name of the encryption algorithm. Valid values:
  • AES-128
  • AES-192
  • AES-256
  • SM4
  • ENCRYPTED varchar(3) NO Indicates whether the encryption is completed. Valid 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 macroblocks.
    BLOCKS_DECRYPTED decimal(21,0) NO The number of macroblocks that are not encrypted.
    STATUS varchar(10) NO The encryption status. Valid values:
  • NORMAL: normal
  • ENCRYPTING: being encrypted
  • DECRYPTING: being decrypted
  • CON_ID bigint(20) NO The ID of the tenant.

    Contact Us