Oracle 视图 V$ONLINE_REDEF 官方解释,作用,如何使用详细说明
本站中文解释
V$ONLINE_REDEF字典视图显示某个用户发起的online redefinition操作。在online redefinition期间,要重定义的表会被复制为另外一张表,这时,Oracle会将这个操作信息保存在V$ONLINE_REDEF视图中。该视图中包括几个字段:
• SOURCE_OWNER:被重定义表所属的用户。
• SOURCE_TABLE:被重定义的表名。
• DEST_OWNER:目标表所属的用户。
• DEST_TABLE:目标表的名称。
• REDEF_TIMESTAMP:online redefinition的执行时间。
• REDEF_OUTCOME:online redefinition的执行结果。
• REDEF_STATUS:online redefinition的状态。
使用V$ONLINE_REDEF视图来查询当前正在进行的online redefinition操作,或者查询在某个时间段内的活动的online redefinition任务:
SELECT * FROM V$ONLINE_REDEF WHERE REDEF_TIMESTAMP > SYSDATE-1;
官方英文解释
V$ONLINE_REDEF
provides information about the status of currently running online redefinitions.
Column | Datatype | Description |
---|---|---|
|
|
Session identifier |
|
|
Session serial number, which is used to uniquely identify a session’s objects |
|
|
Redefinition identifier |
|
|
Owner of the table currently being redefined. The table resides in this user’s schema. |
|
|
Name of the original table |
|
|
Interim table currently being redefined |
|
|
Partition of the table currently being redefined. The table resides in this user’s schema. |
|
|
Operations during the redefining process:
|
|
|
Sub operation during the redefining process |
|
|
Details of operations during redefining process. This can include details such as the number of DML being processed, execution start_time, and partition_name |
|
|
Percentage of completion of each operation |
|
|
The SQL ID for the statement in the |
|
|
A refresh statement executed during a refresh operation in some online redefinition procedures. When refresh is a sub operation in the |
|
|
The ID of the container to which the data pertains. Possible values include:
|