Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The Mongo Database
branch: master
Failed to load latest commit information.
buildscripts SERVER-17267 exclude wtstats template sources from changed path.
debian SERVER-17136: update manpages
distsrc SERVER-15976 update THIRD-PARTY-NOTICES for WiredTiger 3rd party soft…
docs SERVER-16197 Update docs/building.md for 2.8
etc SERVER-16478 Remove unused List1 class
jstests SERVER-17405 Don't throw MsgAssertionException when getLog is given a…
rpm SERVER-16744 mongodb-org packages shouldn't conflict with themselves
site_scons SERVER-9560 Remove pre-compiled header support from scons
src SERVER-17276 WCE retry for collection creation on upsert, legacy writ…
.gitattributes treat xcode config files as binary
.gitignore Remove mongo-tools now built in go from .gitignore
APACHE-2.0.txt Add the Apache 2 license, add licensing info to README. MINOR
CONTRIBUTING.rst SERVER-14397: Update Building.md & Contributing.rst
GNU-AGPL-3.0.txt license
README SERVER-15855 update documentation about how packages are created
SConscript.buildinfo SERVER-13453 Strip C++ client driver artifacts from the server tree
SConscript.smoke SERVER-15882 Delete dbtests/perf/perftest, which doesn't actually work.
SConstruct SERVER-14166 Remove defaults and choices for osx-version-min scons op…
doxygenConfig prep 3.1.0
mongo_astyle remove align pointer for now
valgrind.suppressions SERVER-14536 Helgrind suppressions for race-prone counters.cpp code
win2008plus.props add support for building Win2008Plus with Visual Studio

README

MongoDB README

Welcome to MongoDB!

COMPONENTS

  mongod - The database process.
  mongos - Sharding controller.
  mongo  - The database shell (uses interactive javascript).

UTILITIES

  mongodump         - MongoDB dump tool - for backups, snapshots, etc.
  mongorestore      - MongoDB restore a dump
  mongoexport       - Export a single collection to test (JSON, CSV)
  mongoimport       - Import from JSON or CSV
  mongofiles        - Utility for putting and getting files from MongoDB GridFS
  mongostat         - Show performance statistics

BUILDING

  See docs/building.md, also www.mongodb.org search for "Building".

RUNNING

  For command line options invoke:

    $ ./mongod --help

  To run a single server database:

    $ mkdir /data/db
    $ ./mongod
    $
    $ # The mongo javascript shell connects to localhost and test database by default:
    $ ./mongo 
    > help

DRIVERS

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

PACKAGING

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

DOCUMENTATION

  http://www.mongodb.org/
 
CLOUD MANAGED MONGODB

  http://mms.mongodb.com/

MAIL LISTS AND IRC

  http://dochub.mongodb.org/core/community
  
LEARN MONGODB

  http://university.mongodb.com/

32 BIT BUILD NOTES

  MongoDB uses memory mapped files.  If built as a 32 bit executable, you will
  not be able to work with large (multi-gigabyte) databases.  However, 32 bit
  builds work fine with small development databases.

LICENSE

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

  As an exception, the files in the client/, debian/, rpm/,
  utils/mongoutils, and all subdirectories thereof are made available under
  the terms of the Apache License, version 2.0.
Something went wrong with that request. Please try again.