Oracle 视图 DBA_COMPARISON_SCAN 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图 DBA_COMPARISON_SCAN 是Oracle高级安全特性「比较扫描」的概念实现,主要用来记录数据库对象上执行SQL比较操作的记录。主要信息包括:比较操作发起者、比较操作执行时间、比较操作执行查询、比较操作执行结果等信息。
使用 DBA_COMPARISON_SCAN 视图,可以通过数据库函数 DBMS_COMPARISON 来比较数据库对象的状态,进而检查数据库是否有变更,以便及时采取必要的响应措施,保证数据库安全。
要使用DBA_COMPARISON_SCAN视图,必须先执行DBMS_COMPARISON模块中的COMPARISON函数,将比较信息记录在视图中,然后才能检索出与比较操作相关的信息。
官方英文解释
DBA_COMPARISON_SCAN
displays information about all comparison scans in the database.
Related View
USER_COMPARISON_SCAN
displays information about the comparison scans owned by the current user. This view does not display the OWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the comparison scan |
|
|
|
Name of the comparison scan |
|
|
|
Scan ID |
|
|
Scan ID of the immediate parent scan |
|
|
|
Scan ID of the root (top-most) parent |
|
|
|
Status of the scan:
|
|
|
|
Current cumulative (including children) diff count of the scan |
|
|
|
Initial cumulative (including children) diff count of the scan |
|
|
|
Number of rows in the scan |
|
|
|
Indicates whether NULLs are part of this scan ( |
|
|
|
Time that this row was last updated |
See Also:
“USER_COMPARISON_SCAN”