System and method for database recovery for encrypted indexes

US12493532B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12493532-B2
Application numberUS-201916692671-A
CountryUS
Kind codeB2
Filing dateNov 22, 2019
Priority dateNov 22, 2019
Publication dateDec 9, 2025
Grant dateDec 9, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Methods for database recovery for encrypted indexes are performed by systems and devices. A query with a decryption key is received from a client device, where the query modifies an encrypted index of a database using a secure enclave. When events requiring remedial actions for the database occur during the querying, some transactions of the query and later queries are deferred, and a remedial action is initiated that includes restarting the database. A determination of the remedial action being unsuccessful in recovering the encrypted index causes the action to be re-performed until another query having the decryption key is received whereupon the action is performed again to recover the encrypted index utilizing the decryption key. Deferred transactions are then performed with the decryption key. When a database restarts for access without secure enclaves, the encrypted index for the database is invalidated, and the remedial actions are otherwise completed or discarded.

First claim

Opening claim text (preview).

What is claimed is: 1 . A system comprising: a processing system that includes one or more processors; and a memory that stores computer program instructions that are executable by the processing system, the computer program instructions including: a query manager configured to: receive from a first client device a first query, having a decryption key, that when performed modifies an encrypted index of a database using a secure enclave that requires the decryption key for access to the encrypted index; and receive from a second client device a second query, subsequent to the first query, that is directed to the database and that has the decryption key; an event monitor configured to: determine that events requiring remedial actions for the database have occurred; initiate a first remedial action for the database based on an event of the events that occurs subsequent to the first query and prior to the second query, the first remedial action comprising an attempt to recover the encrypted index; determine, after completion of the first remedial action, that the first remedial action was unsuccessful in recovering the encrypted index; and initiate, after access is enabled for the database subsequent to completion of the first remedial action, a second remedial action that utilizes the decryption key received with the second query; and a deferment manager configured to: defer one or more transactions of at least the first query or the second query based on a lock for the encrypted index being taken; and queue the one or more transactions for completion based on the lock for the encrypted index being released. 2 . The system of claim 1 , further comprising: an access manager configured to: disable access to the database subsequent to the event and prior to completion of the first remedial action; take the lock for the encrypted index subsequent to the event based at least on the determination that the first remedial action was unsuccessful in recovering the encrypted index; enable access to the database subsequent to the completion of the first remedial action; and release the lock for the encrypted index subsequent to completion of the second remedial action. 3 . The system of claim 1 , wherein the first remedial action includes an accelerated database recovery action performed without the enclave. 4 . The system of claim 1 , wherein the first remedial action further comprises at least one of: a restart of the database, the restart using another secure enclave that requires the decryption key for access to the encrypted index, or a rollback action. 5 . The system of claim 1 , wherein the second remedial action comprises an index recovery action that is configured to gain access to the encrypted index based on the decryption key received with the second query. 6 . The system of claim 1 , wherein the event monitor is configured to: provide a status signal representative of the encrypted index being unrecovered to an index validator configured to mark the encrypted index as invalid in the database based at least on the determination that the first remedial action was unsuccessful in recovering the encrypted index. 7 . The system of claim 1 , wherein the query manager is configured to perform via a virtual machine instance: the second query on the database using another secure enclave and the decryption key received with the second query; and the second remedial action to recover the encrypted index. 8 . A computer-implemented method, comprising: receiving from a first client device a first query, having a decryption key, that when performed modifies an encrypted index of a database using a secure enclave that requires the decryption key for access to the encrypted index; determining that an event has occurred, requiring a remedial action for the database, prior to completion of the first query; initiating a first remedial action for the database to attempt recovery of the encrypted index; determining, after completion of the first remedial action, the first remedial action was unsuccessful in recovering the encrypted index; deferring one or more transactions of queries that affect the encrypted index subsequent to said determining that the event has occurred; initiating a second remedial action to recover the encrypted index; receiving from a second client device a second query, subsequent to the first query and said initiating the second remedial action, that is directed to the database and that has the decryption key; and completing the second remedial actions and the one or more transactions that were deferred. 9 . The computer-implemented method of claim 8 , wherein said initiating the second remedial action is performed in the background at least partially concurrently with the database being accessible and able to service queries. 10 . The computer-implemented method of claim 8 , wherein the first remedial action includes at least one of: a restart of the database, the restart using another secure enclave that requires the decryption key for access to the encrypted index, or a rollback action. 11 . The computer-implemented method of claim 8 , wherein the second remedial action comprises an index recovery action that is configured to gain access to the encrypted index based on the decryption key received with the second query. 12 . The computer-implemented method of claim 8 , wherein said deferring one or more transactions of queries comprises at least one of: maintaining a lock on modified data of the encrypted index; or deferring based at least on recovery of the encrypted index requiring the decryption key. 13 . The computer-implemented method of claim 12 , wherein said completing the one or more transactions comprises completing the one or more transactions based on at least one of: the recovered encrypted index that was recovered utilizing the decryption key received with the second query; or invalidating the encrypted index and forcing completion of the one or more transactions. 14 . The computer-implemented method of claim 8 , further comprising: performing calls for the encrypted index to the database using the secure enclave via a virtual machine instance. 15 . The computer-implemented method of claim 8 , further comprising: disabling access to the database subsequent to the event and prior to completion of the first remedial action; and enabling access to the database subsequent to the completion of the first remedial action. 16 . A computer-readable storage medium having program instructions recorded thereon that, when executed by a processing device, perform a method, the method comprising: receiving from a first client device a first query, having a decryption key, that when performed modifies an encrypted index of a database using a secure enclave that requires the decryption key for access to the encrypted index; determining that an event has occurred that requires a first remedial action for the database; initiating the first remedial action for the database and the encrypted index to attempt recovery of the encrypted index; after completion of the first remedial action, determining that the database is restarted and is without access to any secure enclave; initiating a second remedial action for the encrypted index, that includes invalidating the encrypted index for the database, based on the first remedial action being unsuccessful in recovering the encrypted index; and completing the second remedial action. 17 . The computer-readable storage medium of cla

Assignees

Inventors

Classifications

  • Updates performed during online database operations; commit processing · CPC title

  • Isolation or security of virtual machine instances · CPC title

  • Hypervisor-specific management and integration aspects · CPC title

  • Providing cryptographic facilities or services · CPC title

  • Database-specific techniques · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12493532B2 cover?
Methods for database recovery for encrypted indexes are performed by systems and devices. A query with a decryption key is received from a client device, where the query modifies an encrypted index of a database using a secure enclave. When events requiring remedial actions for the database occur during the querying, some transactions of the query and later queries are deferred, and a remedial …
Who is the assignee on this patent?
Microsoft Technology Licensing Llc
What technology area does this patent fall under?
Primary CPC classification G06F21/6227. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 09 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).