-
Type: Task
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: None
-
Labels:
-
-
2
Problem Statement/Rationale
looking here https://www.mongodb.com/docs/manual/reference/method/db.createCollection/#specify-storage-engine-options
This operation creates a new collection named users with a specific configuration string that MongoDB will pass to the wiredTiger storage engine. See the WiredTiger documentation of collection level options for specific wiredTiger options.
this link goes to a page for Session options and it is not obvious where to find the collection options.
also the options used here^ are not formatted/named the same as say for the mongod.conf or daemon starup . clicking the link to the wiredtiger docs was not clear.
for example.. i would have thought blockCompressor to be then name but its
‘block_compressor=zstd’
- db.createCollection( “zstd”, { storageEngine:
Unknown macro: { wiredTiger}
} )
- db.createCollection( “zlib”, { storageEngine:
Unknown macro: { wiredTiger}
} )
- db.createCollection( “snappy”, { storageEngine:
Unknown macro: { wiredTiger}
} )
add more info to the docs to provide an example...
- related to
-
SERVER-86827 Provide a "sanitized" layer for WT configuration options
- Backlog