mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-11 07:06:57 +08:00
Added comments to HNSW vacuuming tests [skip ci]
This commit is contained in:
@@ -22,6 +22,7 @@ $node->safe_psql("postgres",
|
|||||||
$node->safe_psql("postgres", "CREATE INDEX ON tst USING hnsw (v vector_l2_ops);");
|
$node->safe_psql("postgres", "CREATE INDEX ON tst USING hnsw (v vector_l2_ops);");
|
||||||
$node->safe_psql("postgres", "DELETE FROM tst");
|
$node->safe_psql("postgres", "DELETE FROM tst");
|
||||||
|
|
||||||
|
# Test HNSW_SCAN_LOCK at the beginning of MarkDeleted is effective
|
||||||
$node->pgbench(
|
$node->pgbench(
|
||||||
"--no-vacuum --client=5 --transactions=1000",
|
"--no-vacuum --client=5 --transactions=1000",
|
||||||
0,
|
0,
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ $node->safe_psql("postgres",
|
|||||||
);
|
);
|
||||||
$node->safe_psql("postgres", "CREATE INDEX ON tst USING hnsw (v vector_l2_ops);");
|
$node->safe_psql("postgres", "CREATE INDEX ON tst USING hnsw (v vector_l2_ops);");
|
||||||
|
|
||||||
|
# Test no "hnsw graph not repaired" errors
|
||||||
$node->pgbench(
|
$node->pgbench(
|
||||||
"--no-vacuum --client=5 --transactions=1000",
|
"--no-vacuum --client=5 --transactions=1000",
|
||||||
0,
|
0,
|
||||||
|
|||||||
Reference in New Issue
Block a user