System and method for performing a transaction in a massively parallel processing database

US9348641B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9348641-B2
Application numberUS-201313798344-A
CountryUS
Kind codeB2
Filing dateMar 13, 2013
Priority dateMar 13, 2013
Publication dateMay 24, 2016
Grant dateMay 24, 2016

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.

A method for performing a transaction in a massively parallel processing (MPP) database includes receiving, by a transaction manager, from a first resource manager, a first snapshot of the first resource manager and receiving, by the transaction manager, from a second resource manager, a second snapshot of the second resource manager. Also, the method includes reconciling the first snapshot of the first resource manager and the second snapshot of the second resource manager to generate a reconciled snapshot and transmitting, by the transaction manager, to the first resource manager and the second resource manager, the reconciled snapshot. Additionally, the method includes performing a transaction using the reconciled snapshot.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for transaction processing in a massively parallel processing (MPP) database, the method comprising: receiving, by a transaction manager, from a first resource manager, a first snapshot of the first resource manager, wherein the first snapshot is a list of current active transactions on the first resource manager; receiving, by the transaction manager, from a second resource manager different from the first resource manager, a second snapshot of the second resource manager, wherein the second snapshot is a list of current active transactions on the second resource manager; reconciling the first snapshot of the first resource manager and the second snapshot of the second resource manager to generate a reconciled snapshot, wherein the reconciled snapshot comprises a union set of the first snapshot and the second snapshot, the first snapshot comprises a local transaction identifier (ID) for a first current active transaction on the first resource manager and the reconciled snapshot comprises a global transaction ID for the first current active transaction, and the global transaction ID is assigned by the transaction manager to the first current active transaction indicating the first current active transaction being performed remotely from the first resource manager; transmitting, by the transaction manager, the reconciled snapshot to the first resource manager and the second resource manager; and performing the first current active transaction using the reconciled snapshot. 2. The method of claim 1 , wherein the global transaction ID being assigned by appending a logical name of the transaction manager to the local transaction ID. 3. The method of claim 1 , further comprising assigning the local transaction ID to the first resource manager. 4. The method of claim 1 , further comprising receiving, by the transaction manager, from a third resource manager, a third snapshot of the third resource manager, wherein the reconciling the first snapshot of the first resource manager and the second snapshot of the second resource manager further comprises reconciling the third snapshot of the third resource manager with the first snapshot of the first resource manager and the second snapshot of the second resource manager. 5. The method of claim 1 , further comprising receiving, by the transaction manager, from a plurality of resource managers, a plurality of snapshots of the plurality of resource managers, wherein the reconciling the first snapshot of the first resource manager and the second snapshot of the second resource manager further comprises reconciling the plurality of snapshots of the plurality of resource managers with the first snapshot of the first resource manager and the second snapshot of the second resource manager. 6. The method of claim 1 , further comprising determining whether the first current active transaction is local to the transaction manager. 7. The method of claim 1 , further comprising performing a commit of the first current active transaction. 8. The method of claim 1 , further comprising performing a rollback of the first current active transaction. 9. The method of claim 1 , further comprising transmitting, by the transaction manager, a request for the first snapshot of the first resource manager. 10. A method for transaction processing in a massively parallel processing (MPPI database, the method comprising: transmitting, by a first resource manager, to a transaction manager, a first snapshot of the first resource manager, wherein the first snapshot is a list of current active transactions on the first resource manager; receiving, by the first resource manager, from the transaction manager, a reconciled snapshot by reconciling the first snapshot of the first resource manager and a second snapshot of a second resource manager different from the first resource manager, wherein the second snapshot is a list of current active transactions on the second resource manager the reconciled snapshot comprises a union set of the first snapshot and the second snapshot, the first snapshot comprises a local transaction identifier (ID) for a first current active transaction on the first resource manager and the reconciled snapshot comprises a global transaction ID for the first current active transaction; and the global transaction ID is assigned by the transaction manager to the first current active transaction indicating the first current active transaction being performed remotely from the first resource manager; performing, by the first resource manager, the first current active transaction using the reconciled snapshot. 11. The method of claim 10 , further comprising performing a commit of the first current active transaction. 12. The method of claim 10 , further comprising performing a rollback of the first current active transaction. 13. The method of claim 10 , further comprising receiving, by the first resource manager, from the transaction manager, a request for the first snapshot. 14. The method of claim 10 , further comprising converting the reconciled snapshot to a converted snapshot. 15. The method of claim 14 , wherein the converting the reconciled snapshot to the converted snapshot comprises reducing inconsistencies in the reconciled snapshot. 16. The method of claim 15 , wherein the reducing inconsistencies in the reconciled snapshot comprises: determining an intersection of the reconciled snapshot and the first snapshot; and determining whether a second transaction that was not a member of the intersection is included in the converted snapshot in accordance with whether the first resource manager participated in the second transaction. 17. A transaction manager of a massively parallel processing (MPP) database comprising: a hardware processor; and a computer readable storage medium storing programming for execution by the processor, the programming including instructions to receiving, by a transaction manager, from a first resource manager, a first snapshot of the first resource manager, wherein the first snapshot is a list of current active transactions on the first resource manager; receiving, by the transaction manager, from a second resource manager different from the first resource manager, a second snapshot of the second resource manager, wherein the second snapshot is a list of current active transactions on the second resource manager; reconciling the first snapshot of the first resource manager and the second snapshot of the second resource manager to generate a reconciled snapshot, wherein the reconciled snapshot comprises a union set of the first snapshot and the second snapshot, the first snapshot comprises a local transaction identifier (ID) for a first current active transaction on the first resource manager and the reconciled snapshot comprises a global transaction ID for the first current active transaction, and the global transaction ID is assigned by the transaction manager to the first current active transaction indicating the first current active transaction being performed remotely from the first resource manager; transmitting, by the transaction manager, the reconciled snapshot to the first resource manager and the second resource manager; and performing the first current active transaction using the reconciled snapshot. 18. A first resource manager of a massively parallel processing (MPP) database comprising: a hardware processor; and a computer readable storage medium storing programming for execution by the processor, the programming including i

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 US9348641B2 cover?
A method for performing a transaction in a massively parallel processing (MPP) database includes receiving, by a transaction manager, from a first resource manager, a first snapshot of the first resource manager and receiving, by the transaction manager, from a second resource manager, a second snapshot of the second resource manager. Also, the method includes reconciling the first snapshot of …
Who is the assignee on this patent?
Futurewei Technologies Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/466. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 24 2016 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).