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

qdrant-scaling-query-volume

하는 일

대량 데이터에서 Qdrant의 쿼리 성능을 최적화하는 방법을 안내합니다. 많은 결과를 가져오는 더 효율적인 방식을 제안하며, 시스템 과부하를 막습니다.

사용하는 경우

  • ✓쿼리가 너무 많은 결과를 돌려줄 때.
  • ✓검색 결과 페이지네이션 성능이 느릴 때.
  • ✓많은 항목이나 벡터를 가져올 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/scaling-query-volume/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/scaling-query-volume/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분.

작동 방식

각 데이터 파티션에 전체 limit을 요청하는 대신, 계산된 더 작은 양을 각 파티션에 요청합니다. 그다음 부분 결과들을 지능적으로 합칩니다.

기술 내용 (원본 SKILL.md)

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

Scaling for Query Volume

Problem: When a query has a large limit (e.g. 1000) and there are multiple shards (e.g. 10), naively each shard must return the full 1000 results — totaling 10,000 scored points transferred and merged. This is wasteful since data is randomly distributed across auto-shards.

Core idea

Instead of asking every shard for the full limit, ask each shard for a smaller limit computed via Poisson distribution statistics, then merge. This is safe because auto-sharding guarantees random, independent data distribution.

When it activates

  • More than 1 shard
  • Auto-sharding is in use (all queried shards share the same shard key)
  • The request's limit + offset >= SHARD_QUERY_SUBSAMPLING_LIMIT (128)
  • The query is not exact

Key tradeoff

The strategy trades a small probability of slightly incomplete results for a large reduction in inter-shard data transfer, especially for high-limit queries across many shards. The 1.2x safety factor and the 99.9% Poisson threshold keep the error rate very low — comparable to inaccuracies already introduced by approximate vector indices like HNSW.

자주 묻는 질문

이 방법으로 일부 결과를 놓칠 수 있나요?

아주 낮은 확률로 일부 결과가 포함되지 않을 수 있지만, 손실은 매우 적으며 이미 약간의 부정확성을 만드는 다른 검색 방법과 비슷한 수준입니다.

이 최적화는 언제 적용되나요?

여러 데이터 파티션(샤드)이 있고, 쿼리가 128개를 넘는 많은 결과를 요청하며, 정확한 검색이 아닐 때 적용됩니다.

주요 이점은 무엇인가요?

파티션 사이에서 전송되는 데이터 양을 크게 줄여, 결과 개수가 많은 쿼리를 훨씬 빠르고 효율적으로 만드는 것입니다.

상세 정보

작성자의 원본 설명

Guides Qdrant query volume scaling. Use when someone asks 'query returns too many results', 'scroll performance', 'large limit values', 'paginating search results', 'fetching many vectors', or 'high cardinality results'.

repo: github/awesome-copilot

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