deep_storage_purge
Reclaim disk space by purging legacy float32 embeddings after TurboQuant compression. Preview impact with dry_run.
Instructions
v5.1 Deep Storage Mode: Purge high-precision float32 embedding vectors for entries that already have TurboQuant compressed blobs, reclaiming ~90% of vector storage. Only affects entries older than the specified threshold (default: 30 days, minimum: 7). Entries without compressed blobs are NEVER touched. Use dry_run=true to preview the impact before executing.
When to use: After running TurboQuant backfill (session_backfill_embeddings), call this tool to reclaim disk space from legacy float32 vectors that are no longer needed for search.
Safety: Tier-2 search (TurboQuant) maintains 95%+ accuracy with compressed blobs. Tier-3 (FTS5 keyword) search is completely unaffected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | If true, reports eligible count and estimated byte savings without purging any data. Default: false. | |
| project | No | Optional project filter. When omitted, purges across all projects. | |
| older_than_days | No | Only purge entries older than this many days. Default: 30. Minimum: 7 (enforced). Entries younger than this threshold keep full float32 precision for Tier-1 native vector search. |