milvus-logo
LFAI
Home
  • FAQs

Milvus Limits

Milvus is committed to providing the best vector databases to power AI applications and vector similarity search. However, the team is continuously working to bring in more features and the best utilities to enhance user experience. This page lists out some known limitations that the users may encounter when using Milvus.

Length of a resource name

ResourceLimit
Collection255 characters
Field255 characters
Index255 characters
Partition255 characters

Naming rules

The name of a resource can contain numbers, letters, and underscores (_). A resource name must start with a letter or an underscore (_).

Number of resources

ResourceLimit
Collection65,536
Connection / proxy65,536

Number of resources in a collection

ResourceLimit
Partition4,096
Shard16
Field64
Index1
Entityunlimited

Length of a string

Data typeLimit
VARCHAR65,535

Dimensions of a vector

PropertyLimit
Dimension32,768

Input and Output per RPC

OperationLimit
Insert64 MB
Search64 MB
Query64 MB

Load limits

In current release, data to be load must be under 90% of the total memory resources of all query nodes to reserve memory resources for execution engine.

Search limits

VectorsLimit
topk (number of the most similar result to return)16,384
nq (number of the search requests)16,384

Index limits on different search types

The following table provides an overview of the support for various search behaviors across different index types.

HNSWDISKANNFLATIVF_FLATIVF_SQ8IVF_PQSCANNGPU_IFV_FLATGPU_IVF_PQGPU_CAGRAGPU_BRUTE_FORCESPARSE_INVERTED_INDEXSPARSE_WANDBIN_FLATBIN_IVF_FLAT
Basic searchYesYesYesYesYesYesYesYesYesYesYesYesYesYesYes
Partition searchYesYesYesYesYesYesYesYesYesYesYesYesYesYesYes
Basic search with raw data retrievedYesYesYesYesYesYesYesYesYesYesYesYesYesYesYes
Basic search with paginationYesYesYesYesYesYesYesYesYesYesYesYesYesYesYes
Filtered searchYesYesYesYesYesYesYesYesYesYesYesYesYesYesYes
Range searchYesYesYesYesYesYesYesNoNoNoNoNoNoYesYes
Grouping searchYesNoYesYesNoNoNoNoNoNoNoNoNoNoNo
Search with iteratorYesYesYesYesYesYesYesNoNoNoNoNoNoNoNo
Hybrid searchYesYesYesYesYesYesYesYesYesYesYesYes(Only RRFRanker)Yes(Only RRFRanker)YesYes
Query/GetYesYesYesYesYesYesYesYesYesYesYesYesYesYesYes
Query with iteratorYesYesYesYesYesYesYesNoNoNoNoYesYesYesYes