Method of capturing data changes utilizing data-space tracking
First Claim
1. A method of reorganizing information in a computer system having an original data-space that contains a plurality of sequentially stored original data-elements, a shadow data-space that contains a plurality of shadow data-elements, a data data-space that contains a plurality of data data-elements, and an index data-space that contains a plurality of sequentially stored index data-elements, wherein the original data-space is operated on by an information reorganizing application program, the method comprising:
- copying contents of an original data-element within the original data-space to a shadow data-element within the shadow data-space;
recording a location of the original data-element and a location of the shadow data-element within a data data-element within the data data-space, thereby associating the original data-element, the shadow data-element and the data data-element;
recording a location of the data data-element within an index data-element within the index data-space, wherein the index data-elements in the index data-space are arranged in the same sequence as their associated original data-elements in the original data-space;
recording in the data data-element information indicating that a change has occurred in the original data-element associated with the data data-element; and
applying the change in the original data-element to the shadow data-element associated with the original data-element, in response to detecting the change associated with the original data-element recorded in the data data-element,wherein the location of the original data-element recorded in the data data-element includes an offset of the original data-element from a base address of the original data-space.
0 Assignments
0 Petitions
Accused Products
Abstract
A method of reorganizing a database while concurrently providing access to the database for updates. In an exemplary embodiment of the method, an on-line reorganization facility (ORF) uses index data-spaces that point to other data-spaces, referred to as data data-spaces, to efficiently track and coordinate information about the data-elements in an original data-space operated upon by a reorganization process. A relative base address of a data-element in an index data-space can be derived from a relative base address of a data-element in an original data-space, and vice versa. An index data-space data-element contains a location of a data-element in a data data-space that tracks change information related to a corresponding data-element in the original data-space. Tracked changes are later applied to the newly reorganized data-space to assure consistency and integrity of the data. Tracked changes include the location in the original data-space where the change occurred and a flag indicting the type of change.
35 Citations
14 Claims
-
1. A method of reorganizing information in a computer system having an original data-space that contains a plurality of sequentially stored original data-elements, a shadow data-space that contains a plurality of shadow data-elements, a data data-space that contains a plurality of data data-elements, and an index data-space that contains a plurality of sequentially stored index data-elements, wherein the original data-space is operated on by an information reorganizing application program, the method comprising:
-
copying contents of an original data-element within the original data-space to a shadow data-element within the shadow data-space; recording a location of the original data-element and a location of the shadow data-element within a data data-element within the data data-space, thereby associating the original data-element, the shadow data-element and the data data-element; recording a location of the data data-element within an index data-element within the index data-space, wherein the index data-elements in the index data-space are arranged in the same sequence as their associated original data-elements in the original data-space; recording in the data data-element information indicating that a change has occurred in the original data-element associated with the data data-element; and applying the change in the original data-element to the shadow data-element associated with the original data-element, in response to detecting the change associated with the original data-element recorded in the data data-element, wherein the location of the original data-element recorded in the data data-element includes an offset of the original data-element from a base address of the original data-space. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
Specification