Details
-
New Feature
-
Resolution: Duplicate
-
Minor - P4
-
None
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
SERVER-732 copyCollection command
-
- Closed
-