Local logging in a distributed database management computer system
First Claim
1. A method of operating a first node in a distributed database management computer system having a first set of database pages managed by the first node and a second set of database pages managed by a second node, wherein said first node can update pages in the first and second set, comprising the steps of:
- (a) updating a database page at the first node;
(b) generating a first log record at the first node;
(c) determining whether the first database page is managed by the first node;
(d) if at step (c) it is determined that the first database page is managed by the first node, writing the first log record to a log storage local to the first node; and
(e) if at step (c) it is determined that the first database page is not managed by the first node;
(e-1) determining whether the first node includes a local log storage;
(e-2) if at step (e-1) it is determined that the first node includes a local log storage, writing the first log record to the local log storage; and
(e-3) if at step (e-1) it is determined that the first node does not include a local log storage, sending the first log record to a node that manages the first database page.
4 Assignments
0 Petitions
Accused Products
Abstract
A distributed database management computer system includes a plurality of nodes and a plurality of database pages. When a first node in the computer system updates a first database page, the first node generates a log record. The first node determines whether it manages the first database page. If the first node determines that it manages the first database page, the first node writes the log record to a log storage local to the first node. However, if the first node determines that it does not manage the first database page, the first node then determines whether it includes a local log storage. If the first node includes a local log storage, the first node writes the log record to the local log storage, even if the first node does not manage the first database page. If the first node does not include a local log storage, the first node sends the log record to a second node managing the first database page.
234 Citations
8 Claims
-
1. A method of operating a first node in a distributed database management computer system having a first set of database pages managed by the first node and a second set of database pages managed by a second node, wherein said first node can update pages in the first and second set, comprising the steps of:
-
(a) updating a database page at the first node; (b) generating a first log record at the first node; (c) determining whether the first database page is managed by the first node; (d) if at step (c) it is determined that the first database page is managed by the first node, writing the first log record to a log storage local to the first node; and (e) if at step (c) it is determined that the first database page is not managed by the first node; (e-1) determining whether the first node includes a local log storage; (e-2) if at step (e-1) it is determined that the first node includes a local log storage, writing the first log record to the local log storage; and (e-3) if at step (e-1) it is determined that the first node does not include a local log storage, sending the first log record to a node that manages the first database page. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A first node in a distributed database management computer system having a first set of database pages managed by the first node and a second set of database pages managed by a second node, wherein said first node can update pages in the first and second set, comprising:
-
means for updating a first database page at the first node; means for generating a first log record at the first node; first means for determining whether the first database page is managed by the first node; first means for writing the first log record to a log storage local to the first node if said first means for determining determines that the first database page is managed by the first node; second means for determining whether the first node includes a local log storage if said first means for determining determines that the first database page is not managed by the first node; second means for writing the first log record to the local log storage if said second means for determining determines that the first node includes a local log storage; and means for sending the first log record to a a node that manages the first database page if said second means for determining determines that the first node does not include a local log storage. - View Dependent Claims (8)
-
Specification