42
loading...
This website collects cookies to deliver better user experience
key-value
pairs.master-slave
architecture as it's internal working. speed
, space
and flexibility
. BSON’s binary structure encodes type and length information, which allows it to be parsed much more quickly.mongodump
: Upon successful execution, it outputs the data in BSON format.
mongodump --uri="atlas cluster uri"
--collection="coll-name"
--out="output-file"
mongoexport
: It outputs the data in JSON format.
mongoexport --uri="atlas cluster uri"
--collection="coll-name"
--out="output_file.json"
mongorestore
: It is used to load bson data dump into a mongodb database.
mongorestore --uri="atlas cluster uri"
--drop="path to dump"
mongoimport
: It is used to load json data export into a mongodb database.
mongorestore --uri="atlas cluster uri"
--drop="path to json file"
--collection="coll-name"
_id
: _id
value. It has a special place in the whole mongodb database architecture.