English

TEngineDB-V: An OLAP-Native Vector Search System for Large-$k$ Workloads at Tencent

Databases 2026-08-01 v1

Abstract

Vector search systems are essential infrastructure for modern data-driven applications. Large-kk analytical vector search, which retrieves k=103k=10^3--10510^5 results for analytics (e.g., aggregation, filtering, joins), is increasingly important for emerging workloads, including LLM data management and advertising analysis at Tencent. Existing systems remain inadequate: specialized vector databases often cap kk (e.g., k104k \leq 10^4) to satisfy tail-latency constraints and offer limited analytical support, while OLAP systems typically embed per-segment vector indexes as black boxes, causing severe read/compute amplification and preventing native query optimization. This paper presents TEngineDB-V, an OLAP-native vector search system for large-kk workloads. TEngineDB-V makes vector search a first-class analytical primitive in Tencent's OLAP engine through a global segment-decoupled index materialized as relational tables, eliminating scatter-gather execution, reducing amplification, and enabling native storage optimizations. It decomposes IVFPQ-based search into relational operators, integrates OLAP optimizations, and introduces DPPQ, which combines direction-aware quantization with hierarchical residual refinement to improve recall while preserving relational efficiency. TEngineDB-V further incorporates index-aware query rewriting and a distributed-aware cost model for efficient distributed execution. Experiments show that TEngineDB-V achieves up to a 145×145\times speedup over competitive systems such as StarRocks, and up to a 52×52\times improvement in 10-billion-scale production deployments.

Keywords

Cite

@article{arxiv.2608.00650,
  title  = {TEngineDB-V: An OLAP-Native Vector Search System for Large-$k$ Workloads at Tencent},
  author = {Xufei Wu and Pengcheng Zhang and Yitong Song and Xiaobo Zhang and Anqi Liang and Kai Wang and Jijun Du and Yidi Xiong and Guangxu Cheng and Zhe Chen and Peng Chen and Guoliang Li and Xuanhe Zhou and Fan Wu},
  journal= {arXiv preprint arXiv:2608.00650},
  year   = {2026}
}