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 #244: HNSW + dead tuples: recall loss/usability issues
Date: Fri, 01 Sep 2023 20:02:32 +0000
Message-ID: <gh-pgvector-pgvector-244-c1703262787@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-244@github.com>
References: <gh-pgvector-pgvector-244@github.com>

Hi @alanwli, I'm not sure there's a way to address this that doesn't affect search speed, but it may be worth the tradeoff. I've pushed a solution to [kill-prior-tuple](https://github.com/pgvector/pgvector/compare/kill-prior-tuple) branch, but need to think about it more. The two things that will affect search speed are:

1. Marking tuples as deleted (since `scan->kill_prior_tuple` is the only way to get this information). We could limit this to a certain number per scan to minimize the impact.
2. Needing to search more tuples. This wouldn't be fixed until the graph is repaired with vacuum.

view thread (14+ messages)  latest in thread

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