milvus-logo

Query Node-related Configurations

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

Query node performs hybrid search of vector and scalar data on both incremental and historical data.

Under this section, you can configure query node port, graceful time, etc.

queryNode.gracefulTime

Description Default Value
  • The minimum time before the newly inserted data can be searched.
  • Unit: ms
  • Milvus executes a search request directly when the search message timestamp is earlier the query node system time.
  • When the search message timestamp is later than the query node system time, the Milvus waits until that the time diferrence between query node system time and the timestamp is less than this parameter, and then executes the search request.
  • 0

    queryNode.port

    Description Default Value
    TCP port of query node. 21123

    queryNode.grpc.serverMaxRecvSize

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

    queryNode.grpc.serverMaxSendSize

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

    queryNode.grpc.clientMaxRecvSize

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

    queryNode.grpc.clientMaxSendSize

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

    queryNode.replicas

    Description Default Value
    The number of in-memory replicas of data segments that are created on query nodes when a collection is loaded. In a Standalone deployment, the maximum value is 1. For more information, refer to In-Memory Replica. 1

    queryNode.stats.publishInterval

    Description Default Value
  • The interval that query node publishes the node statistics information, including segment status, cpu usage, memory usage, health status, etc.
  • Unit: ms
  • 1000

    queryNode.dataSync.flowGraph.maxQueueLength

    Description Default Value
  • The maximum size of task queue cache in flow graph in query node.
  • Unit: MB
  • Query node uses flow graph to subscribe to and organize the message flow.
  • 1024

    queryNode.segcore.chunkRows

    Description Default Value
    Row count by which Segcore divides a segment into chunks. 1024

    queryNode.segcore.InterimIndex

    Description Default Value
    Whether to create a temporary index for growing segments and sealed segments not yet indexed, improving search performance.
    • Milvus will eventually seals and indexes all segments, but enabling this optimizes search performance for immediate queries following data insertion.
    • This defaults to `true`, indicating that Milvus creates temporary index for growing segments and the sealed segments that are not indexed upon searches.
    true
    On this page