Did you mean to search for the term forest-status?
xdmp:forest-status( $forest-id as xs:unsignedLong*, [$options as xs:string*] ) as element(forest-status)*
Returns the status of a forest.
Parameters | |
---|---|
forest-id | One or more forest IDs. |
options |
Options include:
|
http://marklogic.com/xdmp/privileges/status
The structure of the data returned is as follows:
forest-id
forest-name
host-id
state
state-detail
enabled
availability
encryption
updates-allowed
rebalancer-enable
lower-bound
upper-bound
master-forest
replica-forests
This is a complex element with the following element children:
replica-forest
current-master-forest
current-master-precise-time
current-master-fsn
current-foreign-master-cluster
current-foreign-master-database
current-foreign-master-forest
current-foreign-master-precise-time
current-foreign-master-fsn
error
rebalancer-error
database-id
last-state-change
nonblocking-timestamp
max-query-timestamp
timestamp-table
This is a complex element with the following element children:
timestamp-entry
This is a complex element with the following element children:
timestamp
count
numa-node
data-dir
large-data-dir
fast-data-dir
journals-size
large-data-size
orphaned-binaries
stands
This is a complex element with the following element children:
stand
This is a complex element with the following element children:
stand-id
path
stand-kind
is-fast
label-version
disk-size
encrypted-disk-size
memory-size
memory-summary
This is a complex element with the following element children:
compressed-tree-storage-bytes
list-storage-bytes
frequencies-file-bytes
list-file-bytes
stop-key-set-file-bytes
tree-file-bytes
link-keys-index-bytes
unique-keys-index-bytes
uri-keys-index-bytes
binary-keys-file-bytes
link-keys-file-bytes
ordinals-file-bytes
qualities-file-bytes
time-stamps-file-bytes
unique-keys-file-bytes
uri-keys-file-bytes
reverse-index-bytes
triple-index-bytes
geospatial-region-indexes-bytes
range-indexes-bytes
memory-detail
This is a complex element with the following element children:
memory-geospatial-region
This is a complex element with the following element children:
region-storage-bytes
slice-storage-bytes
float-rtree-node-pool-bytes
double-rtree-node-pool-bytes
float-geo-hash-atlas-bytes
double-geo-hash-atlas-bytes
memory-range-indexes
This is a complex element with the following element children:
string-storage-bytes
index
This is a complex element with the following element children:
index-id
index-memory-bytes
index-on-disk-bytes
list-cache-hits
list-cache-misses
list-cache-hit-rate
list-cache-miss-rate
compressed-tree-cache-hits
compressed-tree-cache-misses
compressed-tree-cache-hit-rate
compressed-tree-cache-miss-rate
triple-cache-hits
triple-cache-misses
triple-cache-hit-rate
triple-cache-miss-rate
triple-value-cache-hits
triple-value-cache-misses
triple-value-cache-hit-rate
triple-value-cache-miss-rate
forest-reserve
merge-enable
current-time
merges
This is a complex element with the following element children:
merge
This is a complex element with the following element children:
merge-id
canceled
input-stands
This is a complex element with the following element children:
stand-id
path
output-stand
start-time
final-size
current-size
merge-rate
rebalancing
reindexing
device-space
large-device-space
fast-device-space
last-backup
last-incr-backup
backups
This is a complex element with the following element children:
backup
This is a complex element with the following element children:
path
start-time
final-size
current-size
incremental-backup
journal-archiving
journal-archive-path
journal-archive-lag-limit
last-restore
restore
This is a complex element with the following element children:
path
start-time
final-size
current-size
restore-state
restore-to-time
incremental-backup
journal-archiving
journal-archive-path
safe-restore-to-time
transaction-coordinators
This is a complex element with the following element children:
transaction-coordinator
This is a complex element with the following element children:
transaction-id
decision-state
xa:xid
participants
This is a complex element with the following element children:
participant
This is a complex element with the following element children:
participant-id
participant-status
size
transaction-participants
This is a complex element with the following element children:
transaction-participant
This is a complex element with the following element children:
transaction-id
coordinator-id
min-commit-timestamp
size
transaction-journal-size
transaction-journal-limit
query-read-bytes
query-read-time
query-read-rate
query-read-load
journal-write-bytes
journal-write-time
journal-write-rate
journal-write-load
save-write-bytes
save-write-time
save-write-rate
save-write-load
merge-read-bytes
merge-read-time
merge-read-rate
merge-read-load
merge-write-bytes
merge-write-time
merge-write-rate
merge-write-load
backup-read-bytes
backup-read-time
backup-read-rate
backup-read-load
backup-write-bytes
backup-write-time
backup-write-rate
backup-write-load
restore-read-bytes
restore-read-time
restore-read-rate
restore-read-load
restore-write-bytes
restore-write-time
restore-write-rate
restore-write-load
large-read-bytes
large-read-time
large-read-rate
large-read-load
large-write-bytes
large-write-time
large-write-rate
large-write-load
database-replication-receive-bytes
database-replication-receive-time
database-replication-receive-rate
database-replication-receive-load
database-replication-send-bytes
database-replication-send-time
database-replication-send-rate
database-replication-send-load
read-lock-count
read-lock-wait-time
read-lock-hold-time
read-lock-rate
read-lock-wait-load
read-lock-hold-load
write-lock-count
write-lock-wait-time
write-lock-hold-time
write-lock-rate
write-lock-wait-load
write-lock-hold-load
deadlock-count
deadlock-wait-time
deadlock-rate
deadlock-wait-load
large-binary-cache-hits
large-binary-cache-misses
large-binary-cache-hit-rate
large-binary-cache-miss-rate
replication
This is a complex element with the following element children:
foreign-master
This is a complex element with the following element children:
foreign-cluster-id
foreign-database-id
foreign-forest-id
foreign-precise-time
foreign-fsn
foreign-replicas
This is a complex element with the following element children:
foreign-replica
This is a complex element with the following element children:
foreign-cluster-id
foreign-database-id
foreign-forest-id
replication-enabled
lag-limit
pending-frames
pending-bytes
pending-lag
send-bytes
send-time
send-rate
send-load
suspended
point-in-time-recovery
This is a complex element with the following element children:
journal-archive
This is a complex element with the following element children:
path
lag-limit
pending-frames
pending-bytes
pending-lag
unclosed-stands
This is a complex element with the following element children:
unclosed-stand
This is a complex element with the following element children:
stand-id
path
disk-size
memory-size
reference
This is a complex element with the following element children:
count
earliest
latest
frame
forest-value-range
This is a complex element with the following element children:
cts:base-reference
cts:range
fragment-count
data-size
xdmp:forest-status(xdmp:forest("Documents")) => <forest-status xmlns="http://marklogic.com/xdmp/status/forest"> <forest-id>12434840716430044697</forest-id> <forest-name>Documents</forest-name> <state>open</state> <host-id>13264574555735898770</host-id> <database-id>2634450243966805432</database-id> <last-state-change>2007-02-16T18:39:31.267-08:00</last-state-change> <journals-size>57</journals-size> <stands> <stand> <stand-id>15174447282968484759</stand-id> <path>c:\Program Files\MarkLogic\Data\Forests\Documents\00000016</path> <stand-kind>Active</stand-kind> <label-version>50397184</label-version> <disk-size>11</disk-size> <memory-size>1</memory-size> <list-cache-hits>158</list-cache-hits> <list-cache-misses>105</list-cache-misses> <list-cache-hit-rate>0</list-cache-hit-rate> <list-cache-miss-rate>0</list-cache-miss-rate> <compressed-tree-cache-hits>0</compressed-tree-cache-hits> <compressed-tree-cache-misses>0</compressed-tree-cache-misses> <compressed-tree-cache-hit-rate>0</compressed-tree-cache-hit-rate> <compressed-tree-cache-miss-rate>0</compressed-tree-cache-miss-rate> </stand> </stands> <current-time>2007-02-16T18:44:06.154-08:00</current-time> <merges/> <reindexing>false</reindexing> <device-space>3592</device-space> <backups/> <transaction-coordinators/> <transaction-participants/> </forest-status>
xquery version "1.0-ml"; xdmp:forest-status(xdmp:forest("forestTest"),"memory-detail"); => <forest-status xmlns="http://marklogic.com/xdmp/status/forest"> ... <stand> <stand-id>4644002137027109170</stand-id> <path>/var/opt/MarkLogic/Forests/memory-F1/00000003</path> ... <disk-size>250</disk-size> <encrypted-disk-size>0</encrypted-disk-size> <memory-size>34</memory-size> <memory-summary> <ordinals-file-bytes>2359224</ordinals-file-bytes> <qualities-file-bytes>1179612</qualities-file-bytes> <link-keys-file-bytes>2359224</link-keys-file-bytes> <unique-keys-file-bytes>2359224</unique-keys-file-bytes> <uri-keys-file-bytes>2359224</uri-keys-file-bytes> <time-stamps-file-bytes>4718448</time-stamps-file-bytes> <binary-keys-file-bytes>0</binary-keys-file-bytes> ... <triple-index-bytes>0</triple-index-bytes> <reverse-index-bytes>0</reverse-index-bytes> <geospatial-region-indexes-bytes>1622387</geospatial-region-indexes-bytes> <range-indexes-bytes>2038704</range-indexes-bytes> </memory-summary> <memory-detail> <memory-geospatial> <region-storage-bytes>701736</region-storage-bytes> <slice-storage-bytes>724515</slice-storage-bytes> <float-rtree-node-pool-bytes>121648</float-rtree-node-pool-bytes> <double-rtree-node-pool-bytes>74232</double-rtree-node-pool-bytes> <float-geo-hash-atlas-bytes>256</float-geo-hash-atlas-bytes> <double-geo-hash-atlas-bytes>0</double-geo-hash-atlas-bytes> </memory-geospatial> <memory-range-indexes> <string-storage-bytes>1776688</string-storage-bytes> <index> <index-id>203550306667454968</index-id> <index-memory-bytes>40408</index-memory-bytes> </index> <index> <index-id>203550306590025653</index-id> <index-memory-bytes>4408</index-memory-bytes> </index> <index> <index-id>203550306744884283</index-id> <index-memory-bytes>216232</index-memory-bytes> </index> <index> <index-id>8082969983947382622</index-id> <index-memory-bytes>88</index-memory-bytes> </index> ... </memory-range-indexes> </memory-detail> <list-cache-hits>3</list-cache-hits> <list-cache-misses>55</list-cache-misses> <list-cache-hit-rate>0.001811947</list-cache-hit-rate> <list-cache-miss-rate>0.003912835</list-cache-miss-rate> ... <triple-value-cache-hit-rate>0</triple-value-cache-hit-rate> <triple-value-cache-miss-rate>0</triple-value-cache-miss-rate> </stand> ... </forest-status>
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.