Long-lived data transactions

US9589009B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9589009-B2
Application numberUS-201213365442-A
CountryUS
Kind codeB2
Filing dateFeb 3, 2012
Priority dateOct 14, 2005
Publication dateMar 7, 2017
Grant dateMar 7, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

In one embodiment, a method includes accessing a mapping that represents a correspondence between a column in a source database and a column in a temporary storage table, in response to receiving a data operation request to execute a data operation on a column of the source database. The method further includes changing the temporary storage table by executing the data operation on the temporary storage table and performing a reconstruction operation using data from the temporary storage table and the source database.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for managing long-lived data transactions comprising: in response to receipt of a data operation request to execute a data operation on a column of a source database, accessing a mapping that represents a correspondence between the column of the source database and a column in a temporary storage table that is configured to store one or more changes to be made to the source database; changing the temporary storage table by executing the data operation on the temporary storage table using the mapping; and after the executing, performing a reconstruction operation that reconstructs data in the source database to a particular point-in-time by, at least in part, incorporating less than all of the one or more changes to be made to the source database, using change data from the temporary storage table and source data from the source database, wherein the performing the reconstruction operation further comprises: setting search criteria to specify one or more records to be retrieved from the source table; setting sort criteria to specify order of the one or more records to be retrieved from the source table; retrieving the source data from the source database based on the search and sort criteria; reading the change data from the temporary storage table; and updating the source data from the source database with the change data from the temporary storage table. 2. The method of claim 1 , further comprising: creating the mapping in a mapping table, in response to the column of the source database being processed for a first time, by determining the correspondence between the column in the temporary storage table and the column in the source database, and storing the mapping in the mapping table. 3. The method of claim 2 , wherein the creating the mapping further comprises: identifying one or more columns in the temporary storage table, wherein each of the one or more columns in the temporary storage table is of a same type as the column in the source database, and each of the one or more of columns in the temporary storage table is at least as long as the column in the source database; identifying one of the one or more columns in the temporary storage table as a next unmapped column, wherein the column in the temporary storage table is the next unmapped column; and associating the column in the source database and the next unmapped column. 4. The method of claim 1 , wherein the column in the temporary storage table is a column of a same type and at least a same length as the column of the source database. 5. The method of claim 1 , wherein the data operation is at least one operation of an insert operation, an update operation, or a delete operation, and the at least one operation is performed as part of a data transaction, the data transaction beings during a first user session and completes during a second user session, and the one or more changes are to be made to the source database during life of a data transaction including the data operation. 6. The method of claim 1 , wherein the changing the temporary storage table comprises: executing another data operation on the temporary storage table, wherein the executing the other data operation uses the mapping, the other data operation is another part of a data transaction, the executing the other data operation causes another change to be made to the temporary storage table, and the other data operation is configured to be executed on the column of the source database. 7. The method of claim 1 , further comprising: upon completion of the data operation, committing the change data to the source database, and purging, from the temporary storage table, contents of the temporary storage table related to the change data. 8. The method of claim 1 , further comprising: performing a rollback of the change data in the temporary storage table. 9. The method of claim 1 , wherein the data operation request comprises a plurality of data operations, the plurality of data operations comprises the data operation, and the plurality of data operations is executed on the temporary storage table on an incremental basis. 10. The method of claim 1 , wherein the executing the data operation on the temporary storage table further comprises: accessing the temporary storage table; identifying the column in the temporary storage table using the mapping; and executing the data operation on a record identified by the column in the temporary storage table. 11. The method of claim 1 , wherein the performing the reconstruction operation further comprises: issuing a first query to the source database to populate the source data in the source database; issuing a second query to the temporary storage table to populate the change data in the temporary storage table; and superimposing the change data from the temporary storage table over the source data from the source database. 12. A non-transitory computer-readable storage medium for managing long-live data transactions comprising program instructions executable to: in response to receipt of a data operation request to execute a data operation on a column of a source database, access a mapping that represents a correspondence between the column of the source database and a column in a temporary storage table that is configured to store one or more changes to be made to the source database; change the temporary storage table by executing the data operation on the temporary storage table using the mapping; and perform a reconstruction operation that reconstructs data in the source database to a particular point-in-time by, at least in part, incorporating less than all of the one or more changes to be made to the source database, using change data from the temporary storage table and source data from the source database after the data operation is executed, wherein the performing the reconstruction operation further comprises: setting search criteria to specify one or more records to be retrieved from the source table; setting sort criteria to specify order of the one or more records to be retrieved from the source table; retrieving the source data from the source database based on the search and sort criteria; reading the change data from the temporary storage table; and updating the source data from the source database with the change data from the temporary storage table. 13. The non-transitory computer-readable storage medium of claim 12 , wherein the program instructions are further executable to: create the mapping in the mapping table, wherein the program instructions executable to create comprise program instructions executable to determine the correspondence between the column in the temporary storage table and the column in the source database, and store the mapping in the mapping table. 14. The non-transitory computer-readable storage medium of claim 13 , wherein the program instructions are further executable to: identify one or more columns in the temporary storage table, wherein each of the one or more columns in the temporary storage table is of a same type as the column in the source database, and each of the one or more of columns in the temporary storage table is at least as long as the column in the source database; identify one of the one or more columns in the temporary storage table as a next unmapped column, wherein the column in the temporary storage table is the next unmapped column; and associate the column in the source database and the next unmapped column. 15. The non-transitory computer-readable storage

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9589009B2 cover?
In one embodiment, a method includes accessing a mapping that represents a correspondence between a column in a source database and a column in a temporary storage table, in response to receiving a data operation request to execute a data operation on a column of the source database. The method further includes changing the temporary storage table by executing the data operation on the temporar…
Who is the assignee on this patent?
Shringi Kanchan, Lu Min, Zhang Xiaopei (Joyce), and 4 more
What technology area does this patent fall under?
Primary CPC classification G06F16/2365. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 07 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).