Anastasia Ailamaki
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Previous Organizations / Institutes
The organizations / institutes from the scholar's other articles in the past ten years
Anastasia Ailamaki has a total of 63 co-authors. Here are the top co-authors by number of shared publications:
- Ippokratis Pandis
IBM Almaden Research Center
7 shared publications - Hamish Nicholson
EPFL, Lausanne, Switzerland
6 shared publications - Ryan Johnson
University of Toronto
6 shared publications - Viktor Sanca
EPFL, Lausanne, Switzerland
6 shared publications - Pınar Tözün
IT University of Copenhagen, Copenhagen, Denmark
5 shared publications - Aunn Raza
Ecole Polytechnique Fédérale de Lausanne Periklis Chrysogelos Ecole Polytechnique Fédérale de Lausanne Ecole Polytechnique Ecole Polytechnique Fédérale de Lausanne RAW Labs SA
3 shared publications
Latest Publications
- Open Access
- 14 September 2026
- Published by Springer Nature in Datenbank-Spektrum
- Vol. 26 (3) , 255-260
Cracks in the Memory Wall: Data Systems On Disaggregated Memory
The growing disparity between processor core scaling and memory bandwidth has exposed the physical and economic limits of processor-centric database architectures. While Compute Express Link (CXL) and other emerging technologies enable a necessary shift toward memory-centric, disaggregated topologies, it also introduces unprecedented complexity in data movement across storage hierarchies and high-speed interconnects. This paper explores the transition to memory-centric database designs, arguing that static query execution strategies are increasingly brittle in the face of shifting hardware bottlenecks. By synthesizing recent visions of disaggregated architectures with advances in throughput-guided data movement, we outline a scalable path forward. We demonstrate how runtime adaptation can dynamically navigate the trade-offs between direct transfers, data staging, and near-storage compute, ultimately maximizing interconnect bandwidth and query performance in next-generation memory-centric cloud deployments.
- 14 September 2026
- Published by Springer Nature in Datenbank-Spektrum
- Vol. 26 (3) , 255-260
Open AccessCracks in the Memory Wall: Data Systems On Disaggregated Memory
The growing disparity between processor core scaling and memory bandwidth has exposed the physical and economic limits of processor-centric database architectures. While Compute Express Link (CXL) and other emerging technologies enable a necessary shift toward memory-centric, disaggregated topologies, it also introduces unprecedented complexity in data movement across storage hierarchies and high-speed interconnects. This paper explores the transition to memory-centric database designs, arguing that static query execution strategies are increasingly brittle in the face of shifting hardware bottlenecks. By synthesizing recent visions of disaggregated architectures with advances in throughput-guided data movement, we outline a scalable path forward. We demonstrate how runtime adaptation can dynamically navigate the trade-offs between direct transfers, data staging, and near-storage compute, ultimately maximizing interconnect bandwidth and query performance in next-generation memory-centric cloud deployments.
- Open Access
- 23 June 2026
- Published by Association for Computing Machinery (ACM)
- p. 60-71
Modular Substructural Constraints for Embedded DSLs
- 23 June 2026
- Published by Association for Computing Machinery (ACM)
- p. 60-71
Open AccessModular Substructural Constraints for Embedded DSLs
- Open Access
- 30 May 2026
- Published by Association for Computing Machinery (ACM)
- p. 1-5
When Data and Queries Misalign: Understanding Performance Degradation in Streaming Approximate Nearest Neighbor Search
- 30 May 2026
- Published by Association for Computing Machinery (ACM)
- p. 1-5
Open AccessWhen Data and Queries Misalign: Understanding Performance Degradation in Streaming Approximate Nearest Neighbor Search
- Open Access
- 2 April 2026
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Management of Data
- Vol. 4 (1) , 1-25
HIRE: A Hybrid Learned Index for Robust and Efficient Performance under Mixed Workloads
Indexes are critical for efficient data retrieval and updates in modern databases. Recent advances in machine learning have led to the development of learned indexes, which model the cumulative distribution function of data to predict search positions and accelerate query processing. While learned indexes substantially outperform traditional structures for point lookups, they often suffer from high tail latency, suboptimal range query performance, and inconsistent effectiveness across diverse workloads. To address these challenges, this paper proposes HIRE, a hybrid in-memory index structure designed to deliver efficient performance consistently. HIRE combines the structural and performance robustness of traditional indexes with the predictive power of model-based prediction to reduce search overhead while maintaining worst-case stability. Specifically, it employs (1) hybrid leaf nodes adaptive to varying data distributions and workloads, (2) model-accelerated internal nodes augmented by log-based updates for efficient updates, (3) a non-blocking, cost-driven recalibration mechanism for dynamic data, and (4) an inter-level optimized bulk-loading algorithm accounting for leaf and internal-node errors. Experimental results on multiple real-world datasets demonstrate that HIRE outperforms both state-of-the-art learned indexes and traditional structures in range-query throughput, tail latency, and overall stability. Compared to state-of-the-art learned indexes and traditional indexes, HIRE achieves up to 41.7x higher throughput under mixed workloads, reduces tail latency by up to 98% across varying scenarios.
- 2 April 2026
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Management of Data
- Vol. 4 (1) , 1-25
Open AccessHIRE: A Hybrid Learned Index for Robust and Efficient Performance under Mixed Workloads
Indexes are critical for efficient data retrieval and updates in modern databases. Recent advances in machine learning have led to the development of learned indexes, which model the cumulative distribution function of data to predict search positions and accelerate query processing. While learned indexes substantially outperform traditional structures for point lookups, they often suffer from high tail latency, suboptimal range query performance, and inconsistent effectiveness across diverse workloads. To address these challenges, this paper proposes HIRE, a hybrid in-memory index structure designed to deliver efficient performance consistently. HIRE combines the structural and performance robustness of traditional indexes with the predictive power of model-based prediction to reduce search overhead while maintaining worst-case stability. Specifically, it employs (1) hybrid leaf nodes adaptive to varying data distributions and workloads, (2) model-accelerated internal nodes augmented by log-based updates for efficient updates, (3) a non-blocking, cost-driven recalibration mechanism for dynamic data, and (4) an inter-level optimized bulk-loading algorithm accounting for leaf and internal-node errors. Experimental results on multiple real-world datasets demonstrate that HIRE outperforms both state-of-the-art learned indexes and traditional structures in range-query throughput, tail latency, and overall stability. Compared to state-of-the-art learned indexes and traditional indexes, HIRE achieves up to 41.7x higher throughput under mixed workloads, reduces tail latency by up to 98% across varying scenarios.
- Open Access
QVCache: A Query-Aware Vector Cache
Vector databases have become a cornerstone of modern information retrieval, powering applications in recommendation, search, and retrieval-augmented generation (RAG) pipelines. However, scaling approximate nearest neighbor (ANN) search to high recall under strict latency SLOs remains fundamentally constrained by memory capacity and I/O bandwidth. Disk-based vector search systems suffer severe latency degradation at high accuracy, while fully in-memory solutions incur prohibitive memory costs at billion-scale. Despite the central role of caching in traditional databases, vector search lacks a general query-level caching layer capable of amortizing repeated query work. We present QVCache, the first backend-agnostic, query-level caching system for ANN search with bounded memory footprint. QVCache exploits semantic query repetition by performing similarity-aware caching rather than exact-match lookup. It dynamically learns region-specific distance thresholds using an online learning algorithm, enabling recall-preserving cache hits while bounding lookup latency and memory usage independently of dataset size. QVCache operates as a drop-in layer for existing vector databases. It maintains a megabyte-scale memory footprint and achieves sub-millisecond cache-hit latency, reducing end-to-end query latency by up to 40-1000x when integrated with existing ANN systems. For workloads exhibiting temporal-semantic locality, QVCache substantially reduces latency while preserving recall comparable to the underlying ANN backend, establishing it as a missing but essential caching layer for scalable vector search.
Open AccessQVCache: A Query-Aware Vector Cache
Vector databases have become a cornerstone of modern information retrieval, powering applications in recommendation, search, and retrieval-augmented generation (RAG) pipelines. However, scaling approximate nearest neighbor (ANN) search to high recall under strict latency SLOs remains fundamentally constrained by memory capacity and I/O bandwidth. Disk-based vector search systems suffer severe latency degradation at high accuracy, while fully in-memory solutions incur prohibitive memory costs at billion-scale. Despite the central role of caching in traditional databases, vector search lacks a general query-level caching layer capable of amortizing repeated query work. We present QVCache, the first backend-agnostic, query-level caching system for ANN search with bounded memory footprint. QVCache exploits semantic query repetition by performing similarity-aware caching rather than exact-match lookup. It dynamically learns region-specific distance thresholds using an online learning algorithm, enabling recall-preserving cache hits while bounding lookup latency and memory usage independently of dataset size. QVCache operates as a drop-in layer for existing vector databases. It maintains a megabyte-scale memory footprint and achieves sub-millisecond cache-hit latency, reducing end-to-end query latency by up to 40-1000x when integrated with existing ANN systems. For workloads exhibiting temporal-semantic locality, QVCache substantially reduces latency while preserving recall comparable to the underlying ANN backend, establishing it as a missing but essential caching layer for scalable vector search.
- Open Access
JSPIM: A Skew-Aware PIM Accelerator for High-Performance Databases Join and Select Operations
Database applications are increasingly bottlenecked by memory bandwidth and latency due to the memory wall and the limited scalability of DRAM. Join queries, central to analytical workloads, require intensive memory access and are particularly vulnerable to inefficiencies in data movement. While Processing-in-Memory (PIM) offers a promising solution, existing designs typically reuse CPU-oriented join algorithms, limiting parallelism and incurring costly inter-chip communication. Additionally, data skew, a main challenge in CPU-based joins, remains unresolved in current PIM architectures. We introduce JSPIM, a PIM module that accelerates hash join and, by extension, corresponding select queries through algorithm-hardware co-design. JSPIM deploys parallel search engines within each subarray and redesigns hash tables to achieve O(1) lookups, fully exploiting PIM's fine-grained parallelism. To mitigate skew, our design integrates subarray-level parallelism with rank-level processing, eliminating redundant off-chip transfers. Evaluations show JSPIM delivers 400x to 1000x speedup on join queries versus DuckDB. When paired with DuckDB for the full SSB benchmark, JSPIM achieves an overall 2.5x throughput improvement (individual query gains of 1.1x to 28x), at just a 7% data overhead and 2.1% per-rank PIM-enabled chip area increase.
Open AccessJSPIM: A Skew-Aware PIM Accelerator for High-Performance Databases Join and Select Operations
Database applications are increasingly bottlenecked by memory bandwidth and latency due to the memory wall and the limited scalability of DRAM. Join queries, central to analytical workloads, require intensive memory access and are particularly vulnerable to inefficiencies in data movement. While Processing-in-Memory (PIM) offers a promising solution, existing designs typically reuse CPU-oriented join algorithms, limiting parallelism and incurring costly inter-chip communication. Additionally, data skew, a main challenge in CPU-based joins, remains unresolved in current PIM architectures. We introduce JSPIM, a PIM module that accelerates hash join and, by extension, corresponding select queries through algorithm-hardware co-design. JSPIM deploys parallel search engines within each subarray and redesigns hash tables to achieve O(1) lookups, fully exploiting PIM's fine-grained parallelism. To mitigate skew, our design integrates subarray-level parallelism with rank-level processing, eliminating redundant off-chip transfers. Evaluations show JSPIM delivers 400x to 1000x speedup on join queries versus DuckDB. When paired with DuckDB for the full SSB benchmark, JSPIM achieves an overall 2.5x throughput improvement (individual query gains of 1.1x to 28x), at just a 7% data overhead and 2.1% per-rank PIM-enabled chip area increase.
- Open Access
- 22 June 2025
- Published by Association for Computing Machinery (ACM)
- p. 1-10
The Effectiveness of Compression for GPU-Accelerated Queries on Out-of-Memory Datasets
- 22 June 2025
- Published by Association for Computing Machinery (ACM)
- p. 1-10
Open AccessThe Effectiveness of Compression for GPU-Accelerated Queries on Out-of-Memory Datasets
- Open Access
- 22 June 2025
- Published by Association for Computing Machinery (ACM)
- p. 1-6
Static Typing Meets Adaptive Optimization: A Unified Approach to Recursive Queries
- 22 June 2025
- Published by Association for Computing Machinery (ACM)
- p. 1-6
Open AccessStatic Typing Meets Adaptive Optimization: A Unified Approach to Recursive Queries
- 22 September 2024
- Published by Springer Nature
- p. 59-76
Chaosity: Understanding Contemporary NUMA-Architectures
- 22 September 2024
- Published by Springer Nature
- p. 59-76
Chaosity: Understanding Contemporary NUMA-Architectures
- Open Access
- 9 June 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-9
Efficient Data Access Paths for Mixed Vector-Relational Search
The rapid growth of machine learning capabilities and the adoption of data processing methods using vector embeddings sparked a great interest in creating systems for vector data management. While the predominant approach of vector data management is to use specialized index structures for fast search over the entirety of the vector embeddings, once combined with other (meta)data, the search queries can also become selective on relational attributes - typical for analytical queries. As using vector indexes differs from traditional relational data access, we revisit and analyze alternative access paths for efficient mixed vector-relational search. We first evaluate the accurate but exhaustive scan-based search and propose hardware optimizations and alternative dense vector-based formulation and batching to offset the cost. We outline the complex access-path design space, primarily driven by relational selectivity, and the decisions to consider when selecting an exhaustive scan-based search against an approximate index-based approach. Since the vector index primarily avoids expensive computation across the entire dataset, contrary to the common relational knowledge, it is better to scan at lower relational selectivity and probe at higher, with a cross-point between the two approaches dictated by data dimensionality, vector index parameters, and the number of concurrent search queries.
- 9 June 2024
- Published by Association for Computing Machinery (ACM)
- p. 1-9
Open AccessEfficient Data Access Paths for Mixed Vector-Relational Search
The rapid growth of machine learning capabilities and the adoption of data processing methods using vector embeddings sparked a great interest in creating systems for vector data management. While the predominant approach of vector data management is to use specialized index structures for fast search over the entirety of the vector embeddings, once combined with other (meta)data, the search queries can also become selective on relational attributes - typical for analytical queries. As using vector indexes differs from traditional relational data access, we revisit and analyze alternative access paths for efficient mixed vector-relational search. We first evaluate the accurate but exhaustive scan-based search and propose hardware optimizations and alternative dense vector-based formulation and batching to offset the cost. We outline the complex access-path design space, primarily driven by relational selectivity, and the decisions to consider when selecting an exhaustive scan-based search against an approximate index-based approach. Since the vector index primarily avoids expensive computation across the entire dataset, contrary to the common relational knowledge, it is better to scan at lower relational selectivity and probe at higher, with a cross-point between the two approaches dictated by data dimensionality, vector index parameters, and the number of concurrent search queries.