3 ms·
Unless I am missing something but dumping your entire db then reimporting would take hours in most cases. Staying available during that time would be a nightmar
by beck5 12y ago
Unless I am missing something but dumping your entire db then reimporting would take hours in most cases. Staying available during that time would be a nightmare.
- mrkurt 12y agoYou're not missing something. The dump / restore is the operationally simple answer, but not the best for availability.
- rspeer 12y agoThis fits my experience with distributed MongoDB -- which I never tried to use beyond 1.8 or so. The moment you make a MongoDB distributed, you're putting an immutable schema on it. Not literally immutable, because you can change it, but changing it is more difficult and more perilous than starting from scratch. Wasn't the point of MongoDB was supposed to be that it's all flexible and schemaless? You might ask that. You might not get an answer. Like I said, I never use MongoDB as a distributed system anymore.