摘要 |
<p>A database compression system includes a compression plug-in that allows a database to be compressed using multiple compression algorithms. As well, implementations of the present invention allow inter-row compression to be used with fixed-page sizes in a page-based database. For example, the compression plug-in interrow decompresses a requested page from sub-storage, and allocates a page buffer that corresponds at least to the size of the page data when inter-row decompressed. The compression plug-in then adds data to the page buffer using intra-row compression, such as gamma compression. When the page data is no longer needed, the compression plugin compresses the page data using inter-row compression, and passes the compressed page data from the page buffer to the corresponding page, which is fixed in size, in substorage.</p> |