[SERVER-9833] Add coll.indexPagesInRAM shell helper Created: 31/May/13  Updated: 09/Apr/20

Status: Open
Project: Core Server
Component/s: JavaScript, Shell
Affects Version/s: None
Fix Version/s: Needs Further Definition

Type: Improvement Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Unresolved Votes: 0
Labels: commands, index, mincore, move-sa, neweng, storage
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-9829 Add ability to separate data from ind... Closed
Participants:

 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);
}



 Comments   
Comment by Asya Kamsky [ 23/Aug/17 ]

No longer relevant: ramon.fernandez can this ticket be closed?

Comment by Scott Hernandez (Inactive) [ 28/Apr/15 ]

We have a pagesInRam which is the documents but not the corresponding index-related version.

Generated at Thu Feb 08 03:21:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.