Data processing method and device and electronic equipment
A database and new data technology, applied in the computer field, can solve problems such as limiting the number of unique keys, unique key field selection, etc., and achieve the effect of increasing flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] like image 3 As shown, it is one of the schematic flowcharts of the data processing method according to the embodiment of the present invention. The data processing method of this embodiment is applied to a distributed database system. The distributed database system includes a distributed database engine and multiple data nodes. Multiple partitioned databases are set on the data nodes, and partitions are set on the distributed data engine. Key routing table and unique key index routing table. Among them, in the distributed database system, each data node may exist in the form of an instance, and each partition database may be a Schema (data object set) in each instance. specifically, image 3 The illustrated method is executed on a distributed data engine and includes:
[0061] S101: Query the partition key routing table according to the value of the partition key field in the new data to be inserted, and determine the first routing information of the first destina...
Embodiment 2
[0075] like Figure 5 As shown, it is the third schematic flowchart of the data processing method according to the embodiment of the present invention. In the first embodiment, the processing performed by the distributed database engine is introduced, and in this embodiment, the processing procedure of the data node will be further introduced. like Figure 5 As shown, after the distributed database engine sends the data insertion request message to a data node, the data node performs the following processing:
[0076] S301: Receive a data insertion request message sent by a distributed database engine. As described in the foregoing embodiment, the data insertion request message includes the new data to be inserted, the first routing information of the first destination partition database where the data table slice corresponding to the new data is located, and the unique key index table slice corresponding to the new data. The second routing information of the second destina...
Embodiment 3
[0091] like Figure 7 As shown, it is one of the schematic structural diagrams of the data processing device according to the embodiment of the present invention. The device is applied to a distributed database system. The distributed database system includes a distributed database engine and a plurality of data nodes. The data nodes are provided with A plurality of partitioned databases are provided with a partition key routing table and a unique key index routing table in the distributed data engine, and the device is set in the distributed data engine, which includes:
[0092] The first routing information generation module 11 is used to query the partition key routing table according to the value of the partition key field in the new data to be inserted, and determine the first route of the first destination partition database where the data table slice corresponding to the new data is located information.
[0093] The second routing information generating module 12 is co...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


