您好,登錄后才能下訂單哦!
環境描述:
今天從4A遠程電腦copy dmp文件,由于文件太大,copy動作無法完成,所以filesize指定輸出文件大小,然后再進行壓縮。
[oracle@mobile61 dpdump]$ expdpmobile/mobile directory=DATA_PUMP_DIR dumpfile=UserBoss_20160619_25%U.dmptables=mb_dw_user_data:part_20160619_14,mb_dw_user_data:part_20160620_14,mb_dw_user_data:part_20160621_14,mb_dw_user_data:part_20160622_14,mb_dw_user_data:part_20160623_14,mb_dw_user_data:part_20160624_14,mb_dw_user_data:part_20160625_14parallel=4 filesize=155096041 compression=all 采取壓縮后的文件,按照filesize指定大小分配 Export: Release 11.2.0.4.0 - Production onTue Jun 28 16:20:35 2016 Copyright (c) 1982, 2011, Oracle and/or itsaffiliates. All rights reserved. Connected to: Oracle Database 11gEnterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, OLAP, Data Miningand Real Application Testing options Starting"MOBILE"."SYS_EXPORT_TABLE_01": mobile/******** directory=DATA_PUMP_DIRdumpfile=UserBoss_20160619_25%U.dmptables=mb_dw_user_data:part_20160619_14,mb_dw_user_data:part_20160620_14,mb_dw_user_data:part_20160621_14,mb_dw_user_data:part_20160622_14,mb_dw_user_data:part_20160623_14,mb_dw_user_data:part_20160624_14,mb_dw_user_data:part_20160625_14parallel=4 filesize=155096041 compression=all Estimate in progress using BLOCKS method... Processing object typeTABLE_EXPORT/TABLE/TABLE_DATA Total estimation using BLOCKS method: 1.526GB Processing object typeTABLE_EXPORT/TABLE/TABLE Processing object type TABLE_EXPORT/TABLE/COMMENT . . exported"MOBILE"."MB_DW_USER_DATA":"PART_20160619"."PART_20160619_14" 60.92 MB 1969793 rows . . exported"MOBILE"."MB_DW_USER_DATA":"PART_20160621"."PART_20160621_14" 57.32 MB 1974124 rows . . exported"MOBILE"."MB_DW_USER_DATA":"PART_20160620"."PART_20160620_14" 60.92 MB 1969793 rows . . exported"MOBILE"."MB_DW_USER_DATA":"PART_20160623"."PART_20160623_14" 57.60 MB 1975622 rows . . exported"MOBILE"."MB_DW_USER_DATA":"PART_20160625"."PART_20160625_14" 57.57 MB 1977708 rows . . exported"MOBILE"."MB_DW_USER_DATA":"PART_20160624"."PART_20160624_14" 57.66 MB 1976510 rows Processing object typeTABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS . . exported"MOBILE"."MB_DW_USER_DATA":"PART_20160622"."PART_20160622_14" 57.40 MB 1974954 rows Master table"MOBILE"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded ****************************************************************************** Dump file set forMOBILE.SYS_EXPORT_TABLE_01 is: /oracle/database/oracle/admin/mobile/dpdump/UserBoss_20160619_2501.dmp /oracle/database/oracle/admin/mobile/dpdump/UserBoss_20160619_2502.dmp /oracle/database/oracle/admin/mobile/dpdump/UserBoss_20160619_2503.dmp /oracle/database/oracle/admin/mobile/dpdump/UserBoss_20160619_2504.dmp /oracle/database/oracle/admin/mobile/dpdump/UserBoss_20160619_2505.dmp Job"MOBILE"."SYS_EXPORT_TABLE_01" successfully completed atTue Jun 28 16:21:06 2016 elapsed 0 00:00:31
expdp mobile/mobiledirectory=DATA_PUMP_DIR dumpfile=UserBoss_20160619_25%U.dmptables=mb_dw_user_data:part_20160619_14,mb_dw_user_data:part_20160620_14,mb_dw_user_data:part_20160621_14,mb_dw_user_data:part_20160622_14,mb_dw_user_data:part_20160623_14,mb_dw_user_data:part_20160624_14,mb_dw_user_data:part_20160625_14parallel=4 filesize=155096041 compression=all
使用tar –czf 再次壓縮,發現效果不明顯。
指定了compression參數,無需再tar –czf
[oracle@mobile61 Tmpfile]$ ll
total 1234480
-rw-r----- 1 oracle oinstall 123053127 Jun 28 17:17 2501.tgz
-rw-r----- 1 oracle oinstall 124641280 Jun 28 16:21 UserBoss_20160619_2501.dmp
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。