MarkLogic 12 Product Documentation
xdmp:database-query-balancer-reset

xdmp:database-query-balancer-reset(
   $database-id as xs:unsignedLong,
   $options as xs:unsignedLong*
) as empty-sequence()

Summary

Reset the weight and select-count in the query balancer of the specified database on the specified hosts

Parameters
database-id One database ID.
options One or more host IDs

Required Privileges

http://marklogic.com/xdmp/privileges/xdmp-database-query-balancer-reset

Example

xdmp:database-query-balancer-reset(xdmp:database("Documents"),xdmp:host())
Powered by MarkLogic Server | Terms of Use | Privacy Policy