清浅是什么意思| 发财树为什么叫发财树| 养老保险什么时候开始交| 叛变是什么意思| 红花泡水喝有什么功效和作用| 拌黄瓜需要什么调料| 什么样的耳朵| 海绵宝宝是什么生物| 老是想拉尿是什么原因| 手麻是什么病的预兆| 义五行属什么| 乙肝大三阳是什么意思| 什么人容易得白塞氏病| 小孩吃火龙果有什么好处| 六畜兴旺是什么生肖| 喉咙痛可以吃什么水果| 吃无花果有什么好处和坏处| 梦到钓鱼是什么征兆| 支原体感染有什么症状| 上梁是什么意思| rsl是什么意思| 白细胞高有什么危害| 时兴是什么意思| 河粉是什么做的| 胃不好吃什么水果最好| 手指甲扁平是什么原因| 红顶商人是什么意思| 入职offer是什么意思| 招风耳适合什么发型| 橄榄菜长什么样子图片| 小暑吃黄鳝有什么好处| 嘴里发苦是什么原因| 后是什么意思| 输卵管堵塞吃什么药能打通| 男人沉默了说明什么| 水漫金山什么意思| 苕皮是什么| 麦子什么时候收割| 杨树林是什么牌子| 省油的灯是什么意思| 琉璃是什么材质| 科目三考什么内容| 情面是什么意思| 哲理是什么意思| 帕金森是什么症状| 什么是思想| 输卵管囊肿是什么原因引起的| 岱字五行属什么| 咬牙切齿什么意思| 身上有红点是什么病| 遇人不淑是什么意思| ab和a型血生的孩子是什么血型| 成群结队是什么意思| 梦到鬼是什么意思| 凯格尔运动是什么| vampire是什么意思| 房性心动过速是什么意思| 狗狗拉稀是什么原因| 人流后可以吃什么水果| 小孩咳嗽是什么原因引起的| 寻常疣是什么| 彩铃是什么意思| 什么七什么八| 1972年属鼠的是什么命| 胃食管反流有什么症状| 恨不相逢未嫁时什么意思| 胡思乱想是什么意思| 钠低吃什么| 结婚20年是什么婚姻| 孕早期生气对胎儿有什么影响| 小便分叉是什么症状| 为什么孩子要跟爸爸姓| 去湿气吃什么最好| 什么算高危性行为| 昔字五行属什么| 心脏t波改变吃什么药| 男人不够硬吃什么好| 米娜桑是什么意思| 什么是消融手术| 蓝色的猫是什么品种| 梦见蝎子是什么预兆| 13朵玫瑰代表什么意思| 眼睛红吃什么药| 荔枝适合什么地方种植| 双肾尿酸盐结晶是什么意思| 美林是什么药| 银手镯为什么会变黑| 心律不齐吃什么食物好| 什么是多囊卵巢综合症| fdg是什么意思| 神经炎吃什么药| 吃什么可以让胸部变大| 为什么偏偏喜欢你| 迪化是什么意思| 双手抽筋是什么原因| 思密达什么意思| 梦见和老公吵架是什么预兆| 做梦梦到屎什么意思| 缺钙有什么症状| 一个马一个并念什么| 开什么节什么的成语| 翻毛皮是什么材质| 吃什么血脂降的最快| 白兰地是什么酒| 壁虎怕什么| 腺癌是什么癌| 56年属什么生肖| 蒸馏水敷脸有什么作用| 毒龙是什么意思啊| 警惕是什么意思| 光环是什么意思| 深喉是什么感觉| mri是什么| 夏枯草长什么样子| rt什么意思| 什么样的春光| 慢慢张开你的眼睛是什么歌的歌词| 格格是什么身份| 男人胡子长得快是什么原因| 较重闭合性跌打损伤是什么意思| 宜是什么意思| 血小板减少有什么危害| 什么东西倒立后会增加一半| 胚由什么发育而来| 老年人喝什么牛奶好| 腿老是抽筋是什么原因| 爱吃甜食是缺乏什么| 永垂不朽的垂是什么意思| 2月什么星座| 女人吃什么能活血化瘀| 为什么会岔气| 结膜炎吃什么消炎药| 红光对皮肤有什么作用| 脐带血有什么用| 食管憩室是什么病| 罗红霉素治什么病| 梦见蜜蜂是什么预兆| 6月21是什么星座| 痱子粉和爽身粉有什么区别| 女人有腰窝意味着什么| 惊魂未定的意思是什么| 脚气用什么| 酒蒙子是什么意思| 胡牌是什么意思| 尿蛋白十一是什么意思| 1109是什么星座| 医师是什么意思| 躲春是什么意思| 月相是什么意思| 那英姓什么| 女孩当兵需要什么条件| 多吃黄瓜有什么好处| 笑死是什么意思| 球蛋白偏高是什么原因| 膝关节疼痛吃什么药好| 漏尿是什么原因造成的| 病毒四项检查都有什么| 甲状腺亢进是什么意思| 泌尿系统感染什么症状| 香醋是什么醋| 什么是肾虚| 丙肝是什么| 后下药什么时候下| 日本什么值得买| 湿气重要吃什么| 为什么空腹血糖比餐后血糖高| 感冒没胃口吃什么好| 肠痉挛吃什么药| 中药学学什么| 尿酸偏高是什么意思| 夏天适合吃什么菜| 内心孤独的人缺少什么| 乙肝三抗体阳性是什么意思| 公仆是什么意思| 天无二日指什么生肖| 老年人吃什么水果对身体好| 黑色属于什么五行属性| 大腿为什么会长妊娠纹| 一吃东西就牙疼是什么原因引起的| 夜盲症是什么症状| 五月十六是什么星座| 更年期是什么意思| 儿童办理护照需要什么材料| 梦见生了个孩子是什么意思| 陈皮泡水喝有什么功效和作用| 囊胚和冻胚有什么区别| 真菌感染是什么意思| 枕头太低有什么影响| meq是什么单位| 中医湿气重是什么意思| 1960年属鼠的是什么命| 唐氏综合征是什么| 女性尿道口有小疙瘩是什么原因| 命格是什么意思| 麻子是什么意思| 斑鸠是什么| 10年属什么生肖| 内向什么意思| oz是什么意思| 前列腺钙化是什么原因引起的| 什么是菜花病| lamer是什么牌子| 指甲有竖纹是什么病| 皮肤暗黄是什么原因| 甲亢是什么原因引起的| 耳朵后面长痘痘是什么原因| 什么移动卡流量多| 腹黑是什么意思| 肺部散在小结节是什么意思| 多吃蒜有什么好处和坏处| 机车什么意思| 口里有异味是什么原因| 痤疮吃什么药| 鸡婆是什么意思| qcy是什么牌子| 为什么警察叫条子| 秋天有什么花| 尿酸高能吃什么肉| 閪什么意思| 腋窝淋巴结肿大挂什么科| 西米是什么东西| 孕妇耻骨疼是什么原因| 字读什么| 消化不好吃什么药| 肠胃感冒什么症状| 脍炙人口是什么意思| 跳绳有什么好处| 单剂量给药是什么意思| 一人吃饱全家不饿是什么生肖| 大便出血什么原因| 看望老人买什么礼物好| 清胃火吃什么药| 什么牌子的洗发水好| 肾上腺增生是什么意思| 为什么家里不能放假花| 腹腔积水是什么原因造成的| 羡煞旁人是什么意思| 榴莲吃起来口感像什么| 77年什么命| 干细胞是什么| 取环挂什么科室| 很棒是什么意思| 爱啃指甲是什么原因| 什么是肠镜检查| 起灵是什么意思| 湿气重有什么表现| 拉稀肚子疼吃什么药| 成什么上什么| 6月25日是什么日子| 牛奶有什么营养| 博爱是什么意思| 焦虑吃什么药| 血小板减少是什么症状| 属马的和什么属相最配| 为什么割包皮| 做肉丸用什么淀粉最佳| 右侧中耳乳突炎是什么意思| 龙跟什么生肖配对最好| 接龙是什么意思| 眉飞色舞是什么意思| 03属什么| 窥见是什么意思| 什么空调省电| 女人腰疼是什么原因引起的| 百度
 Version 10.0.2
