Method of removing unneeded data from DB2 logs and other data sets having displacement-dependent data
First Claim
Patent Images
1. A method of compressing DB2 log data set in a computer system, said DB2 log data set including data recovery data identified by its respective position within said log data set and having a data set name, comprising:
- (a) copying data from said data set into temporary storage, referred to as a working copy;
(b) overwriting a portion of said working copy that is not needed for data recovery, referred to as removable data, with a sequence of binary zeros;
(c) writing data in said working copy in a loss-less, compressed form to a physical data set, referred to as a compressed data set;
(d) if all of said data recovery data has not been written to said compressed data set, then repeating steps (a) through (c); and
(e) uncataloging said DB2 log data set;
(f) renaming said compressed data set with said data set name; and
(g) deleting said DB2 log data set.
9 Assignments
0 Petitions
Accused Products
Abstract
In a data set containing displacement-dependent data (e.g., data identified by relative byte address), such as a DB2 log data set, data that is determined to be unneeded or otherwise removable is overwritten with a compressible binary pattern such as a sequence of binary zeros. The resulting substitute data set can be compressed to occupy less storage space and require less time for data recovery.
21 Citations
6 Claims
-
1. A method of compressing DB2 log data set in a computer system, said DB2 log data set including data recovery data identified by its respective position within said log data set and having a data set name, comprising:
-
(a) copying data from said data set into temporary storage, referred to as a working copy; (b) overwriting a portion of said working copy that is not needed for data recovery, referred to as removable data, with a sequence of binary zeros; (c) writing data in said working copy in a loss-less, compressed form to a physical data set, referred to as a compressed data set; (d) if all of said data recovery data has not been written to said compressed data set, then repeating steps (a) through (c); and (e) uncataloging said DB2 log data set; (f) renaming said compressed data set with said data set name; and (g) deleting said DB2 log data set. - View Dependent Claims (5, 6)
-
-
2. A method of compressing a DB2 log data set in a computer system, said DB2 log data set including data recovery data identified by its respective position within said log data set, comprising:
-
(a) copying data from said data set into temporary storage, referred to as a working copy; (b) overwriting a portion of said working copy that is not needed for data recovery, referred to as removable data, with a compressible binary pattern; (c) writing data in said working copy in a loss-less compressed form to a physical data set, referred to as a compressed data set; (d) if all of said data recovery data has not been written to said compressed data set, then repeating steps (a) through (c); and (e) substituting said compressed data set for said DB2 log data set. - View Dependent Claims (3)
-
-
4. An improved method of storing data in a computer system in a data set in which data items in said data set are identified by their respective position within said data set, said method comprising:
-
(a) reading said data set into a buffer; (b) overwriting a removable portion of data in said buffer, referred to as removable data, with a compressible binary pattern; (c) writing the data in said buffer to a physical data set, referred, to as a substitute data set; and (d) substituting said substitute data set for said data set; wherein writing data in said buffer to a physical data set includes loss-less compression of said data.
-
Specification