Cached persistent data management through state tracking
First Claim
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.
2 Assignments
0 Petitions
Accused Products
Abstract
A method is described in which, during execution of a distributed transaction, a representation of persistent data stored at an entry in a database is placed into a cache. Then, in response to an application'"'"'s decision that the entry should be removed from the database, the representation is kept in the cache and marked as corresponding to an entry that is to be removed from the database. Then, during execution of the distributed transaction'"'"'s two-phase commit protocol, the database is informed that the entry is to be removed from the database if the representation was marked as corresponding to an entry that is to be removed from the database when the application completed its execution for the distributed transaction.
-
Citations
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
16. An article of manufacture including program code which, when processed by a machine, causes the machine to perform a method, the 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. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
31. A computing system comprising program code disposed on a computer readable medium, said program code capable of being processed by a machine within said computing system to perform a method, said 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. - View Dependent Claims (32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45)
Specification