milvus-logo
LFAI
Home
  • Reference

Query Coordinator-related Configurations

This topic introduces the query coordinator-related configurations of Milvus.

Query coordinator (query coord) manages topology and load-balancing of the query nodes, and handoff operation from growing segments to sealed segments.

Under this section, you can configure query coord address, auto handoff, auto load-balancing, etc.

queryCoord.address

Description Default Value
  • TCP/IP address of query coordinator.
  • Query coordinator monitors all IPv4 addresses if this parameter is set as 0.0.0.0.
  • localhost

    queryCoord.port

    Description Default Value
    TCP port of query coordinator. 19531

    queryCoord.activeStandby.enabled

    Description Default Value
    Whether the queryCoord works in active-standby mode. false

    queryCoord.replicas

    Description Default Value
    Number of queryCoord pods. This is required if `queryCoord.activeStandby.enabled` is set to `true`. 1

    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.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.
  • Unit: Second
  • 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.grpc.serverMaxRecvSize

    Description Default Value
  • The maximum size of each RPC request that the query coord can receive.
  • Unit: Byte
  • 2147483647

    queryCoord.grpc.serverMaxSendSize

    Description Default Value
  • The maximum size of each respond the query coord can send when receiving an RPC request.
  • Unit: Byte
  • 2147483647

    queryCoord.grpc.clientMaxRecvSize

    Description Default Value
  • The maximum size of each respond that the query coord can receive when sending an RPC request.
  • Unit: Byte
  • 104857600

    queryCoord.grpc.clientMaxSendSize

    Description Default Value
  • The maximum size of each RPC request that the query coord can send.
  • Unit: Byte
  • 104857600