Method and device for screening cold data, computer equipment and storage medium

A storage medium, cold data technology, applied in the field of data screening, can solve the problems of a small proportion of cold data and invalid data, a lot of invalid data, and the existence of hot and cold data at the same time.

A storage medium, cold data technology, applied in the field of data screening, can solve the problems of a small proportion of cold data and invalid data, a lot of invalid data, and the existence of hot and cold data at the same time.

CN108920107AActive Publication Date: 2018-11-30SHENZHEN YILIAN INFORMATION SYST CO LTD

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for screening cold data, computer equipment and storage medium
  • Method and device for screening cold data, computer equipment and storage medium
  • Method and device for screening cold data, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to fully understand the technical content of the present invention, the technical solutions of the present invention will be further introduced and illustrated below in conjunction with specific examples, but not limited thereto.

[0051] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0052] It should also be understood that the terminology used in the specification of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this specification and the appended claims, the singular forms "a", "an" and "the" are intended to include plural referents unless 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 relates to a method and device for screening cold data, computer equipment and a storage medium. The method comprises the following steps: recording the migration times of data in an element area of a page in which the data are positioned; judging whether the migration times are larger than or equal to a threshold value or not; if so, marking the data in the page in which the migration times are larger than or equal to the threshold value as cold data. According to the method, the page is taken as a unit, the data migration times of the page are recorded in the element area of the page and compared with the threshold value, and all data in the page are marked as the cold data and stored in a cold data block when the data migration times are up to or exceeds the threshold value, so that only cold data are contained in a block after last cold data precipitate, a relatively small amount of invalid data is contained, the performance of a solid state disk is improved, and theservice life is ensured.

Description

technical field [0001] The present invention relates to a method for screening data, and more specifically refers to a method, device, computer equipment and storage medium for screening cold data. Background technique [0002] In the solid-state hard disk, it is necessary to distinguish the data written on the flash memory (NAND) into cold data and hot data. Among them, the data that is not used for a long time after writing is called cold data, and the data that is often used It is called hot data; reasonably distinguishing cold data will have a positive impact on the performance and lifespan of SSDs. [0003] Currently, if figure 1 As shown, the data is screened by identifying the blocks according to the writing time. When each block is written, it will be assigned a time-sensitive identifier. This identifier is strictly incremental and is generally stored with an integer. , in the process of continuously writing data to the block, the number of blocks carrying valid 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
30 Nov 2018
Publication
CN108920107A
IPC
G06F3/06
CPC
G06F3/061; G06F3/0616; G06F3/0649; G06F3/0679
Inventors
杨学森