×

Distributed database system providing data and space management methodology

  • US 8,266,111 B2
  • Filed: 03/26/2008
  • Issued: 09/11/2012
  • Est. Priority Date: 11/01/2004
  • Status: Active Grant
First Claim
Patent Images

1. in a distributed database system comprising a cluster of nodes and having an allocation page for tracking allocation and deallocation of data pages accessed by multiple nodes, the allocation page including a deallocation bit for tracking deallocation of a data page, a method for determining when to clear the deallocation bit during recovery from failure of a node while other nodes of the distributed database system remains online, the method comprising:

  • during runtime operation of the distributed database system, generating log records recording allocation and deallocation of data pages required by the cluster of nodes, setting the deallocation bit during deallocation of a data page by a transaction, and clearing the deallocation bit after the transaction has committed;

    during recovery of the distributed database system following a failure of a given node and while other nodes of the distributed database system remains online, determining ownership of the deallocation bit by identifying a particular log record corresponding to the deallocation bit set in the allocation page during deallocation of a given data page;

    determining whether the deallocation of the given data page recorded in the particular log record committed prior to the failure; and

    if the deallocation of the given data page committed prior to the failure and the ownership of the deallocation bit can be established to the particular log record, clearing the deallocation bit.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×