First off let me say I am a newB when it comes to Mongo, so excuse my ignorance. With that being said:
Using db.copyDatabase()
to copy a remote database:
What impact does this have on the database being copied. Please note the the database being copied is currently being use by a live application.
Would db.copyDatabase()
lock the database?
What about performance, would it make the database run slower?
I don't really mind if while coping some new data is being written to the DB. The copy does not have to be exact per say, it just need to be as close as possible to the live DB. But I am really concern about performance issue, is it safe to do this on a live DB?