Created
August 24, 2016 13:44
-
-
Save ableasdale/e88af44f5590ce98dd27decc35fad44c to your computer and use it in GitHub Desktop.
Use the host-status builtin to monitor transactions across databases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "1.0-ml"; | |
declare namespace hs = "http://marklogic.com/xdmp/status/host"; | |
xdmp:host-status(xdmp:host())/hs:transactions/hs:transaction/hs:database-id ! xdmp:database-name(.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment