Update-in-place
Closed this issue · 1 comments
floatdrop commented
MongoDB have nice feature - update-in-place, that can improve performance on update operations.
This what should be done to achieve this:
- Fix size of
status
field - Preallocate
takenBy
field - Preallocate
takenAt
field
floatdrop commented
This was more or less useless - because MongoDB quick understands, that paddingFactor
should be increased to allow update-in-place
, so only profit from this is keeping paddingFactor
at 1
all the time.