| CPC G06F 12/0882 (2013.01) [G06F 12/1466 (2013.01)] | 19 Claims |

|
1. A method of managing locks in a transactional cache, comprising:
opening, in the transactional cache, (i) a first transaction that identifies a first plurality of pages to be accessed and (ii) a second transaction that identifies a second plurality of pages to be accessed, the first plurality of pages having at least one page in common with the second plurality of pages;
after opening the first transaction and the second transaction, selecting a target page that is highest in a predefined page ordering out of the at least one page in common, the second plurality of pages including a lower-ordered page that is lower in the predefined page ordering than the target page; and
while the first transaction is open, (i) inserting a first lock request of the second transaction into a queue of the target page and (ii) preventing insertion of a second lock request of the second transaction into a queue of the lower-ordered page.
|