milvus-logo
LFAI
Home
  • Administration Guide

queryCoord-related Configurations

Related configuration of queryCoord, used to manage topology and load balancing for the query nodes, and handoff from growing segments to sealed segments.

queryCoord.autoHandoff

Description Default Value
  • Switch value to control if to automatically replace a growing segment with the corresponding indexed sealed segment when the growing segment reaches the sealing threshold.
  • If this parameter is set false, Milvus simply searches the growing segments with brute force.
  • true

    queryCoord.autoBalance

    Description Default Value
    Switch value to control if to automatically balance the memory usage among query nodes by distributing segment loading and releasing operations evenly. true

    queryCoord.autoBalanceChannel

    Description Default Value
    Enable auto balance channel true

    queryCoord.balancer

    Description Default Value
    auto balancer used for segments on queryNodes ScoreBasedBalancer

    queryCoord.globalRowCountFactor

    Description Default Value
    the weight used when balancing segments among queryNodes 0.1

    queryCoord.scoreUnbalanceTolerationFactor

    Description Default Value
    the least value for unbalanced extent between from and to nodes when doing balance 0.05

    queryCoord.reverseUnBalanceTolerationFactor

    Description Default Value
    the largest value for unbalanced extent between from and to nodes after doing balance 1.3

    queryCoord.overloadedMemoryThresholdPercentage

    Description Default Value
    The threshold of memory usage (in percentage) in a query node to trigger the sealed segment balancing. 90

    queryCoord.balanceIntervalSeconds

    Description Default Value
    The interval at which query coord balances the memory usage among query nodes. 60

    queryCoord.memoryUsageMaxDifferencePercentage

    Description Default Value
    The threshold of memory usage difference (in percentage) between any two query nodes to trigger the sealed segment balancing. 30

    queryCoord.rowCountFactor

    Description Default Value
    the row count weight used when balancing segments among queryNodes 0.4

    queryCoord.segmentCountFactor

    Description Default Value
    the segment count weight used when balancing segments among queryNodes 0.4

    queryCoord.globalSegmentCountFactor

    Description Default Value
    the segment count weight used when balancing segments among queryNodes 0.1

    queryCoord.segmentCountMaxSteps

    Description Default Value
    segment count based plan generator max steps 50

    queryCoord.rowCountMaxSteps

    Description Default Value
    segment count based plan generator max steps 50

    queryCoord.randomMaxSteps

    Description Default Value
    segment count based plan generator max steps 10

    queryCoord.growingRowCountWeight

    Description Default Value
    the memory weight of growing segment row count 4

    queryCoord.delegatorMemoryOverloadFactor

    Description Default Value
    the factor of delegator overloaded memory 0.1

    queryCoord.balanceCostThreshold

    Description Default Value
    the threshold of balance cost, if the difference of cluster's cost after executing the balance plan is less than this value, the plan will not be executed 0.001

    queryCoord.channelTaskTimeout

    Description Default Value
    1 minute 60000

    queryCoord.segmentTaskTimeout

    Description Default Value
    2 minute 120000

    queryCoord.heartbeatAvailableInterval

    Description Default Value
    10s, Only QueryNodes which fetched heartbeats within the duration are available 10000

    queryCoord.distRequestTimeout

    Description Default Value
    the request timeout for querycoord fetching data distribution from querynodes, in milliseconds 5000

    queryCoord.heatbeatWarningLag

    Description Default Value
    the lag value for querycoord report warning when last heatbeat is too old, in milliseconds 5000

    queryCoord.checkHealthInterval

    Description Default Value
    3s, the interval when query coord try to check health of query node 3000

    queryCoord.checkHealthRPCTimeout

    Description Default Value
    100ms, the timeout of check health rpc to query node 2000

    queryCoord.brokerTimeout

    Description Default Value
    5000ms, querycoord broker rpc timeout 5000

    queryCoord.collectionRecoverTimes

    Description Default Value
    if collection recover times reach the limit during loading state, release it 3

    queryCoord.observerTaskParallel

    Description Default Value
    the parallel observer dispatcher task number 16

    queryCoord.checkAutoBalanceConfigInterval

    Description Default Value
    the interval of check auto balance config 10

    queryCoord.checkNodeSessionInterval

    Description Default Value
    the interval(in seconds) of check querynode cluster session 60

    queryCoord.gracefulStopTimeout

    Description Default Value
    seconds. force stop node without graceful stop 5

    queryCoord.enableStoppingBalance

    Description Default Value
    whether enable stopping balance true

    queryCoord.channelExclusiveNodeFactor

    Description Default Value
    the least node number for enable channel's exclusive mode 4

    queryCoord.collectionObserverInterval

    Description Default Value
    the interval of collection observer 200

    queryCoord.checkExecutedFlagInterval

    Description Default Value
    the interval of check executed flag to force to pull dist 100

    queryCoord.updateCollectionLoadStatusInterval

    Description Default Value
    5m, max interval for updating collection loaded status 5

    queryCoord.cleanExcludeSegmentInterval

    Description Default Value
    the time duration of clean pipeline exclude segment which used for filter invalid data, in seconds 60

    queryCoord.ip

    Description Default Value
    TCP/IP address of queryCoord. If not specified, use the first unicastable address

    queryCoord.port

    Description Default Value
    TCP port of queryCoord 19531

    queryCoord.grpc.serverMaxSendSize

    Description Default Value
    The maximum size of each RPC request that the queryCoord can send, unit: byte 536870912

    queryCoord.grpc.serverMaxRecvSize

    Description Default Value
    The maximum size of each RPC request that the queryCoord can receive, unit: byte 268435456

    queryCoord.grpc.clientMaxSendSize

    Description Default Value
    The maximum size of each RPC request that the clients on queryCoord can send, unit: byte 268435456

    queryCoord.grpc.clientMaxRecvSize

    Description Default Value
    The maximum size of each RPC request that the clients on queryCoord can receive, unit: byte 536870912
    Feedback

    Was this page helpful?