Loading TOC...

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());
=>

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