Data management method and device

A data management and data technology, which is applied in the field of computer systems, can solve problems such as judging and deleting unsuitable garbage data, and achieve the effects of friendly hardware life, improving equipment life, and protecting hardware

Active Publication Date: 2014-05-07
ZHEJIANG TMALL TECH CO LTD
View PDF7 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] This mechanism is only suitable for the situation where each unit stores multiple data versions, and is not suitable for other scenarios where garbage data is judged and deleted according to rules and conditions

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
  • Data management method and device
  • Data management method and device
  • Data management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0047] An embodiment of the present invention provides a data management method, including:

[0048]When the defragmentation condition is met, it is judged whether the data in the storage space or the database to be sorted meets the preset garbage data rule, and if so, deletes the data that meets the garbage data rule, and recycles the garbage data that meets the garbage data rule The physical storage space occupied by rule data.

[0049] Wherein, the method also includes:

[0050] When a data read request is received, it is judged whether the requested data satisfies the j...

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 provides a data management method. The data management method comprises the steps that when a fragment organizing condition is met, whether data to be organized in a memory space or in a database meet a preset junk data rule is judged, the data meeting the junk data rule are deleted if the data meeting the junk data rule, and the physical memory space occupied by the data meeting the junk data rule is recovered. The invention further provides a data management device. The data management method has the advantages that the maintenance cost of a system can be reduced, and the efficiency of the system is improved.

Description

technical field [0001] The invention relates to a computer system, in particular to a data management method and device. Background technique [0002] There are often and constantly generated garbage data in the storage system, such as data that needs to be deleted or expired data. Frequently delete these junk data to ensure the normal operation of the storage system. Commonly used solutions are: [0003] 1) Trigger + defragmentation of relational databases: triggers are usually performed before or after database modification operations (insert / update / delete, insert / update / delete, etc.) or database startup and shutdown, and logic judgment deletion can be performed in triggers become garbage data. After the delete operation is executed, the junk data is no longer visible to the user, and the storage space occupied by them will be reclaimed the next time the database runs defragmentation. [0004] This solution has the following disadvantages: [0005] Triggers can usuall...

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): G06F12/02G06F17/30
Inventor 阳振坤孙志东庄明强黄贵沈金堤
Owner ZHEJIANG TMALL TECH CO LTD
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