Oracle 视图 REDACTION_VALUES_FOR_TYPE_FULL 官方解释,作用,如何使用详细说明

本站中文解释

Oracle视图 REDACTION_VALUES_FOR_TYPE_FULL 是一种数据屏蔽的快捷方式,它可以将敏感信息屏蔽掉。其中的REDACTION_VALUES表定义了要被屏蔽的数据以及屏蔽后需要显示的字符。

使用方法:

首先,创建一个REDACTION_VALUES表,其中包括被屏蔽的值、屏蔽后要显示的字符串以及被屏蔽值的数据类型 (注意区分大小写)。

然后,使用REDACTION_VALUES表中的数据,在Oracle数据库中创建一个名为“REDACTION_VALUES_FOR_TYPE_FULL”的视图,其中显示的列包括了被屏蔽的值以及屏蔽后显示的字符。

最后,在SQL语句中使用 REDACTION_VALUES_FOR_TYPE_FULL 视图,将 REDACTION_VALUES表中定义的数据进行屏蔽,从而保护数据的安全性。

官方英文解释

REDACTION_VALUES_FOR_TYPE_FULL shows all of the current values for full redaction.

For example, if a redaction policy is applied to a column of type BINARY_DOUBLE and the redaction type is full redaction, that column will be redacted with the value shown in the BINARY_DOUBLE_VALUE column of this view.

Column Datatype NULL Description

NUMBER_VALUE

NUMBER

NOT NULL

Redaction result for full redaction on NUMBER columns

BINARY_FLOAT_VALUE

BINARY_FLOAT

NOT NULL

Redaction result for full redaction on BINARY_FLOAT columns

BINARY_DOUBLE_VALUE

BINARY_DOUBLE

NOT NULL

Redaction result for full redaction on BINARY_DOUBLE columns

CHAR_VALUE

VARCHAR2(1)

Redaction result for full redaction on CHAR columns

VARCHAR_VALUE

VARCHAR2(1)

Redaction result for full redaction on VARCHAR2 columns

NCHAR_VALUE

NCHAR(1)

Redaction result for full redaction on NCHAR columns

NVARCHAR_VALUE

NVARCHAR2(1)

Redaction result for full redaction on NVARCHAR2 columns

DATE_VALUE

DATE

NOT NULL

Redaction result for full redaction on DATE columns

TIMESTAMP_VALUE

TIMESTAMP(6)

NOT NULL

Redaction result for full redaction on TIMESTAMP columns

TIMESTAMP_WITH_TIME_ZONE_VALUE

TIMESTAMP(6) WITH TIME ZONE

NOT NULL

Redaction result for full redaction on TIMESTAMP WITH TIME ZONE columns

BLOB_VALUE

BLOB

Redaction result for full redaction on BLOB columns

CLOB_VALUE

CLOB

Redaction result for full redaction on CLOB columns

NCLOB_VALUE

NCLOB

Redaction result for full redaction on NCLOB columns

See Also:

Oracle Database Advanced
Security Guide
for more information about Oracle Data Redaction


数据运维技术 » Oracle 视图 REDACTION_VALUES_FOR_TYPE_FULL 官方解释,作用,如何使用详细说明