-
Type: New Feature
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
It would be fantastic to have a feature similar to CREATE TABLE AS SELECT inside mongo. A server side fast non-blocking/locking process that copies one collection to another collection.
db.foo2.save( db.foo1.find().sort(
{"owner":-1}) )
It would also be nice if it worked with .snapshot()
Indexes could be created online with existing functionality, so indexes do not need to be replicated.
- duplicates
-
SERVER-732 copyCollection command
- Closed