MongoDB 3.0 WT引擎参数分享

MongoDB 3.0 release 版本于2015年3月3号发布了,真是个喜大普奔的消息。
E叔在这向大家分享一下3.0版本WT引擎的相关参数。

先放几个链接
3.0 WT引擎配置文件参数
3.0 WTserver parameter 参数相关

3.0 WT引擎配置文件参数:

这里的配置是YAML
-storage.engine
设置我们数据库的默认引擎,default是mmapv1,我们可以设置为wiredTiger 来启用WT引擎。

-storage.wiredTiger
(WT引擎)

–storage.wiredTiger.engineConfig
(WT引擎配置设置)

—storage.wiredTiger.engineConfig.cacheSizeGB
(WT引擎 cache大小设置)
默认单位为GB,
本参数指定的是WT引擎能使用的最大内存大小,如果可能的话尽量让其大于我们WorkingSet的大小。
默认为物理内存的一半,或是1GB。

—storage.wiredTiger.engineConfig.directoryForIndexes
(WT 引擎 索引文件是否独立目录存储)
默认为false

–storage.wiredTiger.collectionConfig
(WT引擎 表设置)

—storage.wiredTiger.collectionConfig.blockCompressor
(WT引擎的表数据压缩方式)
默认是snappy。
有三类可选:none,snappy,zlib.
如果修改了这个参数,新建的表将按照新指定的模式来进行压缩,而之前所建立的表将继续使用建立当时的压缩模式。

–storage.wiredTiger.indexConfig
(WT引擎,索引配置)

—storage.wiredTiger.indexConfig.prefixCompression
(WT引擎,索引前缀压缩)
默认是true
如果修改了该参数,将仅影响之后所建立的index,之前建立的不受影响。
有关索引前缀压缩,请参考索引前缀压缩

还需要提到的配置文件参数是
setParameter

可以在setParameter设置中进行serverparameter的设置。
setParameter.wiredTigerEngineRuntimeConfigSetting
WT 引擎parameter

其中比较重要的有:
cache_size
(上文的storage.wiredTiger.engineConfig.cacheSizeGB即可设置)

checkpoint
(刷盘提交相关参数配置,可根据业务情况来具体调控)

MongoDB 3.0 WT引擎参数分享》有71个想法

  1. I recently are not able to hang on to generate these types of when it comes to black colored!My favorite wedding is during Twenty-five nights however certainly not approaching fast more than enough!I actually provide fastest wow gold http://www.wowgoldgroup.com/ throughout the year my mother states that your lover doesn’t now how when i no need to sebaceous and yet er or him keen about them i didnt pick up a lot of these versions at this point nonetheless provide the charcoal cardy we got them for nearly 12 months dispersed them with water resistant material each and every month once i became these plus they’re yet found in outstanding great shape!!!There’re really nice i really like them all soo a great deal!!!!!

  2. Pingback: Blue Coaster33
  3. Pingback: How to loose weight
  4. Pingback: free movie downloads
  5. Pingback: alkaline water
  6. Pingback: best bottled water
  7. Pingback: kangen water
  8. Pingback: TV for Businesses
  9. Pingback: xnxx
  10. Pingback: parking
  11. Pingback: lan penge nu
  12. Pingback: parking
  13. Pingback: water ionizer
  14. Pingback: pay day loans
  15. Pingback: water ionizer loan
  16. Pingback: electricians 44060
  17. Pingback: visit this link
  18. Pingback: you can look here
  19. Pingback: plumbers tape metal
  20. Pingback: alkaline water brands
  21. Pingback: house blue
  22. Pingback: electrician 08873
  23. Pingback: check my source
  24. Pingback: ionizer loans
  25. Pingback: ionizer payment plan
  26. Pingback: payment plan
  27. Pingback: water ionizer
  28. Pingback: electricity
  29. Pingback: alkaline water
  30. Pingback: alkaline water
  31. Pingback: click here
  32. Pingback: here
  33. Pingback: he has a good point
  34. Pingback: 尹圳油市
  35. Pingback: Greg Thmomson
  36. Pingback: gmail login
  37. Pingback: gmail.com login
  38. Pingback: gmail sign in
  39. Pingback: gmail.com login sign
  40. Pingback: gmail.com login
  41. Pingback: search all craigslist
  42. Pingback: red cross cna classes
  43. Pingback: 645sCCmRll6
  44. Pingback: hdmobilesex.me
  45. Pingback: 2019
  46. Pingback: cleantalkorg2.ru
  47. Pingback: #macron #Lassalle
  48. Pingback: a2019-2020
  49. Pingback: facebook
  50. Pingback: facebook1
  51. Pingback: javsearch.mobi

发表评论