From: gwenshap (@gwenshap) <noreply+gwenshap@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #756: consider supporting an `enable_approxscan` option
Date: Wed, 15 Jan 2025 17:57:27 +0000
Message-ID: <gh-pgvector-pgvector-756-c2593598545@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-756@github.com>
References: <gh-pgvector-pgvector-756@github.com>
> @gwenshap Unless something has changed recently, `hypopg` doesn't let you explicitly disable an index, but rather shows the theoretical cost/performance of using an index.
@jkatz Good point. It lets you hypothetically hide a real index and see the change to the plan. But the index will still get used when executing the query (as seen with `explain analyze`)
For reference: https://hypopg.readthedocs.io/en/rel1_stable/usage.html#hypothetically-hide-existing-indexes