Heterogeneous database conversion method, apparatus and device, and storage medium
A conversion method and database technology, which is applied in the database field, can solve problems such as fixed and single conversion methods, and the inability to realize mutual conversion of various types of databases, so as to achieve the effect of improving compatibility and flexibility, and improving conversion efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is a flow chart of a heterogeneous database conversion method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of using the database conversion service provided by the heterogeneous database conversion method in this embodiment to convert a database. The method It can be implemented by a heterogeneous database conversion device, which can be implemented in the form of software and / or hardware, as a tool that can independently provide external database conversion services. The method specifically includes the following:
[0029] Step 110, acquiring the DDL statement to be converted and the DML statement to be converted associated with the source data table in the source database.
[0030] In a specific embodiment of the present invention, a database refers to a warehouse for storing data, which is essentially a file system. Data is stored in a specific format, and users can perform operations such as adding, modify...
Embodiment 2
[0043] On the basis of the first embodiment above, this embodiment provides a preferred implementation of the heterogeneous database conversion method, which can convert and insert the source data table into the target database through the converted operation language. Wherein, step 110 may specifically include the following steps 410-430, step 120 may specifically include the following steps 440-450, and step 130 may specifically include the following steps 460-490, Figure 4 It is a flowchart of a heterogeneous database conversion method provided by Embodiment 2 of the present invention, such as Figure 4 As shown, the method includes the following specific:
[0044] Step 410, receiving the connection information of the source database and the name information of the source data table.
[0045] In a specific embodiment of the present invention, the data conversion tool provides an interface for the user to input the connection information of the source database and the indi...
Embodiment 3
[0064] Figure 5 It is a schematic structural diagram of a heterogeneous database conversion device provided by Embodiment 3 of the present invention. This embodiment is applicable to the situation where the database conversion service provided by the heterogeneous database conversion method in this embodiment is used to convert the database. The device The heterogeneous database conversion method described in any embodiment of the present invention can be realized. Specifically, the device includes:
[0065] Source data acquisition module 510, for acquiring the DDL statement to be converted and the DML statement to be converted associated with the source data table in the source database;
[0066] A statement conversion module 520, configured to convert the DDL statement to be converted and the DML statement to be converted into a target DDL statement and a target DML statement conforming to the grammar rules of the target database;
[0067] The target data generation modul...
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