Patent ID: 8566286

Claim:
A computer-implemented process comprising: executing, by a computer processor, at least two read threads to read a block of data from a database, each of the read threads having a first wait stat and a second wait stat, the read threads configured to compress data using a dynamic compression ratio; providing, by the computer processor, at least one buffer, the read threads to compress the block of data and then write the block of data to the buffer; executing, by the computer processor, at least one write thread to read the block of data from the buffer, the write thread to write the block of data to a backup file, the write thread having a wait stat; and executing, by the computer processor, a controller program to monitor the wait stat of the write thread and to monitor the wait stats of the read threads, the controller program to calculate a net error, the controller program to change a value of the dynamic compression ratio of the read threads based on a set-point, the controller program to determine the value of the dynamic compression ratio of the read threads using the net error as an input to a Proportional-Integral-Derivative feedback loop.