Database/SQL: How to store longitude/latitude data?

后端 未结 8 1235
醉酒成梦
醉酒成梦 2020-12-07 10:03

Performance question ...

I have a database of houses that have geolocation data (longitude & latitude).

What I want to do is find the best way to store t

8条回答
  •  眼角桃花
    2020-12-07 10:48

    I know you're asking about MySQL, but if spatial data is important to your business, you might want to reconsider. PostgreSQL + PostGIS are also free software, and they have a great reputation for managing spatial and geographic data efficiently. Many people use PostgreSQL only because of PostGIS.

    I don't know much about the MySQL spatial system though, so perhaps it works well enough for your use-case.

提交回复
热议问题