Looking for a simple answer : I have a website similar to https://whatismyip.com/ The visitor hits the site, and some data is output based on their IP address.
The IP records database is available in a binary file, or in a csv that can be imported into a database. https://lite.ip2location.com/database/ip-country-region-city-latitude-longitude-zipcode-timezone
Is there any advantage of having the data in the database? Because from what I have seen, the bin file + the php class file is reading the data very quickly.