pg.ddx.io pgvector/pgvector GitHub issues and pull requestshelp / color / mirror / Atom feed
[pgvector/pgvector] issue #891: Partitions using HASH, RANGE or LIST when using HNSW or IVFFlat indexes 3+ messages / 2 participants [nested] [flat]
* [pgvector/pgvector] issue #891: Partitions using HASH, RANGE or LIST when using HNSW or IVFFlat indexes @ 2025-08-25 19:25 "brycechesternewman (@brycechesternewman)" <noreply+brycechesternewman@github.com> 0 siblings, 0 replies; 3+ messages in thread From: brycechesternewman (@brycechesternewman) @ 2025-08-25 19:25 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi, Say I have 500,000,000 values and use bit_hamming_ops. I can use HNSW or IVFFlat. Should the 500,000,000 values be partitioned(Using HASH, RANGE or LIST) when using HNSW or IVFFlat indexes? I know this question is dependent what other data might be used as filters. Should IVFFlat be used instead of HNSW or vice versa? All in all, I am wondering if anyone has found one index and partitioning pattern is better than the other when the table data is 500,000,000+? Thank you in advance. Bryce ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #891: Partitions using HASH, RANGE or LIST when using HNSW or IVFFlat indexes @ 2025-08-25 20:44 ` "ankane (@ankane)" <noreply+ankane@github.com> 1 sibling, 0 replies; 3+ messages in thread From: ankane (@ankane) @ 2025-08-25 20:44 UTC (permalink / raw) To: pgvector/pgvector <noreply+pgvector-pgvector@github.com> Hi @brycechesternewman, as you mentioned, this is dependent on the specifics of your application (for instance, Sentry went with [HNSW + hash partitioning](https://blog.sentry.io/how-sentry-decreased-issue-noise-with-ai/) for their use case). Please use other resources for additional help with this. ^ permalink raw [nested|flat] 3+ messages in thread
* Re: [pgvector/pgvector] issue #891: Partitions using HASH, RANGE or LIST when using HNSW or IVFFlat indexes @ 2025-08-25 20:44 ` "ankane (@ankane)" <noreply+ankane@github.com> 1 sibling, 0 replies; 3+ messages in thread From: ankane (@ankane) @ 2025-08-25 20:44 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:[~2025-08-25 20:44 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-08-25 19:25 [pgvector/pgvector] issue #891: Partitions using HASH, RANGE or LIST when using HNSW or IVFFlat indexes "brycechesternewman (@brycechesternewman)" <noreply+brycechesternewman@github.com> 2025-08-25 20:44 ` "ankane (@ankane)" <noreply+ankane@github.com> 2025-08-25 20:44 ` "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