Repository navigation
pgvectorfast v0.2.0
Release v0.2.0 of pgvectorfast, featuring dynamic /dev/shm buffer pool allocation, HNSW/vector search optimizations, Docker/APT/PGXN distribution channels, and vectorfast.so shared library packaging.
Upstream Base & Bundled Extensions
- Based on: pgvector v0.8.7
- Bundled extensions:
vector(0.8.7) andcalico(0.2, including0.1->0.2upgrade path)
Highlights
- Dynamic
/dev/shmCalico Buffer Pool (calico0.2): Replaces the static 1 TiB/dev/zeroarena and fixed prefix hash table with on-demand/dev/shmextents (16 MiB metadata extents and 512 MiB region extents,REGION_BITS = 26), partitioned 128-lock prefix buckets, and lazy backend attachment. - HNSW & Vector Search Optimizations: 4-way AVX+FMA L2/IP distance kernels, inline optimistic slot/tuple reads, single-pass optimistic slot lookup, generation-stamped visited tables, pipelined layer-0 traversal with streaming tuple/heap prefetches, coalesced async AIO batching, and parallel index build references to
vectorfast.so. - Distribution Channels: Multi-channel installation via Docker (
zxjcarrot/pgvectorfast:0.2.0-pg18/:pg18), APT (Debianbookworm&trixie), PGXN (pgxn install pgvectorfast), and source (PGXS).