2000w数据如何实现秒级检索 #4088
Unanswered
bigmouse0001
asked this question in
Q&A
2000w数据如何实现秒级检索
#4088
Replies: 1 comment
-
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please make sure of the following things
Description of the feature / 需求描述
alist有2000w索引数据,每次索引都需要几分钟,这实在是太长了。于是我试着为db文件建立全文索引,但最终失败。
Suggested solution / 实现思路
对name列建立全文索引,语法错误失败:
creat fulltext index x_search_nodes on x_search_nodes(name)
试图将引擎修改为innodb,再建立全文索引,语法错误失败
alter table x_search_nodes engine=innodb
对name列建立普通索引,查询时间缩短为50s,但仍然过长。
creat index idx_name on x_search_nodes(name)
Additional context / 附件
No response
Beta Was this translation helpful? Give feedback.
All reactions