Method and apparatus for database update/recovery
AssigneeHitachi, Ltd.
InventorsToru Nishigaki, Sadasaburo Kanai, Kazuaki Masamoto
Life of this patent
Estimating the term…
Loading patent…
AssigneeHitachi, Ltd.
InventorsToru Nishigaki, Sadasaburo Kanai, Kazuaki Masamoto
Estimating the term…
There are provided a backup version page table in a storage for providing a correspondence between the pages of a database and the slots in a database storage medium in which the contents of pages to be recovered, if necessary, are stored; a current version page table for providing a correspondence between pages updated by a transaction and slots in the database storage medium wherein the updated contents of the pages are stored; and a journal file for recording various system journals; wherein the updated page contents are stored in the database stored medium at the slots not-used at that time and found with reference to the backup version page table and the current version page table. According to an aspect of another embodiment, there are provided a database constructed of a plurality of sub-areas; a differential file for each sub-area, and a backup file for each sub-area for copying the contents of each sub-area; wherein if the information in a certain sub-area of said database is updated, the updated information is stored in the differential file for the sub-area, and information is recovered using the backup file and the differential file for the certain sub-area.
A method for updating contents of a database in a system in which said database is constructed of pages which are logical storage locations of data, said system including a current version page table for providing information indicating a correspondence between pages currently updated by a transaction and slots which are physical storage locations of data in the database storage medium wherein currently updated contents of the pages are stored, a backup version page table for providing information indicating a correspondence between the pages of said database and slots forming physical storage locations of data in a database storage medium in which the contents of pages to be recovered are stored and for storing therein a copy of the contents of said current version page table at a checkpoint and a journal file for storing a journal record, comprising the steps of:
A method for updating contents of a database in a system in which said database is constructed of pages which are logical storage locations of data, said system including a current version page table for providing information indicating a correspondence between pages currently updated by a transaction and slots which are physical storage locations of data in the database storage medium wherein currently updated contents of the pages are stored, a backup version page table for providing information indicating a correspondence between the pages of said database and slots forming physical storage locations of data in a database storage medium in which the contents of pages to be recovered are stored and for storing therein a copy of the contents of said current version page table at a checkpoint and a journal file for storing a journal record, comprising the steps of:
A method according to claim , wherein at a time of recovery of said current version page table when a system failure occurs, by using the journal record in said journal file representative of the updated contents of said current version page table associated with the database update by a transaction and the latest effectively updated backup version page table among said plurality of backup version page tables in said non-volatile storage medium, said current version page table is recovered such that only the change of said current version page table associated with the database updates by the complete transactions is restored.
A method for updating contents of a database in a system in which said database is constructed of pages which are logical storage locations of data, said system including a current version page table for providing information indicating a correspondence between pages currently updated by a transaction and slots which are physical storage locations of data in the database storage medium wherein currently updated contents of the pages are stored, a backup version page table for providing information indicating a correspondence between the pages of said database and slots forming physical storage locations of data in a database storage medium in which the contents of pages to be recovered are stored and for storing therein a copy of the contents of said current version page table at a checkpoint and a journal file for storing a journal record, comprising the steps of:
A method for updating contents of a database in a system in which said database is constructed of pages which are logical storage locations of data, said system including a current version page table for providing information indicating a correspondence between pages currently updated by a transaction and slots which are physical storage locations of data in the database storage medium wherein currently updated contents of the pages are stored, a backup version page table for providing information indicating a correspondence between the pages of said database and slots forming physical storage locations of data in a database storage medium in which the contents of pages to be recovered are stored and for storing therein a copy of the contents of said current version page table at a checkpoint and a journal file for storing a journal record comprising the steps of:
A method for updating contents of a database in a system in which said database is constructed of pages which are logical storage locations of data, said system including a current version page table for providing information indicating a correspondence between pages currently updated by a transaction and slots which are physical storage locations of data in the database storage medium wherein currently updated contents of the pages are stored, a backup version page table for providing information indicating a correspondence between the pages of said database and slots forming physical storage locations of data in a database storage medium in which the contents of pages to be recovered are stored and for storing therein a copy of the contents of said current version page table at a checkpoint and a journal file for storing a journal record comprising the steps of:
A method for updating contents of a database in a system in which said database is constructed of pages which are logical storage locations of data, said system including a current version page table for providing information indicating a correspondence between pages currently updated by a transaction and slots which are physical storage locations of data in the database storage medium wherein currently updated contents of the pages are stored, a backup version page table for providing information indicating a correspondence between the pages of said database and slots forming physical storage locations of data in a database storage medium in which the contents of pages to be recovered are stored and for storing therein a copy of the contents of said current version page table at a checkpoint and a journal file for storing a journal record comprising the steps of:
Dependencies are inferred from the claim text.