Mongo 2.7.x 还不是稳定版本,在这个版本中,tools 工具采用 Go 重写了。
主要工具有:
- bsondump display BSON files in a human-readable format
- mongoimport Convert data from JSON or CSV and insert them into a collection
- mongoexport Write an existing collection to CSV or JSON format
- mongodump/mongorestore Dump MongoDB backups to disk in .BSON format, or restore them to a live database
- mongostat Monitor live MongoDB servers, replica sets, or sharded clusters
- mongofiles Read, write, delete, or update files in GridFS
- mongooplog Replay oplog entries between MongoDB servers
- mongotop Monitor read/write activity on a mongo server
看来使用 Go 的团队真是越来越多啊……
源代码在 Github 上:https://github.com/mongodb/mongo-tools
有疑问加站长微信联系(非本文作者)

现在官方还是没有驱动……