Method for reorganizing or moving a database table
First Claim
1. A computer system including instructions recorded on a non-transitory computer-readable storage medium and readable by at least one processor, the system comprising:
- a table generator module configured to cause the at least one processor to generate a target table for reorganizing physical storage of data in a source table, the target table including table storage attributes that are different than table storage attributes of the source table;
a table updater module configured to cause the at least one processor to directly modify data in the target table synchronously with data being modified in a the source table,wherein the table updater module is configured to cause the at least one processor to update data in the source table synchronously with data being updated in the target table;
a data replicator module configured to cause the at least one processor to replicate, in the target table, the data contained in the source table with the table storage attributes that are different than table storage attributes of the source table; and
a table replacer module configured to cause the at least one processor to;
replace the source table with the target table without relying on a staging table after the data in the source table is replicated in the target table,redirect an application statement from the source table to the target table while maintaining access to the source table, andafter redirecting the application statement, change access to the target table, and delete the source table.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer system including instructions recorded on a non-transitory computer-readable storage medium and readable by at least one processor may include a table generator module, a table updater module, and a data replicator module. The table generator module may be configured to cause the at least one processor to generate a target table. The table updater module may be configured to cause the at least one processor to modify data in the target table synchronously with data being modified in a source table. The data replicator module may be configured to cause the at least one processor to replicate the data contained in the source table in the target table.
36 Citations
17 Claims
-
1. A computer system including instructions recorded on a non-transitory computer-readable storage medium and readable by at least one processor, the system comprising:
-
a table generator module configured to cause the at least one processor to generate a target table for reorganizing physical storage of data in a source table, the target table including table storage attributes that are different than table storage attributes of the source table; a table updater module configured to cause the at least one processor to directly modify data in the target table synchronously with data being modified in a the source table, wherein the table updater module is configured to cause the at least one processor to update data in the source table synchronously with data being updated in the target table; a data replicator module configured to cause the at least one processor to replicate, in the target table, the data contained in the source table with the table storage attributes that are different than table storage attributes of the source table; and a table replacer module configured to cause the at least one processor to; replace the source table with the target table without relying on a staging table after the data in the source table is replicated in the target table, redirect an application statement from the source table to the target table while maintaining access to the source table, and after redirecting the application statement, change access to the target table, and delete the source table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer-implemented method for causing at least one processor to execute instructions recorded on a non-transitory computer-readable storage medium, the method comprising:
-
generating a target table for reorganizing physical storage of data in a source table, the target table including table storage attributes that are different than table storage attributes of the source table; directly modifying data in the target table synchronously with data being modified in the source table; modifying data in the source table synchronously with data being updated in the target table; replicating the data contained in the source table in the target table with the table storage attributes that are different than table storage attributes of the source table; replacing the source table with the target table without relying on a staging table after the data in the source table is replicated in the target table; redirecting an application statement from the source table to the target table while maintaining access to the source table; and after redirecting the application statement, changing access to the target table, and deleting the source table. - View Dependent Claims (13, 14, 15)
-
-
16. A computer program product, the computer program product being tangibly embodied on a non-transitory computer-readable medium and comprising instructions that, when executed, are configured to cause at least one processor to:
-
generate a target table for reorganizing physical storage of data in a source table, the target table including table storage attributes that are different than table storage attributes of the source table; directly modify data in the target table synchronously with data being modified in a the source table; modify data in the source table synchronously with data being updated in the target table; replicate the data contained in the source table in the target table with the table storage attributes that are different than table storage attributes of the source table; replace the source table with the target table without relying on a staging table after the data in the source table is replicated in the target table; redirect an application statement from the source table to the target table while maintaining access to the source table; and after redirecting the application statement, change access to the target table, and delete the source table. - View Dependent Claims (17)
-
Specification