Go to file
Wei Hu 47cde510a4 SERVER-114806 Add wildcard multikey metadata keys to sorter directly and deduplicate before bulk load (#44814)
GitOrigin-RevId: 4ede5c573d8f9683c79ef02d6249ba0d30181b0e
2025-12-12 16:13:15 +00:00
.github SERVER-111072 Automate SBOM Generation from Endor Labs API [v8.0] (#43963) 2025-12-01 18:04:57 +00:00
.vscode_defaults SERVER-103930 delete scons references after bazel conversion (#40155) 2025-09-24 17:03:20 +00:00
bazel SERVER-114770 re-enable clang tidy checks on 8.0 (#44824) 2025-12-12 16:12:07 +00:00
buildfarm SERVER-88583 OWNERS format proposal (#20460) 2024-03-28 19:53:00 +00:00
buildscripts SERVER-95570 Avoid deleting the same document twice in BatchedDeleteStage (#39247) (#39422) 2025-12-12 16:13:02 +00:00
debian SERVER-103930 delete scons references after bazel conversion (#40155) 2025-09-24 17:03:20 +00:00
distsrc SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
docs SERVER-103930 delete scons references after bazel conversion (#40155) 2025-09-24 17:03:20 +00:00
etc SERVER-95570 Avoid deleting the same document twice in BatchedDeleteStage (#39247) (#39422) 2025-12-12 16:13:02 +00:00
evergreen SERVER-114770 re-enable clang tidy checks on 8.0 (#44824) 2025-12-12 16:12:07 +00:00
jstests SERVER-114806 Add wildcard multikey metadata keys to sorter directly and deduplicate before bulk load (#44814) 2025-12-12 16:13:15 +00:00
rpm SERVER-87451 Upgrade rhel8.0 variants to rhel8.8 (#23615) (#23839) 2024-07-06 19:32:43 +00:00
src SERVER-114806 Add wildcard multikey metadata keys to sorter directly and deduplicate before bulk load (#44814) 2025-12-12 16:13:15 +00:00
tools SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.bazelignore SERVER-114770 re-enable clang tidy checks on 8.0 (#44824) 2025-12-12 16:12:07 +00:00
.bazeliskrc SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.bazelrc SERVER-114770 re-enable clang tidy checks on 8.0 (#44824) 2025-12-12 16:12:07 +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-114770 re-enable clang tidy checks on 8.0 (#44824) 2025-12-12 16:12:07 +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-95816 Backport property-based tests to v8.0 (#38184) 2025-09-15 15:20:11 +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-114770 re-enable clang tidy checks on 8.0 (#44824) 2025-12-12 16:12:07 +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-107852 SBOM rebuild to v8.0 (#39741) 2025-09-08 14:31:33 +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-114770 re-enable clang tidy checks on 8.0 (#44824) 2025-12-12 16:12:07 +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 SERVER-29767 Update CONTRIBUTING.rst to point to github wiki 2017-06-21 11:05:25 -04:00
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-114770 re-enable clang tidy checks on 8.0 (#44824) 2025-12-12 16:12:07 +00:00
MODULE.bazel.lock SERVER-93265 support windows rc files in bazel (#42766) 2025-10-24 04:04:19 +00:00
OWNERS.yml SERVER-103930 delete scons references after bazel conversion (#40155) 2025-09-24 17:03:20 +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-114494 Improvements to SBOM automation [v8.0-staging] (#44578) 2025-12-12 16:11:03 +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-112109: Evergreen Task and scripts to run Server SBOM upload Google Drive at release - 8.0 backport (#43226) 2025-12-01 17:53:47 +00:00
poetry_requirements.txt SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
pyproject.toml SERVER-112109: Evergreen Task and scripts to run Server SBOM upload Google Drive at release - 8.0 backport (#43226) 2025-12-01 17:53:47 +00:00
sbom.json SERVER-114494 Improvements to SBOM automation [v8.0-staging] (#44578) 2025-12-12 16:11:03 +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.