Replicating updates in original temporal order in parallel...

Data processing: database and file management or data structures – Database design – Data structure types

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C707S793000, C707S793000, C707S793000

Reexamination Certificate

active

06438558

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention relates in general to database management systems performed by computers, and in particular, to replicating updates in original temporal order in parallel processing database systems.
2. Description of Related Art
Relational DataBase Management Systems (RDBMS) store data into tables. A table in a relational database is two dimensional, comprising rows and columns. Each column has a name, typically describing the type of data held in that column. As new data is added, more rows are inserted into the table. Structured Query Language (SQL) statements allow users to formulate relational operations on the tables.
In the Teradata® RDBMS sold by NCR Corporation, the assignee of the present invention, tables in the relational database are often partitioned, i.e., the rows for a table are distributed among multiple processors and data storage devices. The partition is usually a horizontal distribution, wherein a table will have all of its rows spread between multiple processors.
However, such partitioning creates problems for replicating the table. For a partitioned table to be replicated, one or a set of those columns in a row must be designated as a unique primary key. The unique primary key definition for a table must be the same on the primary system and all subscriber systems
100
for that table. A primary system generates the SQL statements to update the tables, wherein the updates are then propagated to one or more subscriber systems.
When a transaction on the primary system updates a table that is designated as a replicated table, the changes need to be sent to the subscriber systems. These updates may comprise inserted, changed, and deleted rows. The problem that needs to be solved is that the updates need to be applied on the subscriber systems in the correct sequence.
At first, this might seem like a simple problem, but it can be rather complicated in a parallel processing environment. While there have been various techniques developed for replicating databases, there is a need in the art for improved techniques that replicate databases in a parallel processing environment.
SUMMARY OF THE INVENTION
The present invention discloses a method, apparatus, and article of manufacture for replicating modifications made to a subject table from a primary system to a subscriber system. A subject table is partitioned across a plurality of processors in both the primary and subscriber systems, wherein each of the processors manages at least one partition of the subject table. Change row messages are generated for each modification made to a subject table, wherein the change row message identifies the processor in the primary system making the modification, and includes a sequence number for the processor in the primary system. The processor in the primary system identified in the change row message is re-mapped to a new processor in the subscriber system and the sequence number for the processor in the primary system identified in the change row message is re-mapped to a new sequence number for the new processor in the subscriber system, so that the modifications are applied in a correct order on the subscriber system.
An object of the present invention is to optimize the database access on parallel processing computer systems. Another object of the present invention is to improve the performance of database partitions managed by a parallel processing computer systems.


REFERENCES:
patent: 5687363 (1997-11-01), Oulid-Aissa et al.
patent: 5721909 (1998-02-01), Oulid-Aissa et al.
patent: 5764977 (1998-06-01), Oulid-Aissa et al.
Performance evaluation of functional disk system (FDS-R2)—Kitsuregawa, M. Nakano, M. Takagi, M. Inst. of Ind. Sci., Tokyo Univ., Japan. This paper appears in: Data Engineering, 1991. Proceedings. Seventh International Conference; On page(s): 416-425; Kobe, Japan Apr. 8-12, 1991.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Replicating updates in original temporal order in parallel... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Replicating updates in original temporal order in parallel..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Replicating updates in original temporal order in parallel... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2906454

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.