Loading TOC...

xdmp.cacheStatus

xdmp.cacheStatus(
   [$host-id as String[]]
) as ValueIterator

Summary

Returns the status of the caches as a ValueIterator of ObjectNodes.

Parameters
$host-id A host ID. Default value is the local host.

Required Privileges

http://marklogic.com/xdmp/privileges/status

Example

xdmp.cacheStatus();
=>
{
  "hostId":"2485368722774099257",
  "hostName":"danny-1.marklogic.com",
  "compressedTreeCachePartitions":[
    {
      "partitionSize":64,
      "partitionTable":1.89999997615814,
      "partitionUsed":4,
      "partitionFree":96,
      "partitionOverhead":0
    }
  ],
  "expandedTreeCachePartitions":[
    {
      "partitionSize":128,
      "partitionTable":5.40000009536743,
      "partitionBusy":0,
      "partitionUsed":91,
      "partitionFree":8.69999980926514,
      "partitionOverhead":0.300000011920929
    }
  ],
  "listCachePartitions":[
    {
      "partitionSize":128,
      "partitionTable":1,
      "partitionBusy":0,
      "partitionUsed":1.20000004768372,
      "partitionFree":98.8000030517578,
      "partitionOverhead":0
    }
  ],
  "tripleCache":{
    "tripleCachePartitions":[
      {
        "partitionSize":128,
        "partitionBusy":0,
        "partitionUsed":0,
        "partitionFree":99.9000015258789
      }
    ]
  },
  "tripleValueCache":{
    "tripleValueCachePartitions":[
      {
        "partitionSize":64,
        "partitionBusy":0,
        "partitionUsed":0,
        "partitionFree":99.8000030517578
      }
    ]
  }
}

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy