Check patentability & draft patents in minutes with Patsnap Eureka AI!

HBase total data import method and device, computer equipment and storage medium

A full-volume data and data import technology, applied in the field of data processing, can solve problems such as unavailable data tables and longer service interruption time, and achieve the effects of reducing merge operations, reducing IO pressure, and preventing write amplification

Pending Publication Date: 2021-02-23
SUNING CLOUD COMPUTING CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problems of the prior art, the embodiment of the present invention provides a full data import method, device, computer equipment and storage medium of HBase, so as to overcome the problems in the prior art of importing offline data after the data table is cleared. The resulting unavailability of the data table during the table clearing period, and as the historical data of the table increases, the service interruption time will also become longer, 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
  • HBase total data import method and device, computer equipment and storage medium
  • HBase total data import method and device, computer equipment and storage medium
  • HBase total data import method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] image 3 It is a flow chart of the full data import method of HBase shown according to an exemplary embodiment, refer to image 3 As shown, the above scheme can be realized through the following steps:

[0061] Step 1: The client imports offline data and sets the clear history data parameter switch, which is turned off by default;

[0062] Specifically, the historical data clearing parameter switch can be set through the client, and the historical data clearing parameter switch can be sent to the server together in the data import request. This parameter switch is used to indicate whether to clear the historical data. When the parameter switch is on, it means that the historical data needs to be cleared. When the parameter switch is off, it means that the historical data does not need to be cleared. In the embodiment of the present invention, when a full amount of data import operation needs to be performed, the clear history data parameter switch is turned on, and th...

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 an HBase total data import method and device, computer equipment and a storage medium, the method comprises the following steps: receiving a data import request, determining atarget data table corresponding to to-be-imported data in a target database according to the data import request, the target database comprising an HBase database, caching a historical data file corresponding to the target data table into a preset memory container, importing to-be-imported data into a target database, and deleting the historical data file from the memory container. According to the method, table cleaning operation does not need to be executed on the data table of the to-be-imported data, it is guaranteed that the data table always provides service for the outside online, no perception is given to user service, the problem of service interruption is avoided, meanwhile, merging operation in a database is reduced, IO pressure of a server is greatly reduced, and the problem ofwrite-in amplification is prevented; and service stability is ensured.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method, device, computer equipment and storage medium for importing full amount of HBase data. Background technique [0002] Currently, the offline data import function that comes with the open source HBase provides two different data import methods. The first is to directly import offline data, and the second is to import offline data after performing table cleaning operations. [0003] Among them, the first data import method, when there is a large amount of historical data in the data table to be imported or the full amount of offline data is frequently imported, will cause the server to perform data merging operations, which will lead to server write amplification problems and seriously affect The stability of the HBase cluster; the second data import method needs to import offline data after the data table is cleared, which will lead to the unavailability of the da...

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/25G06F16/21
CPCG06F16/258G06F16/219
Inventor 尤海浪郭业俊张立明曹欢
Owner SUNING CLOUD COMPUTING CO 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