introduction to mongoDB(介绍 mongodb)

本文介绍了MongoDB这一高性能、高可用性的开源文档数据库。MongoDB支持动态模式,能够实现自动扩展,适用于需要快速读写及灵活数据结构的应用场景。本文还详细解释了MongoDB的关键特性,包括其对嵌入式数据模型的支持、自动化的复制集管理和水平扩展能力。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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.
数据集可以提供 最终一致性读取为低延迟高吞吐量的部署

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值