×

Lightweight caching of transaction log for sequential access

  • US 8,612,390 B2
  • Filed: 05/02/2011
  • Issued: 12/17/2013
  • Est. Priority Date: 05/02/2011
  • Status: Active Grant
First Claim
Patent Images

1. In a computing environment a method of searching cached log blocks, the method comprising:

  • performing a first search on cached log blocks cached in memory, wherein the log blocks are organized into sequentially ordered log buffers in memory, wherein adjacent sequentially ordered log buffers are linked to each other by one or more links between the ordered log buffers, and wherein each log buffer includes a complete range of log blocks from a starting log block identifier (ID) to an ending log block ID;

    satisfying the first search by finding a first log block in a first log buffer, wherein the first log block has a first log block ID that falls into a complete range of log block IDs in the first log buffer;

    performing a second search on the cached log blocks for a second log block having a second log block ID, the second search beginning at the first log buffer;

    as part of the second search determining the second log block is not in the first log buffer and following the one or more links at least one of forward or backward to one or more other log buffers; and

    determining that the second log block is not found by following one or more links at least one of forward or backward to one or more other log buffers and as a result following covering pointer from a log buffer to another covering log buffer to search for the second log block in the covering log buffer pointed to by the covering pointer, the covering log buffer covering one or more of the ordered log buffers by including all of the log blocks from the one or more of the ordered log buffers.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×