From: knizhnik (@knizhnik) <noreply+knizhnik@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #259: Understanding HNSW + filtering
Date: Sun, 29 Oct 2023 18:59:47 +0000
Message-ID: <gh-pgvector-pgvector-259-c1784197815@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>
> Aren't partitions created automatically once the table is created with list partitioning?
No, you have explicitly specify list of values for which partition is created.
> What's the problem with 1,000 partitions for a table with a billion rows?
Optimiser has to analyse 1000 tables which takes ~1000 more times than for select from single table.