Million-level excel data quick and stable import system

A data and fast technology, applied in the field of excel data, can solve the problems of slow data import, system memory overflow, and inability to support millions of data imports, so as to improve the speed of reading and writing, and improve the efficiency of importing speed effect
CN110275918AInactive Publication Date: 2019-09-24浙江百应科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
浙江百应科技有限公司
Publication Date
2019-09-24
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention relates to the technical field of excel data, and discloses a million-level excel data quick and stable import system, which comprises the following steps: step 1, after starting to read data and load an excel file, adopting a line-by-line data reading mode to avoid overflowing of a memory of the system due to the fact that the data is completely loaded into the memory; quickly and stably importing the million-level excel data into the system; through using read-write separation, one thread queue being responsible for reading data; processing data, then putting into a data queue pool; meanwhile, the other thread queue being responsible for obtaining data from the data queue pool; writing data into a database by multiple threads simultaneously; no longer executing the two steps synchronously. The data are imported in batches without influencing the importing speed along with the increase of excel content, and meanwhile, the method supports multiple threads to write the data into a database, so that the importing speed is greatly increased, and the importing speed is always kept within a relatively constant speed range value.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of excel data, in particular to a system for quickly and stably importing million-level excel data. Background technique

[0002] At present, most of the excel data import methods on the market use single-thread synchronous blocking to import data. When importing millions of excel data, you will find that the speed of importing data will be very slow. When importing excel data, often use Put all the data into the memory. If you import millions of excel data into the system, it is easy to cause system memory overflow, which cannot support the business needs of millions of data imports. When the business peak period, there will be a large number of Excel data is imported into the system, resulting in a geometric increase in the number of database write operations, which puts a huge pressure on the database, and may drag down the entire database in serious cases, thus affecting the normal operation of the busin...

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