So lots of AI applications need to be able to pull relevant information at runtime. Whether that’s answering a question about internal documentation, searching a product catalogue, making a recommendation of some kind, pulling a customer record or looking up something in a proprietary knowledge base. You need a way of identifying what’s relevant to the query at that point in time.
Traditional relational and operational databases are built around the concept of structured queries and exact lookups. You can use them to find a customer by ID, find all the orders in a certain date range or filter on a range of fields. The problem that AI is trying to solve is very different though. The AI is trying to find information based on its meaning rather than based on exact matches.
This is where vector databases come in.
Vector databases store the information as numerical vectors (embeddings) and use a similarity search to find records that are similar to the query. Many of them will also have metadata filtering, keyword search, reranking and so on to improve the relevance of the search results.
There are various ways of implementing vector search in an app. Some providers will offer you a fully managed cloud service. Some will let you run their open source stack yourself. There are also embedded databases, there are platforms like PostgreSQL and Redis that have vector search as a built in capability and then there are solutions that are built on top of cloud object storage.
This is a post which compares the 8 leading vector database providers, looks at their architecture and then goes on to consider what you should be looking at when selecting the right retrieval infrastructure for your next AI app.
What is a vector database?
A vector database is a database which is designed to store, index and retrieve vector embeddings.
An embedding is a numerical representation of data produced by a machine learning model. Any kind of data (text, images, audio, video etc) can be converted into a vector which captures the characteristics and the semantic relationships of the data.
Information of a similar nature or characteristic will generally have their vectors closer together in the embedding space.
Vector databases use these relationships to answer questions such as:
- What docs are most relevant to a particular request?
- What other products are like this one?
- Which images are most similar to the reference image?
Searching through every stored vector individually becomes prohibitively expensive as the size of the dataset increases. Vector databases deal with this by employing exact and approximate nearest neighbour search, various indexing schemes and storage architectures. All of which are designed to enable the efficient retrieval of similar vectors.
One of the most common uses is retrieval augmented generation (RAG). That enables the large language models to access external information as they’re generating a response.
Docs are generally broken down into chunks, chunked into embeddings and stored in a vector DB. When a user poses a question the app then searches for the relevant chunks and feeds those back to the LLM as additional context prior to generating the answer.
Beyond RAG, vector databases can be used to support semantic search, recommendation engines, multimodal retrieval, duplicate detection and all the other sorts of applications where it’s the identification of similarity that’s the key thing.
However not every application needs a dedicated vector DB. Some dev teams will be perfectly happy to just take an existing PostgreSQL or Redis instance and add vector search to it. Others may find that a managed offering, advanced hybrid search, an embedded DB or a distributed system is the right solution for their needs.
How to Evaluate a Vector Database
Choosing a vector database is about more than just working out how many embeddings your application is going to need to store.
Before you pick a provider you need to look at the options available in terms of deployment, the retrieval capabilities, the scalability, the developer experience and the amount of infrastructure your team is willing to manage.
Deployment Model
One of the first things to consider is where and how the vector database is going to run.
Fully managed services take care of a lot of the underlying infrastructure (provisioning, scaling, maintenance, ongoing ops etc) which in turn enables the development team to focus on building their application rather than managing the database infrastructure.
Self hosted platforms give you much greater control over the configuration, the security and where your data is actually stored. The downside is that you’re going to have to take on much more of the onus in terms of deployment, maintenance, monitoring and scaling.
Embedded databases take a different approach in that they run directly within the application process. They’re very useful for local dev, desktop apps, edge scenarios and any situation where you don’t actually need a separate database service.
Retrieval Capabilities
Vector similarity search is just one piece of the modern retrieval system.
Metadata filtering enables applications to filter search results on the basis of metadata such as user, date, category and access rights. Keyword search is useful for finding exact phrases, names and technical terms which may be missed by a semantic search.
Hybrid search which combines traditional lexical search with vector based retrieval to improve the quality of the results. Reranking then provides a further layer of refinement by taking the initial set of results and re-ordering them via a separate scoring model.
When looking at the various providers, bear in mind which capabilities are available natively and which will require you to have some additional service or some custom development.
Scalability
A prototype doing a search across a few thousand records has quite different infrastructure needs to a production application which is going to be managing hundreds of millions of vectors.
As datasets and workloads get bigger and bigger, issues around indexing, storage, replication, sharding, caching and query concurrency all become more and more important.
Some vector databases are all about the local operation. Others go for a distributed architecture. Or have a split between compute and storage to support bigger workloads.
The correct choice is going to be dictated by what your application needs right now. How it’s going to grow and the complexity of the infrastructure your team are prepared to manage.
Developer Experience
A vector database should just work within your current dev workflow and application architecture.
SDK quality, the quality of the documentation, the range of framework integrations, the availability of local development tools and the range of deployment options will all have an effect on how quickly a team can get a retrieval system up and running and then maintain it.
Some providers go for the simplest approach and keep the amount of configuration to get going to a minimum. Others will have a far greater degree of control over indexing, search parameters and the infrastructure itself.
Neither approach is necessarily the better one. The right solution is going to be dependent on the technical experience of your team and the amount of flexibility you need in your application.
Operational Flexibility
Retrieval requirements can change quite dramatically as an app matures and gets into production.
Teams may need to introduce a new embedding model, support additional tenants, migrate data between environments, meet various security requirements or simply have to deal with ever increasing data volumes.
For that reason operational considerations should be part of the evaluation process right from the outset.
Features such as backup and recovery, monitoring, access controls, deployment flexibility and data portability can be just as important as search performance and retrieval quality.
1. Pinecone

Pinecone is a fully managed vector database for semantic search, RAG (retrieval augmented generation), recommendation systems and any other AI application that’s going to be doing information retrieval. You can create indexes, store your vector records and do similarity searches all without having to provision or manage the underlying database infrastructure yourself.
One of Pinecone’s key benefits is its managed infrastructure and its flexible approach to scaling. On-demand indexes automatically provide shared read capacity based on your usage, which is ideal for workloads that have variable demand. For applications that have a sustained volume of queries and more predictable performance requirements you can go with dedicated read nodes which provide provisioned resources. In both cases the data writes and durable storage are handled by Pinecone’s managed infrastructure.
Pinecone supports dense vectors, sparse vectors, metadata filtering, full text search and hybrid retrieval. You can mix semantic and keyword search in a single index, or you can use different retrieval methods and then combine the results depending on what your use case requires.
For organisations with more demanding infrastructure and data control requirements, Pinecone also provides a Bring Your Own Cloud (BYOC) deployment option (in public preview). This enables the Pinecone data plane to run within the customer’s own AWS, GCP or Azure account, with Pinecone managing the service via a zero-access model.
Key Advantages
- A fully managed vector database infrastructure.
- On-demand indexes for workloads with variable demand.
- Dedicated read nodes for sustained query volumes.
- Support for dense, sparse, full text and hybrid retrieval.
- BYOC for customer managed cloud environments.
Key Considerations
Pinecone is fundamentally a managed service. If you’re a team that wants complete control over the database software underneath the surface or one that just wants to manage their own infrastructure then you’re probably better off with the self-hosted open source alternative.
Best for: Development teams wanting a fully managed vector database infrastructure for use in production AI apps.
2. Chroma

Chroma is an open source data infrastructure platform for AI powered retrieval. It enables you to store embeddings, documents, metadata and IDS in collections and supports dense vector search, sparse vector search, hybrid search, full text search and metadata filtering.
One of Chroma’s big strengths is the developer experience. It’s very simple and provides a consistent experience from local development right through to production deployment. You can run Chroma as an embedded local library for prototyping, you can deploy it as a single node server for smaller and medium sized workloads, or you can go the distributed route for your production workloads. The API is the same across all of those deployment models and Chroma Cloud provides a fully managed distributed service.
Chroma supports a number of retrieval capabilities including dense and sparse vectors, hybrid search, full text search, regex filtering and structured metadata filtering. These can be combined to perform a search that leverages semantic similarity as well as application specific requirements.
For larger deployments we can distribute Chroma by isolating and sharding the workloads by collection. This is particularly useful in the case of developer tools and AI applications which are going to start off with a single local dataset and then grow into multiple collections that are independently managed.
Key Advantages
- An embedded database workflow for local development and prototyping.
- Single node and distributed deployment options.
- Consistent API across all deployment models.
- Support for dense, sparse, hybrid, full-text, regex and metadata retrieval.
- Managed the distributed infrastructure via Chroma Cloud.
Key Considerations
Distributed Chroma organises data around collections which are loaded into cache as required. You should consider whether that collection based architecture makes sense for your app in terms of how your data is organised, your workloads and your latency requirements.
Best for: Developers wanting an accessible open source vector database that’s easy to get from local AI development right through to distributed production retrieval.
3. MongoDB

