Go to file
Andrew Bui fcd5541703 Import wiredtiger: d2835691d9be240b7bb295a132b28d058a0de5fb (#41897)
GitOrigin-RevId: f79b970f08f60c41491003cd55a3dd459a279c39
2025-10-21 18:46:30 +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-108544 update to latest coverity version (#40738) (#40818) 2025-09-08 21:30:02 +00:00
buildfarm SERVER-88583 OWNERS format proposal (#20460) 2024-03-28 19:53:00 +00:00
buildscripts SERVER-110161 SERVER-109980 correct $_startAt behavior with deleted record id (#40996) 2025-09-08 15:25:21 +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-108544 update to latest coverity version (#40738) (#40818) 2025-09-08 21:30:02 +00:00
evergreen SERVER-108544 update to latest coverity version (#40738) (#40818) 2025-09-08 21:30:02 +00:00
jstests Import wiredtiger: d2835691d9be240b7bb295a132b28d058a0de5fb (#41897) 2025-10-21 18:46:30 +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 Import wiredtiger: d2835691d9be240b7bb295a132b28d058a0de5fb (#41897) 2025-10-21 18:46:30 +00:00
tools SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
.bazelignore SERVER-90718 add wiredtiger dist dir to bazelignore (#24508) (#41649) (#41893) 2025-10-21 18:46:15 +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-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-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 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-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-107852 SBOM rebuild to v8.0 (#39741) 2025-09-08 14:31:33 +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-107852 SBOM rebuild to v8.0 (#39741) 2025-09-08 14:31:33 +00:00
poetry_requirements.txt SERVER-103927 switch from scons to bazel (#39284) 2025-07-29 17:50:19 +00:00
pyproject.toml SERVER-107852 SBOM rebuild to v8.0 (#39741) 2025-09-08 14:31:33 +00:00
sbom.json SERVER-107852 SBOM rebuild to v8.0 (#39741) 2025-09-08 14:31:33 +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.