Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4418 Tracking: MongoDB Tools Changes
  3. DOCS-4294

Add docs for storage engine specific output for dbstats

    • Type: Icon: Sub-task Sub-task
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • v1.3.15, mongodb-3.0
    • Affects Version/s: None
    • Component/s: manual
    • None

      We should add basic docs explaining the storage engine specific stats and change the current docs to pull out the mmapv1 ones since they are now storage engine specific.

      For now just saying that "XXXX" is a storage engine specific output and linking to a placeholder page with a summary is probably sufficient. I don't think we need to go into detail about each line just yet as that is still in flux.

      WiredTiger example:

      {
      	"ns" : "test.a",
      	"count" : 2897352,
      	"size" : 95612616,
      	"avgObjSize" : 33,
      	"storageSize" : 37,
      	"nindexes" : 1,
      	"capped" : false,
      	"wiredtiger" : {
      		"uri" : "statistics:table:collection-7-2589753951712478342",
      		"LSM" : {
      			"bloom filters in the LSM tree" : "0",
      			"bloom filter false positives" : "0",
      			"bloom filter hits" : "0",
      			"bloom filter misses" : "0",
      			"bloom filter pages evicted from cache" : "0",
      			"bloom filter pages read into cache" : "0",
      			"total size of bloom filters" : "0",
      			"sleep for LSM checkpoint throttle" : "0",
      			"chunks in the LSM tree" : "0",
      			"highest merge generation in the LSM tree" : "0",
      			"queries that could have benefited from a Bloom filter that did not exist" : "0",
      			"sleep for LSM merge throttle" : "0"
      		},
      		"block manager" : {
      			"file allocation unit size" : "4096",
      			"blocks allocated" : "0",
      			"checkpoint size" : "37M (37838848)",
      			"allocations requiring file extension" : "0",
      			"blocks freed" : "0",
      			"file magic number" : "120897",
      			"file major version number" : "1",
      			"minor version number" : "0",
      			"file bytes available for reuse" : "20480",
      			"file size in bytes" : "37M (37842944)"
      		},
      		"btree" : {
      			"column-store variable-size deleted values" : "0",
      			"column-store fixed-size leaf pages" : "0",
      			"column-store internal pages" : "0",
      			"column-store variable-size leaf pages" : "0",
      			"pages rewritten by compaction" : "0",
      			"number of key/value pairs" : "0",
      			"fixed-record size" : "0",
      			"maximum tree depth" : "0",
      			"maximum internal page item size" : "384",
      			"maximum internal page size" : "4096",
      			"maximum leaf page item size" : "3072",
      			"maximum leaf page size" : "32768",
      			"overflow pages" : "0",
      			"row-store internal pages" : "0",
      			"row-store leaf pages" : "0"
      		},
      		"cache" : {
      			"bytes read into cache" : "3418",
      			"bytes written from cache" : "0",
      			"checkpoint blocked page eviction" : "0",
      			"unmodified pages evicted" : "0",
      			"modified pages evicted" : "0",
      			"data source pages selected for eviction unable to be evicted" : "0",
      			"hazard pointer blocked page eviction" : "0",
      			"internal pages evicted" : "0",
      			"overflow values cached in memory" : "0",
      			"pages read into cache" : "3",
      			"overflow pages read into cache" : "0",
      			"pages written from cache" : "0"
      		},
      		"compression" : {
      			"raw compression call failed, no additional data available" : "0",
      			"raw compression call failed, additional data available" : "0",
      			"raw compression call succeeded" : "0",
      			"compressed pages read" : "0",
      			"compressed pages written" : "0",
      			"page written failed to compress" : "0",
      			"page written was too small to compress" : "0"
      		},
      		"cursor" : {
      			"create calls" : "1",
      			"insert calls" : "0",
      			"bulk-loaded cursor-insert calls" : "0",
      			"cursor-insert key and value bytes inserted" : "0",
      			"next calls" : "0",
      			"prev calls" : "1",
      			"remove calls" : "0",
      			"cursor-remove key bytes removed" : "0",
      			"reset calls" : "1",
      			"search calls" : "0",
      			"search near calls" : "0",
      			"update calls" : "0",
      			"cursor-update value bytes updated" : "0"
      		},
      		"reconciliation" : {
      			"dictionary matches" : "0",
      			"internal page multi-block writes" : "0",
      			"leaf page multi-block writes" : "0",
      			"maximum blocks required for a page" : "0",
      			"internal-page overflow keys" : "0",
      			"leaf-page overflow keys" : "0",
      			"overflow values written" : "0",
      			"pages deleted" : "0",
      			"page checksum matches" : "0",
      			"page reconciliation calls" : "0",
      			"page reconciliation calls for eviction" : "0",
      			"leaf page key bytes discarded using prefix compression" : "0",
      			"internal page key bytes discarded using suffix compression" : "0"
      		},
      		"session" : {
      			"object compaction" : "0",
      			"open cursor count" : "7"
      		},
      		"txn" : {
      			"update conflicts" : "0"
      		}
      	},
      	"totalIndexSize" : 84,
      	"indexSizes" : {
      		"_id_" : 84
      	},
      	"ok" : 1
      }
      

            Assignee:
            sam.kleinman Sam Kleinman (Inactive)
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              9 years, 32 weeks, 5 days ago