dongsaoshuo4326 2016-03-30 19:52
浏览 45

最快的NoSQL通配符搜索DBMS?

This is not a subjective question. I'd like to know objectively, what is the fastest at searching both:

  1. "search string" + wildcard
  2. wildcard + "search string" + wildcard

Constraints:

  • Limit to first 20 results (1 preferred over 2, aka run "search string" + wildcard before wc+ss+wc and only if 20 results not found for first)
  • 100,000 rows in db (non-changing)

This database would be very heavily used for searching only. Trying to switch from MySQL to a single file that can be implemented more easily in an executable or towards mobile development. If MySQL servers can be packaged that would work too, but from what I can tell that is a whole complex mess of it's own.

Do these features exist in somewhat reasonable performance in any database not requiring a server? So far we are working with key value store and trying to create multiple databases to parse search queries, but obviously that takes up a lot of hard drive space.

With MySQL our queries are max 0.05s (best 0.03s) using an index. With Go's BoltDB Key=>Value we're hitting max of 3.5s (as it has to query every single key to check for a match) -- so if there is a way to decrease this greatly we're really interested in finding out!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 如何在scanpy上做差异基因和通路富集?
    • ¥20 关于#硬件工程#的问题,请各位专家解答!
    • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
    • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
    • ¥30 截图中的mathematics程序转换成matlab
    • ¥15 动力学代码报错,维度不匹配
    • ¥15 Power query添加列问题
    • ¥50 Kubernetes&Fission&Eleasticsearch
    • ¥15 報錯:Person is not mapped,如何解決?
    • ¥15 c++头文件不能识别CDialog