Skip to content
← All issues

Readyset Weekly: Issue 66

Your Database Savings Shouldn’t Expire

Most teams judge database optimization by what it saves the day it's applied. An expensive query is tuned, an instance gets rightsized, a cache is added, and the bill gets smaller. At least for the time being.

A more useful question is this: How much of that optimization and cost reduction will still be there in 3 months? 6 months?

Workloads don't hold still. Features ship, customer traffic shifts, launches, sales and releases vary, and data changes. On top of that, LLMs and agents keep introducing unpredictable query patterns. An optimization built around today's workload loses value gradually, until someone has to tune it all over again.

The real cost of an optimization isn't just building it, but the continuous engineering time needed to maintain it. Before investing in an optimization path, teams should ask three questions:

  1. Will cost savings stick as workloads change?
  2. How will we know when this optimization has degraded?
  3. What is the failure mode?

These questions have always mattered, but they carry more weight now, because the cost of a degrading optimization is rising fast. Buying a bigger instance has been a standard approach to postpone database tuning, and for a long time teams have been able to count on hardware costs decreasing. Today infrastructure costs are rising while headcount isn't, making every round of manual re-tuning more expensive. It's part of why AWS treats cost optimization as continuous work.

The Readyset Platform was built to make that constant re-tuning automatic. Readyset keeps re-evaluating which queries are worth caching, drops them as they go cold, and directs memory to the queries that save the most. The cache matches your workload as it evolves, without manual tuning or app rewrites.

🔍 What We're Watching in the Database Ecosystem

MyDumper Introduces SAFE_NO_LOCK

Logical backups force a trade between locking the database and risking an inconsistent snapshot. MyDumper's new SAFE_NO_LOCK mode splits the difference: it skips the read lock, but if its worker threads fail to line up on the same point in time, it stops the backup instead of quietly continuing and handing you an inconsistent one. A useful example of a tool that stops rather than hand you a bad backup.

Smarter Join Planning with the Hypergraph Optimizer

MySQL 9.7 makes the Hypergraph Optimizer generally available, and on a reporting query joining eight tables, it swapped a linear nested-loop chain for an early hash join and cut execution time from 451ms to 122ms with the SQL unchanged.

In Case You Missed It

Webinar: Cut Database Infra with Self-Tuning Caching: Tired of paying for expensive hardware to keep up with your database? Or constantly wasting engineering cycles on manual database optimization? There's another option. Join us on August 18 for a first look at Self-Tuning Query Acceleration to see how you can get faster reads while saving money and developer hours.

A query that returns ten rows shouldn't hold a million in cache: With TopK now generally available, ORDER BY ... LIMIT K caches keep only the rows that can actually be served, leaving far more memory for the rest of your workload.

Know a database aficionado who'd appreciate this? Forward it their way.

Get Readyset Weekly in your inbox

One email a week — what shipped, what we learned, and what is worth reading.