Go to file
Matt Kneiser 8db0d248dc SERVER-109584 Remove spurious time-series write invariant for group commit (#40353)
GitOrigin-RevId: e98a523868e172a7b330600d313676a51044d8e6
2025-09-02 22:22:15 +00:00
.github SERVER-94787 Do not abandon snapshot to wait for oplog visibility during oplog scan (#39321) 2025-09-02 18:45:42 +00:00
.vscode_defaults SERVER-87001 Added markdown formatting to bazel and commit queue (#19273) 2024-02-28 16:53:49 +00:00
bazel SERVER-108749 SERVER-108778 Switch coverity task to use bazel instead of scons (#39604) 2025-08-08 19:49:12 +00:00
buildfarm SERVER-88583 OWNERS format proposal (#20460) 2024-03-28 19:53:00 +00:00
buildscripts SERVER-93673 Mount Red Hat license keys to ubi7 containers in package… (#40315) 2025-09-02 22:06:23 +00:00
debian SERVER-101810: Use runtime platform parameters for listenBacklog (#37131) 2025-07-25 23:17:05 +00:00
distsrc SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
docs SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
etc SERVER-93673 Mount Red Hat license keys to ubi7 containers in package… (#40315) 2025-09-02 22:06:23 +00:00
evergreen SERVER-105519 [v8.0] always install fresh venv for ppc (#37391) 2025-09-02 17:46:14 +00:00
jstests SERVER-94787 Do not abandon snapshot to wait for oplog visibility during oplog scan (#39321) 2025-09-02 18:45:42 +00:00
rpm SERVER-87451 Upgrade rhel8.0 variants to rhel8.8 (#23615) (#23839) 2024-07-06 19:32:43 +00:00
site_scons SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
src SERVER-109584 Remove spurious time-series write invariant for group commit (#40353) 2025-09-02 22:22:15 +00:00
tools SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.bazelignore SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.bazeliskrc SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.bazelrc SERVER-108655 Use our own architectures for naming the top level folder in release packages (#39603) 2025-08-05 04:54:21 +00:00
.bazelversion SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.clang-format SERVER-74089 Change clang-format setting DeriveLineEnding to true to allow for Windows-style line endings locally 2023-02-17 01:36:20 +00:00
.clang-tidy.in SERVER-90577 Enable tidy check performance-inefficient-string-concatenation (#22969) 2024-06-04 23:10:25 +00:00
.eslintignore SERVER-69408 Add randomized testing for the mixed-type timeseries bug 2022-09-16 22:05:44 +00:00
.eslintrc.yml SERVER-99146 Disallow committing imports of ShardingTest and ReplSetTest (#32386) 2025-06-23 21:18:37 +00:00
.gdbinit SERVER-75613 Add GDB pretty printers for immutable data structures 2023-04-21 13:30:50 +00:00
.git-blame-ignore-revs SERVER-87001 Added markdown formatting to bazel and commit queue (#19273) 2024-02-28 16:53:49 +00:00
.gitattributes SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.gitignore SERVER-108655 Use our own architectures for naming the top level folder in release packages (#39603) 2025-08-05 04:54:21 +00:00
.lldbinit SERVER-41168 Add lldb comment to .lldbinit 2019-06-17 10:07:37 -04:00
.mypy.ini SERVER-100609 resolve sbom schema reference spdx.schema.json to a local copy (#34108) 2025-05-05 21:50:32 +00:00
.npmrc SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.prettierignore SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.prettierrc SERVER-76878 Add markdown linting capability in Bazel (#18446) 2024-02-05 18:19:36 +00:00
.pydocstyle SERVER-68593 Disable low value python warnings 2022-09-02 22:55:09 +00:00
.pylintrc SERVER-76796 Enable more lint warnings and fix them 2023-07-16 01:54:51 +00:00
.style.yapf SERVER-23312 Format Python files with yapf 2018-03-26 13:04:25 -04:00
.udbinit SERVER-50449 Add gdb helper scripts for UndoDB 2020-09-01 15:48:47 +00:00
BUILD.bazel SERVER-108655 Use our own architectures for naming the top level folder in release packages (#39603) 2025-08-05 04:54:21 +00:00
CODEOWNERS SERVER-85713 Exclude error_codes.yml from Service Arch owned files (#18377) 2024-01-26 23:32:55 +00:00
CONTRIBUTING.rst
CreativeCommons.txt SERVER-72867 eol-terminate all nonempty text files 2023-04-26 19:19:19 +00:00
LICENSE-Community.txt SERVER-37651 Fix typo in license files 2018-10-17 13:56:42 -04:00
MODULE.bazel SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
MODULE.bazel.lock SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
OWNERS.yml SERVER-94187 Switch git ssh to https in copybara (#27211) 2024-11-20 22:05:04 +00:00
README.md SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
README.third_party.md SERVER-105611 Upgrade MozJS/Spidermonkey to ESR 128.11 (#37483) 2025-07-02 21:29:22 +00:00
SConstruct SERVER-105041 [v8.0] upgrade to scons 4.9.1 and set MSVC_TOOLSET_VERSION (#36325) 2025-06-27 16:57:00 +00:00
WORKSPACE.bazel SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
copy.bara.sky SERVER-94187 Switch git ssh to https in copybara (#27211) 2024-11-20 22:05:04 +00:00
copy.bara.staging.sky SERVER-94187 Switch git ssh to https in copybara (#27211) 2024-11-20 22:05:04 +00:00
eslint.config.mjs SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
jsconfig.json SERVER-68594 Added better javascript code hinting 2023-01-20 21:14:47 +00:00
package.json SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
pnpm-lock.yaml SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
poetry.lock SERVER-107954: Update evergreen-py to improve retry logic (#39209) 2025-09-02 21:02:08 +00:00
poetry_requirements.txt SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
pyproject.toml SERVER-107954: Update evergreen-py to improve retry logic (#39209) 2025-09-02 21:02:08 +00:00
sbom.json SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
symbols.orderfile SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00

README.md

Logo MongoDB README

Welcome to MongoDB!

Components

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

Download MongoDB

Building

See Building MongoDB.

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 buildscripts/packager.py script. This will generate RPM and Debian packages.

Learn MongoDB

Cloud Hosted MongoDB

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

Forums

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 which will specify the license applicable to each file. Files subject to the SSPL will be noted in their headers.