Mongo Tools 在 2.7.7 版完全用 Go 重写了

lovegolang · 2014-10-06 11:18:44 · 5443 次点击 · 大约8小时之前 开始浏览    置顶
这是一个创建于 2014-10-06 11:18:44 的主题,其中的信息可能已经有所发展或是发生改变。

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


有疑问加站长微信联系(非本文作者)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

5443 次点击  
加入收藏 微博
1 回复  |  直到 2017-11-24 14:58:26
GuoDapeng
GuoDapeng · #1 · 7年之前

屏幕快照 2017-11-24 下午10.56.27.png

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

添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传