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

Method and device for deleting hbase data in paas system

A deletion method and data technology, applied in the field of data processing, can solve the problems of long processing time, low efficiency, and slow speed of deletion operations, and achieve the effects of simplifying data deletion operations, reducing processing time, and improving processing speed and efficiency

Active Publication Date: 2019-03-26
新浪技术(中国)有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Embodiments of the present invention provide a method and device for deleting hbase data in a PaaS system, which are used to solve the problems of long processing time, slow speed, and low efficiency of the deletion operation when user data is deleted in the prior art, and can realize fast and efficient User Data Deletion

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 device for deleting hbase data in paas system
  • Method and device for deleting hbase data in paas system
  • Method and device for deleting hbase data in paas system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] The hbase data deletion method in the PaaS system provided by Embodiment 1 of the present invention, its flow is as follows figure 1 shown, including the following steps:

[0062] Step S101: Receive a data deletion instruction sent by a user, wherein the data deletion instruction includes a keyword range.

[0063] When the user wants to delete the user data, the user sends a data deletion command to the data server, requesting to delete the user data. A data deletion directive includes a key range of user data to be deleted.

[0064] Optionally, the keyword range of the user data to be deleted is characterized by a start keyword and an end keyword. In this case, the start keyword and the end keyword may be directly parsed from the data deletion instruction.

[0065] Or, optionally, the keyword range of the user data to be deleted is characterized by the starting keyword and the number of keywords. At this time, the starting keyword and the number of keywords included ...

Embodiment 2

[0078] The hbase data deletion method in the PaaS system provided by Embodiment 2 of the present invention, its flow is as follows figure 2 shown, including the following steps:

[0079] Step S201: the user sends a data deletion instruction.

[0080] In the PAAS system, users share a storage service, that is, all user data is stored in an independent hbase system, and the keys between users are distinguished by a prefix, which is added by the system, and all subsequent Query, update, and delete operations can all carry this prefix, and this prefix will be removed when returning to the user, so the prefix is ​​agnostic to the user.

[0081] Such as image 3 Shown is an example diagram of the storage table structure for storing user data in the hbase system. There are two special tables in the hbase system, the root (root) table and the business dictionary (meta) table. There is only one root table, which can be relocated through the root table Go to the meta table, there ma...

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 embodiment of the invention provides a method and a device for deleting hbase (hadoop database) data in a Paas (platform as a service) system. The method comprises the following steps: receiving a data deleting instruction which is sent by a user and includes a key word range; determining storage areas where a starting key word and an ending key word of to-be-deleted user data are located; performing key word matching judgment on the user data stored in the storage areas of the starting key word and the ending key word based on the key word range, and deleting the user data matched with the key words; deleting the user data in a storage area between the storage area of the starting key word and the storage area of the ending key word. The method and the device have the advantages that data deletion can be achieved rapidly and efficiently, the processing speed of data deleting operation is high, and the processing time is short.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for deleting hbase data in a PaaS system. Background technique [0002] With the continuous development of the network, the method of providing services for users has changed from a software as a service (Software as a Service, SaaS) method to a platform as a service (Platform as a Service, PaaS) method. The Hadoop database (HBase) system can be used in the PaaS system. The Hbase system is a highly reliable, high-performance, column-oriented, and scalable distributed storage system. Using HBase technology, it can be used on a cheap personal computer server (PCServer). Build a large-scale structured storage cluster. [0003] If you want to delete data in the hbase system, you can only delete the data by calling the application programming interface (Application Programming Interface, API) of the Java language program development kit (Java Development K...

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 Patents(China)
IPC IPC(8): G06F16/22G06F16/215
CPCG06F16/162
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