Giacomo Tesio
Giacomo Tesio

Reputation: 7210

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

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?

Upvotes: 1

Views: 3435

Answers (1)

Greg Oschwald
Greg Oschwald

Reputation: 1735

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.

Upvotes: 3

Related Questions