-
Type: New Feature
-
Resolution: Won't Do
-
Priority: Minor - P4
-
None
-
Affects Version/s: 3.6.17, 4.0.19, 4.2.8
-
Component/s: Storage
-
None
-
Execution Team 2020-08-24, Execution Team 2020-09-07, Execution Team 2020-09-21
When creating capped collections you have to define its maximal size in bytes which is size of uncompressed data.
However, since wiredTiger stores data compressed on disk, it is very difficult to guess the right "size" not to exceed a certain amount of data on disk because the compression factor (and thus the "storageSize") may vary.
Therefore, it would be much better to be able to define the maximal "storageSize" when creating a capped collection. For downwards compatibility, the "size" parameter can co-exists.
This feature is even more important as long as capped collections cannot be resized.
- is related to
-
SERVER-49917 allow to resize capped collections
- Closed
- related to
-
SERVER-49918 mongodump/restore does not respect order
- Closed