Skip to content

Commit cf536a9

Browse files
feat: add maintenance work memory and max parallel workers parameters to PgVectorIVFFlat (#736)
Enhanced the PgVectorIVFFlat function by including support for maintenance_work_mem and max_parallel_workers parameters. This improves performance tuning options for users. 🚀✨ Co-authored-by: edgar-p <edgar.p@kakaocorp.com>
1 parent a3351f1 commit cf536a9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • vectordb_bench/backend/clients/pgvector

vectordb_bench/backend/clients/pgvector/cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ def PgVectorIVFFlat(
154154
metric_type=None,
155155
lists=parameters["lists"],
156156
probes=parameters["probes"],
157+
maintenance_work_mem=parameters["maintenance_work_mem"],
158+
max_parallel_workers=parameters["max_parallel_workers"],
157159
quantization_type=parameters["quantization_type"],
158160
table_quantization_type=parameters["table_quantization_type"],
159161
reranking=parameters["reranking"],

0 commit comments

Comments
 (0)