Distributed database system data loading method and device
A technology of system data and database, which is applied in the field of data loading in distributed database systems, can solve the problem of large computing load of loading nodes, and achieve the effect of solving the loading bottleneck
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] figure 1 It is a flow chart of the method for loading distributed database system data provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of data loading in distributed database system, and the method can be executed by a data loading device for distributed database system. The device can be realized by software / hardware, and can be integrated in the management node of the distributed database system.
[0039] see figure 1 , the distribution method of the distributed database system data, comprising:
[0040] S110. The management node receives an instruction from a user to load data, where the instruction includes a loading parameter.
[0041] A distributed database system usually includes a cluster of management nodes and a cluster of computing nodes. Through any node of the management cluster as an entry, the user can input an instruction to load data, and the management node is responsible for receiving the user's inst...
Embodiment 2
[0048] figure 2 It is a flow chart of the method for loading distributed database system data provided by Embodiment 2 of the present invention. This embodiment is applicable to the case of loading data in a distributed database system. This method can be executed by a data loading device for a distributed database system. The device can be realized by software / hardware, and can be integrated in the computing nodes of the distributed database system.
[0049] see figure 2 , the loading method of the distributed database system data, comprising:
[0050] S210, the computing node receives the allocation instruction sent by the management node, and parses the allocation instruction.
[0051] After receiving the SQL issued by the management node, the nodes in the computing node cluster are responsible for parsing the SQL, and obtain data from the data source according to the ftp, http, and hdfs protocols from the data source set in the issued SQL.
[0052] S220. Obtain row data...
Embodiment 3
[0057] image 3 It is a schematic structural diagram of the distributed database system data distribution device provided by Embodiment 3 of the present invention, as shown in image 3 As shown, the device includes:
[0058] An instruction receiving unit 310, configured to receive an instruction from a user to load data, the instruction including loading parameters;
[0059] A determining unit 320, configured to determine the amount of data loaded according to the instruction, and determine the number of nodes for loading data;
[0060] The allocating unit 330 is configured to allocate the loaded data according to the amount of data loaded and the number of nodes for loading the data, and issue allocation instructions to computing nodes, so that the computing nodes complete the loading of data according to the allocation instructions.
[0061] The distributed database system data distribution device provided by the embodiment of the present invention determines the amount of...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


