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

Allow Queries for limit String sizes

    XMLWordPrintable

Details

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

    Description

      Please add an option to limit maximum size of retrieved strings. The limit should apply to any STRING (or BLOB).

      Motivation:
      Our application parses data from MongoDB repositories that are populated by other application. Documents can have potentially large CLOB objects can be added to arbitrary points. The application retrieve the data, present the user with "summary" (e.g., for large strings only the first few characters of the CLOB are display, followed by "..."), same for arrays, or other complex objects. 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 CLOB, which could be anywhere.

      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:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: