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 #781: index not used with cte
Date: Fri, 21 Feb 2025 19:15:19 +0000
Message-ID: <gh-pgvector-pgvector-781-c2675348578@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-781@github.com>
References: <gh-pgvector-pgvector-781@github.com>

This indicates the planner isn't considering the index. I don't immediately see why, but there's not much pgvector can do if this is the case. What's the explain output if you add `MATERIALIZED` to the CTE (with `SET enable_seqscan = off;`)? Also, is `dbpedia_14_chunk_index_idx` a unique index?

view thread (11+ messages)  latest in thread

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