The MongoDB Database
Clone or download
Failed to load latest commit information.
buildscripts SERVER-37016 Fix suite template Sep 21, 2018
debian SERVER-36043 Start mongod after Aug 8, 2018
distsrc SERVER-35665 Add license file for community edition Jun 19, 2018
docs SERVER-36206 Add note about --disable-warnings-as-errors to Jul 24, 2018
etc SERVER-36850 Add a replica set passthrough suite to detect errors in … Sep 21, 2018
jstests SERVER-37254 Retry on CursorNotFound error in multi_statement_transac… Sep 24, 2018
pytests SERVER-36162 Powercycle - ensure internal crash command has been exec… Sep 13, 2018
rpm SERVER-36043 Start mongod after Aug 8, 2018
site_scons SERVER-37170 Dont let shared archives become reverse edges for programs Sep 21, 2018
src SERVER-29160 bump timeout for migration operations Sep 25, 2018
.clang-format SERVER-23971 Update Clang-Format Options for llvm 3.8 and mongo 3.4 s… May 28, 2016
.eslintignore SERVER-31390 Use a templating language to generate error_codes.{h,cpp… Nov 2, 2017
.eslintrc.yml SERVER-23728 Enable the no-unused-expressions ESLint rule Apr 5, 2017
.gdbinit SERVER-28668 Add to .gdbinit Apr 7, 2017
.gitattributes SERVER-29877 Mount /data on EBS volume in AWS EC2 instance Jul 6, 2017
.gitignore SERVER-36757 Generate and extract mongoebench-compatible JSON config … Aug 27, 2018
.pydocstyle SERVER-35195 Disable docstring requirement for __init__ in pydocstyle Jun 4, 2018
.pylintrc SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy Apr 5, 2018
.style.yapf SERVER-23312 Format Python files with yapf Mar 26, 2018
APACHE-2.0.txt Add the Apache 2 license, add licensing info to README. MINOR Feb 3, 2010
CONTRIBUTING.rst SERVER-29767 Update CONTRIBUTING.rst to point to github wiki Jun 21, 2017
GNU-AGPL-3.0.txt license Jul 22, 2008
LICENSE-Community.txt SERVER-35665 Add license file for community edition Jun 19, 2018
README SERVER-32211 Set the python interpreter based on target platform Dec 11, 2017
SConstruct SERVER-36703 Possibility to link mongoc as darwin framework. Sep 20, 2018
mypy.ini SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy Apr 5, 2018



Welcome to MongoDB!


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


  mongodump         - Create a binary dump of the contents of a database.
  mongorestore      - Restore data from the output created by mongodump.
  mongoexport       - Export the contents of a collection to JSON or CSV.
  mongoimport       - Import data from JSON, CSV or TSV.
  mongofiles        - Put, get and delete files from GridFS.
  mongostat         - Show the status of a running mongod/mongos.
  bsondump          - Convert BSON files into human-readable formats.
  mongoreplay       - Traffic capture and replay tool.
  mongotop          - Track time spent reading and writing data.
  install_compass   - Installs MongoDB Compass for your platform.


  See docs/


  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


  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.


  Client drivers for most programming languages are available at Use the shell
  ("mongo") for administrative tasks.




  Packages are created dynamically by the script located in the
  buildscripts directory. This will generate RPM and Debian packages.



MAIL LISTS!forum/mongodb-user

    A forum for technical questions about using MongoDB.!forum/mongodb-dev

    A forum for technical questions about building and developing MongoDB.



  Most MongoDB source files (src/mongo folder and below) are made available
  under the terms of the GNU Affero General Public License (GNU AGPLv3). See
  individual files for details.