본문으로 건너뛰기
Skillpedia
데이터베이스40k · #7360

qdrant-indexing-performance-optimization

하는 일

이 도구는 Qdrant의 데이터 인덱싱과 적재를 매우 느리게 만드는 문제를 찾아 고치도록 돕습니다. 데이터 업로드와 검색 속도를 높이기 위한 조정을 제안합니다.

사용하는 경우

  • ✓Qdrant에 데이터를 업로드하는 데 너무 오래 걸릴 때.
  • ✓인덱스 최적화 과정이 멈추거나 너무 오래 걸릴 때.
  • ✓HNSW 인덱스(빠른 검색을 위한 인덱스 유형) 구축이 매우 느릴 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/qdrant-performance-optimization/indexing-performance-optimization/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/qdrant-performance-optimization/indexing-performance-optimization/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Qdrant 인덱싱이 너무 느린데, 무엇을 할 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 문제가 여러분의 컴퓨터나 네트워크에 있는지, 아니면 Qdrant 서버에 있는지 분석합니다. 배치로 데이터 업로드를 최적화하고, '샤드' 개수 같은 Qdrant 설정과 인덱싱 전략을 조정해 과정을 빠르게 하도록 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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: 20 MB). Search during this window is slower by design, not a bug.

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) Points API
  • Use 2-4 parallel upload streams

For server-side, optimize Qdrant configuration and indexing strategy:

  • Create more shards (3-12), each shard has an independent update worker Sharding
  • Create payload indexes before HNSW builds (needed for filterable vector index) Payload index

Suitable for initial bulk load of large datasets:

  • Disable HNSW during bulk load (set indexing_threshold_kb very high, restore after) Collection params
  • Setting m=0 to disable HNSW is legacy, use high indexing_threshold_kb instead

Careful, fast unindexed upload might temporarily use more RAM and degrade search performance until optimizer catches up.

See https://search.qdrant.tech/md/documentation/tutorials-develop/bulk-upload/

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_status shows an error, check logs for disk full or corrupted segments

HNSW Build Time Too High

Use when: HNSW index build dominates total indexing time.

HNSW index for multi-tenant collections

If you have a multi-tenant use case where all data is split by some payload field (e.g. tenant_id), you can avoid building a global HNSW index and instead rely on payload_m to build HNSW index only for subsets of data. Skipping global HNSW index can significantly reduce indexing time.

See Multi-tenant collections for details.

Additional Payload Indexes Are Too Slow

Qdrant builds extra HNSW links for all payload indexes to ensure that quality of filtered vector search does not degrade. Some payload indexes (e.g. text fields with long texts) can have a very high number of unique values per point, which can lead to long HNSW build time.

You can disable building extra HNSW links for specific payload index and instead rely on slightly slower query-time strategies like ACORN.

Read more about disabling extra HNSW links in documentation

Read more about ACORN in documentation

What NOT to Do

  • Do not create payload indexes AFTER HNSW is built (breaks filterable vector index)
  • Do not use m=0 for 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는 HNSW 인덱스를 즉시 만들지 않습니다. 작은 데이터 덩어리에는 더 단순하고 빠른 방식을 쓰는데, 이 방식은 검색에 느립니다. 데이터가 일정 크기에 도달하거나 최적화되면 달라집니다.

'샤드'는 무엇이며 어떻게 도움이 되나요?

'샤드'는 데이터를 나눈 조각과 같습니다. 샤드가 많을수록 Qdrant가 업데이트와 인덱싱을 병렬로 처리해 전체 과정이 빨라집니다.

'payload' 인덱스는 HNSW 전에 만들어야 하나요, 후에 만들어야 하나요?

HNSW 인덱스를 만들기 전에 'payload' 인덱스(데이터에 연결된 추가 정보)를 만드는 것을 권장합니다. 이렇게 하면 필터 검색이 올바르게 작동하고, 전체 인덱싱 시간을 줄일 수 있습니다.

상세 정보

작성자의 원본 설명

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.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7360
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