Abstract:
PURPOSE: A device and a method for the backup/recovery without processing a log on an MMDB(Main-Memory DataBase system) are provided to improve the performance of the entire system by directly copying a page to be updated to a shadow area of a main memory, editing the updated page and finally carrying out the backup for the updated page from the stable storage to a backup disk. CONSTITUTION: A data processor(21) carries out a transaction by using a shadow paging technique and performs the first backup transferring the pages changed by the present transaction to a backup buffer of the stable storage(24) from the shadow area according to the transaction result. A recovery processor(22) performs the second backup transferring the first backup pages to the backup disk(25) and recovers the pages listed up to a backup list by loading to the MMDB area when a system error is occurred. A main storage(23) stores the information for the MMDB area storing an original data of the database and the shadow area storing the contents changed by the present transaction. The stable storage stores the transaction pages processed by the data processor and the backup data to be transferred to the backup disk.
Abstract:
본 발명은 주기억장치 상주형 데이터베이스 시스템에서 로그 처리를 하지 않는 백업/회복 장치 및 그 방법에 관한 것으로, 주기억장치 상주형 데이터베이스 시스템을 위한 로그 처리를 하지 않는 대신, 주기억장치의 그림자 영역에 갱신되는 페이지를 직접 복사하여 수정하고 수정된 페이지를 안정기억장치로 1단계 백업을 실시한 후, 최종적으로 안정기억장치에서 백업디스크로 2단계 백업을 실시함으로써, 시스템 전체의 성능을 향상시킨 백업/회복 장치 및 그 방법을 제공하기 위하여, 주기억장치에서의 트랜잭션 수행 결과에 따라, 그림자 영역에서 현재 트랜잭션에 의해 변경된 페이지들을 안정기억장치의 백업 버퍼로 첫 번째 백업을 실시하는 제 1 단계; 상기 안정기억장치를 통해 백업 버퍼에서 백업 디스크로 두 번째 백업을 실시하는 제 2 단계; 및 시스템 오류 발생시 백업 리스트에 있는 페이지를 상기 주기억장치 상주형 데이터베이스로 적재하여 회복시키는 제 3 단계를 포함하며, 주기억장치 상주형 데이터베이스 시스템 등에 이용됨.