Data storage method, device and electronic equipment
A data and data writing technology, applied in the computer field, can solve the problems of high latency of the storage engine, large read and write latency, and slow response of the transaction system
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] figure 2 It is a schematic flowchart of a data storage method provided by an embodiment of the present application.
[0035] like figure 2 As shown, the data storage method includes the following steps:
[0036] 101. Write data to be stored into a preset memory unit. This step can be done by figure 1 The storage device of the data in is carried out.
[0037] 102. Write the data in the preset memory unit into the page cache in an asynchronous manner with the operation of writing the data into the memory unit. This step can be done by figure 1 The storage device of the data in is carried out.
[0038] 103. Write the data in the page cache to the disk for persistent storage by means of asynchronous disk flushing. This step can be done by figure 1 The storage device of the data in is carried out.
[0039] In an embodiment of the present application, the data to be stored may include data generated by the aforementioned external call service. Exemplarily, when th...
Embodiment 2
[0051] The foregoing describes in detail the embodiments of the data storage method provided by the present application, and the data storage device for implementing the foregoing method will be described in detail below.
[0052] Figure 5 A schematic structural diagram of a data storage device provided in another embodiment of the present application.
[0053] like Figure 5 As shown, a data storage device may include a first writing module 51 , a second writing module 52 and a third writing module 53 . The first writing module 51 is used for writing the data to be stored into the preset memory unit, and the second writing module 52 is used for writing the preset memory unit in an asynchronous manner with the operation of writing data into the memory unit. The data in the page cache is written into the page cache, and the third writing module 53 is used to write the data in the page cache into the disk for persistent storage by asynchronous disk flushing.
[0054] In an e...
Embodiment 3
[0059] The internal functions and structures of the data storage device have been described above. In practice, the data storage device can be implemented as an electronic device. Image 6 A schematic structural diagram of an electronic device provided in another embodiment of the present application. like Image 6 As shown, the electronic device includes a memory 61 and a processor 62 .
[0060] The memory 61 is used to store programs. In addition to the above-mentioned programs, the memory 61 may also be configured to store other various data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phonebook data, messages, pictures, videos, etc.
[0061] Memory 61 can be realized by any type of volatile or nonvolatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


