oracle數據庫expdp/impdp操做的終止

執行expdp/impdp操做時,若是中途發現執行錯誤或者其餘緣由須要取消時,不能直接經過ctrl+c或者關閉操做窗口進行取消。使用以上操做取消後,expdp/impdp進程仍然在運行中。oracle

[oracle@rac1 ~]$ expdp userid='/ as sysdba' dumpfile=full.dmp logfile=full.log directory=dump_dir full=ythis

Export: Release 11.2.0.4.0 - Production on Fri Jan 12 18:00:08 2018進程

Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.it

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Productionio

With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,object

Data Mining and Real Application Testing optionsfile

Starting "SYS"."SYS_EXPORT_FULL_01": userid="/******** AS SYSDBA" dumpfile=full.dmp logfile=full.log directory=dump_dir full=yim

Estimate in progress using BLOCKS method...top

Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATAdb

Total estimation using BLOCKS method: 370.6 MB

Processing object type DATABASE_EXPORT/TABLESPACE

Processing object type DATABASE_EXPORT/PROFILE

Processing object type DATABASE_EXPORT/SYS_USER/USER

^C

[oracle@rac1 ~]$ du -sk *

956 full.dmp

4 full.log

[oracle@rac1 ~]$ du -sk *

1040 full.dmp

4 full.log

咱們發現dmp文件一直在增加,此時若是須要中止該JOB。

expdp userid='/ as sysdba' attach=SYS_EXPORT_FULL_01

Export> stop_job

Are you sure you wish to stop this job ([yes]/no): yes

[oracle@rac1 ~]$

[oracle@rac1 ~]$ du -sk *

25260 full.dmp

8 full.log

[oracle@rac1 ~]$ du -sk *

25260 full.dmp

8 full.log

正常中止後dump文件再也不增加。

相關文章
相關標籤/搜索