USING BUFFER TO FACILITATE LOG CATCHUP FOR ONLINE OPERATIONS

    公开(公告)号:CA2426606A1

    公开(公告)日:2004-10-25

    申请号:CA2426606

    申请日:2003-04-25

    Applicant: IBM CANADA

    Abstract: The present invention is directed to using a memory buffer to facilitate log catchup for online operations. Some designated areas of memory are allocated for one or more buffers for use during online operations (e.g. reorganization, create index, etc.). Concurrent update activities to the target object write informational records into the one or more buffer s. If the buffers become full, the informational records may be written to logs for persistent storage. After online operations finish building all or a suitable portion of the shadow object, l og catchup is performed by first applying activities in the informational records from the buffer an d thereafter applying activities from logs, if necessary. The invention helps solve the drawbacks of log catchup since the buffer contains only the information related to the target shadow object . Also it does not involve physical I/Os, as these records are all in memory.

    DISCRIMINATORY REPLAY OF LOG FILES DURING TABLE SPACE RECOVERY IN A DATABASE MANAGEMENT SYSTEM

    公开(公告)号:CA2419883A1

    公开(公告)日:2004-08-26

    申请号:CA2419883

    申请日:2003-02-26

    Applicant: IBM CANADA

    Abstract: A system and method for selectively processing log files for enhancing performance of table space recovery by processing only those log files required, as well as choosing which log file to process during recovery for both redo and rollback phases of recover y. The system and method skips the processing of log files that do not contain records of interest for the table space being recovered and determines whether a log file contains anything that nee ds to be played, in particular for the recovery of a subsystem in the database, such as a table space. Pre processing of the log files is not done, rather including tablespace ID correlated with log file ID information is collected while the log files are created. The cross-correlated informati on is used during tablespace recovery to selectively determine which of the log files to process. Some log files may be skipped in cases where not all of the database system is being recovered. A sub set of the database can be recovered, such as a tablespace, and which log files to process is determined based on lock intent.

Patent Agency Ranking