db_deduplicate_embeddings
Remove duplicate embedding BLOBs already stored in sqlite-vec. Coverage-gated operation keeps fallback rows without a vec0 mirror; dry run by default.
Instructions
Remove base-table embedding BLOBs already represented in sqlite-vec.
The operation is coverage-gated: rows without a confirmed vec0 mirror keep
their BLOB fallback. Defaults to a report-only dry run. Run db_compact
afterwards to return the newly freed pages to the filesystem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |