×

Database system with methods providing high-concurrency access in B-Tree structures

  • US 6,792,432 B1
  • Filed: 07/23/1998
  • Issued: 09/14/2004
  • Est. Priority Date: 03/31/1998
  • Status: Expired due to Term
First Claim
Patent Images

1. In a database system, said database system storing a plurality of data records as a data table having an index, said index comprising a B-Tree having a root page, a plurality of internal pages, and a plurality of leaf-level pages, each page storing one or more key values from said data records, a method for providing highly-concurrent access to the B-Tree for multiple clients, the method comprising:

  • (a) receiving a request from a client which requires insertion of a new key value into the B-Tree in order to satisfy the request;

    (b) traversing the B-Tree for locating an existing page in the B-Tree appropriate for storing the new key value; and

    (c) if said existing page does not contain sufficient room for storing the new key value, splitting the existing page into two pages by;

    (i) allocating a new page at a level in the B-Tree which is the same as the existing page and marking both pages as undergoing a split, (ii) moving some of the key values from the existing page to the new page, and (iii) creating a reference in the existing page which points to the new page, so that any client which is traversing the B-Tree will not be blocked by the split which is currently occurring.

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