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

Cache _numRecords and _dataSize

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.13
    • None
    • Storage
    • None
    • Fully Compatible
    • Storage 2017-08-21

    Description

      Currently Moose fetches the number of records and the total data size on each call to dataSize() and numRecords(). The record store interface recommends caching these values rather than fetching the data on each call.

      Attachments

        Activity

          People

            kimberly.tao@mongodb.com Kim Tao
            kim.tao kim.tao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: