×

Method and mechanism for efficient re-distribution of in-memory columnar units in a clustered RDBMS on topology change

  • US 10,528,580 B2
  • Filed: 01/27/2016
  • Issued: 01/07/2020
  • Est. Priority Date: 01/27/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • maintaining at a particular node, in a system that includes a plurality of nodes, a mapping that indicates;

    a plurality of host nodes for a particular chunk of data, wherein each host node of the plurality of host nodes is a node that has been assigned to load a copy of the particular chunk of data into its volatile memory; and

    for each host node, of the plurality of host nodes, a registration timestamp corresponding to a most recent time at which the particular node registered the host node as a host for the particular chunk of data;

    maintaining, at the particular node, a global completion timestamp that indicates a particular time;

    wherein, at the particular time, all host nodes that had been assigned to the particular chunk had completed loading the particular chunk into their respective volatile memories;

    receiving, at the particular node, a query requiring access to the particular chunk;

    in response to the query, performing the steps of;

    selecting a particular host node, of the plurality of host nodes, based at least in part on comparisons between the global completion timestamp and the registration timestamps of the plurality of host nodes;

    wherein the particular host node is selected to be a target candidate to perform work for the query based, at least in part, on the registration timestamp of the particular host node being less than the global completion timestamp;

    causing the particular host node to perform work, for the query, that involves accessing data items in the particular chunk;

    wherein the method is performed by one or more computing devices.

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