Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们有一个大约 120 GB 大小的 mongo 数据库。我已经mongodump使用nohup并将日志重定向到/dev/null大约 3 天前运行,但转储文件现在大小约为 40GB,并且转储仍在运行。这是预期的吗?
mongodump
nohup
/dev/null
如果是,mongo 数据库的近似压缩比是多少?即对于一个 120 GB 的数据库,备份文件的大小是多少?
这将帮助我估计转储完成的剩余时间。我不知道为什么要占用这么多时间,还想知道是否有更快/更好的备份 mongo 数据库的方法(远程复制不是我正在考虑的事情)?