Index of every page on this site: llms.txt
All skills
github avatar

/qdrant-performance-optimization

@f10fdb8 official
by githubgithub/awesome-copilot42k stars
5,426
Run it yourself

Different techniques to optimize the performance of Qdrant, including indexing strategies, query optimization, and hardware considerations. Use when you want to improve the speed and efficiency of your Qdrant deployment.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/qdrant-performance-optimization

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

search-speed-optimizationSKILL.md

≈1.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

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

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides a set of technical optimization guides for the Qdrant vector database. It contains only informational markdown content and links to official documentation, with no executable code or security risks identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 7 months ago
What it can do
Reads files
All 3 allowed tools
ReadGrepGlob
  • Performance
  • qdrant
  • vector-search
  • indexing
  • optimization
  • latency
  • throughput
  • memory-management

README badge

README badge for github/awesome-copilot/qdrant-performance-optimization

Provides navigation and techniques for optimizing Qdrant vector database performance across search latency, indexing speed, and memory usage. Covers indexing strategies, query optimization, and hardware considerations for production deployments.

Generated from the current SKILL.md.

Does this skill cover query latency, throughput, or both?
The skill addresses both. It distinguishes between latency (response time for a single query) and throughput (queries processed per time unit), and notes that optimization priorities depend on your use case.
What aspects of Qdrant performance does this skill cover?
The skill covers search speed optimization (latency and throughput), indexing performance (build time for vector indices), and memory usage optimization (balancing in-memory vs. disk storage).
Does this skill provide hands-on tuning steps or configuration examples?
No. This skill is a navigation hub that links to separate skills for each optimization area (search speed, indexing, memory). It does not contain direct tuning instructions.
Can I use this to reduce memory footprint on large datasets?
Yes. The skill includes memory usage optimization that explains how to control which storage parts stay in memory versus on disk without sacrificing performance.

Generated from the current SKILL.md. These answers refresh after source changes.