Skip to content
Open access

Five-Minute Rule for Data Analytics in the Cloud

Aug 2026 · Datenbank-Spektrum · 0 citations · 15 references

TL;DR

Analysis on AWS shows that caches are beneficial when a system makes two requests per hour for latency-sensitive workloads, or seven requests per second for non-latency-sensitive workloads, which is consistent with and helps explain the near ubiquity of object store caches in cloud analytics systems.

Abstract

Traditionally, deploying database systems required acquiring and managing large, expensive servers on-premise. These servers feature a memory and storage hierarchy, including CPU caches, DRAM memory, HDDs and/or SSDs, and sometimes tape. For almost 40 years, Gray and Putzolu’s five-minute rule [4, 10, 12, 13] has helped guide system architects to the break-even point between memory caching and direct local storage access for these systems. The rise of cloud computing has significantly changed the way systems are deployed. Cloud services offer on-demand computing and storage, removing the need for companies to acquire and manage their own hardware. Furthermore, the cloud has introduced a new layer of the storage hierarchy for database systems: object stores . This durability and low cost have made object stores ubiquitous in modern cloud-native databases and data infrastructures [5, 6, 16]. We believe a rule of thumb similar to the five-minute rule is needed for object caches and storage for disaggregated cloud data system designs. However, it is not straightforward to adapt the established rules to the cloud as they presume fixed hardware, while, in the cloud, resources are dynamic and costs are determined by usage. One can argue that accessing object stores over the network incurs higher latency and lower bandwidth than directly attached storage devices, placing them at the bottom of the storage hierarchy. However, advances in cloud storage and networking have significantly impacted cost-effectiveness, latency variability, and dynamic workload optimization, challenging these traditional assumptions. For example, in non-storage-optimized AWS instances, network bandwidth often exceeds local storage read bandwidth, and writing to local storage devices tends to be half as fast as reading, while writing to S3 can match network bandwidth. This paper is a summary of our earlier work work [9] that proposes a cost model and new rules of thumb to help system designers determine when caches become cost-effective for analytical workloads in the cloud. While perhaps unsurprising, our analysis on AWS shows that caches are beneficial when a system makes (1) two requests per hour for latency-sensitive workloads, or (2) seven requests per second for non-latency-sensitive workloads. These results are consistent with and help explain the near ubiquity of object store caches in cloud analytics systems.

Read PDF

Similar papers

Preprint Sep 2026

io_uring in Oracle Database: A Hybrid Storage I/O Architecture at Production Scale

We describe the integration of io_uring into Oracle Database's storage layer and the architectural decisions required to deploy it in a production multi-process RDBMS. Our design uses per-process ring contexts that eliminate inter-process synchronization, a shared buffer registration mechanism now part of the mainline...

R. Chowdhury, A. Shah, Margaret Susairaj et al. · 0 citations

Towards Practical Latency SLOs on Cloud Data Warehouses

This work outlines AutoSLO, a latency-SLO-aware work-load management framework for multi-cluster cloud data ware-houses that includes a periodic Policy Tuner that proactively plans resources using workload fore-casts, an SLO-aware reactive Autoscaler that adjusts the active cluster set based on the observed workload, a...

Markos Markakis, T. Kraska · 0 citations
Book Open access Sep 2026

Cloud Database Backup as a Queryable Data Lake

Managed cloud databases such as RDS, Aurora, Cloud SQL, and Azure SQL run inside the cloud provider. You cannot install an agent, read the disk, or access the log files. The only backup tool the provider offers is a snapshot API call. A snapshot is a black box. To read even one row from it, you must first restore the w...

Assaf Natanzon · 0 citations
Open access 2023

Polyglot Persistence and Enterprise Data Migration: Architectures, Consistency, and Practice

Developments point toward enterprise data platforms that treat migration and persistence design as a continuum rather than separate disciplines: architectural choices made during migration planning directly determine how well the resulting system supports polyglot workloads, real-time analytics, and regulatory-grade in...

Yasmeen Syed · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.