
10/2/2025 · Jael Gu
What this post added
This post provides a detailed guide on debugging slow search requests in Milvus. It covers identifying slow searches using metrics (Service Quality → Slow Query, Search Latency, Query Node → Search Latency by Phase) and logs, and analyzes root causes including heavy workloads (large NQ, high QPS), inefficient filtering (poorly conducted expressions, lack of scalar indexes, JSON filters, strict consistency), improper vector index choices (HNSW, IVF, DiskANN, MINHASH_LSH for binary vectors), and runtime/environment conditions (background jobs, frequent upserts, version-specific inefficiencies). It offers specific fixes for each cause and concludes with best practices for prevention.