转载

关于mongodb的一些特性

关于mongodb的一些特性:

dbDao 百度贴吧:http://tieba.baidu.com/dbdao

MongoDB技术学习QQ群: 421431253

Which features of relational database management systems were deliberately omitted in MongoDB and help us to obtain horizontal scalability ?  check all the apply.

  1. Authentication
  2. Joins
  3. multi-document transactions
  4. multi-statement transactions

Authentication

mongodb 支持Authentication 身份认证,一旦启用访问控制,mongodb将要求所有客户端在授权认证后才能访问; mongodb 3.0以后默认使用 challenge and response mechanism (SCRAM-SHA-1),之前的版本默认使用 MongoDB Challenge and Response (MONGODB-CR)。

mongodb也支持x509 certificate authentication, LDAP proxy authentication, and Kerberos authentication等授权认证。

http://docs.mongodb.org/manual/core/authentication/

Join

MongoDB wasn’t designed in a lab. We built MongoDB from our own experiences building large scale, high availability, robust systems. We didn’t start from scratch, we really tried to figure out what was broken, and tackle that. So the way I think about MongoDB is that if you take MySql, and change the data model from relational to document based, you get a lot of great features: embedded docs for speed, manageability, agile development with schema-less databases, easier horizontal scalability because joins aren’t as important.

mongodb的开发人员认为水平扩展能力horizontal scalability  要比JOIN来的重要,所以在mongodb 中并不直接支持join。

Significantly, MongoDB supports neither joins nor transactions。

Multi-ducoment transactions

MongoDB does not support multi-document transactions.

http://docs.mongodb.org/manual/faq/fundamentals/

However, MongoDB does provide atomic operations on a single document.

mongodb提供对单个document的原子性操作,但不支持涉及到多个文件的食物multi-document transactions。

multi-statement transactions

Pattern

Overview

Consider a scenario where you want to transfer funds from account A to account B . In a relational database system, you can subtract the funds from A and add the funds to B in a single multi-statement transaction. In MongoDB, you can emulate a two-phase commit to achieve a comparable result.

MongoDB不支持multi-statement transaction多语句事务,可以通过2段式提交来获得类似效果。

相关文章 | Related posts:

  1. MongoDB的Namespace dbDao 百度贴吧:http://tieba.baidu.com/dbdao MongoDB技术学习QQ群: […]...
  2. 预约MongoDB university的DBA认证考试 诗檀软件 MongoDb学习群 421431253     现在MongoDB unive […]...
  3. Exadata Storage Cell Offloading / Smart Scan One of the main new features associated with Exadata sy...
  4. know more about ‘CSS initialization’ know more about ‘CSS initialization’   […]...
  5. Raid Level,该如何为Oracle存储选择才好? Oracle Database中的文件可以分成多种:包括数据文件、联机日志文件、归档日志文件、临时文件及控制文 […]...
  6. 在Windows 7上安装MongoDB 2.6.7 注意:Windows并不适合学习和部署MongoDB ,本文仅仅是介绍在Windows7上如何安装MongoD […]...
  7. #揭秘ORACLE#ORACLE目前的管理层架构 #揭秘ORACLE#ORACLE目前的管理层架构,直接report给拉里的9人,总员工数大约12万。马克赫德负 […]...
  8. 云级Key-value数据库大比较 以下列表对各类Key-Value 的NoSQL数据库从 备份backup 到 Language API 各个方 […]...
正文到此结束
Loading...