• Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 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.

            Assignee:
            eliot Eliot Horowitz (Inactive)
            Reporter:
            kgorman Kenny Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: