Patent ID: 8762674

Claim:
A method for storing data by a processor device in a computing environment, comprising: identifying, from a plurality of available data segments, a data segment having an storage activity lower than a predetermined threshold as a colder data segment; determining if the data exists in the data segment to compress; locating a chunk of storage using a compression data segment bitmap to which the colder data segment is assigned; compressing the colder data segment; migrating the colder data segment to the chunk of storage; wherein a status of the chunk of storage is maintained in the compression data segment bitmap; updating the compression data segment bitmap with information representative of a logical and physical portion of the colder data segment; staging the colder data segment into cache; updating a volume segment table (VST) pointing to the colder data segment represented as a new virtual compressed data segment; and upon an input/output (I/O) operation directed to the colder data segment, performing each one of: allocating a non-compressed data segment, accessing a virtual extent data segment map to determine the physical portion of the data segment and chunks within the physical portion of the data segment representing the virtual compressed data segment and determining if additional chunks are to be accessed, and, if the additional chunks are to be accessed performing each one of: updating the VST to point to the non-compressed data segment, freeing each of the chunks, freeing the virtual compressed data segment and allowing the I/O operation.