Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教关于索引创建时的效率问题 #76

Open
duomi opened this issue Apr 5, 2018 · 0 comments
Open

请教关于索引创建时的效率问题 #76

duomi opened this issue Apr 5, 2018 · 0 comments

Comments

@duomi
Copy link

duomi commented Apr 5, 2018

不使用持久存储的结果:
加入的索引总数3711375
建立索引花费时间 3.159781129s
建立索引速度每秒添加 1.174567 百万个索引
搜索平均响应时间 0.051146982400000006 毫秒
搜索吞吐量每秒 78205.98229466612 次查询
使用持久存储:
建立索引花费时间 13.068458511s
建立索引速度每秒添加 0.283995 百万个索引
搜索平均响应时间 0.05819595780000001 毫秒
搜索吞吐量每秒 68733.29611219149 次查询
从持久存储加入的索引总数3711375
从持久存储建立索引花费时间 6.406528378999999
从持久存储建立索引速度每秒添加 0.579311 百万个索引

请问上述文档里的介绍加入索引总数是指记录条数吗?
我参考了微博搜索教程的写法,使用自己的50万条数据创建持久存储,但是时间都过了1个小时了,还没有创建完索引,请问这是什么原因?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant