Users Pricing

articles

Home Articles Do You Really Need a Vector Database? – MindStick
Do You Really Need a Vector Database?

Do You Really Need a Vector Database?

Poulami Sarkar 84 22 Nov 2026

The moment a team starts building anything with AI, someone suggests adding a vector database. Pinecone, Weaviate, Qdrant, Milvus, Chroma. The list grows every year.

Sometimes it’s the right call. Often it’s one more system to pay for, secure and keep in sync, when the database you already run could do the job.

Let’s look at what vector databases actually do, and how to decide whether you need one.

First, what is a vector?

AI models can turn a piece of text, an image or an audio clip into a list of numbers called an embedding. A typical embedding has hundreds or a few thousand numbers.

The useful property is this: things with similar meaning end up with similar numbers. The embeddings for “How do I reset my password?” and “I forgot my login details” will be close together, even though they share almost no words.

A vector search takes the embedding of a question and finds the stored embeddings closest to it. That is how semantic search works, and it is the “retrieval” step in retrieval-augmented generation (RAG), where an AI system looks up relevant documents before answering.

What makes a vector database different

A normal database index, like a B-tree, is great for exact matches and ranges: WHERE customer_id = 42 or WHERE created_at > '2027-01-01'. It’s useless for “find the 10 rows whose 1,536-number vectors are closest to this one”.

Comparing a query against every stored vector works for small collections but becomes slow at scale. Vector databases use approximate nearest neighbour (ANN) indexes, such as HNSW or IVF, that find very close matches very quickly by trading a tiny bit of accuracy for a big gain in speed.

Dedicated vector databases add more around that core:

  • fast ANN indexing at large scale
  • filtering by metadata alongside similarity (“closest matches, but only in documents from the HR department”)
  • hybrid search that combines keyword and semantic matching
  • horizontal scaling across many machines
  • managed hosting

The thing most people miss

Your existing database may already do vector search.

  • PostgreSQL has the widely used pgvector extension, which adds a vector column type and HNSW and IVFFlat indexes.
  • SQL Server, MySQL, MongoDB, Elasticsearch / OpenSearch and Redis have all added vector search features in recent versions.
  • SQLite has extensions for vector search, which is handy for small apps and prototypes.

That changes the question from “Which vector database should we buy?” to “Is our current database good enough for our vector workload?”

When your existing database is enough

You can very likely skip a separate vector database if most of these apply:

  • Up to a few million vectors. pgvector with an HNSW index handles collections of this size comfortably on a reasonable server.
  • Your data already lives in that database. Keeping product descriptions and their embeddings in the same table means one transaction updates both. No sync jobs, no drift.
  • You need joins and filters. “Semantically similar products, in stock, under ₹5,000, in this category” is a single SQL query when everything is in Postgres.
  • Your team knows the database already. Backups, monitoring, access control and security reviews are already in place.
  • Query volume is moderate. Tens or low hundreds of searches per second.

Here’s what that looks like in PostgreSQL:

CREATE EXTENSION IF NOT EXISTS vector;

CREATE TABLE help_articles (
    id        bigserial PRIMARY KEY,
    title     text,
    body      text,
    embedding vector(1536)
);

CREATE INDEX ON help_articles USING hnsw (embedding vector_cosine_ops);

-- Find the 5 most similar articles to a question's embedding
SELECT id, title
FROM help_articles
ORDER BY embedding <=> $1
LIMIT 5;

That’s the whole setup. No new service.

When a dedicated vector database earns its place

A specialised system starts to make sense when:

  • You have tens or hundreds of millions of vectors, and need consistently fast results at that scale.
  • Search is your core product, for example a recommendation engine, an image search service or a large document platform.
  • You need very high query throughput with low latency, and don’t want vector load to slow down your transactional database.
  • You need advanced features like multi-vector search, built-in hybrid ranking, or tight integration with embedding pipelines.
  • You want a fully managed service and are happy to pay for it rather than tune indexes yourself.

A quick decision guide

SituationSuggested approach
Prototype or proof of conceptSQLite extension, Chroma, or pgvector
Business app with under a few million vectors, data already in Postgrespgvector
Already on Elasticsearch or OpenSearch for searchUse its vector features for hybrid search
Large-scale semantic search as the core productDedicated vector database
Strict latency SLAs at very high trafficDedicated vector database, managed or self-hosted

Things that matter more than the database

Teams often agonise over the vector store and neglect the parts that actually decide quality.

Chunking. How you split documents before embedding matters enormously. Chunks that are too big blur meaning; too small and they lose context. Splitting on headings and paragraphs usually beats splitting on fixed character counts.

The embedding model. A better embedding model, or one suited to your language, often improves results more than any database change. If your content includes Hindi or mixed Hindi-English, test models on real examples.

Hybrid search. Pure semantic search can miss exact terms like product codes, invoice numbers and error codes. Combining keyword search with vector search fixes this.

Re-ranking. Retrieve 50 candidates quickly, then use a more accurate re-ranking model to pick the best 5.

Keeping embeddings fresh. When a document changes, its embedding must be regenerated. Build that into your update process from day one.

Key takeaways

  • Vector search finds items by meaning rather than exact words, and it’s the backbone of semantic search and RAG.
  • Most popular databases now support vector search, and PostgreSQL with pgvector is a strong default.
  • A separate vector database is worth it at large scale, very high traffic, or when search is the product.
  • Chunking, the embedding model and hybrid search affect quality more than your choice of vector store.

Start with the database you already run. Measure. Move to a specialised system when the numbers, not the hype, say you’ve outgrown it.


Poulami Sarkar

Research Data Analyst at Atlassian

I am a Research Data Analyst at Atlassian, with 5 years of experience in research data analysis for surveys and studies. I completed my B.Sc in Mathematics from Jadavpur University, Kolkata and M.Sc in Statistics from Bangalore University. I am originally from Kolkata, West Bengal. Outside work I enjoy birdwatching and playing the guitar.


Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md