摘要:
Disclosed herein is a recovery method in a storage system that integrates shadow page and deferred update techniques. In our invention, for update operations that occur during a transaction, update of a page in the buffer is not immediately reflected to the database, but is deferred until the transaction is committed. Instead, we store the updated buffer page in the log volume in the unit of a page. When reading a page that does not exist in the buffer from the disk, we read the up-to-date page from the database or from the log volume. Here, the log table index is used to determine whether the up-to-date page exists in the database or in the log volume and to identify the position of the page stored in the log volume if the up-to-date page exists in the log volume. The proposed invention has the following excellent advantages. It is simple and efficient because the deferred update file does not have to be additionally accessed for correct query processing. Besides, there is no performance degradation because the position of an updated page in the database is not changed, and thus, the original clustering of logically related data is preserved.
摘要:
In one aspect of the invention, there is disclosed a recovery method in a storage system that integrates shadow page and deferred update techniques. Updates of a page in the buffer are not immediately reflected to the database, but are deferred until the transaction is committed. Instead, the updated buffer page is stored in the log volume in the unit of a page. When reading a page that does not exist in the buffer from the disk, the up-to-date page from the database or from the log volume is read. Then the log table index is used to determine whether the up-to-date page exists in the database or in the log volume and to identify the position of the page stored in the log volume if the up-to-date page exists in the log volume.