Compact processing speed adjusting method and device, electronic equipment and medium

A technology of processing speed and electronic equipment, which is applied in the storage field, can solve problems such as blocking, affecting customer service perception, and inability to adapt to various user service scenarios, so as to ensure normal reading and writing.

Active Publication Date: 2021-03-09
NEW H3C TECH CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the file size of each layer has a maximum limit, if the efficiency of the compact operation is too low and the file size grows too fast, it will cause the file size to reach the maximum threshold and cannot continue to write, resulting in blocking, which will result in the inability to accept any write access
[0004] The current processing flow of the compact operation is to use a fixed compact processing speed (fixed disk IO size) to read and write files, resulting in a compact processing speed that cannot adapt to various user business scenarios, resulting in affecting customer business perception or affecting the normality of user business deal with

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
  • Compact processing speed adjusting method and device, electronic equipment and medium
  • Compact processing speed adjusting method and device, electronic equipment and medium
  • Compact processing speed adjusting method and device, electronic equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application.

[0027] The terminology used in this application is for the purpose of describing particular embodiments only, and is not intended to limit the application. As used in this application, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as used herein refers to and includes any and al...

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 compact processing speed adjusting method and device, electronic equipment and a medium, the method is applied to the electronic equipment of a management database, and the method comprises the following steps: recording the starting time of a current compact operation when the current combined compact operation is started to be executed, and obtaining the execution condition of a previous compact operation; determining the file size of a file generated by the current user service on the current layer of the database; and adjusting the compact processing speed based onthe start time, the execution condition of the previous compact operation and the file size of the file generated by the current layer, the adjustment of the compact processing speed being realized by adjusting the size of the single read/write data of disk IO. Therefore, the compact processing speed can be adaptively adjusted to ensure normal reading and writing of the disk and avoid influence on user services.

Description

technical field [0001] The present application relates to the field of storage technology, and in particular to a method, device, electronic device and medium for adjusting a compact processing speed. Background technique [0002] The K-V database provides data storage services for K-V format entry entries, and supports operations such as insertion, query, modification, and deletion of the K-V database. When K-V data is archived and stored permanently, the data will be organized in an orderly manner and written to disk in the form of files. With the continuous writing of new data, the file size continues to increase, resulting in significantly longer processing time for data to be solidified to the disk in an orderly manner, which has a greater impact on performance; based on this, a type of K-V database (such as leveldb, rocksdb) proposes Hierarchical organization of disk files is used to control the size of archive files. Each layer sets a threshold of data size that can ...

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): G06F3/06G06F16/16
CPCG06F3/0611G06F3/0643G06F3/0676G06F16/16Y02D10/00
Inventor 余思明
Owner NEW H3C 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