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

Cache _numRecords and _dataSize

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.13
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Storage 2017-08-21

      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.

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

              Created:
              Updated:
              Resolved: