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 #846: Unexpected use of Index Scan in ANN query without LIMIT or enable_indexscan
Date: Tue, 27 May 2025 02:02:12 +0000
Message-ID: <gh-pgvector-pgvector-846-c2910897917@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-846@github.com>
References: <gh-pgvector-pgvector-846@github.com>

Hi @developerayuva, both queries in Case I should be doing a seq scan.

1. What version of pgvector are you on?
2. Does running `ANALYZE vector_collection2;` fix the first query?
3. What's the output of `EXPLAIN ANALYZE` with `SET enable_seqscan = off;` for the first query?

view thread (8+ messages)  latest in thread

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