Method, medium and device for optimizing data read and write performance

A technology of data reading and writing and optimization methods, applied in the computer field, can solve the problems of slow data reading and writing speed and poor performance, and achieve the effects of ensuring persistence, reducing the amount of fragmentation, and improving speed

Active Publication Date: 2021-09-07
SHENZHEN AUDAQUE DATA TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, in the prior art, the data reading and writing speed is slow and the performance is poor

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, medium and device for optimizing data read and write performance

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0030] Please refer to figure 1 , figure 1 It is a flow chart of a method for optimizing data read and write performance provided by a specific embodiment of the present invention. The method for optimizing data read and write performance provided in this embodiment includes:

[0031] Step S101: Obtain a write request for new data.

[0032] Step S102: According to the write request, use the IO scheduler to write data in the corresponding storage device based on the preset tertiary storage system; the tertiary storage system includes: a primary storage device, a secondary storage device and a tertiary storage device; the primary storage device is an external memory; the secondary storage device is a non-volatile memory; and the tertiary storage device is a memory.

[0033] Step S103: Integrate the data stored in the primary storage device and the secondary storage device in the tertiary storage system.

[0034] The present invention writes data into different storage layers ...

no. 2 example

[0072] In the first embodiment above, a method for optimizing data read and write performance is provided. In combination with the first embodiment above, the second embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by the processor, the method for optimizing data read and write performance provided by the above-mentioned first embodiment is implemented.

no. 3 example

[0074] In combination with the method for optimizing data read and write performance provided in the first embodiment, the present invention also provides a device for optimizing data read and write performance, including: a memory, a processor, and a device stored in the memory and operable on the processor. A computer program, when the processor executes the program, implements the method for optimizing data read and write performance provided by the first embodiment above.

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 read and write performance optimization method, medium and equipment. The method includes: obtaining a write request for new data; according to the write request, using an IO scheduler to write data in a corresponding storage device based on a preset three-level storage system; the three-level storage system, Including: a primary storage device, a secondary storage device and a tertiary storage device; the primary storage device is an external memory; the secondary storage device is a non-volatile memory; the tertiary storage device is a memory; The data stored in the primary storage device and the secondary storage device in the above-mentioned tertiary storage system are integrated. Compared with writing to external storage and internal memory in the prior art, it can not only increase the speed of data reading and writing, but also ensure the persistence of data, thereby optimizing the performance of data reading and writing; and can reduce the amount of fragmentation in primary storage devices , thereby improving data read and write performance.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data read and write performance optimization method, medium and equipment. Background technique [0002] In the prior art, data write operations usually follow a write-through strategy and are directly written to permanent storage to ensure data persistence. In typical application scenarios, such as online shopping, the checkout information submitted by users needs to be quickly saved to the transaction database. The write operations caused by such transactions may be less than 1KB, while the typical database page size is 8KB. As another example, the update and modification of metadata by the database only involves writing a small amount of data, which needs to be stored on a persistent device immediately. The processing of data write requests spans multiple levels, including from bottom to top: block device manager, IO scheduler, file system and database management system. ...

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): G06F3/06
CPCG06F2003/0697G06F3/0611G06F3/0685
Inventor 于文渊周光毅贾西贝
Owner SHENZHEN AUDAQUE DATA TECH
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