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 #691: halfvec queries taking more time than vector
Date: Mon, 07 Oct 2024 09:46:21 +0000
Message-ID: <gh-pgvector-pgvector-691-c2396438900@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-691@github.com>
References: <gh-pgvector-pgvector-691@github.com>

Hi @gs-vkrishnasrujan, search performance should be similar for `halfvec` and `vector` in many cases (@jkatz has some numbers in [this post](https://jkatz05.com/post/postgres/pgvector-scalar-binary-quantization/)), especially if all of the data fits in memory. The main benefit is `halfvec` consumes less memory and space.

If `halfvec` is slower, it could be due to:

- the hardware
- the compiler used to compile pgvector
- the compiler flags

What OS and architecture are you on, and how was pgvector installed?

view thread (7+ messages)  latest in thread

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