MarkLogic 12 Product Documentation
xdmp.databaseQueryBalancerReset

xdmp.databaseQueryBalancerReset(
   database-id as (Number|String),
   options as (Number|String)[]
) as null

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.databaseQueryBalancerReset(xdmp.database("Documents"), xdmp.host());
=>
Powered by MarkLogic Server | Terms of Use | Privacy Policy