There was a discussion on LinkedIn one month ago that caught my eye:
Database search by "within x number of miles" radius?
Anyone out there created a zipcode database and created a "search within x numer of miles" function ?
Thankful for any tips you can throw my way..J
A few people commented that some solutions wouldn't scale. To understand why these sorts of geographic search queries are problematic in MySQL, it's best to show some execution plans on dummy data:
[Read more...]