From: vitonsky (@vitonsky) <noreply+vitonsky@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #822: HNSW index creation is stuck on dozens millions entries
Date: Tue, 15 Apr 2025 18:59:18 +0000
Message-ID: <gh-pgvector-pgvector-822-c2807194052@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-822@github.com>
References: <gh-pgvector-pgvector-822@github.com>
@ankane
> If you remove the rounding, you should see it progressing slowly (once the index is flushed to disk)
Index query in run already 17 hours. In first 4 hours index were reach 57.6%, printed notice and started write data on disk.
Now progress is still 57.6%. I tried to check progress with no rounding with `SELECT phase, blocks_done FROM pg_stat_progress_create_index;` and result is accordingly stuck on `304523`. No difference for last 3 hours.
The assumption from your quote has not been confirmed.
It is reasonable to expect any progress, at least 0.1% for 13 hours on hardware that processed 57.6% for 4 hours.
But current state is progress in stuck for 13 hours. I tried to run `sync` - nothing changed.