Supercharge Your Innovation With Domain-Expert AI Agents!

Data backflow method and system and data access method and system in relational database

A relational and database technology, applied in the field of data processing, can solve the problems of cumbersomeness, lengthiness, and heavy workload, and achieve the effect of simplifying the process, reducing intermediate links, and enhancing flexibility

Active Publication Date: 2014-03-26
ALIBABA GRP HLDG LTD
View PDF3 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in this traditional method, because every time a Hadoop table is generated, the same table must be created in the relational database, and the process of creating a table in the database needs to be followed every time, which is relatively cumbersome and lengthy, and the relational database Every time a new table is created in the database, corresponding code needs to be written to access the data in the table, and the workload is relatively large

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
  • Data backflow method and system and data access method and system in relational database
  • Data backflow method and system and data access method and system in relational database
  • Data backflow method and system and data access method and system in relational database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.

[0062] First of all, the embodiment of this application provides a data reflow method, see figure 1 , the method may include the following steps:

[0063] S101: Create a first data table in a relational database, where the first data table includes a name field and a data content field;

[0064] The relational database can be MySql, Oracle, DB2, etc. In the embodiment of the present application, the operation of creating the first data table in the relational database is performed before performing specific data ref...

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 discloses a data backflow method and system and a data access method and system in a relational database. The data backflow method comprises the steps: creating a first data table in the relational database, wherein the first data table comprises a name field and a data content field; determining a second data table where data backflow needs to be carried out in a distributed system, and the format and the name of the second data table; reading all original data in the second data table according to the format of the second data table, converting all the original data into a character string, and in the character string, utilizing preset separators for conducting separation according to different rows and columns where the original data are located in the second data table, wherein the separators comprise row separators and column separators; using the character string as the data content of one record, writing the data content of the record into the data content field of the first data table, using the name of the second data table as the name of the record, and writing the name of the record into the name field of the first data table.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to data reflow and data access methods and systems in relational databases. Background technique [0002] The amount of data generated by the Internet industry is very large, and the amount of calculation generally needs to be completed in large-scale distributed systems such as Hadoop. For example, relevant log data, browsing data, user data, transaction data, commodity data, etc. will all be passed through Hadoop completes related calculations. [0003] Hadoop makes full use of the power of the cluster for high-speed computing and storage, so it is very advantageous for computing large amounts of data. However, since the available data processed by Hadoop is often scattered and stored on different servers, and generally only provides command-line reading, it is not very friendly in terms of user access and data acquisition. Therefore, the available data after p...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/27
Inventor 李庆丰
Owner ALIBABA GRP HLDG LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More