﻿# VECTOR-ADIS: memory pressure reverses an index comparison

A student benchmark reports a Qdrant/Milvus reversal under memory pressure. Keep index strategy, precision, failed runs, and current-config inconsistencies attached.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/vector-adis-memory-pressure-index-quality-reversal/
Language: en

## The reversal concerns two configurations

The [VECTOR-ADIS project](https://raw.githubusercontent.com/christos97/vector-adis/main/README.md) is a single-machine educational comparison of Qdrant and Milvus. Its memory-pressure result reverses the ranking seen in its aggregate summary: the [thesis](https://raw.githubusercontent.com/christos97/vector-adis/main/thesis/main.tex) reports 407.8 requests/s for Milvus IVF_SQ8 versus 144.1 for Qdrant's default mapped-HNSW configuration. This is an attributed project result, not an independent reproduction or a universal database ranking.

The comparison changes index strategy along with database. [Milvus documentation](https://milvus.io/docs/ivf-sq8.md) explains that IVF_SQ8 combines clustered search with quantized vectors. Consequently, a faster run can reflect a different memory/accuracy policy, rather than a general advantage of one database implementation.

## Preserve accuracy beside requests per second

For that same stress case, the thesis reports precision of 95.20% for Milvus and 97.27% for Qdrant. Quoting only throughput would hide a quality difference. A practical comparison should choose an application acceptance criterion before selecting the fastest configuration meeting it.

The project's reported precision compares returned neighbors with supplied exact-neighbor ground truth. That is an index-search metric, rather than a measurement of whether a RAG answer is useful or correct. Keep vector distance, requested result depth, filters, and query set attached to the quality result. The [Qdrant memory guide](/journal/qdrant-memory-on-disk/) supplies component-level capacity context without substituting for this named experiment.

## Raw vector size is not the working set

The stress dataset's raw coordinates are close to, rather than greater than, its stated memory limit. Index structures and runtime state make the total working set larger. Thus the regime label should not be read as proof that the raw vector file alone exceeds available memory.

The thesis also records failed configurations, including allocation failures and a timeout. A result table should retain those outcomes instead of comparing only configurations that completed. Process memory, auxiliary services, and operating-system page cache need explicit measurement scopes; treating one process's resident memory as the complete deployment can conceal substantial resource use.

## Current files are not a pinned reproduction

The current [Qdrant configuration](https://raw.githubusercontent.com/christos97/vector-adis/main/experiments/configurations/qdrant-on-disk.json) and [Milvus configuration](https://raw.githubusercontent.com/christos97/vector-adis/main/experiments/configurations/milvus-on-disk.json) are useful implementation evidence, but several settings differ from the thesis prose, including supposedly matched graph-construction settings and IVF search configuration. The README's aggregate summary also differs from the thesis aggregate. This article therefore preserves the named stress-table result without claiming that today's defaults reproduce it.

Before extending the comparison, pin a revision and connect each run to its actual resolved configuration. Recompute summaries from matching run records, rather than mixing a README headline with another table's protocol. Record cache preparation, concurrency, index-build completion, and failed attempts. The [trial-order guide](/journal/gpu-benchmark-median-dispersion/) provides related reporting discipline. The project's useful lesson is a testable configuration reversal under constrained memory, with an accompanying accuracy trade-off and unresolved reproduction details.
