From: jkatz (@jkatz) <noreply+jkatz@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 13:29:17 +0000
Message-ID: <gh-pgvector-pgvector-691-c2396940078@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-691@github.com>
References: <gh-pgvector-pgvector-691@github.com>
@gs-vkrishnasrujan It's very hard to provide guidance without more specific info. A few things to help here:
* How many vectors are you storing? Are you storing any other data next to the vectors? Are you querying any other data as well? Are you storing the data as `halfvec` in the table? For your tests, do you have separate tables for the `vector` and the `halfvec` data, or did you keep them in the same table?
* How much memory have you allocated to the container?
* Are you storing the vector using `SET STORAGE PLAIN` or just the defaults?
* Are you using any indexing?
* Which CPU architecture are you using (x86/ARM?)
* Do you have an example query plan for each run (preferably `EXPLAIN ANALYZE`) - please redact any sensitive information.