Compressors

This section explains how to configure WiredTiger's builtin support for the lz4, snappy, zlib and zstd compression engines.

红曲米是什么米

百度 这是一场永不落幕的盛典。

To use the builtin support for Yann Collet's LZ4 compression, first check that LZ4 is installed in include and library directories searched by the compiler. Once LZ4 is installed, you can enable LZ4 using the –enable-lz4 option to configure.

If LZ4 is installed in a location not normally searched by the compiler toolchain, you'll need to modify the CPPFLAGS and LDFLAGS to indicate these locations. For example, with the LZ4 includes and libraries installed in /usr/local/include and /usr/local/lib, you would run configure with the following additional arguments:

--enable-lz4 CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/include"

When opening the WiredTiger database, load the LZ4 shared library as an extension. For example, with the WiredTiger library installed in /usr/local/lib, you would use the following extension:

error_check(wiredtiger_open(
home, NULL, "create,extensions=[/usr/local/lib/libwiredtiger_lz4.so]", &conn));

Finally, when creating the WiredTiger object, set block_compressor to lz4:

error_check(session->create(
session, "table:mytable", "block_compressor=lz4,key_format=S,value_format=S"));

Using snappy compression

To use the builtin support for Google's snappy compression, first check that snappy is installed in include and library directories searched by the compiler. Once snappy is installed, you can enable snappy using the –enable-snappy option to configure.

