Tobias Kempkensteffen
2015-10-01 15:29:11 UTC
Hi,
I have a server running with wiredTiger storage engine, but without
compression enabled globally.
Now I want to change the "block_compressor" option for a single collection
to use "snappy".
According to the mongoDB documentation this is possible while creating a
new collection using "db.createCollection()", but how can I perform this
step for an existing one? (Maybe for new replica set members before initial
sync)
Since initial sync between non-wiredTiger and wiredTiger members in a
replica set is performed on a per-document level (and not by copying the
files), this should be possible...
http://docs.mongodb.org/manual/reference/method/db.createCollection/#specify-storage-engine-options
--
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 http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/a45bbf4f-272e-4e41-a580-0a109fce684a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have a server running with wiredTiger storage engine, but without
compression enabled globally.
Now I want to change the "block_compressor" option for a single collection
to use "snappy".
According to the mongoDB documentation this is possible while creating a
new collection using "db.createCollection()", but how can I perform this
step for an existing one? (Maybe for new replica set members before initial
sync)
Since initial sync between non-wiredTiger and wiredTiger members in a
replica set is performed on a per-document level (and not by copying the
files), this should be possible...
http://docs.mongodb.org/manual/reference/method/db.createCollection/#specify-storage-engine-options
--
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 http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/a45bbf4f-272e-4e41-a580-0a109fce684a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.