| US 7,469,256 B1 | ||
| Cached persistent data management through state tracking | ||
| Svetoslav H. Manolov, Sofia (Bulgaria); and Ivo V. Simeonov, Sofia (Bulgaria) | ||
| Assigned to SAP AG, Walldorf (Germany) | ||
| Filed on Apr. 29, 2004, as Appl. No. 10/835,751. | ||
| This patent is subject to a terminal disclaimer. | ||
| Int. Cl. G06F 17/00 (2006.01) | ||
| U.S. Cl. 707—102 | 45 Claims |

| 1. A method, comprising:
during execution of a distributed transaction:
a) placing into a cache a representation of persistent data stored at an entry in a database;
b) in response to an application's decision that said entry should be removed from said database, keeping said representation
in said cache and marking said representation as corresponding to an entry that is to be removed from said database, and,
updating a list with the identity of said representation, said list listing cached entries of persistent data, each one of
said cached entries marked during said distributed transaction as a database entry that is to be removed from its respective
database; and,
c) during execution of said distributed transaction's two-phase commit protocol, referring to said list to identify each one
of those cached representations of persistent data that is marked as corresponding to an entry that is to be removed from
its respective database when said application's execution for said distributed transaction is complete, and, informing each
said respective database that it is to remove its corresponding entry identified from said list.
|