Skip to content

pgvectorfast v0.2.0

Choose a tag to compare

@zxjcarrot zxjcarrot released this 15 Nov 22:37
· 24 commits to master since this release

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) and calico (0.2, including 0.1 -> 0.2 upgrade path)

Highlights

  • Dynamic /dev/shm Calico Buffer Pool (calico 0.2): Replaces the static 1 TiB /dev/zero arena and fixed prefix hash table with on-demand /dev/shm extents (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 (Debian bookworm & trixie), PGXN (pgxn install pgvectorfast), and source (PGXS).