Create check_impdp_session_longops.sh

This commit is contained in:
Yacine31
2022-05-06 01:13:27 +02:00
parent bdbcfa9277
commit e1bdfae117

View File

@@ -0,0 +1,10 @@
sqlplus -S / as sysdba << EOF
alter session set nls_date_format='YYYY/MM/DD HH24:MI';
set pages 999 lines 150
col message for a60
col OPNAME for a20
col ELASEC for 999999
select OPNAME, START_TIME, LAST_UPDATE_TIME, ELAPSED_SECONDS ELASEC, MESSAGE from v\$session_longops where opname like '%IMP%' order by LAST_UPDATE_TIME asc;
exit;
EOF