AAAnastasia Ailamaki

Anastasia Ailamaki

*This is an algorithmically generated author record based on publicly available information.

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:


Latest Publications

  • Open Access

    Cracks in the Memory Wall: Data Systems On Disaggregated Memory

    by Yi Jiang, Hamish Nicholson, Anastasia Ailamaki

    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

    Modular Substructural Constraints for Embedded DSLs

    by Anna Herlihy, Amir Shaikhha, Anastasia Ailamaki, Martin Odersky

  • Open Access

    HIRE: A Hybrid Learned Index for Robust and Efficient Performance under Mixed Workloads

    by Xinyi Zhang, Liang Liang, Anastasia Ailamaki, Jianliang Xu

    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

    by Anıl Eren Göçer, Ioanna Tsakalidou, Hamish Nicholson, Kyoungmin Kim, Anastasia Ailamaki

    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

    by Sabiha Tajdari, Anastasia Ailamaki, Sandhya Dwarkadas

    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

    The Effectiveness of Compression for GPU-Accelerated Queries on Out-of-Memory Datasets

    by Hamish Nicholson, Konstantinos Chasialis, Antonio Boffa, Anastasia Ailamaki


  • Chaosity: Understanding Contemporary NUMA-Architectures

    by Hamish Nicholson, Andreea Nica, Aunn Raza, Viktor Sanca, Anastasia Ailamaki


  • Open Access

    Efficient Data Access Paths for Mixed Vector-Relational Search

    by Viktor Sanca, Anastasia Ailamaki

    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.