pgvector.git / summary / log / commit / refs
commit 8a65c0e831d8b007d40f8673cd17f6720db5c4e6
Author: Andrew Kane <andrew@ankane.org>
Date: Tue Jan 09 21:33:03 2024 +0000
Moved section [skip ci]
README.md | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/README.md b/README.md
index 093bf797..71aa2051 100644
--- a/README.md
+++ b/README.md
@@ -190,22 +190,6 @@ CREATE INDEX ON items USING hnsw (embedding vector_cosine_ops);
Vectors with up to 2,000 dimensions can be indexed.
-### Index Build Time
-
-Indexes build significantly faster when the graph fits into `maintenance_work_mem`
-
-```sql
-SET maintenance_work_mem = '8GB';
-```
-
-A notice is shown when the graph no longer fits
-
-```text
-NOTICE: hnsw graph no longer fits into maintenance_work_mem after 100000 tuples
-DETAIL: Building will take significantly more time.
-HINT: Increase maintenance_work_mem to speed up builds.
-```
-
### Index Options
Specify HNSW parameters
@@ -238,6 +222,22 @@ SELECT ...
COMMIT;
```
+### Index Build Time
+
+Indexes build significantly faster when the graph fits into `maintenance_work_mem`
+
+```sql
+SET maintenance_work_mem = '8GB';
+```
+
+A notice is shown when the graph no longer fits
+
+```text
+NOTICE: hnsw graph no longer fits into maintenance_work_mem after 100000 tuples
+DETAIL: Building will take significantly more time.
+HINT: Increase maintenance_work_mem to speed up builds.
+```
+
### Indexing Progress
Check [indexing progress](https://www.postgresql.org/docs/current/progress-reporting.html#CREATE-INDEX-PROGRESS-REPORTING) with Postgres 12+
[parent: 7d75d423e43a]