- Pick it if you are:
- Teams with billions of vectors; Teams with Kubernetes and ops skills
- Top complaint:
- Milvus query node runs out of memory when loading large collections
- Price:
- Free plan, paid from $126/mo
- Pick it if you are:
- Teams already on Postgres; Startups building RAG prototypes
- Top complaint:
- HNSW index build is very slow once the graph outgrows memory
- Price:
- Free plan, paid from $25/mo
Score Comparison
Signals Comparison
Milvus
- Milvus query node runs out of memory when loading large collections(8/10)
- Slow search after restart, scaling or heavy filters(7/10)
- Free Zilliz Cloud cluster first query times out(4/10)
pgvector
- HNSW index build is very slow once the graph outgrows memory(7/10)
- Filtered vector search returns fewer rows than LIMIT(7/10)
- Queries do a sequential scan and ignore the vector index(6/10)
- Recall drops and memory grows at tens of millions of vectors(7/10)
Milvus
- Search fails with 'collection not loaded' until you index and load(6/10)
- Vector dimension mismatch errors when switching embedding model(6/10)
- Freshly inserted data does not show up in search(5/10)
- Concurrent bulk inserts hit 'DataNode resource not enough'(5/10)
pgvector
- operator does not exist: vector <=> unknown or real[](6/10)
- Vectors over 2,000 dimensions cannot be indexed(7/10)
- Dimension mismatch errors when you change embedding model(6/10)
- IVFFlat gives poor results when built on little data(5/10)
Milvus
- Index not exist error after creating a collection(5/10)
- Cluster mode is heavy to run yourself(7/10)
pgvector
- pgvector error: extension "vector" is not available(6/10)
Milvus
- Connection refused or timeout on localhost:19530(6/10)
- etcd and MinIO dependencies cause startup crashes(8/10)
pgvector
- HNSW build fails on shared memory or runs out of RAM(7/10)
Milvus
- Zilliz Cloud Dedicated starts at $126/month and scales with vectors(6/10)
pgvector
No signals
Milvus
- Many production questions stay open on GitHub(5/10)
pgvector
No signals
Milvus
No signals
pgvector
- Extension availability and version lag differ by managed host(5/10)
Pricing Comparison
Milvus
Users: Unlimited
Storage: Your own disk
Limits: No managed backups or SLA; community support
Users: Not stated
Storage: 5 GB
Limits: 5 GB storage, 5 collections, community support only
Limits: Standard tier; no 99.95% SLA
Limits: Price depends on cluster and storage tier
pgvector
Users: Unlimited
Storage: Your own disk (non-partitioned table up to 32 TB in Postgres)
Limits: No managed backups or support SLA; community support; 2,000-dim index limit on vector
Users: 2 active projects
Storage: 500 MB database
Limits: 500 MB database and 500 MB RAM leave little room for large HNSW indexes, pausing after a week idle, 2 projects max
Storage: 8 GB per project, then $0.125/GB
Limits: Larger RAM tiers are needed for big vector indexes
Users: 100 projects
Storage: 1 GB per project, 20 GB total
Limits: 1 GB storage per project, scale to zero after 5 minutes
Storage: Billed $0.35 per GB-month
Limits: No minimum but costs grow with CU-hours
Limits: Version depends on engine minor version
Feature Comparison
| Feature | Milvus | pgvector |
|---|---|---|
| Core | ||
| Dense vector search | ||
| Sparse vector search SPARSE_INVERTED_INDEX | ||
| Binary vectors | ||
| Indexing | ||
| IVFFlat index | ||
| Indexing vectors above 2,000 dimensions Use halfvec (4,000) or reduce dimensions | ||
| Search | ||
| Cosine, L2, inner product, L1 distance | ||
| Iterative index scans for filters hnsw.iterative_scan and ivfflat.iterative_scan | ||
| Index | ||
| HNSW index | ||
| IVF_PQ index | ||
| DiskANN / disk-based index Mentioned for data larger than RAM | ||
| Types | ||
| halfvec, bit, sparsevec types | ||
| Database | ||
| SQL joins and transactions | ||
| Usability | ||
| Auto-indexing on create Index must be created before load | ||
| Deployment | ||
| Managed cloud Zilliz Cloud | ||
| Embedded local mode Milvus Lite (no Windows wheel per third-party guide) | ||
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to us