Method and system for quickly exporting batch data from database based on multi-concurrency technology

A data export and batch data technology, applied in the database field, can solve the problems of lack of relevant exception handling, low export speed, high coupling, and achieve the effect of enhancing scalability, reducing coupling, and improving efficiency

Active Publication Date: 2019-10-22
北京人大金仓信息技术股份有限公司
View PDF13 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Aiming at the above-mentioned technical problems in the related art, the present invention proposes a method and system for quickly exporting batch data from a database based on multi-concurrency technology, which can solve the problem of low export speed or dependence on the framework of the database, high coupling, and lack of correlation when exporting. Exception handling, low reliability, etc.

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 system for quickly exporting batch data from database based on multi-concurrency technology
  • Method and system for quickly exporting batch data from database based on multi-concurrency technology
  • Method and system for quickly exporting batch data from database based on multi-concurrency technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0059] The following is an example of exporting CSV files from the KingbaseES data server.

[0060] Such as figure 1 As shown, according to the embodiment of the present invention, the method for rapidly exporting batch data from the database based on multi-concurrency technology includes the following steps:

[0061] The data export tool is responsible for reading the configuration file, is connected with the file writing process of the data export plug-in, and calls the data export plug-in...

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 method and a system for quickly exporting batch data from a database based on a multi-concurrency technology, the system comprises a data exporting tool and a data exportingplug-in registered to a database server, and the data exporting plug-in comprises a file writing process and a plurality of data processing processes; the method comprises the following steps that a data export tool is responsible for reading configuration file connection and calling a data export plug-in to carry out export work; the process of receiving the connection by the data export plug-inis a file writing process, and the file writing process creates a plurality of data processing processes; each data processing process reads the data of the corresponding data block for tuple analysis; the parsed tuples are converted into data in a target format, and the data is stored in a shared memory queue; and the file writing process traverses all the shared memory queues, takes out target format data from the shared memory queues and writes the target format data into target data files in batches. The method has the beneficial effects that the expansibility is enhanced, the coupling with the database server is reduced, and the export efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of databases, in particular to a method and system for quickly exporting batch data from a database based on multi-concurrency technology, which is suitable for batch data export. Background technique [0002] With the rapid development of computer technology, the application of database is becoming more and more extensive. The efficiency of data import and export is a very important indicator of the overall performance of the database. Data export is mainly to export the data of the database into CSV, binary and text file formats, and also export the data to EXCEL or other databases. [0003] Currently, the main techniques for exporting data from a database are as follows: [0004] One is to connect to the database by implementing an external tool, store the exported data in memory and convert it into a target format according to the set data export configuration, and finally save it as a target file. For...

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): G06F16/25
CPCG06F16/258Y02D10/00
Inventor 袁远松王建华杜春魁
Owner 北京人大金仓信息技术股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products