welcome to MongoDb,this document provides a brief introduction to mongoDb and some key concepts.See the installation guides for infomation on downloading and installing MongoDb.
欢迎使用mongoDb,这个文档提供一个简短的对mongodb的简介 和一些重要的概念,看这个安装指南以供参考 下载和安装mongodb。
what is MongoDB (什么是mongoDB)
MongoDb is an open-source document database that provides high performance,high availability, and automatic scaling.
mongodb 是一个开源的文档数据库,它提供了高性能,高可用性和自动缩放
Document Database (文档数据库)
A record in MongoDB is a document, which is a data(数据) structure(结构) composed(组成) of field(领域) and value pairs(项值队).MongoDB document are similar(类似) to JSON objects. The values of fields may include other documents. arrays and arrays of documents.
一条记录在mongodb是一个文档,一个数据结构组成了一个领域和键值对,mongodb的文档类似于json对象,这些字段的值可以引入其他的文档,数组和数组文档。
A mongodb document (一个mongodb的文档)
The advantages(优点) of using documents are :使用文档的优点
Document (i.e. objects) correspond to native data types in many programming language.
文档(即对象)想当于原生数据在许多的编程语言里面
Embedded documents and arrays reduce need for expensive joins.
嵌入文档和数组减少需要昂贵的连接
Dynamic schema supports fluent polymorphism.
动态的模型支持流畅的多态性
Key Features(关键特性)
High Performance(高性能)
MongoDb provides high performance data persistence . in particular.(mongodb 提供高性能数据持久性。特别是:)
Supports for embedded data models reduces I/O activity on database system .
支持嵌入式的数据模型减少I/O活动在数据库系统
Indexes support faster queries and can inculde keys from embedded documents and arrays.
索引支持快的查询,并可以包括从嵌入式文档和数组的键。
High Avilability(高可用性)
To provide high availability, MongoDB's replication facility, called relica sets,provide:
提供高可用性,mongodb的轻松复制,被叫做复制集,提供:
automatic failover. (自动失效备援)
data redundancy(数据冗余)
A replica set is a group of mongodb servers that maintain the same data set ,providing redundancy and increasing data availiability.
一个复制集是一组mongodb的服务器保持相同的数据集,提供冗余和增加数据的可用性
automatic scaling (自动缩放)
MongoDB provides horizontal(水平) scalability(高可扩展性) as part of its core functionality.
mongodb提供了水平的高可扩展性作为它核心方法的一部分
automatic sharding(分片) distributes(把....分类) data across a cluster of machines.
跨集群机器自动分片分配数据
replica sets can provide eventually-consistent reads for low-latency high throughput deployments.
数据集可以提供 最终一致性读取为低延迟高吞吐量的部署