MongoDB Vector Search enables developers to store the embeddings along with the documents, the metadata and all the other operational data in the same database. Rather than having a separate vector database and then having to sync your records across multiple systems, you can do your semantic searches directly against the collections that your apps are already using.
Vector queries are run via the MongoDB aggregation pipeline (both approximate and exact nearest neighbour search are supported). You can also apply metadata filters to restrict the results by user, permission, category and date.
MongoDB Search provides further lexical search capabilities and aggregation stages such as $rankFusion enable the fusion of keyword and vector search results into a hybrid ranking. $scoreFusion is available as a preview feature to allow the fusion of results based on their individual relevance scores.
Another useful capability is support for dedicated Search Nodes which enable search workloads to scale independently of the main database infrastructure.
This is particularly useful for apps that are already built on MongoDB and want to bring in semantic search, metadata filtering, full text search and vector search without having to go to a different database platform altogether.
Key Advantages
- Store the embeddings in conjunction with the existing MongoDB documents and metadata.
- Supports exact and approximate nearest neighbour search.
- Apply metadata filters to the vector search results to narrow them down.
- Combines lexical and semantic retrieval via hybrid search.
- Scales search workloads independently via dedicated Search Nodes.
Key Considerations
MongoDB Vector Search is intended to be an extension of the broader operational data platform that Mongodb already provides rather than a stand-alone, specialist vector database. If you’re a team that doesn’t already use MongoDB you might want to look at the capabilities and architecture of the product in comparison to those of the various dedicated vector database providers who offer more focused retrieval use cases.
Best for: Development teams who want to bring vector search and semantic search into an application that already has their operational data in MongoDB.
4. Weaviate

Weaviate is an open source vector database for semantic search and AI powered retrieval. It’s all of the following in one: vector similarity search, keyword search, metadata filtering, named vectors, multimodal search, reranking and hybrid search.
One of Weaviate’s big strengths is its native hybrid search. It runs vector search and BM25F keyword search in parallel and then fuses the results into a single ranking. You can configure the fusion strategy and the blend of vector and keyword search to meet the specific requirements of your application.
Weaviate also supports named vectors, enabling a collection to have multiple vector representations for different properties, different data modalities or different embedding models. You can search using a specific named vector or you can perform multi-target vector queries to search across multiple vector spaces.
For deployment you can either go with Weaviate Cloud as a fully managed service or host the open source database yourself. This gives you the flexibility to use it in an application where the quality of retrieval is a function of exact term match, semantic match, metadata filters and multiple vector representations.
Key Advantages
- Native support for vector, keyword and hybrid search.
- BM25F keyword search across multiple fields.
- Configurable search result fusion and retrieval weighting.
- Named vectors and multi-target vector search.
- Managed cloud and self hosted deployment options.
Key Considerations
Weaviate’s powerful retrieval capabilities bring with them a whole raft of configuration options around collection design, vectorisation, tokenisation, named vectors, fusion strategies and deployment. For teams who are simply after basic nearest neighbour search then a number of these features will be completely unnecessary.
Best for: Development teams building search intensive AI apps that need configurable keyword, vector and hybrid retrieval.
5. LanceDB

LanceDB is an open source embedded database built on top of the Lance columnar data format. It’s designed for AI applications that need to store and retrieve both vector embeddings and the source data. You can store the embeddings, the structured metadata and the original data all in the same table. It supports vector search, full text search, hybrid search and SQL.
One of the big advantages of Lancedb is the way it handles embeddings, metadata and the source data. Rather than have the embeddings stored separately and then have references to the files in some external storage system, you can have the text, the images, the audio, the video, the point clouds and all the other different data types all stored together with the information that you use to search them.
LanceDB OSS runs directly in the application with SDKs available for Python, TypeScript and Rust. For larger production workloads LanceDB Enterprise is built on the same core table abstraction and adds a range of additional infrastructure capabilities including distributed query execution, indexing, caching, compaction and monitoring.
Enterprise deployments can be handled via LanceDB or via the Bring Your Own Cloud (BYOC) deployment model where Lancedb is installed within the customer’s own AWS, Google Cloud or Azure account. This is particularly useful for organisations building multimodal search applications, data curation platforms, feature engineering pipelines and model training workflows that need access to both the embeddings and the source data that generated them.
Key Advantages
- Stores the embeddings, the metadata and the source data all in one place.
- Open source embedded database architecture.
- Supports vector, full text, hybrid and SQL queries.
- Designed for use with multimodal datasets (images, audio, video etc.)
- Managed and BYOC enterprise deployment options.
Key Considerations
LanceDB is capable of doing more than just vector similarity search. For a team that’s just looking for a managed vector database to do their basic retrieval workloads then the broader data management capabilities of Lancedb may be entirely unnecessary. In those cases a provider that’s specifically focused on managed vector search may be a better fit.
Best for: Development teams building multimodal AI applications that need to be able to store the embeddings, the metadata and the original source data all in the same database.
6. Milvus

