From e1bdfae117320ef609be3eea50ee92130735ece4 Mon Sep 17 00:00:00 2001 From: Yacine31 Date: Fri, 6 May 2022 01:13:27 +0200 Subject: [PATCH] Create check_impdp_session_longops.sh --- check_impdp_session_longops.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 check_impdp_session_longops.sh diff --git a/check_impdp_session_longops.sh b/check_impdp_session_longops.sh new file mode 100644 index 0000000..c5a16cd --- /dev/null +++ b/check_impdp_session_longops.sh @@ -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 +