If snappy is installed in a location not normally searched by the compiler toolchain, you'll need to modify the CPPFLAGS and LDFLAGS to indicate these locations. For example, with the snappy includes and libraries installed in /usr/local/include and /usr/local/lib, you would run configure with the following additional arguments:

--enable-snappy CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/include"

When opening the WiredTiger database, load the snappy shared library as an extension. For example, with the WiredTiger library installed in /usr/local/lib, you would use the following extension:

error_check(wiredtiger_open(
home, NULL, "create,extensions=[/usr/local/lib/libwiredtiger_snappy.so]", &conn));

Finally, when creating the WiredTiger object, set block_compressor to snappy:

error_check(session->create(
session, "table:mytable", "block_compressor=snappy,key_format=S,value_format=S"));

Using zlib compression

To use the builtin support for Greg Roelofs' and Mark Adler's zlib compression, first check that zlib is installed in include and library directories searched by the compiler. Once zlib is installed, you can enable zlib using the –enable-zlib option to configure.

If zlib is installed in a location not normally searched by the compiler toolchain, you'll need to modify the CPPFLAGS and LDFLAGS to indicate these locations. For example, with the zlib includes and libraries installed in /usr/local/include and /usr/local/lib, you would run configure with the following additional arguments:

--enable-zlib CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/include"

When opening the WiredTiger database, load the zlib shared library as an extension. For example, with the WiredTiger library installed in /usr/local/lib, you would use the following extension:

error_check(wiredtiger_open(
home, NULL, "create,extensions=[/usr/local/lib/libwiredtiger_zlib.so]", &conn));

The default compression level for the zlib compression is Z_DEFAULT_COMPRESSION (see the zlib documentation for further information); compression can be configured to other levels using the additional configuration argument compression_level.

error_check(wiredtiger_open(home, NULL,
"create,extensions=[/usr/local/lib/libwiredtiger_zlib.so=[config=[compression_level=3]]]",
&conn));

