Access accelerator for active HBase database regions
AssigneeInternational Business Machines Corporation
InventorFrancis N. Parr
Life of this patent
Estimating the term…
Abstract
In a method for improving performance of a database, create, in a memory, an instance of a segment of data corresponding to a segment of data in a database on a persistent file system. The segment of data in the database on the persistent file system is expected to experience a high plurality of reads and writes during a certain time period. Receive a request to modify the segment of data in the database on the persistent file system. Modify the instance of the segment of data in the memory.
Claims20
A computer implemented method for improving performance of a database, the method comprising:
- creating, in a volatile memory, an instance of a segment of data corresponding to a segment of data in a key-value database on a persistent file system that is distributed among multiple computing systems, wherein the segment of data in the key-value database on the persistent file system is (i) only a portion of a data stored in the key-value database on the persistent file system and (ii) is included in a set of data segments that are predicted to experience at least a plurality of reads and writes above a threshold during a certain time period;
- during the certain time period, responsive to receiving a request to modify the segment of data in the key-value database on the persistent file system, generating a modified segment of data by updating, by one or more processors, a content of the instance of the segment of data in the volatile memory based, at least in part, on the request;
- and
- responsive to both of (i) a time period elapsing during the certain time period and (ii) a creation, in the volatile memory, and during the certain time period, of a new instance of the segment of data corresponding to the segment of data, updating the segment of data in the key-value database on the persistent file system based on the modified segment of data.
A computer program product for improving performance of a database, computer program product comprising:
- one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising:
- program instructions to create, in a volatile memory, an instance of a segment of data corresponding to a segment of data in a key-value database on a persistent file system that is distributed among multiple computing systems, wherein the segment of data in the key-value database on the persistent file system is (i) only a portion of a data stored in the key-value database on the persistent file system and (ii) is included in a set of data segments that are predicted to experience at least a plurality of reads and writes above a threshold during a certain time period;
- program instructions to respond to reception of a request to modify the segment of data in the key-value database on the persistent file system during the certain time period, by generating a modified segment of data by updating a content of the instance of the segment of data in the volatile memory based, at least in part, on the request;
- and
- program instructions to respond to both of (i) a time period elapsing during the certain time period and (ii) a creation, in the volatile memory and during the certain time period, of a new instance of the segment of data corresponding to the segment of data, by updating the segment of data in the key-value database on the persistent file system based on the modified segment of data.
A system for improving performance of a database, computer program product comprising:
- one or more computer processors, one or more computer readable storage media, and program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising:
- program instructions to create, in a volatile memory, an instance of a segment of data corresponding to a segment of data in a key-value database on a persistent file system that is distributed among multiple computing systems, wherein the segment of data in the key-value database on the persistent file system is (i) only a portion of a data stored in the key-value database on the persistent file system and (ii) is included in a set of data segments that are predicted to experience at least a plurality of reads and writes above a threshold during a certain time period;
- program instructions to respond to reception of a request to modify the segment of data in the key-value database on the persistent file system during the certain time period, by generating a modified segment of data by updating a content of the instance of the segment of data in the volatile memory based, at least in part, on the request;
- and
- program instructions to respond to both of (i) a time period elapsing during the certain time period and (ii) a creation, in the volatile memory and during the certain time period, of a new instance of the segment of data corresponding to the segment of data, by updating the segment of data in the key-value database on the persistent file system based on the modified segment of data.
Dependencies are inferred from the claim text.