pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #644: Does IVFFlat index changes when deleting some vectors
3+ messages / 2 participants
[nested] [flat]

* [pgvector/pgvector] issue #644: Does IVFFlat index changes when deleting some vectors
@ 2024-08-17 06:02 "Dawn-seagull (@Dawn-seagull)" <noreply+Dawn-seagull@github.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Dawn-seagull (@Dawn-seagull) @ 2024-08-17 06:02 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

I'm testing pgvector with annbenchmark. I create an IVFFlat index with learning set. And for the base vector data, I should first delete the original data and then insert the base data. So i'm wondering if IVFFlat index changes when deleting vectors.

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] issue #644: Does IVFFlat index changes when deleting some vectors
@ 2024-08-17 18:24 ` "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2024-08-17 18:24 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @Dawn-seagull, the data won't be visible to future transactions, and will be removed when `VACUUM` is run (see resources on Postgres' MVCC for more info). The list centers won't change unless `REINDEX` is run.

^ permalink  raw  [nested|flat] 3+ messages in thread

* Re: [pgvector/pgvector] issue #644: Does IVFFlat index changes when deleting some vectors
@ 2024-08-17 18:24 ` "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2024-08-17 18:24 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

@ankane closed this.

^ permalink  raw  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2024-08-17 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-08-17 06:02 [pgvector/pgvector] issue #644: Does IVFFlat index changes when deleting some vectors "Dawn-seagull (@Dawn-seagull)" <noreply+Dawn-seagull@github.com>
2024-08-17 18:24 ` "ankane (@ankane)" <noreply+ankane@github.com>
2024-08-17 18:24 ` "ankane (@ankane)" <noreply+ankane@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