EP1667026A2

Managing replacement of data in a cache on a node based on caches of other nodes

Abstract

Caches on nodes in a cluster are globally managed so that a data item may be retained in any of the caches. A replacement policy that governs the replacement of data items stored in the caches selects buffers for replacement according to factors that include the state of the caches of other nodes. Some cached data items are designated as globally shared and assigned a primary cache. If a buffer holds a copy of a data item whose primary cache is another node, then the data item in the buffer is favored for replacement over a local data item or a global data item for which this is the primary cache. Cache retention values of buffers on different nodes may be compared. The buffer with the lowest cache retention value is selected for replacement. The replacement policy may also account for the way other caches in the cluster are configured.

EP1667026A2, drawing sheet 1
Sheet 1 of 4

Term

Term ended

Projected expiry passed 30 August 2021, 5.1 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

4 claims: 2 independent, 2 dependent

  1. 1
    A method for managing a global cache that includes a plurality of caches that each reside on a node of a set of one or more nodes, wherein each node of said set of one or more nodes includes one or more caches of said plurality of caches, wherein the plurality of caches includes a first cache that resides on a first node, the method comprising the steps of :generating data that indicates that a copy of a first data item in a first buffer of a first cache is eligible for replacement based upon a second copy of said first data item residing in a second buffer in a second cache of said plurality of caches;andreplacing said first data item stored in said first buffer with another data item.
  2. 4
    The method of any of the preceding claims, wherein said plurality of caches are each managed by a database system.