Mongodb 与 Couch Db Select 性能
我读到了很多关于 Couch Db 和 Mongo Db 在插入功能方面的性能比较的内容。然而,在某处它说 Couch Db 具有更好的读取性能。是否有基于这些数据库之间的select
功能的性能比较?
I read many things about performance comparison between Couch Db and Mongo Db at insert capabilities. However at somewhere it says that Couch Db has a better read performance. Is there any performance comparison based on select
capabilities of between that databases?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不要相信基准测试
好的基准并非平凡
所以 在这里你可以看到,CouchDB具有很高的读取性能MongoDB 具有较高的写入性能。所以你会有很多读操作,使用CouchDB。
Don't trust benchmarks
Good Benchmarks Are Non-Trivial
So here you can see, that CouchDB has High Read performance and MongoDB has High Write performance. So you will have many read operations, use CouchDB.
除了 @Sergey 的链接之外,请确保您还阅读了 http://jan.prima.de/plok/archives/175-Benchmarks-You-are-Doing-it-Wrong.html 和 http://jan.prima.de/plok/archives/176 -Caveats-of-Evaluating-Databases.html
这并不是说其中一个逐字比另一个更快。但两者都会选择一组不同的权衡,从而为您的用例带来一定的性能。但这并不意味着他们正在做同样的事情,或者更好或更糟。
In addition to @Sergey's links, make sure you also read http://jan.prima.de/plok/archives/175-Benchmarks-You-are-Doing-it-Wrong.html and http://jan.prima.de/plok/archives/176-Caveats-of-Evaluating-Databases.html
It is not that one is verbatim faster than the other. But either will pick a different set of trade-offs that will result in a certain performance for your use case. But that doesn't say they are doing the same and either is better or worse.