Data Redistribution Method, Apparatus, and System
AssigneeHuawei Technologies Co., Ltd.
InventorQiang Tong
Life of this patent
Estimating the term…
Abstract
A method includes determining a first node set and a second node set that are in a distributed database and that are separately associated with a first data table, where data in the first data table is stored in the first node set, migrating the data from the first node set to the second node set, receiving, in a process of migrating the data, a target service request for the first data table, determining, in response to the target service request, a third node set in the first node set and the second node set that is configured to respond to the target service request, and sending the target service request to a first data node in the third node set.
Claims20
A data redistribution method, comprising:
- determining a first node set and a second node set that are in a distributed database and that are separately associated with a first data table, wherein data in the first data table is stored in the first node set;
- migrating the data from the first node set to the second node set;
- receiving, in a process of migrating the data, a target service request for the first data table;
- determining, in response to the target service request, a third node set in the first node set and the second node set that is configured to respond to the target service request;
- and
- sending the target service request to a first data node in the third node set.
A computing device, comprising:
- a memory configured to store instructions;
- and
- a processor coupled to the memory and configured to execute the instructions to cause the computing device to be configured to:
- determine a first node set and a second node set that are in a distributed database and that are separately associated with a first data table, wherein data in the first data table is stored in the first node set;
- migrate the data from the first node set to the second node set;
- receive, in a process of migrating the data, a target service request for the first data table;
- determine, in response to the target service request, a third node set in the first node set and the second node set that is configured to respond to the target service request;
- and
- send the target service request to a first data node in the third node set.
A distributed database system, comprising:
- a data node;
- and
- a management node configured to:
- determine a first node set and a second node set that are in a distributed database and that are separately associated with a first data table, wherein data in the first data table is stored in the first node set;
- migrate the data from the first node set to the second node set;
- receive, in a process of migrating the data, a target service request for the first data table;
- determine, in response to the target service request, a third node set in the first node set and the second node set that is configured to respond to the target service request;
- and
- send the target service request to a first data node in the third node set.
Dependencies are inferred from the claim text.