IPinfo open-sources mmdbshrink, cutting MMDB database files by up to 80%
IPinfo released mmdbshrink, a tool that rewrites MMDB geolocation database files to remove duplicate nodes in the search tree without compressing or changing the format. Running it across the company's 89 daily databases cut total size from 91.2 GB to 62.8 GB, with the ipinfo_privacy database shrinking from 789 MB to 155 MB. The tool is bundled into mmdbctl and also available as a standalone release on GitHub.
GoKawiil's interpretation of the reporting above, not reported fact.
Because MMDB files are memory-mapped, a smaller file directly reduces memory footprint and disk and network transfer costs, which could benefit anyone running IP lookup services at scale. The fact that output files remain standard MMDB means existing reader libraries need no changes, which may lower the barrier to adoption across the ecosystem. Open-sourcing the tool could let other MMDB database producers achieve similar savings, though actual gains will depend on how repetitive a given dataset's search tree is.
- mmdbshrink removes redundant search-tree nodes rather than compressing data, keeping files fully standard MMDB.
- IPinfo's 89 databases shrank in total from 91.2 GB to 62.8 GB, a 31% reduction.
- The tool is now open source, available via mmdbctl and as a standalone release on GitHub.
Source: ipinfo.io, 2026-10-25
Published there as: “How we made our MMDB files a 33% smaller”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.