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

Add coll.indexPagesInRAM shell helper

    XMLWordPrintable

    Details

      Description

      Add this helper:

      DBCollection.prototype.indexPagesInRAM = function(name, opt) {
          var ns = this.getName() + ".$" + name;
          var cmd = { storageDetails: ns, analyze: 'pagesInRAM' };
          if (typeof(opt) == 'object') Object.extend(cmd, opt);
          return this._db.runCommand(cmd);
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-platform Backlog - Platform Team
              Reporter:
              scotthernandez Scott Hernandez
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: