pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: xcu (@xcu) <noreply+xcu@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #840: Support for index rollout
Date: Mon, 19 May 2025 13:40:29 +0000
Message-ID: <gh-pgvector-pgvector-840@github.com> (raw)

Right now rolling out a new index can be fairly dangerous on production environments, especially for large indexes. ANN indexes need to be in memory to perform well, otherwise performance can drop substantially until the new index is brought to memory (as in, a couple of orders of magnitude). This can take several minutes if the index is large.

If you are using partman this can be fixed by rolling one partition at a time, waiting some seconds for the new index to be brought to memory, then moving on to the next partition. 

Is there any similar approach being considered for pgvector? If not, do you think it would make sense for an extension to do this? Because if it does I think I might try to implement it.

view thread (5+ messages)  latest in thread

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