pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: chmaurer (@chmaurer) <noreply+chmaurer@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #912: Question about hnsw result set size
Date: Sat, 18 Oct 2025 10:57:02 +0000
Message-ID: <gh-pgvector-pgvector-912-c3418221903@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-912@github.com>
References: <gh-pgvector-pgvector-912@github.com>

Hi @ankane, many thanks for your response, sorry I am just getting back to you today. 

Well, I think we found the issue an you're right - we now manage to return 25k rows constantly. I am pretty new to PostgreSQL as such and I needed a hint from a colleague, because I misread the documentation (https://github.com/pgvector/pgvector?tab=readme-ov-file#query-options). I thought that setting the parameters mentioned by you and me above is *always* on the database level and if `LOCAL` is used, it's on the transaction level. I now have learned that the parameters are always set on the session level, hence my query was run without the intended settings (I did the settings with my database query window, ran the performance tests from my IDE).

We now (for our tests) issue the set commands before the query, that fixed the issue. Many thanks for your help - I think we can close the issue.

view thread (6+ messages)  latest in thread

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