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.

去到頂部