What is a SPATIAL INDEX and when should I use it?

前端 未结 4 1494
感动是毒
感动是毒 2021-02-01 12:56

Like most of the average PHP web developers I use MySql as a RDBMS. MySql (as other RDBMS also) offers SPATIAL INDEX features, but I\'m don\'t get it very well. I have googled f

4条回答
  •  离开以前
    2021-02-01 13:18

    The use of spacial index is best for searching exact matching value look-up,not for range scan.It is mainly supported in MyISAM tables but from MySQL 5.7.4 LAB release,it is also supported by Innodb.

    References:- http://dev.mysql.com/doc/refman/5.5/en/creating-spatial-indexes.html http://mysqlserverteam.com/innodb-spatial-indexes-in-5-7-4-lab-release/

提交回复
热议问题