Skip to content

Vector database

A vector database stores and queries vectors by proximity. Learn how to evaluate filters, updates, and retrieval accuracy in your application.

Reviewed on

What it means

A vector database is a system that stores vectors and lets you query them by proximity, using a distance or similarity measure. In applications involving text, these vectors are usually embeddings associated with documents and metadata. This capability may be available in a dedicated service or as an extension to a conventional database, such as pgvector for PostgreSQL.

Why it matters for marketing

For marketing, the database influences which content an assistant can retrieve from a knowledge base and how quickly. An evaluation should consider updates, filters, and candidate quality, as well as the advertised scale. Having materials stored does not guarantee that the system will return the current version or respect criteria such as country, category, and access permissions.

Example in practice

Imagine a distributor that keeps Brazilian and Portuguese catalogs in the same vector database. A query about delivery terms finds a semantically similar document, but it is intended for Portugal. An inspection reveals that the country was not included in the filter. The team decides to require the Brazilian criteria in the query and test again before revising the catalog copy.

How to apply or verify

Ask for a demonstrable query with vectors, source documents, and recorded filters. Confirm how additions, changes, and deletions reach the database. Compare approximate search with an exact reference on a sample, and record missed candidates and response time. In pgvector, approximate indexes may leave out some nearby candidates to return results more quickly; also evaluate how they interact with filters.

Important distinctions

A vector database does not necessarily generate embeddings or write the final answer. Nor does it need to be a product separate from the relational database. Exact search finds the neighbors defined by distance; approximate search may leave some out to gain speed. Even the mathematically closest neighbor may be unsuitable for the business, requiring additional selection and review criteria.

Sources and references

Photo of Vinicius Pacheco

About the author

Vinicius Pacheco

Responsible for Tropk’s technical content, focusing on crawling, indexing, structured data, and agent access to content.

View profile and posts
Cookie policy