Cache management method and device
A cache management and caching technology, which is applied in the computer field, can solve problems such as reducing query access speed, achieve the effect of improving query speed, high query efficiency, and reducing cache space requirements
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2016-02-24
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The present application relates to the field of computers, in particular to a cache management technology. Background technique
[0002] With the development of the Internet, various computing engines and application systems have put forward higher requirements for data management, hoping to access more data and increase the speed of accessing data.
[0003] Currently, the schemes adopted in this field are:
[0004] One is the full memory hash index technology. In this solution, all data is cached in memory, so the amount of hash index data is limited by the memory size, and the index of massive data cannot be realized.
[0005] The other is the disk hash index technology. In this scheme, all the data is stored on the disk. Although a small part of the data and its hash key are cached in memory, most queries require disk IO read operations during index query, which greatly reduces the query access cost. speed. Contents of the invention
[0006] ...
Examples
Embodiment Construction
[0022] The application will be described in further detail below in conjunction with the accompanying drawings.
[0023] In a typical configuration of the present application, the terminal, the device serving the network and the trusted party all include one or more processors (CPUs), input / output interfaces, network interfaces and memory.
[0024] Memory may include non-permanent storage in computer-readable media, in the form of random access memory (RAM) and / or nonvolatile memory, such as read-only memory (ROM) or flash memory (flashRAM). Memory is an example of computer readable media.
[0025] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can be implemented by any method or technology for storage of information. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), sta...