expdp 後台查看,expdp後台

來源:互聯網
上載者:User

expdp 後台查看,expdp後台

今天在執行導資料的命令expdp之後發現少放了一個參數,趕緊CTRL+C,誰這個操作只能表面cancel這個操作,其實後台還在運行。

system/******** schemas=CEN_DEV_OWNER20130506,CEN_DEV_USER20130506 directory=exp_dir dumpfile=expdp_cen052701.dmp,expdp_cen052702.dmp,expdp_cen052703.dmp,expdp_cen052704.dmp,expdp_cen052705.dmp logfile=expdp_cen0527.log parallel=5

如何查出來並真正停掉這個任務呢?查了一些資料,操作如下:

從這兩個查詢來確定正在啟動並執行dump job name:select * from DBA_DATAPUMP_JOBS;select * from DBA_DATAPUMP_SESSIONS;SQL> select * from DBA_DATAPUMP_SESSIONS;OWNER_NAME      JOB_NAME                          INST_ID SADDR            SESSION_TYPE--------------- ------------------------------ ---------- ---------------- --------------SYSTEM          SYS_EXPORT_SCHEMA_01                    1 000000097472AE68 MASTERSYSTEM          SYS_EXPORT_SCHEMA_01                    1 000000095079A4E8 WORKER進入expdp互動介面:C:\Users\Administrator>expdp system/cenorcl attach=SYS_EXPORT_SCHEMA_01Export> helpExport> kill_jobAre you sure you wish to stop this job ([yes]/no): yes

這樣就徹底結束了這個任務。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.