Amazon patents method to update database encryption without downtime
This patent describes a way to switch a database to a new security code while it is still in use. When a user requests data, the system checks if that specific piece of data is already using the new code. If not, it encrypts the data on the spot during the request, so the database never has to stop working to update its security.
In the filing’s own words
On-demand encryption may be implemented for online database encryption transition. Determinations can be made for individual data blocks as to whether individual data blocks have been encrypted using a new encryption scheme. Therefore read requests, write requests, or background operations can access and encrypt, if not already performed, different data blocks for the database while the database is in transition to the new encryption scheme.
What exactly they claim (claim 1)
1. A system, comprising: at least one processor; and a memory, storing program instructions that when executed by the at least one processor, cause the at least one processor to implement a database system, configured to: receive a query that causes one or more data blocks of a plurality of data blocks in a storage system storing a database to be read, wherein the database is in a transition state to a new encryption scheme; evaluate metadata comprising individual encryption transition state maintained as part of transitioning to the new encryption scheme for the plurality of data blocks to determine that the one or more data blocks have not been encrypted according to the new encryption scheme, wherein the individual encryption transition state indicates respective ones of a plurality of different schemes currently applied to the plurality of data blocks, and wherein the individual encryption state indicates at least one of the plurality of data blocks currently applies the new encryption scheme when the query is received; perform in-place encryption for the one or more data blocks so that no database data of the one or more data blocks is moved, wherein to perform the in-place encryption, the database system is configured to: read the one or more data blocks in the storage system to perform the query; return a response to the query based on the one or more data blocks use data read from the one or more data blocks to perform the query to encrypt the data read from the one or more data blocks with the new encryption scheme; store, in the one or more data blocks, the data encrypted with the new encryption scheme; and update the individual encryption transition state of the one or more data blocks to indicate that different one of the plurality of schemes, is currently applied.
Facts
- Company
- Amazon (Amazon Technologies, Inc.)
- Official title
- On-demand encryption for online database encryption transitions
- Patent number
- US12730923B1
- Application number
- 17810328
- Filed
- Jun 30, 2022
- Granted
- Sep 8, 2026
- Inventors
- 8
- Claims
- 19
Classified under
G06F 21/6227 Physics & computingG06F 21/602 Physics & computingMore from Amazon in Security & privacy
- Amazon patents camera encryption that cuts cloud access Sep 8, 2026
- Amazon patents voice assistant login using a second device Sep 1, 2026
- Amazon patents system to spot suspicious IP activity in its network Sep 8, 2026
- Amazon patents radar system that triggers cameras only on real motion Sep 15, 2026
- Amazon patents ad system that groups anonymous users without cookies Sep 22, 2026
Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.