Upgrading column-based databases
First Claim
Patent Images
1. A method for implementation by one or more data processors, the method comprising:
- enabling, by at least one data processor using a first view of a table, access to a column- based database having a plurality of columns, the first view of the table defining a first set of table fields encapsulating data within the table that is available for access;
modifying, by at least one data processor, the table to include at least one shadow column that is not included in the first set of table fields;
migrating, by at least one data processor, at least a portion of the data encapsulated in the first set of table fields to the at least one shadow column;
generating, by at least one data processor, a second view of the table, the second view defining a second set of table fields encapsulating data within the table that is available for access, the second set of table fields including table fields in the at least one shadow column from which data from the first set of table fields was migrated; and
enabling by at least one data processor, access to the database using the second view of the table,wherein the table accesses data from a second database comprising a main data area, a delta data area, and an upgrade delta area, at least a portion of data in the main data area and the delta data area and the upgrade delta area being merged such that some data in the delta data area overwrites corresponding data in the main data area and some data in the upgrade delta area overwrites corresponding data in the delta data area.
2 Assignments
0 Petitions
Accused Products
Abstract
Techniques are described in which at least one column is added to a table in a column-based database that has a plurality of columns and table fields. A shadow-in-place upgrade of the column-based database can be performed that adds at least one new column to the database. Thereafter, access to the column-based database can be seamlessly enabled before, during, and after the upgrade through a plurality of views. The views define a subset of the fields in the database that are visible. Related apparatus, systems, techniques and articles are also described.
134 Citations
20 Claims
-
1. A method for implementation by one or more data processors, the method comprising:
-
enabling, by at least one data processor using a first view of a table, access to a column- based database having a plurality of columns, the first view of the table defining a first set of table fields encapsulating data within the table that is available for access; modifying, by at least one data processor, the table to include at least one shadow column that is not included in the first set of table fields; migrating, by at least one data processor, at least a portion of the data encapsulated in the first set of table fields to the at least one shadow column; generating, by at least one data processor, a second view of the table, the second view defining a second set of table fields encapsulating data within the table that is available for access, the second set of table fields including table fields in the at least one shadow column from which data from the first set of table fields was migrated; and enabling by at least one data processor, access to the database using the second view of the table, wherein the table accesses data from a second database comprising a main data area, a delta data area, and an upgrade delta area, at least a portion of data in the main data area and the delta data area and the upgrade delta area being merged such that some data in the delta data area overwrites corresponding data in the main data area and some data in the upgrade delta area overwrites corresponding data in the delta data area. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. An article of manufacture comprising:
-
computer executable instructions stored on a non-transitory computer readable media, which, when executed by a computer, causes the computer to perform operations comprising; enabling access to a column-based insert-only database having a plurality of columns using a first view of a table, the first view of the table defining a first set of table fields encapsulating data within the table that is available for access; modifying the table to include at least one shadow column that is not included in the first set of table fields, the shadow column being a hidden column; migrating at least a portion of the data encapsulated in the first set of table fields to the at least one shadow column; generating a second view of the table, the second view defining a second set of table fields encapsulating data within the table that is available for access, the second set of table fields including table fields in the at least one shadow column from which data from the first set of table fields was migrated; and enabling access to the database using the second view of the table, wherein the table accesses data from a second database comprising a main data area, a delta data area, and an upgrade delta area, at least a portion of data in the main data area and the delta data area and the upgrade delta area being merged such that some data in the delta data area overwrites corresponding data in the main area and some data in the upgrade delta area overwrites corresponding data in the delta data area. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A method for implementation by one or more data processors, the method comprising:
-
adding, by at least one data processor, at least one column to a table in a column-based database, the table having a plurality of columns and table fields, the database accessing data from a second database comprising a main data area and a delta data area and an upgrade delta area, at least a portion of data in the second database being merged such that some data in the delta data area overwrites corresponding data in the main area and some data in the upgrade delta area overwrites corresponding data in the delta data area; performing, by at least one data processor, a shadow-in-place upgrade of the column-based database, the upgrade adding at least one new column to the database; and seamlessly enabling access, by at least one data processor, to the column-based database before, during, and after the upgrade through a plurality of views, the views defining that a subset of the fields in the database are visible.
-
Specification