Loading TOC...

MarkLogic Server 11.0 Product Documentation
xdmp.databaseGlobalNonblockingTimestamp

xdmp.databaseGlobalNonblockingTimestamp(
   database-id as (Number|String)
) as (Number|String)

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.databaseGlobalNonblockingTimestamp(8456374036761185098);
=> 13155925136769870

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.