A vector database indexes and stores vector embeddings for fast retrieval and similarity search, with capabilities like CRUD operations, metadata filtering, horizontal scaling and serverless operation. The choice is not about which name is most popular: a small collection on one machine, a multi-tenant product and a billion-vector index need different answers. Decide by collection size, filtering needs and hosting, and only then compare products.
What you need
- Your expected collection size in vectors
- Whether you must filter by tenant, date or document type
- Where the database will run: your machine, your cloud, or a managed service
Step 1: Size the collection first
Estimate how many vectors you will store and how fast that number grows. A few thousand vectors fit an embedded store with no server; millions need a server or a managed service with horizontal scaling.
Step 2: List the filters you must support
Write down every metadata filter the product needs, such as tenant, workspace, document type or date. A store without payload indexes, or one where filtering is slow, will force you to filter after search, which is slower and can return the wrong top-k.
Step 3: Pick the hosting model, then the product
Choose embedded, self-hosted server or managed service by who operates it and what it costs at your scale. Then pick the product that fits that model, and check it supports your embedding dimensions and distance metric.
Worked example: three synthetic collections matched to a store
The table below is a synthetic example. It shows the expected result of matching collections to stores; no database was created.
| Collection | Size | Best fit |
|---|---|---|
| Personal notes | 2,000 vectors | Embedded store, no server |
| Team knowledge base | 200,000 vectors, tenant filter | Self-hosted server with payload indexes |
| Public search product | 50 million vectors | Managed serverless service |
| Prototype demo | 500 vectors | Embedded store, no server |
Expected result (UNTESTED). the two small collections fit an embedded store, the team base needs a server with filtering, and the public product needs a managed service. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- Standalone vector indexes like FAISS speed up search but lack database features such as updates, backups and access control.
- A vector database trades accuracy for speed with approximate nearest neighbour search; exact search is slower at scale.
- Changing the embedding model later means re-embedding the whole collection, whatever store you chose.
- Serverless stores separate storage from compute, which helps cost, but freshness can lag when inserting large amounts of data.
