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

qdrant-search-speed-optimization

하는 일

이 도구는 Qdrant 검색을 느리게 만드는 문제를 찾아 고치도록 돕습니다. 검색이 필요 이상으로 오래 걸리는 이유를 분석하고, 속도를 높이기 위한 조정을 제안합니다.

사용하는 경우

  • ✓Qdrant 데이터베이스에서 검색이 너무 오래 걸릴 때.
  • ✓쿼리(검색 요청)가 결과를 돌려주는 데 너무 많은 시간이 걸릴 때.
  • ✓설정을 바꾸거나 데이터를 많이 추가한 뒤 검색이 느려졌을 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/qdrant-performance-optimization/search-speed-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/search-speed-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분.

작동 방식

도구는 문제가 메모리 부족, 지나치게 복잡한 쿼리, 백그라운드 프로세스, 시스템 문제 중 무엇인지 확인합니다. 그 결과에 따라 속도를 높이기 위한 구체적인 설정이나 조정을 제안합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Diagnose a problem

There the multiple possible reasons for search performance degradation. The most common ones are:

  • Memory pressure: if the working set exceeds available RAM
  • Complex requests (e.g. high hnsw_ef, complex filters without payload index)
  • Competing background processes (e.g. optimizer still running after bulk upload)
  • Problem with the cluster (e.g. network issues, hardware degradation)

Single Query Too Slow (Latency)

Use when: individual queries take too long regardless of load.

Diagnostic steps:

  • Check if second run of the same request is significantly faster (indicates memory pressure)
  • Try the same query with with_payload: false and with_vectors: false to see if payload retrieval is the bottleneck
  • If request uses filters, try to remove them one by one to identify if a specific filter condition is the bottleneck

Common fixes:

Can't Handle Enough QPS (Throughput)

Use when: system can't serve enough queries per second under load.

Filtered Search Is Slow

Use when: filtered search is significantly slower than unfiltered. Most common SA complaint after memory.

  • Create payload index on the filtered field Payload index
  • Use is_tenant=true for primary filtering condition: Tenant index
  • Try ACORN algorithm for complex filters: ACORN
  • Avoid using nested filtering conditions as a primary filter. It might force qdrant to read raw payload values instead of using index.
  • If payload index was added after HNSW build, trigger re-index to create filterable subgraph links

Optimize search performance with parallel updates

Diagnostic steps

  • Try to run the same query with indexed_only=true parameter, if the query is significantly faster, it means that the optimizer is still running and has not yet indexed all segments.
  • If CPU or IO usage is high even with no queries, it also indicates that the optimizer is still running.

Recommended configuration changes

  • reduce optimizer_cpu_budget to reserve more CPU for queries
  • Use prevent_unoptimized=true to prevent creating segments with a large amount of unindexed data for searches. Instead, once a segment reaches the so called indexing_threshold, all additional points will be added in ‘deferred state’.

Learn more here

What NOT to Do

  • Set always_ram=false on quantization (disk thrashing on every search)
  • Put HNSW on disk for latency-sensitive production (only for cold storage)
  • Increase segment count for throughput (opposite: fewer = better)
  • Create payload indexes on every field (wastes memory)
  • Blame Qdrant before checking optimizer status
자주 묻는 질문

검색이 갑자기 느려진 이유는 무엇인가요?

시스템 메모리가 부족하거나, 쿼리가 매우 복잡하거나, 많은 데이터를 추가한 뒤 최적화 과정이 아직 끝나지 않는 등 여러 이유가 있을 수 있습니다.

'지연 시간(latency)'이 검색에 어떤 영향을 주나요?

지연 시간은 검색이 완료되는 데 걸리는 시간입니다. 지연 시간이 높으면 각 검색이 결과를 돌려주는 데 오래 걸린다는 뜻입니다.

'QPS'는 무엇이며 왜 낮을 수 있나요?

QPS는 'Queries Per Second'(초당 쿼리 수)의 약자입니다. QPS가 낮다는 것은 개별 검색이 아주 느리지 않더라도, 시스템이 짧은 시간 안에 많은 검색을 처리하지 못한다는 뜻입니다.

상세 정보

작성자의 원본 설명

Diagnoses and fixes slow Qdrant search. Use when someone reports 'search is slow', 'high latency', 'queries take too long', 'low QPS', 'throughput too low', 'filtered search is slow', or 'search was fast but now it's slow'. Also use when search performance degrades after config changes or data growth.

repo: github/awesome-copilot

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