What's the size of the MaxMind MMDB binary GeoIP2 databases?

荒凉一梦 提交于 2020-06-01 02:33:17

问题


What's the size on file system of the MaxMind GeoIP2 databases in binary format? I'm asking about both the country and the city level db.

Unfortunately I can't find this information anywhere.

I know the file size will change over time but I need to roughly estimate the storage requirements.

Also, does anybody know the memory footprint on a minimal console application that resolve a single ip?


回答1:


The current City database is approximately 122 MB. The memory footprint would depend on the particular API you are using to read the file. Most of the official APIs memory-map the file so there is no need to load the whole database into real memory.



来源:https://stackoverflow.com/questions/37483661/whats-the-size-of-the-maxmind-mmdb-binary-geoip2-databases

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!