pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: jkatz (@jkatz) <noreply+jkatz@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: Tue, 24 Sep 2024 12:20:31 +0000
Message-ID: <gh-pgvector-pgvector-500-c2371115785@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-500@github.com>
References: <gh-pgvector-pgvector-500@github.com>

> I don't think I can increase max_parallel_maintenance_workers, because each will require its own RAM.

The parallel workers are sharing memory available in the `maintenance_work_mem` pool. Using more workers on index build can significantly improve index build time (sharing a slide from one more my talks on this):

<img width="1025" alt="Screenshot 2024-09-24 at 8 20 05 AM" src="https://github.com/user-attachments/assets/57f7ca56-26a8-401a-9a34-adecd07dc16f";

view thread (32+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-500-c2371115785@github.com>
Permalink:  ../gh-pgvector-pgvector-500-c2371115785@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