日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

oracle压缩参数,Oracle 11g版本EXPDP 的COMPRESSION参数压缩比堪比“gzip -9”

發布時間:2025/3/15 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle压缩参数,Oracle 11g版本EXPDP 的COMPRESSION参数压缩比堪比“gzip -9” 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

這個壓縮比例可以和操作系統“gzip -9”相媲美,某些特例下有可能比gzip還要高效。體驗之,供參考。

1.Oracle 11g中expdp幫助頁中關于COMPRESSION參數的描述

secooler@secDB /home/oracle$ expdp -help

……

COMPRESSION

Reduce the size of a dump file.

Valid keyword values are: ALL, DATA_ONLY, [METADATA_ONLY] and NONE.

……

可見,11g中的COMPRESSION參數提供四個選項,分別是ALL、DATA_ONLY、METADATA_ONLY和NONE,非常的豐富,稍后我們將使用ALL參數進行操作。

2.Oracle 10g中關于COMPRESSION參數的描述如下

Keyword? ? ? ? ? ? ? Description (Default)

---------------------------------------------------------------------

……

COMPRESSION? ? ? ? ? Reduce size of dumpfile contents where valid

keyword values are: (METADATA_ONLY) and NONE.

……

10g中的COMPRESSION參數只提供METADATA_ONLY和NONE兩個選項,基本上沒有提供壓縮功能。

3.使用11g EXPDP工具的四個壓縮參數分別生成四個dump文件

1)使用ALL參數

secooler@secDB /expdp$ expdp sec/sec dumpfile=sec_ALL.dmp logfile=sec_ALL.log tables=t directory=dump_dir compression=ALL

Export: Release 11.2.0.1.0 - Production on Sat Mar 20 22:48:52 2010

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

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, Oracle Label Security, OLAP, Data Mining,

Oracle Database Vault and Real Application Testing options

Starting "SEC"."SYS_EXPORT_TABLE_01":? sec/******** dumpfile=sec_ALL.dmp logfile=sec_ALL.log tables=t directory=dump_dir compression=ALL

Estimate in progress using BLOCKS method...

Processing object type TABLE_EXPORT/TABLE/TABLE_DATA

Total estimation using BLOCKS method: 136 MB

Processing object type TABLE_EXPORT/TABLE/TABLE

. . exported "SEC"."T"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 14.26 MB 1155520 rows

Master table "SEC"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded

******************************************************************************

Dump file set for SEC.SYS_EXPORT_TABLE_01 is:

/expdp/sec_ALL.dmp

Job "SEC"."SYS_EXPORT_TABLE_01" successfully completed at 22:49:08

2)使用DATA_ONLY參數

secooler@secDB /expdp$ expdp sec/sec dumpfile=sec_DATA_ONLY.dmp logfile=sec_DATA_ONLY.log tables=t directory=dump_dir compression=DATA_ONLY

Export: Release 11.2.0.1.0 - Production on Sat Mar 20 22:49:32 2010

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

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, Oracle Label Security, OLAP, Data Mining,

Oracle Database Vault and Real Application Testing options

Starting "SEC"."SYS_EXPORT_TABLE_01":? sec/******** dumpfile=sec_DATA_ONLY.dmp logfile=sec_DATA_ONLY.log tables=t directory=dump_dir compression=DATA_ONLY

Estimate in progress using BLOCKS method...

Processing object type TABLE_EXPORT/TABLE/TABLE_DATA

Total estimation using BLOCKS method: 136 MB

Processing object type TABLE_EXPORT/TABLE/TABLE

. . exported "SEC"."T"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 14.26 MB 1155520 rows

Master table "SEC"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded

******************************************************************************

Dump file set for SEC.SYS_EXPORT_TABLE_01 is:

/expdp/sec_DATA_ONLY.dmp

Job "SEC"."SYS_EXPORT_TABLE_01" successfully completed at 22:49:48

3)使用METADATA_ONLY參數

secooler@secDB /expdp$ expdp sec/sec dumpfile=sec_METADATA_ONLY.dmp logfile=sec_METADATA_ONLY.log tables=t directory=dump_dir compression=METADATA_ONLY

Export: Release 11.2.0.1.0 - Production on Sat Mar 20 22:50:16 2010

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

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, Oracle Label Security, OLAP, Data Mining,

Oracle Database Vault and Real Application Testing options

Starting "SEC"."SYS_EXPORT_TABLE_01":? sec/******** dumpfile=sec_METADATA_ONLY.dmp logfile=sec_METADATA_ONLY.log tables=t directory=dump_dir compression=METADATA_ONLY

Estimate in progress using BLOCKS method...

Processing object type TABLE_EXPORT/TABLE/TABLE_DATA

Total estimation using BLOCKS method: 136 MB

Processing object type TABLE_EXPORT/TABLE/TABLE

. . exported "SEC"."T"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 111.7 MB 1155520 rows

Master table "SEC"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded

******************************************************************************

Dump file set for SEC.SYS_EXPORT_TABLE_01 is:

/expdp/sec_METADATA_ONLY.dmp

Job "SEC"."SYS_EXPORT_TABLE_01" successfully completed at 22:50:27

4)使用NONE參數

secooler@secDB /expdp$ expdp sec/sec dumpfile=sec_NONE.dmp logfile=sec_NONE.log tables=t directory=dump_dir compression=NONE

Export: Release 11.2.0.1.0 - Production on Sat Mar 20 22:50:43 2010

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

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, Oracle Label Security, OLAP, Data Mining,

Oracle Database Vault and Real Application Testing options

Starting "SEC"."SYS_EXPORT_TABLE_01":? sec/******** dumpfile=sec_NONE.dmp logfile=sec_NONE.log tables=t directory=dump_dir compression=NONE

Estimate in progress using BLOCKS method...

Processing object type TABLE_EXPORT/TABLE/TABLE_DATA

Total estimation using BLOCKS method: 136 MB

Processing object type TABLE_EXPORT/TABLE/TABLE

. . exported "SEC"."T"? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 111.7 MB 1155520 rows

Master table "SEC"."SYS_EXPORT_TABLE_01" successfully loaded/unloaded

******************************************************************************

Dump file set for SEC.SYS_EXPORT_TABLE_01 is:

/expdp/sec_NONE.dmp

Job "SEC"."SYS_EXPORT_TABLE_01" successfully completed at 22:50:53

4.比較生成的四個dump文件大小

secooler@secDB /expdp$ du -sm sec*.dmp

15? ? ? sec_ALL.dmp

15? ? ? sec_DATA_ONLY.dmp

112? ? sec_METADATA_ONLY.dmp

112? ? sec_NONE.dmp

secooler@secDB /expdp$ du -sb sec*.dmp

14987264? ? ? ? sec_ALL.dmp

14987264? ? ? ? sec_DATA_ONLY.dmp

117223424? ? ? sec_METADATA_ONLY.dmp

117223424? ? ? sec_NONE.dmp

實驗表明,使用ALL參數和DATA_ONLY參數生成的備份文件基本一樣大;使用METADATA_ONLY參數與NONE參數效果一樣。

使用壓縮與不進行壓縮的比率是:15/112約等于1/7!

這才是真正的壓縮。

5.使用“gzip -9”對未壓縮的備份文件進行壓縮,做一下比較

secooler@secDB /expdp$ gzip -9 sec_NONE.dmp

secooler@secDB /expdp$ du -sm sec*dmp*

15? ? ? sec_ALL.dmp

15? ? ? sec_DATA_ONLY.dmp

112? ? sec_METADATA_ONLY.dmp

15? ? ? sec_NONE.dmp.gz

secooler@secDB /expdp$ du -sb sec*dmp*

14987264? ? ? ? sec_ALL.dmp

14987264? ? ? ? sec_DATA_ONLY.dmp

117223424? ? ? sec_METADATA_ONLY.dmp

14717055? ? ? ? sec_NONE.dmp.gz

14987264與14717055的區別,相差甚微,基本相同,“gzip -9”稍勝一點點(也許在您的具體環境下“gzip -9”會遜色一點點)。

6.小結

Oracle 11g的EXPDP工具提供了真正意義上的“備份壓縮”,這個技術在備份空間不足的情況下非常實用。

Oracle在改進和優化中不斷的前進,慢慢體會吧。

----------------------------華麗麗的分割線----------------------------

總結

以上是生活随笔為你收集整理的oracle压缩参数,Oracle 11g版本EXPDP 的COMPRESSION参数压缩比堪比“gzip -9”的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 处女朱莉 | 肉色丝袜脚交一区二区 | 久操免费在线 | 影音先锋婷婷 | 国产精品无码一区 | 国产精品成人一区二区 | 美女被男人c | 婷婷伊人网 | 国产做爰免费观看视频 | 午夜精品久久久久久毛片 | 日本不卡一区二区三区在线观看 | 亚洲精品aaaa | 欧美成人性生活 | 男人天堂黄色 | 国产成人欧美 | 亚洲国产成人精品女人久久久 | 天堂av在线资源 | 激情爱爱网 | 亲子乱子伦xxxx | 中文字幕欧美另类精品亚洲 | 亚洲7777 | 深夜老司机福利 | 一级片自拍 | 色综合狠狠 | 亚洲视屏在线观看 | 五月婷婷导航 | 日本美女动态图 | 精品国产一区二区三区四 | 国产三级久久久久 | 日本黄色美女 | 亚洲精品一区二区三区蜜桃 | 亚洲乱码精品 | 亚洲最大看欧美片网站 | www久久com| 嫩模啪啪| 国产又黄又大又爽 | 欧美嘿咻视频 | 黑人一区二区三区四区五区 | 华人av在线| 欧美熟妇乱码在线一区 | 翔田千里88av中文字幕 | 日韩国产一区 | 蜜桃tv一区二区三区 | 奇米97| 九九热免费在线视频 | 久久人妻免费视频 | 免费无码毛片一区二三区 | 亚洲无在线观看 | 日本少妇激情视频 | 国产精品一区二区三区免费视频 | 美女中文字幕 | 第一福利丝瓜av导航 | 精品视频99 | 日韩综合一区 | 亚洲伦理天堂 | 欧美日韩高清在线 | 久久夫妻视频 | 韩国三级黄色 | 日韩在线免费视频 | 激情五月深爱五月 | 国产精品国产三级国产普通话对白 | 九九精品在线视频 | 国产高清在线精品 | 欧美精品aa | 午夜视频 | 69精品人人人人 | 在线亚洲欧美 | 亚洲一区 欧美 | 日韩精品免费一区二区 | 国产精品一区二区三区线羞羞网站 | 久久精品色妇熟妇丰满人妻 | 人妖天堂狠狠ts人妖天堂狠狠 | 国产一级片免费观看 | 老妇裸体性激交老太视频 | 四虎精品一区二区三区 | 国产一区麻豆 | 在线高清观看免费观看 | 99热这里只有精品5 国产精品伦子伦免费视频 精品一二三 | www亚洲精品| 亚洲精品乱码久久久久久自慰 | 日韩av综合网站 | 久国产视频 | 91亚洲一区 | 欧美成人资源 | 麻豆最新 | 久久一二三四区 | 国产亚洲在线观看 | 最近高清中文在线字幕在线观看 | 96久久精品 | 久久精品国产一区二区三区 | 午夜视频网址 | 黄页视频在线观看 | 嫩草视频91 | 亚洲欧洲综合在线 | 97中文字幕在线观看 | 久草av在线播放 | 91se在线 | 国偷自拍 | 久久大奶 |