Data processing method, distributed database system, electronic equipment and storage medium
A data processing and database technology, applied in the computer field, can solve problems such as poor practicability and data service interruption, and achieve the effect of solving abnormal data processing problems
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] refer to Figure 3A , shows a flowchart of steps of a data processing method according to Embodiment 1 of the present application.
[0035] The data processing method of this embodiment is described from the perspective of fragmentation nodes in a distributed database system, and the data processing method includes the following steps:
[0036] Step S202: Receive physical DDL instructions converted from logical DDL instructions for changing data in the distributed database system.
[0037] As mentioned above, although the data in the distributed database system may actually be distributed on multiple physical nodes or multiple shard nodes, it is presented to the user in the form of "single database and single table". The corresponding "single table", that is, the logical table presented to the user, performs corresponding operations, such as performing DDL changes on the data table, etc. This kind of DDL operation for the logical table will generate logical DDL instruc...
Embodiment 2
[0057] refer to Figure 4A , shows a flowchart of steps of a data processing method according to Embodiment 2 of the present application.
[0058] The data processing method of this embodiment is still described from the perspective of fragmentation nodes in the distributed database system, and the data processing method includes the following steps:
[0059] Step S302: Receive physical DDL instructions converted from logical DDL instructions for changing data in the distributed database system.
[0060] For example, in a distributed MySQL-SHARDING database system, DDL instructions acting on logical database tables are logical DDL instructions, and DDL instructions acting on physical database tables are physical DDL instructions. Through the logic DDL instruction, functions such as adding data columns to the data table, changing the type and length of the data columns, and adding constraints to the data columns can be realized. The specific conversion method of converting lo...
Embodiment 3
[0076] refer to Figure 5 , shows a flow chart of steps of a data processing method according to Embodiment 3 of the present application.
[0077] The data processing method of this embodiment is described from the perspective of a middleware node in a distributed database system, and the data processing method includes the following steps:
[0078] Step S402: Receive a logical DDL instruction for changing data in the distributed database system, and convert the logical DDL instruction into a physical DDL instruction.
[0079] As mentioned above, the user issues a DDL instruction based on the presented global logic table, that is, a logical DDL instruction, which needs to be converted into a physical DDL instruction executable by the actual sharding node.
[0080] Step S404: Send the physical DDL instruction to the corresponding shard node, so that the shard node executes the physical DDL instruction, and after the physical DDL instruction is successfully executed, obtain Ac...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com