1.通过查询dba_datapump_sessions和dba_datapump_jobs联合视图来实现:
SQL> select a.owner_name,a.job_name,b.state,b.job_mode from dba_datapump_sessions a,dba_datapump_jobs b where a.job_name=b.job_name;
2.也可以通过查询v$session_longops视图来实现,具体语句如下:
SQL>select round(sofar/totalwork*100,2) percent_completed, v$session_longops.* from v$session_longops where sofar <> totalwork order by target, sid;
SQL> select a.owner_name,a.job_name,b.state,b.job_mode from dba_datapump_sessions a,dba_datapump_jobs b where a.job_name=b.job_name;
2.也可以通过查询v$session_longops视图来实现,具体语句如下:
SQL>select round(sofar/totalwork*100,2) percent_completed, v$session_longops.* from v$session_longops where sofar <> totalwork order by target, sid;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/15498/viewspace-1969287/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/15498/viewspace-1969287/