Oracle 视图 DBA_XSTREAM_STMTS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_XSTREAM_STMTS用于显示特定的环境或属性的当前XStream传输语句。它不收集数据,而是使用已有的系统表,字典视图和后台数据库进程收集数据。
该视图在Oracle 11g中引入,主要用于跟踪XStream传输SQL语句。它提供一种简单的方法来检查正在在系统上执行的SQL语句。
使用它的主要方式有:
1、以活动会话的身份查询:
SELECT * FROM dba_xstream_stmts WHERE sid = ;
2、执行特定模式的查询:
SELECT * FROM dba_xstream_stmts WHERE username LIKE ”;
3、查询可能导致潜在故障的语句:
SELECT * FROM dba_xstream_stmts WHERE is_erroneous = 1;
官方英文解释
DBA_XSTREAM_STMTS
displays information about the statements in all XStream statement DML handlers in the database.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
| Name of the statement handler |
|
|
| Execution sequence of the statement |
|
| Text of the SQL statement | |
|
| Timestamp for statement creation | |
|
| Timestamp for statement modification |
编辑:一起学习网
标签:语句,视图,数据,已有,系统