Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-3141

distinct needs to have a way to output to a cursor for large result sets

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Querying
    • Labels:

      Description

      For use case please see http://groups.google.com/group/mongodb-user/browse_frm/thread/b9de8d8c90125ddd

      The current distinct operation return different from cursor type, the list. The returned list can be large, which creates problem at application level. For example, making pagination become cumbersome, since it requires to fetch the list at every page, rather then using cursor/idx/limit/count operations. The situation get worse in concurrent applications.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-query-optimization Backlog - Query Optimization
              Reporter:
              vkuznet Valentin Kuznetsov
              Participants:
              Votes:
              8 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated: