Oracle 视图 DBA_SR_OBJ_STATUS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle 视图 DBA_SR_OBJ_STATUS 显示与 Flashback 数据库版本匹配的 USER_OBJECTS 表中每条记录的有效状态。这是一个只读视图,用于查看当前在数据库中的对象的状态。
使用 Oracle 视图 DBA_SR_OBJ_STATUS 的方法:
1. 在 Oracle 数据库中,执行以下 SQL 语句以查询 DBA_SR_OBJ_STATUS 视图:
SELECT * FROM DBA_SR_OBJ_STATUS;
2. 您也可以将 WHERE 子句添加到上述查询中,以检索满足指定条件的行,例如:
SELECT * FROM DBA_SR_OBJ_STATUS
WHEREobject_type = ‘TABLE’
AND object_name = ‘MY_TABLE’;
3. 您也可以使用 ORDER BY 子句按某个特定列来排序查询结果,例如:
SELECT * FROM DBA_SR_OBJ_STATUS ORDER BY object_name;
官方英文解释
DBA_SR_OBJ_STATUS
provides information on the status of objects registered for synchronous refresh for the current refresh operations for the current synchronous refresh groups in the database.
To see information on the status of objects registered for synchronous refresh, use the DBA_SR_OBJ_STATUS_ALL
view.
Related View
USER_SR_OBJ_STATUS
provides information on the status of objects registered for synchronous refresh for the current refresh operations for the current synchronous refresh groups in the database which are owned by the current user. Its columns are the same as those in DBA_SR_OBJ_STATUS
.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the synchronous refresh object |
|
|
|
Name of the synchronous refresh object |
|
|
Type of synchronous refresh object:
|
|
|
|
|
Group ID of the synchronous refresh group to which this object belongs |
|
|
Status of the synchronous refresh object:
|
|
|
|
Error number of the run (if any) |
|
|
|
Error message of the run (if any) |
|
|
|
Last modification time of the synchronous refresh object |
See Also:
“USER_SR_OBJ_STATUS”