A data processing method and device
A data processing and data technology, applied in the field of data processing, can solve problems such as unavailability, data error, and table unavailability, and achieve the effect of improving stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0062] figure 1 A method flowchart of a data processing method provided by an embodiment of the present invention is applied to the process of data transfer from a relational database to a non-relational database, and the method includes:
[0063] S101: Acquire a to-be-transferred task from the relational database, where the to-be-transferred task includes data of the to-be-transferred table in the relational database or data of a sub-table after the to-be-transferred table is divided.
[0064] For example, the to-be-transferred task may include all data to be transferred in the to-be-transferred table, or when the to-be-transferred table has a large capacity and is divided into multiple sub-tables, the to-be-transferred task may include all data in one sub-table. All data to be transferred.
[0065] Optionally, in this embodiment of the present invention, the relational database may specifically be an Oracle database; the non-relational database may specifically be HBase.
...
Embodiment 2
[0077] The primary key described in the embodiment of the present invention identifies the uniqueness of each row of data in the table, and provides the function of quickly finding data. If there is no primary key, the data can only be scanned sequentially, and concurrent searches cannot be performed. . In the process of transferring data from a relational database to a non-relational database, it is different from a table with a primary key. For a table without a primary key, the traditional method cannot split it, and it can only be transferred through a single thread, which is very slow. , if the capacity of the non-primary key table is large, it will seriously affect the speed of data transfer. To this end, an embodiment of the present invention provides a method for table transfer without a primary key. figure 1 On the basis of the corresponding embodiment, figure 2 A flow chart of a method applied to a method for transferring a table without a primary key provided by ...
Embodiment 3
[0094] Figure 4 The device diagram of a data processing device provided by an embodiment of the present invention is applied in the process of data transfer from a relational database to a non-relational database, including:
[0095] The first obtaining unit 401 is configured to obtain a task to be transferred from the relational database, where the task to be transferred includes data of a table to be transferred in the relational database or data of a sub-table after the table to be transferred is divided.
[0096] For example, the to-be-transferred task may include all data to be transferred in the to-be-transferred table, or when the to-be-transferred table has a large capacity and is divided into multiple sub-tables, the to-be-transferred task may include all data in one sub-table. All data to be transferred.
[0097] Optionally, in this embodiment of the present invention, the relational database may specifically be an Oracle database; the non-relational database may s...
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