Finally, when creating the WiredTiger object, set block_compressor to zlib:

error_check(session->create(
session, "table:mytable", "block_compressor=zlib,key_format=S,value_format=S"));

Using Zstd compression

To use the builtin support for Facebook's Zstd compression, first check that Zstd is installed in include and library directories searched by the compiler. Once Zstd is installed, you can enable Zstd using the –enable-zstd option to configure.

If Zstd is installed in a location not normally searched by the compiler toolchain, you'll need to modify the CPPFLAGS and LDFLAGS to indicate these locations. For example, with the Zstd includes and libraries installed in /usr/local/include and /usr/local/lib, you would run configure with the following additional arguments:

--enable-zstd CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/include"

When opening the WiredTiger database, load the Zstd shared library as an extension. For example, with the WiredTiger library installed in /usr/local/lib, you would use the following extension:

error_check(wiredtiger_open(
home, NULL, "create,extensions=[/usr/local/lib/libwiredtiger_zstd.so]", &conn));

The default compression level for the zstd compression is 6; compression can be configured to other levels using the additional configuration argument compression_level.

error_check(wiredtiger_open(home, NULL,
"create,extensions=[/usr/local/lib/libwiredtiger_zstd.so=[config=[compression_level=9]]]",
&conn));

Finally, when creating the WiredTiger object, set block_compressor to zstd:

error_check(session->create(
session, "table:mytable", "block_compressor=zstd,key_format=S,value_format=S"));

Upgrading compression engines

WiredTiger does not store information with file blocks to identify the compression engine used to compressed the block. Applications wanting to upgrade to some future compression engine (without requiring a file dump and re-load), should ensure each compressed block includes enough information to identify the compression engine used, so its compression code can correctly decompress old and new blocks.

Custom compression engines

WiredTiger may be extended by adding custom compression engines; see WT_COMPRESSOR for more information.

WT_SESSION::create
int create(WT_SESSION *session, const char *name, const char *config)
Create a table, column group, index or file.
wiredtiger_open
int wiredtiger_open(const char *home, WT_EVENT_HANDLER *event_handler, const char *config, WT_CONNECTION **connectionp)
Open a connection to a database.
脑补是什么意思 世侄是什么意思 深井冰什么意思 吃什么东西补血最快 戒烟吃什么药
circle什么意思 腰上有痣代表什么 作怪是什么意思 怀孕期间不能吃什么 木字旁羽字是什么字
癫痫属于什么科 丑是什么生肖 为什么海藻敷完那么白 直肠ca代表什么病 bcm是什么意思
飞蚊症是什么原因引起的 木星是什么颜色 什么是有源音箱 订单号是什么 为什么早射
琬字五行属什么hcv9jop6ns1r.cn 体液是什么hcv7jop6ns1r.cn 清明为什么插柳枝hcv8jop2ns3r.cn 羊膜束带是什么意思helloaicloud.com 晚上睡觉出虚汗是什么原因hcv7jop6ns6r.cn
吃维生素b1有什么好处和副作用hcv8jop9ns4r.cn 老睡不醒是什么原因shenchushe.com 前列腺钙化灶什么意思hcv9jop3ns4r.cn 梅花三弄的三弄指什么hcv9jop3ns7r.cn 猪儿虫是什么意思jiuxinfghf.com
九岁属什么生肖hcv8jop1ns2r.cn 尿路感染吃什么药hcv9jop1ns3r.cn 瑞字属于五行属什么hcv8jop9ns6r.cn 子宁不嗣音什么意思hcv9jop3ns1r.cn 骨折吃什么恢复得快jiuxinfghf.com
激酶是什么hcv8jop4ns1r.cn 空调外机很响是什么原因hcv8jop5ns0r.cn 角先生是什么hcv7jop9ns2r.cn 口臭药店买什么药吃hcv8jop0ns0r.cn 癌前病变是什么意思liaochangning.com
百度