GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Geonames autocomplete - index  XML
Forum Index -> General
Author Message
xsnowy



Joined: 07/02/2012 17:41:21
Messages: 2
Offline

Hi,

I am facing an optimalization issue with Geonames. I have my own database (3M records, MySQL). I have a full text index on NAME and the second one on POPULATION. My query:

SELECT name FROM `geoname` WHERE MATCH(name) AGAINST ('Lo*' IN BOOLEAN MODE) ORDER BY population DESC LIMIT 10

Unfortunately, this query takes 31 seconds to get results. I wonder why.

Thanks for any tips,
Xsnowy
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team