Active memory expansion in a database environment to query needed/uneeded results
AssigneeInternational Business Machines Corporation
InventorsEric L. Barsness, Paul S. Nelsestuen, John M. Santosuosso
Life of this patent
Estimating the term…
Abstract
Techniques are described for estimating and managing memory compression for request processing. Embodiments of the invention may generally include receiving a request for data, determining if the requested data contains any compressed data, and sending the requesting entity only the uncompressed data. A separate embodiment generally includes receiving a request for data, determining if the requested data contains any compressed data, gathering uncompression criteria about the requested data, and using the uncompression criteria to selectively determine what portion of the compressed data to uncompress.
Claims15
A computer program product for managing data in memory, the computer program product comprising:
- a computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code comprising:
- computer-readable program code configured to:
- receive a request specifying data to be returned;
- retrieve the data specified in the request from a memory location wherein the specified data includes compressed data and first uncompressed data;
- identify a requesting entity ID that transmitted the request;
- upon determining that at least a portion of data specified in the request consists of compressed data, determine at least a portion of the compressed data to uncompress by comparing the requesting entity ID with a performance condition associated with the memory location;
- uncompress the portion of the compressed data to create second uncompressed data and a remaining compressed portion of the compressed data;
- and
- transmit a result set responsive to the request, the result set including first uncompressed data and second uncompressed data and excluding the remaining compressed portion.
A system, comprising:
- a computer processor;
- and
- a memory containing a program that, when executed on the computer processor, performs an operation for managing data in memory, comprising:
- receiving a request specifying data to be returned;
- retrieving, by operation of one or more computer processors, the data specified in the request from a memory location wherein the specified data includes compressed data and first uncompressed data;
- identifying a requesting entity ID that transmitted the request;
- upon determining that at least a portion of data specified in the request consists of compressed data, determining at least a portion of the compressed data to uncompress by comparing the requesting entity ID with a performance condition associated with the memory location;
- uncompressing the portion of the compressed data to create second uncompressed data and a remaining compressed portion of the compressed data;
- and
- transmitting a result set responsive to the request, the result set including first uncompressed data and second uncompressed data and excluding the remaining compressed portion.
Dependencies are inferred from the claim text.