qdrant-indexing-performance-optimization
БесплатноБез исполняемых скриптовНе проверенDiagnoses and fixes slow Qdrant indexing and data ingestion. Use when someone reports 'uploads are slow', 'indexing takes forever', 'optimizer is stuck'…
от qdrant★ 270 звёзд на GitHubОб этом скилле
What to Do When Qdrant Indexing Is Too Slow
Qdrant does NOT build HNSW indexes immediately. Small segments use brute-force until they exceed indexing_threshold_kb (default: 10000 KB, about 10 MB). Search during this window is slower by design, not a bug.
- Understand the indexing optimizer Indexing optimizer
Uploads/Ingestion Too Slow
Use when: upload or upsert API calls are slow. Identify bottleneck: client-side (network, batching) vs server-side (CPU, disk I/O)
For client-side, optimize batching and parallelism:
- Use batch upserts (64-256 points per request) and 2-4 parallel upload streams Bulk upload
For server-side, optimize Qdrant configuration and indexing strategy:
- Create 2 to 4 shards per machine; each shard has an independent update worker, so give each one its own upload stream Multiple shards
- Create payload indexes before HNSW builds (needed for filterable vector index) Payload index
Optimizer Stuck or Taking Too Long
Use when: optimizer running for hours, not finishing.
- Check actual progress via optimizations endpoint (v1.17+) Optimization monitoring
- Large merges and HNSW rebuilds legitimately take hours on big datasets
- Check CPU and disk I/O (HNSW is CPU-bound, merging is I/O-bound, HDD is not viable)
- If
optimizer_statusshows an error, check logs for disk full or corrupted segments
HNSW Build Time Too High
Use when: HNSW index build dominates total indexing time.
- Reduce
m(default 16, good for most cases, 32+ rarely needed) HNSW params - Reduce
ef_construct(100-200 sufficient) HNSW params - Leave
max_indexing_threadsat 0 (auto) or cap it; the configuration reference suggests 8 to 16 Configuration - Use GPU for indexing (v1.13+), which helps most with write-heavy workloads such as a large initial upload or frequent updates to a big collection.
HNSW Index for Multi-Tenant Collections
Use when: every query filters by a tenant field and the global HNSW build dominates indexing time.
- Skip the global HNSW and build per-tenant graphs: at collection creation, set
payload_mto a non-zero value, thenm: 0. Queries without a tenant filter get slower, so only do this when cross-tenant search is rare Calibrate performance
Additional Payload Indexes Are Too Slow
Use when: HNSW builds slowly after adding payload indexes, especially on high-cardinality fields such as long text.
- Qdrant adds extra HNSW links for every payload index so filtered search keeps its quality. For a field with many unique values per point, disable those links and rely on the slower query-time ACORN strategy instead Disable extra edges
What NOT to Do
- Do not create payload indexes AFTER HNSW is built without triggering a re-index afterward -- filterable HNSW edges won't exist for the new index until segments are re-optimized
- Do not use
m=0for bulk uploads into an existing collection, it might drop the existing HNSW and cause long reindexing - Do not upload one point at a time (per-request overhead dominates)
Установить qdrant-indexing-performance-optimization в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл qdrant-indexing-performance-optimization?
Diagnoses and fixes slow Qdrant indexing and data ingestion. Use when someone reports 'uploads are slow', 'indexing takes forever', 'optimizer is stuck', 'HNSW build time too long', or 'data uploaded but search is bad'. Also use when optimizer status shows errors, segments won't merge, or indexing threshold questions arise.
Как установить скилл qdrant-indexing-performance-optimization?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл qdrant-indexing-performance-optimization запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic