问题
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