{"pub_number":"US12417153B2","doc_number":"12417153","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Optimization of log record application during database recovery","abstract_text":"A captured sequence of log records for a copy of a database may be inspected to identify an obviating log record at a captured sequence position of the captured sequence and related to a page of the plurality of pages, the obviating log record corresponding to an obviating change that replaces an earlier change of an earlier log record. The captured sequence of log records may be sorted into an applied sequence of log records for applying changes of the sequence of changes, in which the obviating log record is moved from the captured sequence position to an applied sequence position that is prior to the earlier sequence position of the earlier log record. The database may then be recovered using the applied sequence of log records.","claims":[{"number":1,"text":"A computer program product including a non-transitory computer-readable storage medium storing instructions that, when executed by at least one computing device, are configured to cause the at least one computing device to: identify, for a database recovery, a copy for a database, the copy being stored at a first time as a plurality of pages; identify a captured sequence of log records, the captured sequence of log records being captured between the first time and a second time and corresponding to a sequence of changes made to the database between the first time and the second time, with each log record of the captured sequence of log records corresponding to a change of the sequence of changes; identify, in the captured sequence of log records, an obviating log record at a captured sequence position of the captured sequence of log records and related to a page of the plurality of pages, the obviating log record corresponding to an obviating change that replaces an earlier change of a","independent":true},{"number":2,"text":"The computer program product of claim 1, wherein the copy is a copy of an index of the database.","independent":false,"depends_on":[1]},{"number":3,"text":"The computer program product of claim 1, wherein the instructions are further configured to cause the at least one computing device to: classify each log record of the captured sequence of log records as either a full page log record affecting full page content or as a partial page log record affecting a portion of page content of a corresponding page of the plurality of pages.","independent":false,"depends_on":[1]},{"number":4,"text":"The computer program product of claim 1, wherein the instructions are further configured to cause the at least one computing device to: identify the obviating log record as corresponding to a full page log record affecting full page content of a corresponding page of the plurality of pages.","independent":false,"depends_on":[1]},{"number":5,"text":"The computer program product of claim 1, wherein the instructions are further configured to cause the at least one computing device to: sort the captured sequence of log records by page of the plurality of pages.","independent":false,"depends_on":[1]},{"number":6,"text":"The computer program product of claim 1, wherein the instructions are further configured to cause the at least one computing device to: select a selected page of the plurality of pages of the captured sequence of log records; and classify corresponding log records for the selected page as either a full page log record affecting full page content of the selected page or as a partial page log record affecting a portion of page content of the selected page.","independent":false,"depends_on":[1]},{"number":7,"text":"The computer program product of claim 6, wherein the instructions are further configured to cause the at least one computing device to: sort one or more full page log records of the selected page in descending log record sequence order within the applied sequence of log records to identify a first full page log record of the sorted one or more full page log records as the obviating log record.","independent":false,"depends_on":[6]},{"number":8,"text":"The computer program product of claim 7, wherein the instructions are further configured to cause the at least one computing device to: sort partial page log records of the selected page in ascending log record sequence order, following the one or more full page log records, within the applied sequence of log records.","independent":false,"depends_on":[7]}],"description":"TECHNICAL FIELD\nThis description relates to database management.\nBACKGROUND\nDatabase technology enables storage, analysis, and retrieval of data. For example, database servers, database management systems, and database languages may be used to store records in a structured manner, insert or delete records, and query available records to retrieve desired information.\nMany different types of computer software applications may utilize and benefit from such database technology. For example, applications across many different industries, such as ecommerce, finance (e.g., banking), network security, telecommunications, oil and gas, energy, government, education, manufacturing, or healthcare may all detect, generate, and/or store vast amounts of data particular to the context (e.g., industry) of each application.\nGiven the scale and criticality of such data, database systems typically include or utilize recovery techniques to guard against loss of data, maintain data integrity, and ensure efficient use of resources. Such recovery techniques, however, may themselves consume significant time and resources.\nSUMMARY\nAccording to one general aspect, a computer program product may be tangibly embodied on a non-transitory computer-readable storage medium and may include instructions. When executed by at least one computing device, the instructions may be configured to cause the at least one computing device to identify, for a database recovery, a copy for a database, the copy being stored at a first time as a plurality of pages. The instructions, when executed, may be further configured to cause the at least one computing device to identify a captured sequence of log records, the captured sequence of log records being captured between the first time and a second time and corresponding to a sequence of changes made to the database between the first time and the second time, with each log record of the captured sequence of log records corresponding to a change of the sequence of ch","inventors":[{"name":"William J. Pothoff","slug":"william-j-pothoff","city":"Austin","country":"US"},{"name":"Vladimir Prasolov","slug":"vladimir-prasolov","city":"Tel Hai","country":"IL"},{"name":"Konstantin Lavren Bobovich","slug":"konstantin-lavren-bobovich","city":"Austin","country":"US"}],"assignees":[{"name":"BMC Software, Inc.","slug":"bmc-software-inc","country":"US"}],"examiners":[],"cpc_codes":["G06F 11/1469","G06F 11/1471","G06F 2201/80"],"ipc_codes":["G06F 11/00","G06F 11/14"],"filing_date":"2023-12-29","pub_date":"2025-09-16","grant_date":"2025-09-16","expiration_date":"2043-12-29","family_members":[],"citations_made":[{"pub_number":"US6732123B1","category":"examiner"},{"pub_number":"US11341001B1","category":"examiner"},{"pub_number":"US12130798B1","category":"examiner"},{"pub_number":"US20040221116A1","category":"examiner"},{"pub_number":"US20070124484A1","category":"examiner"},{"pub_number":"US20110035359A1","category":"examiner"},{"pub_number":"US20180373604A1","category":"examiner"},{"pub_number":"US20220253409A1","category":"examiner"},{"pub_number":"US20220414015A1","category":"examiner"},{"pub_number":"US20230090266A1","category":"examiner"},{"pub_number":"US20230128784A1","category":"examiner"},{"pub_number":"US20230153314A1","category":"examiner"},{"pub_number":"US20240004867A1","category":"examiner"}],"non_patent_literature":[],"drawings_count":0,"source_id":"uspto_patent_grants","upstream_forward_citations":0,"metrics":{"forward_citations":0,"indexed_forward_citations":0,"backward_citations":13,"npl_citations":0,"citations_per_year":0.0,"pagerank":0.0,"citation_rank":3444560,"pagerank_rank":3444560,"velocity_rank":3444560,"family_citations":0}}