pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: jkatz (@jkatz) <noreply+jkatz@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: Sun, 21 Jan 2024 22:37:49 +0000
Message-ID: <gh-pgvector-pgvector-424-rc1461182328@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-424@github.com>
References: <gh-pgvector-pgvector-424@github.com>

(on src/hnsw.c:115)

Suggestion: a comment that this value is derived from `disable_cost` in `src/backend/optimizer/path/costsize.c`,  should that value ever change. Perhaps also move it up into a const at the top of this file or one of the shared headers.

view thread (15+ messages)  latest in thread

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