Patent US5724581A successfully refreshed from Google Patents.
US5724581A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Data base management system for recovering from an abnormal condition
Assignee: Fujitsu Ltd
•
Filing: 1994-12-14
•
Granted: 1998-03-03
•
Expires: 2014-12-14
Abstract
Abstract In a data base management system, a checkpoint is recorded at appropriate intervals by recording a checkpoint during the process of a transaction and during the update of a logical page by providing a page table management table for managing a page table by a shadow page method. The page table also manages by the shadow page method a physical page corresponding to each logical page of a data base.
Inventors
- 👤 Fumihiko Kozakura
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-10-30 07:04
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/07; G06F11/14; G06F11/1446; G06F11/1448; G06F2201/00; G06F2201/80; Y; Y10; Y10S; Y10S707/00; Y10S707/99931; Y10S707/99938; Y10S707/99951; Y10S707/99952; Y10S707/99953
Claims Analysis
Total Claims: 24
Claim 1
Independent Claim
455 words
A data base management system comprising: a secondary storage unit having data base storing means for storing data divided into physical pages, each physical page corresponding one-to-one to a logical page; a current page table for managing position information about a latest physical page storing latest updated data and a shadow physical page storing the data before a latest update in each of the logical pages; a current page table management table for pointing to a shadow page table which is a copy of the current page table at a checkpoint, and a latest page table which is the current page table as updated after the checkpoint; blank physical page management means for managing unused physical pages in the secondary storage unit; first updating means which accesses said current page table management table when data in a logical page is updated by a transaction, said first updating means referring to management information about said blank physical page management means when a shadow page table does not exist corresponding to the page table containing the position information about the physical page corresponding to the logical page and obtaining an unused physical page, thereafter said first updating means copying the data in the latest updated page table to the physical page and enters the copied data in said current page table management table as the latest page table for the logical page and a page table before the latest update as the shadow page table, said first updating means updating said blank physical page management means to indicate the obtained physical page as being used, and checks the position information about the physical page corresponding to the logical page in said current page table according to the management information in said current page table management table, and refers to the management information in said blank physical page management means if the shadow physical page corresponding to the logical page does not exist according to the position information thereafter obtaining a presently unused physical page from said data base storing means and entering the unused physical page in said current page table as the latest physical page of the logical page; second updating means for writing the updated data of the logical page to the latest physical page corresponding to the logical page to be updated which is entered in said current page table by referring to said current page table updated by said first updating means, and changing the position information pointing to the shadow page corresponding to the logical page in said current page table such that the information points to the updated physical page; and third updating means for updating said blank physical page management means to indicate that the shadow physical page is unused.
Claim 2
Dependent Claim
455 words
A data base management system comprising: a secondary storage unit having data base storing means for storing data divided into physical pages, each physical page corresponding one-to-one to a logical page; a current page table for managing position information about a latest physical page storing latest updated data and a shadow physical page storing the data before a latest update in each of the logical pages; a current page table management table for pointing to a shadow page table which is a copy of the current page table at a checkpoint, and a latest page table which is the current page table as updated after the checkpoint; blank physical page management means for managing unused physical pages in the secondary storage unit; first updating means which accesses said current page table management table when data in a logical page is updated by a transaction, said first updating means referring to management information about said blank physical page management means when a shadow page table does not exist corresponding to the page table containing the position information about the physical page corresponding to the logical page and obtaining an unused physical page, thereafter said first updating means copying the data in the latest updated page table to the physical page and enters the copied data in said current page table management table as the latest page table for the logical page and a page table before the latest update as the shadow page table, said first updating means updating said blank physical page management means to indicate the obtained physical page as being used, and checks the position information about the physical page corresponding to the logical page in said current page table according to the management information in said current page table management table, and refers to the management information in said blank physical page management means if the shadow physical page corresponding to the logical page does not exist according to the position information thereafter obtaining a presently unused physical page from said data base storing means and entering the unused physical page in said current page table as the latest physical page of the logical page; second updating means for writing the updated data of the logical page to the latest physical page corresponding to the logical page to be updated which is entered in said current page table by referring to said current page table updated by said first updating means, and changing the position information pointing to the shadow page corresponding to the logical page in said current page table such that the information points to the updated physical page; and third updating means for updating said blank physical page management means to indicate that the shadow physical page is unused.
Claim 3
Dependent Claim
36 words
The data base management system according to claim 1, wherein said current page table management table comprises: a first pointer pointing to the shadow page table; and a second pointer pointing to the latest page table.
Claim 4
Dependent Claim
38 words
The data base management system according to claim 2, wherein said shadow page table and said latest page table comprise a plurality of physical pages; and said first pointer and said second pointer point to corresponding physical pages.
Claim 5
Dependent Claim
26 words
The data base management system according to claim 3, wherein said current page table manages said first pointer and said second pointer according to individual tables.
Claim 6
Dependent Claim
39 words
The data base management system according to claim 1, wherein said current page table comprises a first pointer pointing to the shadow physical page and a second pointer pointing to a latest physical page corresponding to each logical page.
Claim 7
Dependent Claim
26 words
The data base management system according to claim 5, wherein said current page table manages said first pointer and said second pointer according to individual tables.
Claim 8
Dependent Claim
93 words
The data base management system according to claim 1, wherein two physical pages are preliminarily assigned to each logical page in said current page table in the secondary storage unit, and the two physical pages are divided into two groups; said current page table management table has two flags fixedly assigned to each of the two physical pages corresponding to respective logical pages in said current page table, and the two flags are set to values indicating to which of the shadow page table or the latest page table each physical page belongs.
Claim 9
Dependent Claim
161 words
The data base management table according to claim 1, further comprising: a backup page table, provided in the secondary storage unit, for storing the data in said current page table at the checkpoint; a backup page table management table, used for recovery of data base and provided in the secondary storage unit, for storing the data in a page table in which the position information about the physical page in the secondary storage unit for storing the data, which are to recover from a failure, in the corresponding logical page; and checkpoint processing means for changing the data in said current page table management table in the main storage unit such that only a present latest page table can be effectuated, copying the updated data to said backup page table management table in the secondary storage unit, and copying the data in said current page table in the main storage unit to said backup page table in the secondary storage unit.
Claim 10
Dependent Claim
47 words
The data base management system according to claim 8, wherein two said backup page table management tables are provided in the secondary storage unit; and said checkpoint processing means copies the data in the said current page table management table to the two page table management tables.
Claim 11
Dependent Claim
59 words
The data base management system according to claim 9, wherein an update flag is set in the secondary storage unit; said checkpoint processing means sets the update flag while the data are copied to the page table management table to which data are to be written later, and the update flag is reset after the data have been copied.
Claim 12
Dependent Claim
57 words
The data base management table according to claim 9, wherein two said backup page table management tables are provided in the secondary storage unit; and said checkpoint processing means alternately uses the two page table management tables as the backup page table management tables to which the data of said current page table management table are copied.
Claim 13
Dependent Claim
40 words
The data base management table according to claim 9, wherein two said backup page tables are provided in the secondary storage unit 40; said checkpoint processing means copies the data in said current page table to the two page tables.
Claim 14
Dependent Claim
47 words
The data base management system according to claim 12, wherein said checkpoint processing means sets the update flag while the data are copied to the page table to which data are to be written later, and the update flag is reset after the data have been copied.
Claim 15
Dependent Claim
55 words
The data base management table according to claim 8, wherein two said backup page table management tables are provided in the secondary storage unit; and said checkpoint processing means alternately uses the two page table management tables as the backup page table management tables to which the data of said current page table are copied.
Claim 16
Dependent Claim
48 words
The data base management table according to claim 8, wherein said checkpoint processing means changes the management information such that all physical pages forming the shadow page table deleted in said current page table management table are managed as being unused in said blank physical page management means.
Claim 17
Dependent Claim
42 words
The data base management system according to claim 8, further comprising: a log file for recording log information of each transaction in the secondary storage unit; and log recording means for writing the log information of the transaction in the log file.
Claim 18
Dependent Claim
55 words
The data base management system according to claim 16, wherein the log information of each transaction stored in said log file comprises flags indicating at least a start of a transaction, an identifier uniquely assigned to the transaction, history information about operations of the data base of the transaction, and an end of the transaction.
Claim 19
Dependent Claim
100 words
The data base management system according to claim 17, wherein said history information about the operations of the data base of the transaction is time-series records about the operations relating to all updates of the data base performed in the transaction, said records being a set of information comprising at least a type of operation of the data base, a logical page on which the operation of the data base is performed, a physical page storing the data before the latest update of the logical page, and the physical page storing the data after the update of the logical page.
Claim 20
Dependent Claim
220 words
The data base management system according to claim 16, further comprising: first control means for reading said backup page table management table from the secondary storage unit when a system failure has arisen, and copying the data in said backup page table management table to said current page table management table; a second control means for reading said backup page table from the secondary storage unit when a system failure has arisen, changing the data in aid backup page table such that the position information about the logical page pointing to both the shadow physical page and the latest physical page as a corresponding physical page can refer only to the shadow physical page, and copying obtained data in the page table to said current page table; and third control means for restoring the data base in said data base storage means to a state in which transactions being processed at a checkpoint and having been completed before an occurrence of the system failure, and transactions processed after the checkpoint and having been completed before the occurrence of the system failure are completed after redoing the transaction according to said current page table management table generated by said first control means, said current page table generated by said second control means, and the log information stored in said log file.
Claim 21
Dependent Claim
85 words
A database management system comprising: a current page table which shadow pages a physical page corresponding to a logical page with a first shadow physical page, said current page table having a page frame storing positional information identifying a physical page and a first shadow physical page in a page frame; and a current page table management table which shadow pages said current page table with a second shadow physical page containing shadow positional information identifying the physical page and the first shadow physical page.
Claim 22
Dependent Claim
85 words
A database management system comprising: a current page table which shadow pages a physical page corresponding to a logical page with a first shadow physical page, said current page table having a page frame storing positional information identifying a physical page and a first shadow physical page in a page frame; and a current page table management table which shadow pages said current page table with a second shadow physical page containing shadow positional information identifying the physical page and the first shadow physical page.
Claim 23
Independent Claim
72 words
A method for managing a database having a logical page with a corresponding physical page, the method comprising: shadow paging the physical page with a first shadow physical page; storing positional information in a page frame identifying the physical page and the first shadow physical page; and shadow paging the page frame with a second shadow physical page containing shadow positional information identifying the physical page and the first shadow physical page.
Claim 24
Independent Claim
72 words
A method for managing a database having a logical page with a corresponding physical page, the method comprising: shadow paging the physical page with a first shadow physical page; storing positional information in a page frame identifying the physical page and the first shadow physical page; and shadow paging the page frame with a second shadow physical page containing shadow positional information identifying the physical page and the first shadow physical page.
References Cited (Backward Citations)
JPS582937A
Cited
US4459658A
Cited
US4507751A
Cited
JPS62121555A
Cited
US5043871A
Cited
JPS62245348A
Cited
US5265245A
Cited
US5504857A
Cited
JPH04209044A
Cited
US5440712A
Cited
US5381545A
Cited
US5455947A
Cited
US5455594A
Cited
US5455944A
Cited
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 2001-03-02 | 2001-09-01 | 2002-03-03 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2005-03-02 | 2005-09-01 | 2006-03-03 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2009-03-02 | 2009-09-01 | 2010-03-03 | $7700.00 | Window Closed / Lapsed |