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

Add QUERY option to limit ARRAY size

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Querying
    • None

    Description

      Please add an option to limit the size of ANY array in the document.

      Motivation:
      Relted to SERVER-18207

      Motivation:

      Our application parses data from MongoDB repositories that are populated by other application. Documents can have potentially large arrays objects at arbirary locations. The application retrieve the data, present the user with "summary" (e.g., showing data from the first few entries, followed by "NNN more").

      The full entry is expanded once the user choose a specific document, and part of the document.

      The above change will reduce the amount of data that need to be fetched on the original calls. Currently, 100X data has transferred from Mongo, since there is no way to cap the size of the ARRAY.

      When working with documents that can contain arbitrary data sets, the application is forced to read

      Attachments

        Issue Links

          Activity

            People

              ramon.fernandez@mongodb.com Ramon Fernandez Marina
              yair.lenga@gmail.com Yair Lenga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: