pgvector.git / summary / log / commit / refs

commit    b643ef637a32fc743c8e2ae3f614f0396f6a0c31
Author:   Andrew Kane <andrew@ankane.org>
Date:     Sun Jan 30 04:25:06 2022 +0000

    Added indexing progress to readme [skip ci]


README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index ffa78efc..3b1526ed 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,22 @@ SELECT ... COMMIT; ``` +### Indexing Progress [unreleased] + +Check [indexing progress](https://www.postgresql.org/docs/current/progress-reporting.html#CREATE-INDEX-PROGRESS-REPORTING) with Postgres 12+ + +```sql +SELECT phase FROM pg_stat_progress_create_index; +``` + +The phases are: + +1. `initializing` +2. `sampling table` +3. `performing k-means` +4. `sorting tuples` +5. `loading tuples` + ### Partial Indexes Consider [partial indexes](https://www.postgresql.org/docs/current/indexes-partial.html) for queries with a `WHERE` clause [parent: 0ee5bfda65d4]