xdmp:database-global-nonblocking-timestamp

xdmp:database-global-nonblocking-timestamp(
   $database-id as xs:unsignedLong
) as xs:unsignedLong

Summary

Returns the most recent commit timestamp for which a query on the database including its foreign database will not block waiting for transactions to commit or journal frames to arrive from a foreign master.

Parameters
database-id A database ID.

Example

xdmp:database-global-nonblocking-timestamp(8456374036761185098)
=> 13155925136769870
Powered by MarkLogic Server | Terms of Use | Privacy Policy