Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16165

[Server] add more details for per collection creation options (such as compression type)

      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...

            Assignee:
            sarah.simpers@mongodb.com Sarah Simpers
            Reporter:
            thomas.luckenbach@mongodb.com Thomas Luckenbach
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              11 weeks, 4 days ago