MongoDB

MongoDB是一个开源文档数据库,可提供高性能、高可用性和自动缩放。(MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling.)

Github星跟踪图

MongoDB是一个开源文档数据库,可提供高性能、高可用性和自动缩放。

文件数据库
MongoDB中的一个记录是一个文档,它是一个由字段和值对组成的数据结构。 MongoDB文档类似于JSON对象。字段的值可能包括其他文档,数组和文档数组。
MongoDB文件。
使用文档的优点是:
  • 文档(即对象)对应于许多编程语言中的原生数据类型。
  • 嵌入式文档和数组减少了对昂贵连接的需求。
  • 动态模式支持流畅的多态。
主要特征
高性能 -- MongoDB提供高性能的数据持久性。尤其是,
  • 支持嵌入式数据模型可减少数据库系统上的I/O活动。
  • 索引支持更快的查询,并且可以包括来自嵌入式文档和数组的密钥。
丰富的查询语言
MongoDB支持丰富的查询语言来支持读写操作(CRUD)以及:
  • 数据汇总
  • 文本搜索和地理空间查询。
高可用性
MongoDB的复制工具,称为副本集,提供:
  • 自动故障转移和数据冗余
  • 复制集是一组MongoDB服务器,它们保持相同的数据集,提供冗余和增加数据可用性。
水平可扩展性
MongoDB提供了可扩展性,作为其核心功能的一部分:
  • 分片通过一组机器分发数据。
  • MongoDB 3.4支持基于分片键创建数据区域。在平衡的集群中,MongoDB将区域覆盖的读写操作只引导到区域内的分片。有关详细信息,请参阅“区域”手册页。
支持多存储引擎
MongoDB支持多种存储引擎,如:
  • WiredTiger存储引擎
  • 和MMAPv1存储引擎。

此外,MongoDB还提供可插拔存储引擎API,允许第三方为MongoDB开发存储引擎。

概览

名称与所有者mongodb/mongo
主编程语言C++
编程语言Python (语言数: 15)
平台
许可证Other
发布数1295
最新版本名称r8.0.0-rc3 (发布于 2024-04-24 12:14:32)
第一版名称r0.0.3 (发布于 2008-06-07 09:28:52)
创建于2009-01-15 16:15:18
推送于2024-04-27 15:46:17
最后一次提交2024-04-19 15:24:06
星数25.5k
关注者数1.2k
派生数5.5k
提交数80.8k
已启用问题?
问题数0
打开的问题数0
拉请求数125
打开的拉请求数83
关闭的拉请求数1364
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

MongoDB README

Welcome to MongoDB!

COMPONENTS

mongod - The database server.
mongos - Sharding router.
mongo - The database shell (uses interactive javascript).

UTILITIES

install_compass - Installs MongoDB Compass for your platform.

BUILDING

See docs/building.md.

RUNNING

For command line options invoke:

$ ./mongod --help

To run a single server database:

$ sudo mkdir -p /data/db
$ ./mongod
$
$ # The mongo javascript shell connects to localhost and test database by default:
$ ./mongo
> help

INSTALLING COMPASS

You can install compass using the install_compass script packaged with MongoDB:

$ ./install_compass

This will download the appropriate MongoDB Compass package for your platform
and install it.

DRIVERS

Client drivers for most programming languages are available at
https://docs.mongodb.com/manual/applications/drivers/. Use the shell
("mongo") for administrative tasks.

BUG REPORTS

See https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports.

PACKAGING

Packages are created dynamically by the package.py script located in the
buildscripts directory. This will generate RPM and Debian packages.

DOCUMENTATION

https://docs.mongodb.com/manual/

CLOUD HOSTED MONGODB

https://www.mongodb.com/cloud/atlas

MAIL LISTS

https://groups.google.com/forum/#!forum/mongodb-user

A forum for technical questions about using MongoDB.

https://groups.google.com/forum/#!forum/mongodb-dev

A forum for technical questions about building and developing MongoDB.

LEARN MONGODB

https://university.mongodb.com/

LICENSE

MongoDB is free and the source is available. Versions released prior to
October 16, 2018 are published under the AGPL. All versions released after
October 16, 2018, including patch fixes for prior versions, are published
under the Server Side Public License (SSPL) v1. See individual files for
details.

去到顶部