2010-05-02 01:40:57 +02:00
|
|
|
MongoDB README
|
|
|
|
|
2013-07-17 23:04:27 +02:00
|
|
|
Welcome to MongoDB!
|
2013-04-18 20:31:41 +02:00
|
|
|
|
2010-05-02 01:40:57 +02:00
|
|
|
COMPONENTS
|
|
|
|
|
|
|
|
mongod - The database process.
|
|
|
|
mongos - Sharding controller.
|
|
|
|
mongo - The database shell (uses interactive javascript).
|
2013-04-18 20:31:41 +02:00
|
|
|
|
2013-07-17 23:04:27 +02:00
|
|
|
UTILITIES
|
2013-04-18 20:31:41 +02:00
|
|
|
|
|
|
|
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
|
2013-07-17 23:04:27 +02:00
|
|
|
mongostat - Show performance statistics
|
2013-04-18 20:31:41 +02:00
|
|
|
|
2010-05-02 01:40:57 +02:00
|
|
|
BUILDING
|
2013-07-17 23:04:27 +02:00
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
See docs/building.md, also www.mongodb.org search for "Building".
|
2010-05-02 01:40:57 +02:00
|
|
|
|
|
|
|
RUNNING
|
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
For command line options invoke:
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2010-05-02 03:36:33 +02:00
|
|
|
$ ./mongod --help
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2010-05-02 03:36:33 +02:00
|
|
|
To run a single server database:
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2010-05-02 03:36:33 +02:00
|
|
|
$ mkdir /data/db
|
|
|
|
$ ./mongod
|
|
|
|
$
|
2010-06-17 16:38:09 +02:00
|
|
|
$ # The mongo javascript shell connects to localhost and test database by default:
|
2010-05-02 03:36:33 +02:00
|
|
|
$ ./mongo
|
|
|
|
> help
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
DRIVERS
|
|
|
|
|
2013-07-17 23:04:27 +02:00
|
|
|
Client drivers for most programming languages are available at mongodb.org. Use the
|
2011-05-01 23:50:23 +02:00
|
|
|
shell ("mongo") for administrative tasks.
|
2010-06-17 16:38:09 +02:00
|
|
|
|
2014-10-29 15:33:05 +01:00
|
|
|
PACKAGING
|
|
|
|
|
|
|
|
Packages are created dynamically by the package.py script located in the buildscripts directory. This will
|
|
|
|
generate RPM and Debian packages.
|
|
|
|
|
2011-05-01 23:50:23 +02:00
|
|
|
DOCUMENTATION
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2013-07-17 23:04:27 +02:00
|
|
|
http://www.mongodb.org/
|
2013-09-11 19:36:53 +02:00
|
|
|
|
2014-10-01 02:18:39 +02:00
|
|
|
CLOUD MANAGED MONGODB
|
2013-09-11 19:36:53 +02:00
|
|
|
|
|
|
|
http://mms.mongodb.com/
|
2013-07-17 23:04:27 +02:00
|
|
|
|
|
|
|
MAIL LISTS AND IRC
|
|
|
|
|
2012-06-20 21:42:31 +02:00
|
|
|
http://dochub.mongodb.org/core/community
|
2014-10-01 02:18:39 +02:00
|
|
|
|
|
|
|
LEARN MONGODB
|
|
|
|
|
|
|
|
http://university.mongodb.com/
|
2011-05-01 23:50:23 +02:00
|
|
|
|
|
|
|
32 BIT BUILD NOTES
|
|
|
|
|
|
|
|
MongoDB uses memory mapped files. If built as a 32 bit executable, you will
|
2010-05-02 01:40:57 +02:00
|
|
|
not be able to work with large (multi-gigabyte) databases. However, 32 bit
|
|
|
|
builds work fine with small development databases.
|
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
LICENSE
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2013-04-18 20:31:41 +02:00
|
|
|
Most MongoDB source files (src/mongo folder and below) are made available under the terms of the
|
2010-05-02 01:40:57 +02:00
|
|
|
GNU Affero General Public License (AGPL). See individual files for
|
|
|
|
details.
|
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
As an exception, the files in the client/, debian/, rpm/,
|
|
|
|
utils/mongoutils, and all subdirectories thereof are made available under
|
2010-05-02 01:40:57 +02:00
|
|
|
the terms of the Apache License, version 2.0.
|