Unlock instant, AI-driven research and patent intelligence for your innovation.

Table deleting method and device

A technology for deleting tables and table deletions, which is applied in the computer field, can solve the problems of wasting labor costs and time costs, and achieve the effect of solving labor costs and time costs, and automatic and efficient processing

Pending Publication Date: 2020-12-29
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The operation of deleting the table realizes automatic and efficient processing, which solves the problem of wasting a lot of labor cost and time cost in the prior art

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
  • Table deleting method and device
  • Table deleting method and device
  • Table deleting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0035] figure 1 is a schematic diagram of the main flow of the method for deleting a table according to an embodiment of the present invention, such as figure 1 As shown, the method for deleting a table in the embodiment of the present invention mainly includes:

[0036] Step S101: Obtain the partition information set of the table to be deleted according to the received ...

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 table deleting method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of obtaining a partition information set of a to-be-deleted table according to a received table deletion request, wherein the partition information set comprises identification information of all partitions of the to-be-deleted table;sending the partition information set to a message queue; processing the messages in the message queue, and finishing deletion operation on all partitions of the to-be-deleted table, wherein for eachprocessed message in the message queue, the message is analyzed to obtain the identification information of the corresponding to-be-deleted partition, and deletion operation is executed according to the identification information of the to-be-deleted partition. According to the method, the operation of deleting the table partition is automatically executed by processing the message in the messagequeue, the operation of deleting the table is automatically and efficiently processed, and the problem that a large amount of labor cost and time cost are wasted in the prior art is solved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for deleting a table. Background technique [0002] With the development of business, there are more and more table data. But among more and more tables, due to business reasons or having no value, the number of tables that need to be deleted is also very large. For example, the corresponding underlying data has been archived but the metadata has not been deleted. These tables that need to be deleted are basically external partition tables. When the table is deleted, once the internal table is deleted, the corresponding metadata and folders and files in hdfs will be deleted. External tables only delete metadata, and the corresponding folders and files in hdfs will not be deleted. [0003] And in practical applications, due to business reasons, when designing many tables, the design partitions are more complicated and there are many directories, even tens ...

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/22G06F9/54
CPCG06F9/546G06F2209/548G06F16/2282
Inventor 方伟马千里梁琦
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH 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