Vector DB
A vector DB (vector database) is a database that stores numeric vectors (embeddings) representing text, images, or code and is built to find the vectors closest in meaning to a query quickly. It is a core building block for retrieval-augmented generation (RAG), semantic search, and recommendation systems.[1]
What does Vector DB mean in simple terms?
A vector DB keeps documents, images, and code as lists of numbers so you can search them by meaning, not just by matching words. Think of a library: a regular database is like a card catalog where you look up a book by its exact title, while a vector DB is more like a shelf layout that hands you "books with a similar feel to this one." If you want a model like ChatGPT to answer from your company documents, you need something that quickly finds the passages closest in meaning to the question. A vector DB fills that slot.[1] Internal manual chatbots, recommendation features, and AI search are often built on this structure.
How can Vector DB be explained with an analogy?
Choosing a vector DB is like deciding where to keep the same archive: outsource it to a managed service, build your own in-house room, keep it on your desktop, or add it as an extension to the system you already run.
Where is Vector DB used?
Managed — Pinecone serverless and multi-tenant search at Notion
Pinecone is a fully managed vector database: the provider handles scaling, updates, and reliability, so teams do not run the infrastructure themselves.[2] When it introduced its serverless architecture in January 2024, Pinecone described Notion as a customer that uses thousands of namespaces in a single index to keep each tenant's data isolated while keeping costs down, with interactive queries that typically need to return in under 100 ms.[3] Notion's own customer story also notes that Pinecone's product helps power Notion AI.[12] In the same post, Pinecone reported that Gong's costs for an on-demand labeling workload fell by 10x after moving from the older pod-based architecture to serverless.[3]
Result (vendor-reported): Gong's costs for that workload decreased by 10x on Pinecone serverless.[3]
Self-hosted — SK Telecom DEVOCEAN compares Vespa, Milvus, and Qdrant
A post on DEVOCEAN, SK Telecom's developer blog, compared three open-source vector DBs by installing them with Helm on the author's team's existing Kubernetes cluster.[4] The selection criteria were that each must be installable and operable on-premises, be open source, have real-world use, and handle at least 10 GB or 50 million documents.[4] Setup took under 10 minutes for Qdrant, over 25 minutes for Vespa, and over 30 minutes for Milvus, which also needed extra components such as cert-manager and CRDs.[4] The post suggests Qdrant when deployment resources are limited, Milvus for large-scale distributed workloads, and Vespa for hybrid search and low-latency recommendations.[4] Self-hosting avoids a managed-service bill but puts cluster operations and tuning on your own team.[2][4]
Result (one team's test): Initial setup under 10 minutes for Qdrant vs. over 30 minutes for Milvus.[4]
Embedded — Chroma for local prototyping
Chroma is an open-source vector database that you can start with pip install chromadb and run in memory inside a Python program, with persistence or client-server mode added later.[5] Its documentation reports that on a typical workload (1,024-dimension embeddings, small documents), a single node with 4 GB of RAM handles roughly 700,000 embeddings with a mean query latency of about 5 ms for small collections.[6] Because the HNSW index must fit in RAM, available memory sets the upper limit, and latency grows as the collection grows.[6] This makes it a practical choice when a project needs a working demo first.
Result (vendor benchmark): About 5 ms mean query latency for small collections on a single node (Chroma documentation).[6]
Postgres extension — pgvector, Firecrawl, and Korean hybrid search
pgvector is an open-source extension that adds vector similarity search to PostgreSQL, so vectors live next to the rest of your data with ACID transactions, JOINs, and point-in-time recovery.[7] Supabase, which offers pgvector as part of its Postgres platform, sums up this approach as "the best vector database is the database you already have."[8] In a Supabase customer story, Firecrawl said it had tried Faiss, Weaviate, and Pinecone but found them expensive and awkward for storing metadata, and moved to pgvector on Supabase.[9] UrstoryRAG, an open-source Korean-language RAG system, combines pgvector vector search with Elasticsearch Nori keyword search in a hybrid setup.[11]
Result (customer-reported): Firecrawl replaced its dedicated vector DB with pgvector on Supabase and reported performance at least on par for its use.[9]
Try it today
- Start from your data size and operations capacity: a lightweight embedded option such as Chroma for early prototypes, a managed service such as Pinecone when you have no one to run infrastructure.[2][6]
- If PostgreSQL is already your standard database, enable pgvector with
CREATE EXTENSION vector;before adding a separate system.[7] - If data must stay on-premises, run a small proof of concept with two or three open-source options such as Milvus, Qdrant, or Weaviate and compare them on your own data.[2][4]
- Use an approximate index such as HNSW, and prepare a set of questions with known correct answers so you can measure recall and latency together.[7][10]
- For languages such as Korean or Japanese, also test hybrid search that adds keyword search with a language-aware tokenizer (for example, Elasticsearch Nori for Korean) on your own domain data.[11]
Limits and direction
"Vector DB" sounds like one product category, but managed, self-hosted, embedded, and extension-based options have very different cost and operating profiles.[2] Managed services are quick to start, but usage-based pricing can become costly at large scale.[2] Self-hosted open source has no license fee, yet your team takes on cluster setup, scaling, and tuning.[4] An embedded single-node setup such as Chroma is limited by RAM so larger workloads may require more memory, partitioning, or a distributed service.[6] With pgvector, approximate indexes combined with filters can return fewer results than requested, which version 0.8.0 began to address with iterative index scans.[7] Most vector search is approximate, so the trade-off between recall, speed, and cost always needs checking.[1][7]
Three directions stand out. First, hybrid search that combines keyword and vector search is becoming common, because exact product names, codes, or legal clauses are hard to catch with vectors alone; pgvector and Supabase both document hybrid search with full-text search.[7][8] Second, general-purpose databases are absorbing vector features, giving teams the option to start without a separate vector DB.[8] Third, managed services are redesigning their architecture, for example by separating storage from compute, to cut costs for large and multi-tenant workloads.[3] The Milvus guide advises prototyping with a lightweight option first and testing with your actual data and query patterns before deciding.[2]
Which concepts are related to Vector DB?
- Related conceptpgvectorA PostgreSQL extension that adds vector similarity search to an existing database.[7]
- Related conceptMilvusAn open-source vector DB designed for large-scale distributed deployments.[2][4]
- Related conceptQdrantAn open-source vector DB known for payload (metadata) filtering and light installation.[2][4]
Which sources explain Vector DB?
- Pinecone — What is a Vector Database & How Does it Work? (2023-05-03) — https://www.pinecone.io/learn/vector-database/
- Milvus — How do I choose between Pinecone, Weaviate, Milvus, and other vector databases? — https://milvus.io/ai-quick-reference/how-do-i-choose-between-pinecone-weaviate-milvus-and-other-vector-databases
- Pinecone — Reimagining the vector database to enable knowledgeable AI (2024-01-16) — https://www.pinecone.io/blog/serverless-architecture/
- DEVOCEAN (SK Telecom) — Vector DB comparison guide in the RAG era: Vespa vs Milvus vs Qdrant (2025-04-10) — https://devocean.sk.com/blog/techBoardDetail.do?ID=167359&boardType=techBlog
- Chroma — chroma-core/chroma GitHub repository (README) — https://github.com/chroma-core/chroma
- Chroma Docs — Single-Node Performance — https://docs.trychroma.com/guides/deploy/performance
- pgvector — pgvector GitHub repository (README) — https://github.com/pgvector/pgvector
- Supabase Docs — AI & Vectors — https://supabase.com/docs/guides/ai
- Supabase — Firecrawl switches from Pinecone to Supabase Vector (2023-05-05) — https://supabase.com/customers/firecrawl
- Malkov & Yashunin — Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs (arXiv, 2016; v4 2018) — https://arxiv.org/abs/1603.09320
- urstory — urstory-rag: Korean production RAG system (PGVector + Elasticsearch Nori), GitHub README — https://github.com/urstory/urstory-rag
- Notion — Pinecone reinvests hours saved from using Notion AI (2026-02-20) — https://www.notion.com/customers/pinecone
Tell us what you think
Your feedback helps us improve the content.