Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and apparatus for converting script language SQL of Oracle

A scripting language and scripting technology, applied in the database field, can solve problems such as huge workload, difficulty in upgrading legacy systems, legacy systems, etc.

Active Publication Date: 2016-08-17
中移信息技术有限公司
View PDF5 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Oracle uses SQL, and HBase uses a custom shell to create tables, query, and update data, while Hive uses the SQL-like language HiveQL to implement data operations. The main problems caused by this difference are: First, the application needs Writing different data access codes for Oracle, HBase, and Hive increases the difficulty of data integration. In addition, when the program is changed, it also needs to be modified according to different underlying data access methods, which increases the difficulty of maintenance; second, the legacy system Difficulties in upgrading. For example, when many enterprises consider migrating IT assets to big data platforms, a big problem is the transformation of legacy systems, and the core of which is the modification of data access layer codes.
The code volume of large-scale enterprise-level IT systems is often in the millions, which means that any change to the system may involve a large number of modifications, and the upgrade of the data access layer mainly involves the traditional relational database (such as Oracle) SQL Rewriting, if it is completely rewritten by programmers manually, it will require a huge amount of work

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and apparatus for converting script language SQL of Oracle
  • Method and apparatus for converting script language SQL of Oracle
  • Method and apparatus for converting script language SQL of Oracle

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0076] The present invention aims at the complicated problem of converting Oracle's SQL script files into script files of other database systems in the prior art, and provides a method and device for converting Oracle's script language SQL, which can conveniently and quickly convert Oracle's SQL scripts into The file is converted to a script file for other database systems.

[0077] like figure 1 As shown, the embodiment of the present invention provides a kind of method that converts Oracle script language SQL, and this method comprises:

[0078] Step 11, according to the conversion request input by the user, obtain the Oracle SQL script file to be converted.

[0079] In a specific embodiment of the present invention, the conversion request input by t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and an apparatus for converting a script language SQL of Oracle. The method comprises the steps of according to a conversion request input by a user, obtaining a to-be-converted SQL script file of Oracle; analyzing the to-be-converted SQL script file to generate an analytic result; according to the analytic result and a pre-obtained mapping relationship between the script language SQL of Oracle and a script language of a target database system, generating clauses of a script statement of the target database system, wherein the target database system is Hive or Hbase; and converting the clauses of the script statement of the target database system into an executable script file of the target database system. According to the method for converting the script language SQL of Oracle, the SQL script file of Oracle can be conveniently and quickly converted into script files of other database systems.

Description

technical field [0001] The invention relates to the field of databases, in particular to a method and device for converting Oracle script language SQL. Background technique [0002] In the traditional information technology (IT, Information Technology) industry, large-scale application systems mostly use professional relational database products to build their database systems. Among them, Oracle database occupies the largest market share. Oracle uses advanced structured query language (SQL, Structured Query Language)-based large-scale relational database, generally speaking, it is a collection of a large number of regular data manipulated in a language that facilitates logical management, and is currently one of the most popular client / server architecture databases. [0003] Under a certain data scale, Oracle provides good support for the system's data storage, access and management, but in today's deepening informatization, the data scale that the system needs to carry and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
Inventor 成楼曾向红刘贻凤王光
Owner 中移信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products