Improved HNSW vacuuming

This commit is contained in:
Andrew Kane
2023-08-13 15:53:07 -07:00
parent 304e262a41
commit 6fc7d06313
2 changed files with 20 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ $node->safe_psql("postgres",
);
# Add index
$node->safe_psql("postgres", "CREATE INDEX ON tst USING hnsw (v vector_l2_ops) WITH (m = 4);");
$node->safe_psql("postgres", "CREATE INDEX ON tst USING hnsw (v vector_l2_ops) WITH (m = 4, ef_construction = 8);");
# Delete data
$node->safe_psql("postgres", "DELETE FROM tst WHERE i > 2500;");