You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user_guide/how_to_guides/migrate-indexes.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -686,7 +686,7 @@ rvl migrate validate \
686
686
687
687
**Apply flags (quantization & reliability):**
688
688
- `--backup-dir <dir>` : Directory for vector backup files. Enables crash-safe resume and manual rollback. Required when using `--workers` > 1.
689
-
- `--batch-size <N>` : Keys per pipeline batch (default 500). Values 200–1000 are typical.
689
+
- `--batch-size <N>` : Keys per pipeline batch (default 500). Values 200 to 1000 are typical.
690
690
- `--workers <N>` : Parallel quantization workers (default 1). Each worker opens its own Redis connection. See [Performance](#performance-tuning) for guidance.
691
691
- `--keep-backup` : Retain backup files after a successful migration (default: auto-cleanup).
692
692
@@ -736,10 +736,10 @@ When you pass `--backup-dir` (or `backup_dir` in the Python API), the
736
736
migration executor saves **original vector bytes** to disk before mutating
737
737
them. This enables two key capabilities:
738
738
739
-
1. **Crash-safe resume** — if the process dies mid-migration, re-running the
739
+
1. **Crash-safe resume**:if the process dies mid-migration, re-running the
740
740
same command with the same `--backup-dir` automatically detects partial
741
741
progress and resumes from the last completed batch.
742
-
2. **Manual rollback** — the backup files contain the original (pre-quantization)
742
+
2. **Manual rollback**:the backup files contain the original (pre-quantization)
743
743
vector values, which can be restored to undo a migration.
744
744
745
745
Backup files are written to the specified directory with this layout:
@@ -1164,7 +1164,7 @@ phase of a datatype migration. Observed throughput on a local Redis instance:
1164
1164
1165
1165
**Guidance:**
1166
1166
- For **low-dimensional vectors** (≤ 256 dims), use `--workers 1` (the default). Per-vector conversion is so cheap that process-spawning and extra-connection overhead outweigh the parallelism benefit.
1167
-
- For **high-dimensional vectors** (≥ 768 dims), `--workers 2-4` may help if the Redis server has available CPU headroom. Diminishing returns above 4–8 workers on a single Redis instance because Redis command processing is single-threaded.
1167
+
- For **high-dimensional vectors** (≥ 768 dims), `--workers 2-4` may help if the Redis server has available CPU headroom. Diminishing returns above 4 to 8 workers on a single Redis instance because Redis command processing is single-threaded.
1168
1168
- The main bottleneck for large migrations is typically **index rebuild time** (the `FT.CREATE` background indexing after vectors are written), not quantization itself.
0 commit comments