Discussion:
[mongodb-user] How to enable compression in WiredTiger storage engine
y***@gmail.com
2015-12-17 02:42:19 UTC
Permalink
Hi,

I get the mongodb sources from github, and switch to v3.2 branch, I want to
try the compression for WiredTiger.

After launching mongod with default configurations, I saw the message
printed on console shows the storage engine is WiredTiger, and both Journal
and Collection will use snappy as their compressor.

However, I cannot see any code in the mongo folder will call snappy to do
(de)compression, only the code in third_parity/wiredtiger will do that,
will the third_party of wriedtiger be used?

I also tried to disable compression, and load some data with YCSB, there's
no db size change with/without compression, so I doubt whether compression
is enabled or not ?

It would be great if someone could help me on that, or any comment is
highly appreciated thanks a lot.

Thanks
-Yu
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/2e642964-11b6-4d07-9a82-b7244a631dfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Rhys Campbell
2015-12-17 07:11:27 UTC
Permalink
Details on how to change the compression level can be found
here https://www.mongodb.com/blog/post/new-compression-options-mongodb-30

Look for the -- wiredTigerCollectionBlockCompressor
<http://docs.mongodb.org/manual/reference/configuration-options/#storage.wiredTiger.collectionConfig.blockCompressor> option.
This can also be specified on the collection level.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/25de5a9e-7f86-419e-accf-08fdcfd58fd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...