Query-Aware Vector Indexing for Real-Time Business Intelligence at Petabyte Scale
Keywords:
approximate nearest neighbor search; vector indexing; business intelligence; petabyte-scale analytics; HNSW; product quantization; FAISS; real-time query processing; DiskANN; distributed data warehousingAbstract
In enterprise settings, the advent of petabyte-scale analytical workloads has highlighted the need to bridge the gap between traditional relational data warehousing and the semantic query requirements of today’s enterprise business intelligence (BI) pipelines. In this paper, we provide a thorough overview of a set of query-aware vector indexing strategies that can meet the conflicting demands of sub-millisecond response time and near-perfect recall in a petabyte-scale distributed BI data architecture. The seven benchmark algorithms (including locality-sensitive hashing (LSH), hierarchical navigable small world (HNSW) graphs, navigating spread-out graphs (NSG), disk-resident approximate nearest neighbor (DiskANN) structures, GPU-accelerated FAISS with inverted file indices (IVF), and anisotropic vector quantization (ScaNN)) are then systematically analyzed on a range of datasets from 1 million to 1 billion high-dimensional vectors. Experimental results based on the ANN-Benchmarks framework prove that HNSW is able to return a recall@10 score of 0.995 in 1.2 ms and mean latency on SIFT-1M, while ScaNN returns a recall score of 0.997 with a mean latency of 0.9 ms, reducing the memory overhead over HNSW by 75.3% using anisotropic quantization. Different approaches are discussed for integrating these indices into Apache Spark-based BI stacks, Procella, and Mesa, such as query routing policies and dynamic quantization. According to cost-benefit analysis, the hybrid cloud deployment offers a cost savings of $440 per 10,000 QPS on comparison with the cost of the GPU cluster alternatives. The synthesis provides the rules for building query-aware, petabyte-tolerant vector indices that combine the benefits of analytical throughput with semantic search precision.
Downloads
Published
Issue
Section
License

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
License Terms
Journal of Emerging Intelligence and Engineering Technologies is an open-access journal. Unless otherwise stated, all articles published in the journal are licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
Full license text: https://creativecommons.org/licenses/by-nc/4.0/
Under this license, you are free to:
- Share: copy and redistribute the material in any medium or format.
- Adapt: remix, transform, and build upon the material.
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
- Attribution: You must give appropriate credit to the original author(s) and the source. Credit should include the article title, author names, journal name, volume, issue, year, and DOI where available. You must also provide a link to the license and indicate whether changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor or the journal endorses you or your use.
- NonCommercial: You may not use the material for commercial purposes. Commercial purposes are those primarily intended for, or directed toward, commercial advantage or monetary compensation.
- No additional restrictions: You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices
- You do not have to comply with the license for parts of the material that are in the public domain, or where your use is permitted by an applicable exception or limitation, such as fair use or fair dealing.
- No warranties are given. The license may not give you all the permissions you need for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
- Third-party content in an article, such as figures, tables, or images reproduced from other sources, may be under different terms. It is covered by this license only if it is stated in the credit line.
Copyright
Authors keep the copyright of their work. By publishing, they grant the Journal of Emerging Intelligence and Engineering Technologies the right of first publication under the CC BY-NC 4.0 license.
Commercial Use
Anyone who wants to use published material for commercial purposes must get written permission from the copyright holder(s). Requests can be sent to the journal's editorial office at [editorial email address].