mongodb
[mongodb] wiredtiger 사용시 압축(compression) 자동 지원
'김용환'
2015. 11. 25. 04:28
mongodb 3.0부터 wiredtiger 를 사용하면 압축 옵션을 자동으로 주어진다. (아무 생각없이 옵션을 주지 않아도 snappy와 prefix가 적용되었다.
자세한 내용은 아래 블로그 글 참조.
https://www.mongodb.com/blog/post/new-compression-options-mongodb-30
In MongoDB 3.0, WiredTiger provides three compression options for collections:
- No compression
- Snappy (enabled by default) – very good compression, efficient use of resources
- zlib (similar to gzip) – excellent compression, but more resource intensive
There are two compression options for indexes:
- No compression
- Prefix (enabled by default) – good compression, efficient use of resources