Claims Analysis
Total Claims: 16
Claim 1
Independent Claim
191 words
In a database system, said database system maintaining a log for recording transactions which occur in said system, an improved method for deallocating log pages during archiving of the log, the method comprising: storing information about the transactions which occur in the system as a plurality of log records, said log records being stored together on a plurality of log pages, a number of said log pages being stored together as an allocation unit; receiving a request to dump certain ones of said log records to an archive device; determining which allocation units stores said certain ones of said log records to archive; for said determined allocation units, determining first and last log pages for said certain ones of said log records to be dumped to the archive device; and for each allocation unit determine to store said certain ones of said log records, deallocating log pages by at least performing: if an allocation unit is completely filled with log records to be deallocated, deallocating those log records by marking the allocation unit as having deallocated log pages, the step being performed without fetching any log pages for the allocation unit.
Claim 2
Dependent Claim
191 words
In a database system, said database system maintaining a log for recording transactions which occur in said system, an improved method for deallocating log pages during archiving of the log, the method comprising: storing information about the transactions which occur in the system as a plurality of log records, said log records being stored together on a plurality of log pages, a number of said log pages being stored together as an allocation unit; receiving a request to dump certain ones of said log records to an archive device; determining which allocation units stores said certain ones of said log records to archive; for said determined allocation units, determining first and last log pages for said certain ones of said log records to be dumped to the archive device; and for each allocation unit determine to store said certain ones of said log records, deallocating log pages by at least performing: if an allocation unit is completely filled with log records to be deallocated, deallocating those log records by marking the allocation unit as having deallocated log pages, the step being performed without fetching any log pages for the allocation unit.
Claim 3
Dependent Claim
31 words
The method of claim 1, further comprising: before deallocating said certain ones of the log records, storing a new log record indicating said first and last log pages to be deallocated.
Claim 4
Dependent Claim
15 words
The method of claim 1, wherein said log records are stored sequentially by the system.
Claim 5
Dependent Claim
20 words
The method of claim 1, wherein each allocation unit stores an allocation page together with a plurality of log pages.
Claim 6
Dependent Claim
13 words
The method of claim 4, wherein each allocation unit stores 255 log pages.
Claim 7
Dependent Claim
22 words
The method of claim 4, wherein each allocation page stores flags indicating which log pages of the corresponding allocation unit are deallocated.
Claim 8
Dependent Claim
30 words
The method of claim 6, wherein said step of deallocating includes: resetting the flag on an allocation page for indicating deallocation of corresponding log pages for a particular allocation unit.
Claim 9
Dependent Claim
21 words
The method of claim 1, wherein said request to dump certain ones of said log records comprises an SQL "dump" command.
Claim 10
Dependent Claim
29 words
The method of claim 1, wherein said certain ones of said log records comprise those log records storing information about transactions which are no longer active in the system.
Claim 11
Dependent Claim
42 words
The method of claim 1, wherein the log pages for each allocation unit are further grouped into extent groups, and wherein said deallocating step includes resetting a flag in a corresponding allocation page for indicating that a particular extent group is deallocated.
Claim 12
Dependent Claim
29 words
The method of claim 1, further comprising: placing a lock on an allocation page for performing said deallocating step while protecting said allocation page from change by another process.
Claim 13
Dependent Claim
15 words
The method of claim 11, further comprising: releasing said lock upon completing said deallocating step.
Claim 14
Dependent Claim
21 words
The method of claim 1, wherein said information about transactions comprises information indicating modification of data stored by the database system.
Claim 15
Dependent Claim
25 words
The method of claim 1, further comprising: linking said allocation units together to form a chain of allocation units storing logging information for the system.
Claim 16
Dependent Claim
39 words
The method of claim 1, wherein the system inserts a checkpoint record into the log for indicating an oldest active log record, and wherein said log is dumped to archive at a point before said oldest active log record.