pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
[pgvector/pgvector] issue #787: Vector Dimension 4096 and Index
3+ messages / 2 participants
[nested] [flat]

* [pgvector/pgvector] issue #787: Vector Dimension 4096 and Index
@ 2025-02-28 01:51  "ducknificient (@ducknificient)" <noreply+ducknificient@github.com>
  0 siblings, 0 replies; 3+ messages in thread

From: ducknificient (@ducknificient) @ 2025-02-28 01:51 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi, i want to store a vector with tensor dimension of 4096. However, Postgres itself has limitation of 8kb (8192) , and if im not wrong i was read that the maximum optimal vector dimension is 2048 for pgvector

my question is, how does the tensor dimension / vector dimension affect this index ? does it only affect query speed (so it still possible to store embeddings, but might be slow on inference query)

thanks
best regards

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

* Re: [pgvector/pgvector] issue #787: Vector Dimension 4096 and Index
@ 2025-02-28 02:58  "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-02-28 02:58 UTC (permalink / raw)
  To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>

Hi @ducknificient, to index vectors > 4,000 dimensions, you'll need to use [binary quantization](https://github.com/pgvector/pgvector?tab=readme-ov-file#binary-quantization).

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

* Re: [pgvector/pgvector] issue #787: Vector Dimension 4096 and Index
@ 2025-02-28 02:58  "ankane (@ankane)" <noreply+ankane@github.com>
  1 sibling, 0 replies; 3+ messages in thread

From: ankane (@ankane) @ 2025-02-28 02:58 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-02-28 02:58 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-02-28 01:51 [pgvector/pgvector] issue #787: Vector Dimension 4096 and Index "ducknificient (@ducknificient)" <noreply+ducknificient@github.com>
2025-02-28 02:58 ` "ankane (@ankane)" <noreply+ankane@github.com>
2025-02-28 02:58 ` "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