mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-10 14:46:56 +08:00
Added section on max_parallel_maintenance_workers [skip ci]
This commit is contained in:
10
README.md
10
README.md
@@ -304,6 +304,16 @@ SELECT ...
|
|||||||
COMMIT;
|
COMMIT;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Index Build Time
|
||||||
|
|
||||||
|
Speed up index creation on large tables by increasing the number of parallel workers (2 by default)
|
||||||
|
|
||||||
|
```sql
|
||||||
|
SET max_parallel_maintenance_workers = 7; -- plus leader
|
||||||
|
```
|
||||||
|
|
||||||
|
For a large number of workers, you may also need to increase `max_parallel_workers` (8 by default)
|
||||||
|
|
||||||
### Indexing Progress
|
### Indexing Progress
|
||||||
|
|
||||||
Check [indexing progress](https://www.postgresql.org/docs/current/progress-reporting.html#CREATE-INDEX-PROGRESS-REPORTING) with Postgres 12+
|
Check [indexing progress](https://www.postgresql.org/docs/current/progress-reporting.html#CREATE-INDEX-PROGRESS-REPORTING) with Postgres 12+
|
||||||
|
|||||||
Reference in New Issue
Block a user