Method and system for selectable consistency level maintenance in a resilent database system
First Claim
1. A method for enhanced efficiency in database access within a distributed data processing system, said method comprising the steps of:
- designating a selected database within said distributed data processing system as a primary database, said selected database having a plurality of records stored therein;
replicating said primary database at at least two physical locations within said distributed data processing system;
specifying a plurality of diverse consistency levels which may be maintained between said primary database and each of said replicated databases;
permitting a user to specify a different one of said plurality of diverse consistency levels for query transactions against each of said replicated databases; and
thereafter, automatically maintaining said specified one of said plurality of diverse consistency levels between said primary database and each of said replicated databases in response to updates to records within said primary database wherein queries requiring less than a full consistency level may be applied to a replicated database maintained at less than a full consistency level.
1 Assignment
0 Petitions
Accused Products
Abstract
In a resilient database system which includes a journaled database which is implemented at one or more locations within a distributed data processing system, multiple diverse consistency levels are specified which each detail a level of consistency to be maintained between a primary database and a replica database. A user is then permitted to select a particular level of consistency for each replica database. Thereafter, each update to a record within the primary database is utilized to initiate an update to the corresponding record within each replica database in a manner which is consistent with the selected level of consistency for that replica database. In this manner, a replica database which is fully consistent with the primary database may be provided for seamless switchover in the event of a primary database failure, while a second replica database may be provided to respond to queries by applications which do not require fully consistent data, greatly enhancing the efficiency of access to that database.
110 Citations
4 Claims
-
1. A method for enhanced efficiency in database access within a distributed data processing system, said method comprising the steps of:
-
designating a selected database within said distributed data processing system as a primary database, said selected database having a plurality of records stored therein; replicating said primary database at at least two physical locations within said distributed data processing system; specifying a plurality of diverse consistency levels which may be maintained between said primary database and each of said replicated databases; permitting a user to specify a different one of said plurality of diverse consistency levels for query transactions against each of said replicated databases; and thereafter, automatically maintaining said specified one of said plurality of diverse consistency levels between said primary database and each of said replicated databases in response to updates to records within said primary database wherein queries requiring less than a full consistency level may be applied to a replicated database maintained at less than a full consistency level. - View Dependent Claims (2)
-
-
3. A system for enhanced efficiency in database access within a distributed data processing system, said system comprising:
-
a primary database within said distributed data processing system, said primary database having a plurality of records stored therein; a replica of said primary database stored at at least two physical locations within said distributed data processing system; means for specifying a plurality of diverse consistency levels which may be maintained between said primary databases and each of said replicated databases; means for permitting a user to specify a different one of said plurality of diverse consistency levels for query transactions against each of said replicated databases; and means for automatically maintaining said specified one of said plurality of diverse consistency levels between said primary database and each of said replicated databases in response to updates to records within said primary database wherein queries requiring less than a full consistency may be applied to a replicated database maintained at less than a full consistency. - View Dependent Claims (4)
-
Specification