Go to file
James Harrison 26e0db2f13 SERVER-75754 Move planCache counters into planCache sub-document
The counters:
 query.planCacheTotalSizeEstimateBytes
 query.planCacheTotalQueryShapes

are both planCache specific; for consistency with other planCache
counters (e.g., hits, misses), move these to:

 query.planCache.totalSizeEstimateBytes
 query.planCache.totalQueryShapes

This leaves the planCache subdocument appearing as follows:

 "planCache" : {
         "totalQueryShapes" : NumberLong(0),
         "totalSizeEstimateBytes" : NumberLong(0),
         "classic" : {
                 "hits" : NumberLong(0),
                 "misses" : NumberLong(2)
         },
         "sbe" : {
                 "hits" : NumberLong(0),
                 "misses" : NumberLong(0)
         }
 },

These counters are not specific to classic/sbe.
2023-09-14 11:56:51 +01:00
.vscode_defaults SERVER-75543 Changed suggested clang-tidy extension 2023-03-31 20:59:10 +00:00
bazel SERVER-80926 Omit compile timestamp data from C++ macros in bazel 2023-09-09 00:18:16 +00:00
buildfarm SERVER-79754 Add basic ability for remote execution 2023-08-21 20:42:09 +00:00
buildscripts SERVER-80656 Add Config Shard Suites 2023-09-09 00:58:15 +00:00
debian SERVER-78987 Remove the free monitoring code from mongodb/mongo repo 2023-08-18 22:18:36 +00:00
distsrc SERVER-77274 Delete src/third_party/variant-1.4.0 library 2023-06-11 21:26:52 +00:00
docs SERVER-80193 Replace Session Tag dependencies with boolean for EgressTagCloser, rename EgressTagCloser to ConnectionCloser 2023-09-07 18:52:27 +00:00
etc SERVER-80656 Add Config Shard Suites 2023-09-09 00:58:15 +00:00
evergreen SERVER-80656 Add Config Shard Suites 2023-09-09 00:58:15 +00:00
jstests SERVER-75754 Move planCache counters into planCache sub-document 2023-09-14 11:56:51 +01:00
rpm SERVER-76179 Add RuntimeDirectory to mongod.service for RPM 2023-05-04 01:16:03 +00:00
site_scons SERVER-80486 Remove vestigial TODOs 2023-09-07 21:00:51 +00:00
src SERVER-75754 Move planCache counters into planCache sub-document 2023-09-14 11:56:51 +01:00
.bazelrc SERVER-79860 Amend Bazel system to use toolchain 2023-08-15 18:01:35 +00:00
.bazelversion SERVER-80012 Added bazel version pin 2023-08-15 16:40:14 +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-79410 Enable bugprone-unused-return-value clang lint warning 2023-08-15 19:49:08 +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-80394 Improve securityToken handling 2023-08-31 23:34:58 +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-80377 Use hashed jsTestName in multitenancy suites 2023-08-25 20:12:44 +00:00
.gitattributes
.gitignore SERVER-78589 Programmatically generate docker-compose.yml for sharded, repl, standalone suites 2023-09-06 04:18:28 +00:00
.lldbinit SERVER-41168 Add lldb comment to .lldbinit 2019-06-17 10:07:37 -04:00
.mypy.ini SERVER-72262 Bump Python minimum version to 3.9/3.10 2023-08-02 21:39:07 +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
CONTRIBUTING.rst
CreativeCommons.txt SERVER-72867 eol-terminate all nonempty text files 2023-04-26 19:19:19 +00:00
jsconfig.json SERVER-68594 Added better javascript code hinting 2023-01-20 21:14:47 +00:00
LICENSE-Community.txt SERVER-37651 Fix typo in license files 2018-10-17 13:56:42 -04:00
package.json SERVER-68594 Moved location of code-workspace file 2023-01-12 20:08:40 +00:00
poetry.lock SERVER-80829 Removed mongo-ninja-python from s390x and ppc 2023-09-07 13:35:18 +00:00
pyproject.toml SERVER-80829 Removed mongo-ninja-python from s390x and ppc 2023-09-07 13:35:18 +00:00
README.md SERVER-76731 Update README.md 2023-05-01 23:12:58 +00:00
README.third_party.md SERVER-79591 Update zlib to 1.3 - with build fix 2023-08-25 20:11:36 +00:00
SConstruct SERVER-79122 Support building the GDB pretty printer tests using ninja 2023-09-06 17:12:49 +00:00
WORKSPACE.bazel SERVER-80501 Refactor Bazel-related files into /bazel directory 2023-09-01 21:08:54 +00:00

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.