# 向量索引基准测试：拒绝单一数字

Original title: Benchmarking Vector Indexes

> Hacker News story 49475924 · language: zh · submitted 2026-08-28
> Web version: https://zeli.app/zh/story/49475924
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 20 · by [lbw1215](<https://news.ycombinator.com/user?id=lbw1215>) · 💬 6
[original](<https://www.percona.com/blog/benchmarking-vector-indexes/>) · [HN discussion](<https://news.ycombinator.com/item?id=49475924>)

## Summary

现在几乎所有数据库都宣称支持向量搜索，但那些孤立的性能数字往往无法验证。我们构建了 vector-bench，在完全相同的硬件和数据环境下，对多种引擎进行公平对比。文章深入解析了 HNSW 和 IVF 两种主流索引机制，并强调 Recall（召回率）与 Throughput（吞吐量）必须成对出现才有意义。无论是 MySQL 的 TOAST 存储陷阱，还是构建模式（Bulk 与 Incremental）的巨大差异，都揭示了基准测试的复杂性。真正的性能评估不能只看速度，更要看准确性与资源消耗的平衡。

## Key quote

> 如果从这篇文章中只记住一件事，那就是：每一项测量都必须成对出现。

## HN discussion (6 comments)

### [stephantul](<https://news.ycombinator.com/item?id=49522492>)

> 这简直是一篇超级长的 AI 生成文本，实际信息量极少。里面没有任何对结果的分析。
>
> 不过，它倒是包含了“值得列出”这句话。

### [BenoitP](<https://news.ycombinator.com/item?id=49524402>)

> https://ann-benchmarks.com/index.html 有什么问题吗？

### [wood_spirit](<https://news.ycombinator.com/item?id=49522423>)

> 非常期待看到结果。
>
> 如果它能涵盖尽可能多的项目就好了，比如 redid、annoy、voyager 和 lancedb 等等，而不仅仅是 OLTP 数据库。

---

## Cite

- Page: https://zeli.app/zh/story/49475924
- Date: 2026-08-28
- Source: percona.com (https://www.percona.com/blog/benchmarking-vector-indexes/)
- Hacker News: https://news.ycombinator.com/item?id=49475924

## Other languages

- en: https://zeli.app/story/49475924 · markdown: https://zeli.app/story/49475924.md
- ja: https://zeli.app/ja/story/49475924 · markdown: https://zeli.app/ja/story/49475924.md
- ko: https://zeli.app/ko/story/49475924 · markdown: https://zeli.app/ko/story/49475924.md
- de: https://zeli.app/de/story/49475924 · markdown: https://zeli.app/de/story/49475924.md
- es: https://zeli.app/es/story/49475924 · markdown: https://zeli.app/es/story/49475924.md
- ru: https://zeli.app/ru/story/49475924 · markdown: https://zeli.app/ru/story/49475924.md
