23ai에서 추가된 datapump 작업 관련 성능 View
23ai 에서 datapump 관련 작업시 성능이슈에 대해서 debug 하는데 도움이 되는 View 가 추가되었다.
Data Pump New Diagnostic V$ Views For Performance Issues in 23ai (Doc ID 2920029.1)
(G)V$DATAPUMP_PROCESS_INFO
(G)V$DATAPUMP_PROCESSWAIT_INFO
(G)V$DATAPUMP_SESSIONWAIT_INFO
SQL> select * from v$datapump_process_info;
CUR_DATE PROGRAM SESSIONID STATUS USERNAME JOBNAME SPID SERIALNUMBER PROCESSID CON_ID
------------------- -------------------------------------- --------- -------- ---------- ------------------
2023-01-09 13:56:07 ude@orcl (TNS V1-V3) 42 ACTIVE SYSTEM SYS_EXPORT_FULL_01 3891480 11829 70 0
2023-01-09 13:56:07 oracle@orcl (DW00) 48 ACTIVE SYSTEM SYS_EXPORT_FULL_01 3891500 36244 82 0
2023-01-09 13:56:07 oracle@orcl (DM00) 149 ACTIVE SYSTEM SYS_EXPORT_FULL_01 3891494 42966 79 0
SQL> select * from gv$datapump_processwait_info;
INST_ID WAITING_SESSION HOLDING_SESSION SERIAL_NUMBER EVENT PROGRAM_WAITSESSION PROGRAM_HOLDINGDSESSION MODULE_WAITSESSION MODULE_HOLDINGSESSION DATAPUMP_LOCKID CON_ID
-------------------------------------------------------------------------------------------------------------------------------------------------------------
1 174 57 40525 enq: TM - contention oracle@orcl (DM00) oracle@orcl (DW00) Data Pump Master Data Pump Worker 79473 1
SQL> select * from gv$datapump_sessionwait_info;
INST_ID WAITING_SESSION SERIAL_NUMBER SEQ_NUMBER EVENT DP_WAITTIME DP_SECONDS_IN_WAIT DP_STATE_IN_WAIT DP_P1TEXT DP_P1 DP_P2TEXT DP_P2 DP_P3TEXT DP_P3 CON_ID
--------------------------------------------------------------------------------------------------------------------------------------------
1 46 65244 1319 enq: TM - contention 0 8086 WAITING name|mode 1414332419 object # 80996 table/partition 0