We strongly recommend
0.27.0 or later for substantial vector search
improvements.pdb.vector(N) for single-precision float vectors.
If you track index build progress with
pg_stat_progress_create_index,
the phase column identifies partition sampling, vector partition training,
and vector clustering. It is normal for row counters to pause during training
and clustering, which can be computationally expensive.Compatibility with pgvector Types
Starting in
0.27.2, pgvector is optional. ParadeDB does not recommend
using pgvector’s hnsw or ivf indexes because they do not
scale.pgvector is installed, its standard vector(N) type and vector opclasses work
directly with ParadeDB:
pgvector types like halfvec, sparsevec, bit are not yet supported but are on the roadmap.
Index Options
We recommend keeping the defaults, which work well for most workloads. The following options are available for development and debugging.Fraction of indexed vectors sampled for training whenever a segment is
clustered.
0 chooses the fraction automatically based on available memory.By default, cluster centroids are quantized. This makes them more compact and
faster to search.
ParadeDB uses boundary replication, which means that vectors sitting close to
two clusters are replicated across both. Replication improves recall. A higher
value replicates to more clusters, at the cost of longer index build times and
more storage.