dongxi8993 2015-06-24 15:40
浏览 88
已采纳

Elasticsearch over mysql搜索性能

I'm making a website using Symfony 2 and Mysql as DBMS. Now, the site involves some entities that can be searchable from the home page and the searches can be by term and by location, not the two at the same time. The thing is that I installed elasticsearch on my server to index the searchable entities.

Now, does anyone knows the performance advantages of searching between a mysql search and and elasticsearch search?

Consider that on the mysql database all searchable fields are indexed using a FULL TEXT index and on the elasticsearch index all fields are indexed to be able to search on them.

  • 写回答

1条回答 默认 最新

  • donglu0494 2015-06-24 18:44
    关注

    Is my tests elasticsearch queries can be more de 6x faster than sql queries with mysql and Doctrine. But for security questions I have always all the information backup in mysql. As far as I've read this is a common practice. After almost a year making queries in elasticsearch I fill more confortable to make complex queries and find better results with free text inputs.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题