标签:|| RoCE 查看 进度 text linux sid add tar
SELECT LAST_UPDATE_TIME AS 当前进度记录时间,
a.spid as linux进程,SE.SID,SE.serial#,
OPNAME AS SQL访问类型 /* 字段内容解释:https://www.cnblogs.com/jearay/p/5737910.html */,
TARGET AS 被占用的对象,
START_TIME AS SQL开始时间,
ELAPSED_SECONDS AS 总耗时_秒 /* 从操作开始总花费时间_秒 */,
TIME_REMAINING AS 预计剩余_秒,
TRUNC(SOFAR / TOTALWORK * 100, 2) || ‘%‘ AS 总进度 /* SOFAR 迄今为止完成的工作量,TOTALWORK 总工作量 */,
SQL_TEXT AS SQL内容
FROM V$SESSION_LONGOPS SL, V$SQLAREA SA, V$SESSION SE, v$process a
WHERE SL.SQL_HASH_VALUE = SA.HASH_VALUE
AND SL.SID = SE.SID
AND SOFAR != TOTALWORK
AND a.addr = se.paddr;
标签:|| RoCE 查看 进度 text linux sid add tar
原文地址:https://www.cnblogs.com/JIKes/p/12394095.html