The compact command leaves no padding; it should have as an option to keep some, probably the same factor that what was already there.
UPDATE: SERVER-4018 adds an option to preserve padding on compaction (available in 2.6).
Initial sync in replication will result in fully packed documents, which is bad.
Repair will result in fully packed documents, which is bad.
Imports should have some options to be sensitive to having some padding, or some intelligence.
Padding factor should be easily viewable.
update docs when done
- is duplicated by
-
SERVER-9933 add the ability to set a collection's padding factor by hand
- Closed
- is related to
-
SERVER-12225 Allow query filter for compact operation
- Closed
-
SERVER-15373 Optimization for insert only work loads
- Closed
- related to
-
SERVER-3564 new $archive update operator to reduce storage waste
- Closed
-
SERVER-1810 ability to set minimum allocation size per collection
- Closed
-
SERVER-4018 Add option to compact command to leave in padding.
- Closed