Skip to content
The Mongo Database
C++ JavaScript Python Other
Latest commit 020b603 Feb 11, 2009 @dwight dwight more sensible vesrion #
Failed to load latest commit information.
bin $hint takes keypattern objects now Jan 30, 2009
client finish the Repl client connection in the c++ driver. Feb 11, 2009
db more sensible vesrion # Feb 11, 2009
dbgrid fix release build to build for mongos visual studio Feb 10, 2009
dbtests Remove logging Feb 10, 2009
distsrc resources for distribution Feb 11, 2009
jars jline for dbshell Jan 10, 2009
jstests Add very basic hint test Feb 9, 2009
lib boost Nov 5, 2007
mongo.xcodeproj Update xcode project file Feb 9, 2009
pcre-7.4 vc++ fixes Jan 8, 2009
tools include for windows Feb 10, 2009
util little things: hack for windows filenames, better logging Feb 11, 2009
.gitattributes treat xcode config files as binary Feb 2, 2009
.gitignore mongoimport -> mongorestore Feb 8, 2009
GNU-AGPL-3.0.txt license Jul 22, 2008
README README : small update, info on v8 and using scons Jan 28, 2009
SConstruct install notices on release build Feb 11, 2009
stdafx.cpp rename classes and add a new client connect method Feb 6, 2009
stdafx.h dbtop Feb 9, 2009
stdafx.h.gch first commit Oct 19, 2007
targetver.h Replace tab indentation with spaces Dec 28, 2008


Mongo Database README



db/             : core database source code
grid/           : socket messaging stuff
util/           : util classes


- Pre-requisite for 'mongo', the MongoDB interactive shell:

  The shell requires the library ../v8/libv8.  There is no v8 binary distro, so
  we recommend you install and build V8 as follows:

    $ cd ..
    $ svn checkout v8
    $ cd v8
    $ scons libv8.a

- Then use scons to build.  

  If you want to build everything (mongod, mongo, tools, etc):

     $ scons .

  If you only want to build the database:

     $ scons


Run ./db and command line options will display.


Mongo has been tested with GCC 4.1.2 and Visual Studio 2008.  Older versions
of GCC may not be happy.


Mongo uses the 10gen appserver and the Java Virtual Machine to execute 
user program code in the database.  This feature is optional -- if you would 
like to run the database without these installed, run with the --nojni 
option.  With --nojni specified, the db.eval() and $where features are no 
longer available.

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 should work fine with small development databases.

To compile the unit tests, you need to install the unit test framework from:

--- WINDOWS ---

     - python 2.6 (for scons)
     - scons
     - boost 1.35
     - vc++ express
     - windows sdk - tested with v6.0 v6.0a
     - java sdk 1.6

    you have to add java\jdk\bin\ to your path

   mkdir \data\
   mkdir \data\db
   db\db run

Something went wrong with that request. Please try again.