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
|
|
|
|
|
2017-02-24 23:42:25 +01:00
|
|
|
mongod - The database server.
|
|
|
|
mongos - Sharding router.
|
2010-05-02 01:40:57 +02:00
|
|
|
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
|
|
|
|
2017-02-24 23:42:25 +01:00
|
|
|
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.
|
2017-12-07 23:07:37 +01:00
|
|
|
install_compass - Installs MongoDB Compass for your platform.
|
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
|
|
|
|
2017-02-24 23:42:25 +01:00
|
|
|
See docs/building.md.
|
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
|
|
|
|
2017-02-24 23:42:25 +01:00
|
|
|
$ sudo mkdir -p /data/db
|
2010-05-02 03:36:33 +02:00
|
|
|
$ ./mongod
|
|
|
|
$
|
2010-06-17 16:38:09 +02:00
|
|
|
$ # The mongo javascript shell connects to localhost and test database by default:
|
2017-02-24 23:42:25 +01:00
|
|
|
$ ./mongo
|
2010-05-02 03:36:33 +02:00
|
|
|
> help
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2017-12-07 23:03:06 +01:00
|
|
|
INSTALLING COMPASS
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
DRIVERS
|
|
|
|
|
2015-10-28 20:42:46 +01:00
|
|
|
Client drivers for most programming languages are available at
|
2017-02-24 23:42:25 +01:00
|
|
|
https://docs.mongodb.com/manual/applications/drivers/. Use the shell
|
|
|
|
("mongo") for administrative tasks.
|
|
|
|
|
|
|
|
BUG REPORTS
|
|
|
|
|
|
|
|
See https://github.com/mongodb/mongo/wiki/Submit-Bug-Reports.
|
2010-06-17 16:38:09 +02:00
|
|
|
|
2014-10-29 15:33:05 +01:00
|
|
|
PACKAGING
|
|
|
|
|
2015-10-28 20:42:46 +01:00
|
|
|
Packages are created dynamically by the package.py script located in the
|
|
|
|
buildscripts directory. This will generate RPM and Debian packages.
|
2014-10-29 15:33:05 +01:00
|
|
|
|
2011-05-01 23:50:23 +02:00
|
|
|
DOCUMENTATION
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2017-02-24 23:42:25 +01:00
|
|
|
https://docs.mongodb.com/manual/
|
2013-09-11 19:36:53 +02:00
|
|
|
|
2017-02-24 23:42:25 +01:00
|
|
|
CLOUD HOSTED MONGODB
|
2013-07-17 23:04:27 +02:00
|
|
|
|
2017-02-24 23:42:25 +01:00
|
|
|
https://www.mongodb.com/cloud/atlas
|
2013-07-17 23:04:27 +02:00
|
|
|
|
2017-02-24 23:42:25 +01:00
|
|
|
MAIL LISTS
|
|
|
|
|
|
|
|
https://groups.google.com/forum/#!forum/mongodb-user
|
2014-10-01 02:18:39 +02:00
|
|
|
|
2017-02-24 23:42:25 +01:00
|
|
|
A forum for technical questions about using MongoDB.
|
2011-05-01 23:50:23 +02:00
|
|
|
|
2017-02-24 23:42:25 +01:00
|
|
|
https://groups.google.com/forum/#!forum/mongodb-dev
|
2011-05-01 23:50:23 +02:00
|
|
|
|
2017-02-24 23:42:25 +01:00
|
|
|
A forum for technical questions about building and developing MongoDB.
|
|
|
|
|
|
|
|
LEARN MONGODB
|
|
|
|
|
|
|
|
https://university.mongodb.com/
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2010-06-17 16:38:09 +02:00
|
|
|
LICENSE
|
2010-05-02 01:40:57 +02:00
|
|
|
|
2019-06-20 15:59:05 +02:00
|
|
|
MongoDB is free and the source is available. Versions released prior to
|
|
|
|
October 16, 2018 are published under the AGPL. All versions released after
|
|
|
|
October 16, 2018, including patch fixes for prior versions, are published
|
|
|
|
under the Server Side Public License (SSPL) v1. See individual files for
|
2018-10-15 20:32:05 +02:00
|
|
|
details.
|