How Databases Keep Read-Only Copies Up-to-Date
Amazon's 2016 patent describes a system for efficiently updating read-only copies of a distributed database by sending specific change notifications, ensuring read-only nodes show accurate data.
Patent Number
US 9280591
Status
Active
Filing Date
September 20, 2013
Grant Date
March 8, 2016
Expiration
~September 2033 (estimated)
Claims
23
Assignee
Amazon Technologies Inc
Inventors
Tengiz Kharatishvili, Pradeep Jnana Madhavarapu, Anurag Windlass Gupta
Citations
108 forward · 71 backward
What it covers
This patent details how a distributed database system manages updates across multiple nodes. When a change is made to the main database (the read-write node), the system breaks down the update into smaller steps called 'system transactions.' For each transaction, it generates 'change notifications' that list exactly what needs to be altered. Crucially, it marks the very last notification for each transaction. These notifications, including the final one, are then sent to read-only nodes (read replicas). This 'last change' notification tells the read-only nodes precisely when they can present a consistent, updated view of the database to users requesting data, ensuring they don't show outdated information while an update is still being applied.
What it doesn't cover
- —Does not cover systems where read-only nodes are updated without specific 'change notifications' indicating the exact modifications.
- —Does not cover systems that don't identify a specific 'last change' notification to signal the completion of a transaction.
- —Does not cover scenarios where read-only nodes are updated by sending the entire database state rather than incremental changes.
- —Does not cover systems where read-only nodes cannot determine a consistent database state for read requests based on the received notifications.
- —Does not cover updates to read-only nodes that are not part of a larger distributed database system.
The clever bit
The key innovation is identifying and signaling the *last* change notification for each transaction. This allows read-only nodes to precisely know when a transaction is fully applied and the database state is consistent, avoiding the need for complex locking or waiting for all potential changes.
Why it matters
This patent is foundational for modern cloud database services, enabling services like Amazon RDS and Aurora to provide highly available and consistent data. Efficiently replicating data to read replicas is critical for scaling database read performance and ensuring data integrity in large-scale systems.
Real-world examples
- 1.Amazon Web Services (AWS) database services like RDS and Aurora
- 2.Distributed database systems with read replicas
- 3.High-availability database architectures
Generated by PatentBrief · Not legal advice · patentbrief.org
US 9280591 · 2026