Oracle - How to determine if a table is TDE encrypted

痴心易碎 提交于 2019-12-23 22:13:02

问题


As mentioned in the topic: How to tell if in Oracle a table is encrypted with TDE or not? Couldn't find anything asking Google.


回答1:


This information can be obtained from [dba | all | user]_encrypted_columns data dictionary view(s)

administer key management set keystore open identified by password;
administer key management set key identified by password with backup;

-- test table with one encrypted column   
create table tb_encrpt (
  c1 varchar2(10) encrypt
)
tablespace encrypt_tbs;

Display information about encrypted tables' columns

column table_name format a10;
column column_name format a10;
column encryption_alg format a10;

select table_name
     , column_name
     , encryption_alg
  from dba_encrypted_columns

The result:

TABLE_NAME COLUMN_NAM ENCRYPTION
---------- ---------- ----------
TB_ENCRPT  C1         AES 192 bi


1 row selected.

How to tell if in Oracle a table is encrypted with TDE or not?

If a table is not present in the [dba | all | user]_encrypted_columns then it has no encrypted columns.



来源:https://stackoverflow.com/questions/46665338/oracle-how-to-determine-if-a-table-is-tde-encrypted

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!