Milvus is an open source vector database designed to support similarity search over datasets of all sizes, from small local collections right through to very large distributed datasets. It can be deployed in three different ways: Milvus Lite, Milvus Standalone and Milvus Distributed. For those who want a managed service rather than managing the infrastructure themselves, Zilliz Cloud provides a fully managed service based on Milvus.
One of Milvus’s big strengths is its flexible deployment architecture. Milvus Lite runs right inside a Python app and is ideal for notebooks, laptops and edge devices. Milvus Standalone is a single machine database service. Milvus Distributed is the Kubernetes based architecture for larger, highly available production workloads.
Milvus Lite shares its API with both Milvus Standalone and Distributed and thus supports many of the same core capabilities (dense and sparse vectors, vector data management, metadata filtering, multivector search and hybrid search). This means you can go from local experimentation to a larger deployment with the same client side development experience.
This flexibility makes Milvus ideally suited for organisations whose AI retrieval requirements are likely to grow over time. You can prototype on your local machine, move to a standalone server and then eventually go to a distributed cluster all without having to migrate to a completely different database platform.
Key Advantages
- Local, standalone and distributed deployment options.
- Consistent API regardless of the deployment model.
- Support for dense, sparse, multivector and hybrid search.
- Metadata filtering for more targeted retrieval.
- Scalable architecture to support everything from local prototypes through to large distributed clusters.
Key Considerations
Milvus Distributed is built for large scale deployments in a Kubernetes environment which adds a significant amount of infrastructure and operational complexity. For teams who just want a simpler deployment and simpler maintenance model, Milvus Lite, Milvus Standalone or a managed service such as Zilliz Cloud may be a more appropriate choice.
Best for: organisations who want a flexible vector search infrastructure that can take them from local dev and prototyping right through to large scale distributed production workloads.
7. Redis

Redis provides vector indexing and similarity search in addition to its existing data storage, caching and search functionality. Embeddings and associated metadata can be stored in Redis hashes or JSON documents and the application can then perform vector searches without the need for a separate vector database.
One of Redis’s key benefits is the ability to bring vector retrieval into an existing operational data platform. You can perform nearest neighbour or vector range searches, all the while applying filters on text, numeric, tag and geospatial fields that are stored in the same platform.
Redis supports a number of indexing algorithms, including FLAT indexes for full exhaustive search and HNSW indexes for approximate nearest neighbour retrieval. Redis 8.2 also introduced SVS-VAMANA, a graph based indexing algorithm with compression options which is intended to reduce memory consumption and provide further performance optimisations on compatible Intel hardware.
Keeping semantic search close to cached content, user sessions, recommendations and all the other low latency operational data is one of Redis’s key strengths. If you’re already using Redis then you can bring in vector retrieval and do so without having to rework your entire data platform, your indexing infrastructure or your query model.
Key Advantages
- Vector search in conjunction with the existing Redis data and applications.
- Store the embeddings in hashes or JSON documents.
- Supports FLAT, HNSW and SVS-VAMANA indexing algorithms.
- Provides KNN and vector range searches.
- Supports filtering across a range of metadata types (text, numeric, tag and geospatial).
Key Considerations
Redis is ideally suited to use cases where your broader data platform is already being used for caching, search and operational workloads. For teams whose primary interest is in vector retrieval, a dedicated vector database or a PostgreSQL extension is likely to be the better solution.
Best for: Development teams who want to introduce vector search in conjunction with their existing operational data which is already stored and managed via Redis.
Discover more from SomeWhat Creative
Subscribe to get the latest posts sent to your email.