Database Reference
In-Depth Information
Once you create the required directory and assign the appropriate permissions,
you can start the MongoDB core database service by executing the mongod application.
You can do this from the command prompt or the shell in Windows and Linux, respectively.
Surveying the Installation Layout
After you install or extract MongoDB successfully, you will have the applications shown in
Table 2-1 available in the bin directory (in both Linux and Windows).
Table 2-1. The Included MongoDB Applications
Application
Function
-- bsondump
Reads contents of BSON-formatted rollback files.
-- mongo
The database shell.
-- mongod
The core database server.
-- mongodump
Database backup utility.
-- mongoexport
Export utility (JSON, CSV, TSV), not reliable for backup.
-- mongofiles
Manipulates files in GridFS objects.
-- mongoimport
Import utility (JSON, CSV, TSV), not reliable for recoveries.
-- mongooplog
Pulls oplog entries from another mongod instance.
-- mongoperf
Check disk I/O performance.
--mongorestore
Database backup restore utility.
--mongos
Mongodb sharding routerprocess.
--mongosniff
Sniff/traces MongoDB database activity in real time, Unix-like
systems only.
--mongostat
Returns counters of database operation.
--mongotop
Tracks/reports MongoDB read/write activities.
-- mongorestore
Restore/import utility.
Note: All applications are within the --bin directory.
The installed software includes 15 applications (or 14, under Microsoft Windows)
that you will be using in conjunction with your MongoDB databases. The two “most
important” applications are the mongo and mongod applications. The mongo application
allows you to use the database shell; this shell enables you to accomplish practically
anything you'd want to do with MongoDB.
 
 
Search WWH ::




Custom Search