pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #500: Index Build Time Does Not Improve as Expected When Changing "Workers"
Date: Fri, 22 Mar 2024 23:45:32 +0000
Message-ID: <gh-pgvector-pgvector-500-c2016157277@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-500@github.com>
References: <gh-pgvector-pgvector-500@github.com>

Hi @iamsabhoho, pgvector 0.6.2 reduces lock contention for HNSW builds with a large number of parallel workers, so I'd recommend trying that. Also, the build times look very slow compared to previous benchmarks (https://github.com/pgvector/pgvector/issues/409), so I'd double check that `maintenance_work_mem` ([docs](https://github.com/pgvector/pgvector?tab=readme-ov-file#index-build-time)) and other settings like `shared_buffers` ([docs](https://github.com/pgvector/pgvector?tab=readme-ov-file#tuning)) are set correctly. With only 1M records, it's possible you won't see much difference with more than 10 workers.

view thread (32+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-500-c2016157277@github.com>
Permalink:  ../gh-pgvector-pgvector-500-c2016157277@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox