Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The Mongo Database

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bson
buildscripts
client
db
dbtests
debian
distsrc
docs
jstests
lib
mongo.xcodeproj
pcre-7.4
rpm
s
scripting
shell
tools
util
.gitattributes
.gitignore
APACHE-2.0.txt
GNU-AGPL-3.0.txt
README
SConstruct
doxygenConfig
gch.py
pch.cpp
pch.h
targetver.h
valgrind.suppressions

README

MongoDB README

DOCUMENTATION

  http://www.mongodb.org/

COMPONENTS

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

BUILDING
      
  see docs/building.md

RUNNING

  To see command line options invoke:

    $ ./mongod --help

  To run a single server database:

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

NOTES

  Mongo 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.

LICENSING

  Most MongoDB source files 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 debian/ directory, the rpm/
  directory, 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.