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] PR #424: Update cost estimation to not use index when expected tuples is too low
Date: Mon, 22 Jan 2024 01:19:24 +0000
Message-ID: <gh-pgvector-pgvector-424-c1902853180@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-424@github.com>
References: <gh-pgvector-pgvector-424@github.com>

Apart from the specific implementation, I'd be curious to hear thoughts on whether the test cases make sense. For instance, does it make sense to use an index for the following query with the default `ef_search` of 40?

```sql
SELECT * FROM tst ORDER BY v <-> '[1,2,3]' LIMIT 41; -- or 10000
```

view thread (15+ messages)  latest in thread

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