Jan. 31, 2024, 3:30 p.m. | Copple

DEV Community dev.to

pgvector 0.6.0 was released today, with a significant improvement: parallel builds for HNSW indexes. Building an HNSW index is now up to 30x faster for unlogged tables.


This release is a huge step forward for pgvector, making it easier to tune HNSW build parameters and increase search accuracy and performance.





HNSW indexes in pgvector


We explored how HNSW works in an earlier post, so as a quick recap: HNSW is an algorithm for approximate nearest neighbor search. It uses proximity …

accuracy ai build building database faster hnsw improvement index making parameters performance pgvector postgres release search tables vectordatabase

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Data Science Analyst

@ Mayo Clinic | AZ, United States

Sr. Data Scientist (Network Engineering)

@ SpaceX | Redmond, WA