milvus-logo

Root Coordinator-related Configurations

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

Root coordinator (root coord) handles data definition language (DDL) and data control language (DCL) requests, manages TSO (timestamp Oracle), and publishes time tick messages.

Under this section, you can configure root coord address, index building threshold, etc.

rootCoord.address

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

    rootCoord.port

    Description Default Value
    TCP port of root coordinator. 53100

    rootCoord.grpc.serverMaxRecvSize

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

    rootCoord.grpc.serverMaxSendSize

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

    rootCoord.grpc.clientMaxRecvSize

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

    rootCoord.grpc.clientMaxSendSize

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

    rootCoord.activeStandby.enabled

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

    rootCoord.replicas

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

    rootCoord.dmlChannelNum

    Description Default Value
    The number of DML-Channels to create at the root coord startup. 256

    rootCoord.maxPartitionNum

    Description Default Value
  • The maximum number of partitions in each collection.
  • New partitions cannot be created if this parameter is set as 0 or 1.
  • Range: [0, INT64MAX]
  • 4096

    rootCoord.minSegmentSizeToEnableIndex

    Description Default Value
  • The minimum row count of a segment required for creating index.
  • Segments with smaller size than this parameter will not be indexed, and will be searched with brute force.
  • 1024

    rootCoord.importTaskExpiration

    Description Default Value
  • A file import task expires after importTaskExpiration seconds.
  • Unit: second
  • You should also change the value of the parameter in the internal/util/paramtable/component_param.go file.
  • 900

    rootCoord.importTaskRetention

    Description Default Value
  • Milvus keeps the record of import tasks for at least importTaskRetention seconds.
  • You should also change the value of the parameter in the internal/util/paramtable/component_param.go file.
  • 86400
    On this page