×

Method and apparatus for data preheating

  • US 9,569,489 B2
  • Filed: 05/15/2014
  • Issued: 02/14/2017
  • Est. Priority Date: 11/18/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method for data preheating, the method comprising:

  • reading, separately, hit ratio information and user configuration information when a database is started, wherein the hit ratio information comprises a hot data table, and the user configuration information comprises a preset hot data table, storage proportions of a to-be-loaded hot data block stored into a shared buffer and a flash memory device, a capacity of the shared buffer, a storage capability of the flash memory device, and a deviation value of the total number of the to-be-loaded hot data blocks;

    obtaining a union set of the preset hot data table in the user configuration information and the hot data table in the hit ratio information;

    determining the total number of the to-be-loaded hot data blocks from the union set according to the storage proportions, the capacity of the shared buffer, a capacity of the flash memory device, a size of the hot data block, and the deviation value;

    determining, according to the storage proportions, the to-be-loaded hot data block to be stored into the shared buffer and the flash memory device; and

    storing, separately, the to-be-loaded hot data block into the shared buffer and the flash memory device.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×