为什么MongoDB这么快 [英] Why Is MongoDB So Fast

查看:206
本文介绍了为什么MongoDB这么快的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我向我展示了MongoDB与SQL 2008的同事性能基准,尽管他认为MongoDB更快,但他不知道这样做的可能性.他的逻辑是,SQL已经存在了几十年,并且有一些最聪明的人在使用它,MongoDB怎么能做到呢?一个相对较新的孩子在性能上如此出色?我无法真正提供可靠的技术答案,我希望你们能提供帮助.

I was showing my co-worker performance benchmarks of MongoDB vs SQL 2008 and while he believes MongoDB is faster, he doesn't understand how its possible. His logic, was that SQL has been around for decades, and has some of the smartest people working on it, and how can MongoDB; a relatively new kid on the block be so superior in performance? I wasn't able to really provide a solid and technical answer, and I was hoping you guys could assist.

推荐答案

MongoDB与传统的关系数据库不同.它是 noSQL 或基于文档的,它提供了较弱的一致性保证,并且不必保证一致性像SQL.

MongoDB isn't like a traditional relational database. It's noSQL or document based, it provides weak consistency guarantees, and it doesn't have to guarantee consistency like SQL.

这篇关于为什么MongoDB这么快的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