We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
BuguDao 的save()方法暂用时间很长,我在进行循环插入的时候100多条数据能占用将近2分钟的时间。
The text was updated successfully, but these errors were encountered:
这就要具体问题具体分析了。 可能的情况如下: 1、硬件环境问题(包括机器性能、网络环境等等)。 2、如果使用自增长的ID,需要查询数据库获取到目前最大的ID值,会比较慢。一般情况下不推荐使用自增长ID。 3、还跟WriteConcern参数的设置有关系,比如WriteConcern如果设置成了MAJORITY的话,就相对较慢。
Sorry, something went wrong.
No branches or pull requests
BuguDao 的save()方法暂用时间很长,我在进行循环插入的时候100多条数据能占用将近2分钟的时间。
The text was updated successfully, but these errors were encountered: