Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for optimizing data reading and writing performance, and medium

A data reading and writing, performance technology, applied in the computer field, can solve the problems of poor performance, slow data reading and writing speed, etc.

Active Publication Date: 2018-12-04
SHENZHEN AUDAQUE DATA TECH
View PDF5 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 and device for optimizing data reading and writing performance, and medium

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 on 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 method and a device for optimizing data reading and writing performance, and a medium. The method comprises: obtaining a write request of 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 comprising a first-level storage device, a second-level storage device and a third-level storage device; the first-level storage device being an external storage; the second-level storage device being a non-volatile memory; the three-level storagedevice being a memory; integrating data stored in the first-level storage device and the second-level storage device in the three-level storage system. Compared with writing-in into an external memoryand the memory in the prior art, the method and the device can improve speed of data reading and writing, and also can ensure persistence of the data, thereby optimizing data reading and writing performance, and reducing the amount of fragments in the first-level storage device, so as to improve the data reading and writing 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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products