DATABASE SYSTEM THAT PROVIDES FOR HISTORY-ENABLED TABLES
First Claim
1. A computer implemented method for creating and maintaining a history-enabled data structure in a relational database system, the method comprising:
- using at least one processor to perform a process, the process comprising;
identifying a first data structure that is to be history-enabled, the first data structure comprising a current row;
identifying or creating a current row data structure;
identifying or creating a row history data structure that comprises a history row which corresponds to the current row in the first data structure; and
tracking history of the first data structure without requiring accessing a redo log.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques for history enabling a table in a database system so that past versions of rows of the history-enabled table are available for temporal querying. The table is history enabled by adding a start time column to the table and creating a history table for the history-enabled table. The start time field'"'"'s value in a row of the history-enabled table indicates when the contents of the row last changed. The rows of the history table are copies of rows of the history-enabled table that have been deleted or updated. The rows include end time fields whose values indicate when the row was updated or deleted. A history table'"'"'s row thus indicates a period in which the history table'"'"'s row was in the history-enabled table. Temporal queries are performed on a view which is the union of the history-enabled table and the history table.
43 Citations
32 Claims
-
1. A computer implemented method for creating and maintaining a history-enabled data structure in a relational database system, the method comprising:
-
using at least one processor to perform a process, the process comprising; identifying a first data structure that is to be history-enabled, the first data structure comprising a current row; identifying or creating a current row data structure; identifying or creating a row history data structure that comprises a history row which corresponds to the current row in the first data structure; and tracking history of the first data structure without requiring accessing a redo log. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. An article of manufacture comprising a non-transitory computer readable medium having stored thereupon a sequence of operations which, when executed by at least one processor, causes the at least one processor to perform a method for creating and maintaining a history-enabled data structure in a relational database system, the method comprising:
-
using at least one processor to perform a process, the process comprising; identifying a first data structure that is to be history-enabled, the first data structure comprising a current row; identifying or creating a current row data structure; identifying or creating a row history data structure that comprises a history row which corresponds to the current row in the first data structure; and tracking history of the first data structure without requiring accessing a redo log. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
-
25. An apparatus for creating and maintaining a history-enabled data structure in a relational database system, the apparatus comprising:
-
at least one processor that is to; identify a first data structure that is to be history-enabled, the first data structure comprising a current row; identify or create a current row data structure; identify or create a row history data structure that comprises a history row which corresponds to the current row in the first data structure; and track history of the first data structure without requiring accessing a redo log. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32)
-
Specification