Method and system for compressing a data stream in a database log so as to permit recovery of only selected portions of the data stream
First Claim
Patent Images
1. A method of compressing a data stream so as to permit decompression recovery of only selected portions of the data stream, comprising the steps of:
- establishing an initial compression dictionary consisting of initial data in said data stream;
compressing the data stream according to a moving window dictionary starting with said initial compression dictionary by inserting into the data stream the location and length of any exact matches with data sequences in said moving window dictionary;
establishing seek points to identify the start of data blocks in the data stream set for selective recovery decompression;
using said initial dictionary for compression starting at each seek point so that a selected one of said data blocks can be recovered by decompression starting at a seek point and using said initial compression dictionary.
5 Assignments
0 Petitions
Accused Products
Abstract
The invention relates to a system for maintaining a log of incoming records for a database system. Seek points are inserted into the compressed data log in a manner that allows recovery to start from a specified point without a need for decompressing earlier portions of the log. The initial block of data is used as the compression dictionary. A new compression sequence using the same initial compression dictionary is started at each seek point.
97 Citations
5 Claims
-
1. A method of compressing a data stream so as to permit decompression recovery of only selected portions of the data stream, comprising the steps of:
-
establishing an initial compression dictionary consisting of initial data in said data stream; compressing the data stream according to a moving window dictionary starting with said initial compression dictionary by inserting into the data stream the location and length of any exact matches with data sequences in said moving window dictionary; establishing seek points to identify the start of data blocks in the data stream set for selective recovery decompression; using said initial dictionary for compression starting at each seek point so that a selected one of said data blocks can be recovered by decompression starting at a seek point and using said initial compression dictionary.
-
-
2. A method for incremental compression of data blocks in a data stream, comprising the steps of:
-
establishing data blocks in the data stream for selected recovery with a seek point identifying the start of each of said data blocks; establishing an initial dictionary consisting of initial data in the data stream; compressing each data block according to a moving window dictionary starting with said initial dictionary; and decompression recovery of selected data blocks starting at one of said seek points and using said initial dictionary.
-
-
3. A database system comprising:
-
means for receiving incoming data for storage in records of the database; means for compressing said incoming data as received to provide compressed data; and means for storing said compressed data on a non-viable medium to provide a journal for said incoming data prior to processing said incoming data in the database system; whereby, in the event of a power failure or service interruption, selected portions of said incoming data can be recovered by reading from said medium and decompressing selected portions of said stored compressed data. - View Dependent Claims (4, 5)
-
Specification