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] issue #727: Why is the hnsw index not used?
Date: Sat, 07 Dec 2024 18:36:20 +0000
Message-ID: <gh-pgvector-pgvector-727-c2525272416@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-727@github.com>
References: <gh-pgvector-pgvector-727@github.com>

Yes,the ordering needs to be in ascending order.

Additionally, if you use the default storage type for larger vectors (EXTERNAL), PostgreSQL may determine that a sequential scan is cheaper as it undercounts the amount of effort to complete the scan.

Additionally, pgvector 0.8.0 improves the overall costing methodology for calculating the cost of a HNSW scan.

view thread (6+ messages)  latest in thread

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