×

Index structure navigation using page versions for read-only nodes

  • US 9,519,664 B1
  • Filed: 09/20/2013
  • Issued: 12/13/2016
  • Est. Priority Date: 09/20/2013
  • Status: Active Grant
First Claim
Patent Images

1. A system, comprising:

  • one or more computing devices each comprising at least one respective hardware processor and memory and configured to implement a plurality of nodes of a distributed database;

    a read-write node of the plurality of nodes, configured to;

    in response to received updates to the distributed database, perform one or more operations to modify one or more data pages out of a plurality of data pages linked together to comprise an index structure for data stored for the distributed database;

    send one or more change notifications corresponding to the operations to one or more read-only nodes of the plurality of nodes implementing the distributed database;

    the one or more read-only nodes, wherein each of the read-only nodes is configured to;

    in response to receiving the one or more change notifications, update one or more data pages out of a plurality of data pages comprising a replica of the index structure maintained at the read-only node to a respective current version of the page, wherein one or more prior versions for each of the one or more data pages are maintained as part of a plurality of prior versions maintained for the plurality of data pages comprising the replica of the index structure;

    receive a read request for select data;

    in response to receiving the read request;

    navigate between different ones of the plurality of data pages comprising the replica of the index structure in order to identify one or more locations to access for the select data, wherein each navigation is based, at least in part, on the plurality of prior versions of the plurality of data pages, and wherein each of said navigations comprises;

    based, at least in part, on a version of a current page, select a destination page, wherein the version of the current page corresponds to a consistent view of the distributed database associated with the read request;

    evaluate one or more versions of the destination page in order to select a version of the destination page consistent with the version of the current page; and

    identify the selected version of the destination page as the current page.

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