Company
Date Published
Author
Wisdom Omuya
Word count
1400
Language
English
Hacker News points
None

Summary

Archiving and compression in MongoDB tools provide significant gains in efficiency for backup and restore operations. The new archiving feature allows concurrent behavior, supporting non-contiguous file writes, which reduces performance degradation when using general-purpose archive formats like tar. This enables multiple collections to be packed within the archive non-contiguously, facilitating data migration over networks, reducing disk I/O footprint, and taking full advantage of concurrency gains in both tools and underlying storage engines. Additionally, compression support using gzip is introduced, reducing disk space usage and enabling compressed backups with improved efficiency. The archiving feature opens up a range of use cases for performing backup and restore operations, including data migration over SSH, while the compression feature reduces network bandwidth utilization.