MySQL Forums
Forum List  »  Performance

Re: GEO Search with large table is very slow
Posted by: Rick James
Date: March 13, 2009 07:53PM

As Markus suggests, individual indexes makes sense in this case. The reason is that it can't really make use of more than one field in an index anyway. Plus, one index may be better than another depending on the constants.

Please provide
* SHOW CREATE TABLE tbl\G -- need to see types and index(es)
* EXPLAIN SELECT ...\G -- especially after adding indexes and trying different constants
and surround them with [ code ] and [ / code ]

Options: ReplyQuote

Written By
Re: GEO Search with large table is very slow
March 13, 2009 07:53PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.