Skip to content

Commit 9facf1a

Browse files
vlaskyclaude
andcommitted
Add note about exclusive access requirement for optimize/VACUUM
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0c1d19f commit 9facf1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,10 @@ PRAGMA journal_mode = WAL;
281281

282282
After deletes, reclaim space:
283283

284+
**Important**: Both `optimize` and `VACUUM` require exclusive database access.
285+
Close all other connections before running these commands, or run them on
286+
application startup before spawning additional connections.
287+
284288
```sql
285289
-- Compact shadow tables
286290
INSERT INTO vec_examples(vec_examples) VALUES('optimize');

0 commit comments

Comments
 (0)