doc-exports/docs/dws/dev/dws_04_0785.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:24:04 +00:00

5.4 KiB

PG_TDE_INFO

PG_TDE_INFO displays the encryption information about the current cluster.

Table 1 PG_TDE_INFO columns

Name

Type

Description

is_encrypt

text

Whether the cluster is an encryption cluster

  • f: Non-encryption cluster
  • t: Encryption cluster

g_tde_algo

text

Encryption algorithm

  • SM4-CTR-128
  • AES-CTR-128

remain

text

Reserved columns

Examples

Check whether the current cluster is encrypted, and check the encryption algorithm (if any) used by the current cluster.

1
2
3
4
5
SELECT * FROM PG_TDE_INFO;
 is_encrypt | g_tde_algo  | remain
------------+-------------+--------
 f          | AES-CTR-128 | remain
(1 row)