ParadeDB extends PostgreSQL with vector, hybrid, and full-text search so you can build AI-ready queries inside the database.
ParadeDB is an open-source PostgreSQL extension that bundles pgvector, HNSW indexing, and full-text search. It lets developers run lightning-fast semantic, keyword, and hybrid searches without leaving Postgres.
Install the extension with your package manager or Docker image, then run CREATE EXTENSION paradeb;
in each target database. This registers custom index types and search operators.
Create a vector
column to store embeddings.Build an HNSW index for ANN search. ParadeDB adds <->
and <#>
operators for distance calculations.
Store text in a tsvector
column and embeddings in a vector
column.ParadeDB’s hybrid_distance()
function blends lexical and semantic scores for ranked results.
Popular scenarios include product recommendations, semantic customer support search, personalized marketing content, and AI chat retrieval over Orders and Products tables.
Use the same embedding dimension across tables, choose appropriate ef_search
and m
index parameters, and filter by metadata (e.g., category) before vector ranking to reduce candidates.
Yes—extensions load once per session.Confirm the extension exists on every replica and use PRELOAD
to avoid start-up overhead in pooled connections.
.
Vector and full-text index maintenance adds overhead, but batching writes or using async job queues keeps insert performance healthy.
RDS doesn’t allow custom C extensions, so you’ll need self-hosted Postgres or an Elasticache-style managed cluster that supports paradeb.
Update the product row, set a new embedding, and ParadeDB automatically re-indexes the vector column.