-
Type:
Documentation
-
Resolution: Works as Designed
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage - Ra 2020-08-10
-
1
Hi,
on this link https://source.wiredtiger.com/3.1.0/tune_page_size_and_comp.html
there is a note that allocation_size can be tuned between 512B and 128 MB
How do we modify that variable and start mongod process that will have allocation_size of 16KB for example, the default is 4KB ?
This does not work
replica1:PRIMARY> db.adminCommand( { "setParameter": 1, "wiredTigerEngineRuntimeConfig": "allocation_size=64KB"}) { "ok" : 0, "errmsg" : "WiredTiger reconfiguration failed with error code (22): Invalid argument", "code" : 2, "codeName" : "BadValue"} replica1:PRIMARY> db.createCollection( "users", { storageEngine: { wiredTiger: { configString: "allocation_size=64KB" } } } ) { "ok" : 0, "errmsg" : "22: Invalid argument", "code" : 2, "codeName" : "BadValue"}