# Vector databases

> A vector database is a store built to keep embeddings and return the nearest ones.

A store built to keep embeddings and return the nearest ones.

Track: Retrieval & Grounding
Access: free
Card: https://buildsparkai.com/vector-databases
Plain text: https://buildsparkai.com/vector-databases.md
Last checked: 2026-10-18

## What it is

Azure AI Search's vector search overview says vector search indexes numeric representations and returns the vectors most similar to the query. It says you can use the service as a pure vector index for a knowledge base, and that a nearest-neighbors algorithm returns the requested k neighbors. pgvector's README describes vector similarity search for Postgres, including exact and approximate nearest neighbor search, and a query that orders rows by distance. Pinecone's search overview says semantic search uses dense embeddings, and that searches consume read units. Pinecone's 2026 changelog says Pinecone Local reached end of life on October 7, 2026. This card cites the current search overview, not Pinecone Local. The picture ranks three labelled chunks. It is not a query against any of those stores.

## Why it matters

**Cost.** Azure's overview says vector search is available in all regions and on all tiers at no extra charge, and that generating embeddings might incur charges from the model provider. That "no extra charge" is vendor-reported for the search feature, not for the embedding call. Pinecone's overview says searches consume read units and points to a pricing page. This card does not copy a read-unit rate. pgvector stores the vectors in Postgres.

**Quality.** Azure's overview says vectors can match text that is conceptually alike, and gives "dog" and "canine" as the example. A product code can still miss when the match is by meaning. The hybrid search card is the one that runs words and vectors together.

**Risk.** The nearest chunk is not a decision about who may read it, and it is not a check that the text is current. The store returns neighbors. A filter decides who sees them.

## Try today

Name the store you already run. If the support rows live in Postgres, pgvector can keep the vectors beside them. If you already use Azure AI Search, the vector fields can live on that index. Write down where the embedding is computed. That call is a separate bill.

## Common mistake

Opening a second database before you know the embedding call is the line that grows. Azure's overview separates the search feature from the embedding charge.

## Self-check

Azure's overview says vector search has no extra charge. Which part can still cost money?

Generating the embeddings

## Practice and deep

Coming soon. On the support-docs answer bot, the vector column is a local hash, not a hosted store. Write down which store you would use for those eight chunks, and where the embedding call would sit.

Coming soon. How Azure returns k nearest neighbors, how pgvector orders by distance, and which Pinecone search the current overview still documents.

## Sources

- [Azure AI Search, Vector search overview](https://learn.microsoft.com/en-us/azure/search/vector-search-overview)
- [pgvector, README](https://github.com/pgvector/pgvector)
- [Pinecone, Search overview](https://docs.pinecone.io/guides/search/search-overview)
- [Pinecone, 2026 changelog](https://docs.pinecone.io/release-notes/2026)

Opened 2026-10-18. Azure's "no extra charge" line is vendor-reported and does not cover the embedding model. Pinecone Local ended on October 7, 2026. This card does not cite it, and it does not copy a read-unit price.
