Added note about vacuuming - closes #450 [skip ci]

This commit is contained in:
Andrew Kane
2024-01-31 14:35:27 -08:00
parent 90f8fe6f0f
commit 38825c5a98
+9
View File
@@ -430,6 +430,15 @@ To speed up queries with an IVFFlat index, increase the number of inverted lists
CREATE INDEX ON items USING ivfflat (embedding vector_l2_ops) WITH (lists = 1000);
```
## Vacuuming
Vacuuming can take a while for HNSW indexes. Speed it up by reindexing first.
```sql
REINDEX INDEX CONCURRENTLY index_name;
VACUUM table_name;
```
## Languages
Use pgvector from any language with a Postgres client. You can even generate and store vectors in one language and query them in another.