Data preheating method and device
A preheating device and data technology, applied in the database field, can solve problems affecting the performance of the database system, busyness, and reduced response efficiency of the database system, and achieve the effects of improving overall performance, slowing down frequent IO, and improving response speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] A data preheating method provided by an embodiment of the present invention, such as figure 1 shown, including:
[0032] 101. When the database is started, fetch the hit rate information and read the user configuration information respectively, wherein the hit rate information includes: a hotspot data table, and the user configuration information includes: a preset hotspot data table, and the hotspot data block to be loaded The storage ratio stored in the shared buffer and the flash device, the size of the shared buffer, the storage capacity of the flash device, and the deviation value of the total number of hot data blocks to be loaded;
[0033] 102. Obtain a union of a preset hotspot data table in the user configuration information and a hotspot data table in the hit rate information;
[0034] 103. Determine the total number of hot data blocks to be loaded from the union according to the storage ratio, the size of the shared buffer, the size of the flash memory devic...
Embodiment 2
[0078] A data preheating device 40 provided by an embodiment of the present invention, such as Figure 4 As shown, it includes a reading unit 401 , an acquiring unit 402 , a first processing unit 403 , a second processing unit 404 and a storage unit 405 .
[0079] Wherein, the reading unit 401 is used to fetch hit rate information and read user configuration information respectively when the database is started, wherein the hit rate information includes: a hotspot data table, and the user configuration information includes: a preset hotspot data table , store the hot data blocks to be loaded in the shared buffer and the storage ratio of the flash device, the size of the shared buffer, the storage capacity of the flash device, and the deviation value of the total number of hot data blocks to be loaded;
[0080] An acquisition unit 402, configured to acquire a union of a preset hotspot data table in the user configuration information and a hotspot data table in the hit rate info...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 