JP2000020374A - Replication control system - Google Patents

Replication control system

Info

Publication number
JP2000020374A
JP2000020374A JP10186653A JP18665398A JP2000020374A JP 2000020374 A JP2000020374 A JP 2000020374A JP 10186653 A JP10186653 A JP 10186653A JP 18665398 A JP18665398 A JP 18665398A JP 2000020374 A JP2000020374 A JP 2000020374A
Authority
JP
Japan
Prior art keywords
update
information
database
update history
storage means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10186653A
Other languages
Japanese (ja)
Inventor
Masami Shiraishi
雅己 白石
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP10186653A priority Critical patent/JP2000020374A/en
Publication of JP2000020374A publication Critical patent/JP2000020374A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To easily reflect the original data base of a trunk host with updated contents at high speed in the case of executing an updating job through an open server by arranging the replicas of tables dividedly stored in the main host through plural open servers for each divided unit. SOLUTION: In the case of updating processing on open servers 1-3, the updating history of the data base is stored in an updating history storage means 106 and the updating history information stored in the updating history storage means 106 on the respective open servers 1-3 is collected into an updating history information storage means 108 of a trunk host 10 by an updating history centralizing means 107. Afterwards, an updating information reflecting means 109 for reflecting a data base storage means group 102 of the trunk host 10 with the updating history information collected into the updating history information storage means 108 is activated, a data base determining means 110 and a data base updating means 111 are operated and the original data base of the trunk host 10 is updated.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、分散型環境下にあ
るデータベースシステムのレプリケーション制御システ
ムに関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a replication control system for a database system in a distributed environment.

【0002】[0002]

【従来の技術】従来、分散型環境下に配置されたデータ
ベースの整合性を保つ分散データベース機能として、二
相コミットメントプロトコルを利用したものがある。レ
プリケーションのように非同期更新を行う場合、オリジ
ナルデータベースのレプリカを別サイトに配置し、オリ
ジナルデータベースを更新した際には、ログ情報からレ
プリカ更新のトランザクションを生成し、それをレプリ
カサイトに転送して実行するようにしている。なお、従
来の分散型環境下に配置されたデータベースの整合性を
保つ分散データベース機能として、例えば特開平9−5
4718や特開平7−219830に開示されたものが
ある。
2. Description of the Related Art Conventionally, there is a distributed database function that uses a two-phase commitment protocol as a distributed database function for maintaining consistency of a database arranged in a distributed environment. When performing asynchronous update such as replication, place a replica of the original database at another site, and when the original database is updated, generate a replica update transaction from the log information and transfer it to the replica site for execution I am trying to do it. As a distributed database function for maintaining the consistency of a database arranged in a conventional distributed environment, for example, Japanese Patent Laid-Open No.
4718 and JP-A-7-219830.

【0003】[0003]

【発明が解決しようとする課題】ところで、従来の分散
データベース機能にあっては、次のような問題点があっ
た。第1の問題点は、二相コミットメントプロトコルを
利用した分散データベース機能で行った場合、更新処理
におけるパフォーマンスが良くない。その理由は、更新
処理の都度、他サイトのデータベースシステムに通知し
更新可能であるか否かを確認する必要があるので、その
ため通信負荷が高くなってしまうからである。
However, the conventional distributed database function has the following problems. The first problem is that the performance in the updating process is not good when performed by the distributed database function using the two-phase commitment protocol. The reason is that it is necessary to notify the database system of another site every time the update processing is performed and to confirm whether or not the update can be performed, thereby increasing the communication load.

【0004】第2の問題点は、オリジナルデータベース
と別サイトにレプリカをもって非同期更新を行う場合、
オリジナルデータベースの更新をレプリカに反映する方
法では、基幹ホスト上で一つのテーブルを分割している
ようなデータベース(オリジナルデータベース)を複数
のオープンサーバ上に配置(例えば、地区毎に分割配
置)し、そのオープンサーバ上で更新処理を行ってオリ
ジナルデータベースを反映することはできない。また、
オリジナルデータベースを更新し、そのログ情報からレ
プリカの更新トランザクションを生成し転送して実行す
ることより、通信負荷が高くなるという問題もある。
[0004] The second problem is that when performing an asynchronous update with a replica at a different site from the original database,
In the method of reflecting the update of the original database on the replica, a database (original database) that divides one table on the main host is placed on multiple open servers (for example, divided and placed for each district), Update processing cannot be performed on the open server to reflect the original database. Also,
There is also a problem that a communication load is increased by updating the original database, generating a replica update transaction from the log information, transferring the transaction, and executing the transaction.

【0005】そこで本発明は、基幹ホスト上で1つのテ
ーブルを分割しているようなデータベースを複数のオー
プンサーバ上に分割配置し、オープンサーバ上で行った
更新を基幹ホストのオリジナルデータベースへの反映を
高速に行うことと、更新を行うオープンサーバから個々
に基幹ホストに通知するのではなく、基幹ホスト主体で
全てのオープンサーバ上の更新情報を収集することがで
きるレプリケーション制御システムを提供することを目
的としている。
In the present invention, a database in which one table is divided on a main host is divided and arranged on a plurality of open servers, and updates made on the open server are reflected in an original database of the main host. To provide a replication control system that can collect update information on all open servers by the main host, instead of notifying the main host individually from the open server that performs the update. The purpose is.

【0006】[0006]

【課題を解決するための手段】本発明のレプリケーショ
ン制御システムは、基幹ホストと複数のオープンサーバ
と備えて構成される分散システム上に配置されたデータ
ベースで、基幹ホスト上のデータベースの一部を複写し
てオープンサーバ上で参照/更新するレプリケーション
制御システムであって、各オープンサーバ上のデータベ
ース記憶手段にレプリケーションを行うために必要とす
る情報を定義するデータベース定義手段と、オープンサ
ーバ上でデータベースに対して更新要求手段にて更新し
た際に更新情報を作成する更新情報作成手段と、更新履
歴を記憶する更新履歴蓄積記憶手段と、前記更新情報作
成手段にて作成された更新履歴を前記更新履歴蓄積記憶
手段に格納する更新履歴蓄積手段と、各オープンサーバ
上の前記更新履歴蓄積記憶手段内に蓄積された更新履歴
情報を基幹ホストの更新履歴情報記憶手段に集める更新
履歴集信手段と、前記更新履歴情報記憶手段に集められ
た更新履歴情報を基幹ホストのデータベース記憶手段群
に反映る更新情報反映手段とを備え、前記更新情報反映
手段は、更新情報に基づき前記データベース記憶手段群
のなかの該当するデータベース記憶手段を決定し、決定
したデータベース記憶手段の内容を更新することを特徴
とする。
SUMMARY OF THE INVENTION A replication control system according to the present invention is a database arranged on a distributed system comprising a main host and a plurality of open servers, and a part of the database on the main host is copied. A replication control system that references / updates on an open server by performing a database definition unit that defines information required for performing replication to a database storage unit on each open server, and Update information creating means for creating update information when updated by the update request means, update history accumulating storage means for storing an update history, and storing the update history created by the update information creating means in the update history Update history storage means for storing in the storage means, and the update history on each open server Update history collecting means for collecting the update history information accumulated in the product storage means in the update history information storage means of the main host, and a group of database storage means of the main host for storing the update history information collected in the update history information storage means Update information reflecting means for determining the corresponding database storage means in the database storage means group based on the update information, and updating the contents of the determined database storage means. It is characterized by.

【0007】[作用]レプリケーション制御システムに
おいて、分散型環境下の各オープンサーバに基幹ホスト
のデータベースを分割配置し、配置したデータベースを
更新した際に、更新履歴を更新履歴蓄積手段に蓄積して
おき、定期的に基幹ホスト側から全てのオープンサーバ
上の更新履歴を収集するバッチジョブを起動することで
更新履歴集信手段が動作し、全ての更新履歴を基幹ホス
トの更新履歴情報格納手段に集める。そして、この収集
したオープンサーバ上の分割配置されたデータベースの
更新履歴を基に基幹ホストのデータベースを更新する。
[Operation] In the replication control system, the database of the main host is divided and arranged in each open server in the distributed environment, and when the arranged database is updated, the update history is accumulated in the update history accumulating means. By starting a batch job that periodically collects update histories on all open servers from the main host, the update history collection unit operates and collects all update histories in the update history information storage unit of the main host. . Then, the database of the main host is updated based on the collected update histories of the divided databases on the open server.

【0008】[0008]

【発明の実施の形態】次に、本発明の実施の形態につい
て図を参照して詳細に説明する。図1は実施の形態のレ
プリケーション制御システムの構成を示すブロック図で
ある。この実施の形態のレプリケーション制御システム
は、データベースにテーブルを定義するデータベース定
義手段101と、データベース記憶手段群102と、各
オープンサーバ上にプログラム等からデータベース記憶
手段群102を更新する更新要求手段103と、更新情
報作成手段104と、更新履歴蓄積手段105と、更新
履歴蓄積記憶手段106と、各オープンサーバの更新履
歴を集める更新履歴集信手段107と、更新履歴情報記
憶手段108と、基幹ホスト10のデータベース記憶手
段群102を更新する更新情報反映手段109と、デー
タベース決定手段110と、データ更新手段111とを
備えている。
Next, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of a replication control system according to an embodiment. The replication control system according to this embodiment includes a database definition unit 101 for defining a table in a database, a database storage unit group 102, and an update request unit 103 for updating the database storage unit group 102 from a program or the like on each open server. Update information creating means 104, update history accumulating means 105, update history accumulating and storing means 106, update history collecting means 107 for collecting the update history of each open server, update history information storing means 108, and core host 10. Update information reflecting means 109 for updating the database storage means group 102, a database determining means 110, and a data updating means 111.

【0009】ここで、図2は、データベース定義手段1
01で定義される内容を示すものであり、テーブル名2
01と、レプリケーションプライマリキー情報202
と、基幹ホスト10の分割情報203と、オープンサー
バの分割情報204と、基幹ホスト10の分割情報20
3が示す分割番号205と、値/範囲206と、オープ
ンサーバの分割情報204が示すオープンサーバの分割
番号207と、基幹ホスト10の分割番号208があ
る。
Here, FIG. 2 shows a database definition means 1.
01 indicates the content defined by the table name 2
01 and replication primary key information 202
The division information 203 of the core host 10, the division information 204 of the open server, and the division information 20 of the core host 10.
3, a value / range 206, an open server division number 207 indicated by the open server division information 204, and a division number 208 of the core host 10.

【0010】また、図3は、更新履歴蓄積手段106と
更新履歴情報記憶手段108に格納されている更新履歴
情報301を示すものであり、資源情報302と、更新
タイプ303と、レコードキー値304と、分割番号3
05と、更新前情報306と、更新後情報307とがあ
り、更新前情報306は、更新前レコードフォーマット
308を示し、更新後情報307は、更新後レコードフ
ォーマット309を示している。
FIG. 3 shows the update history information 301 stored in the update history storage means 106 and the update history information storage means 108. The resource information 302, the update type 303, and the record key value 304 And division number 3
05, pre-update information 306, and post-update information 307. The pre-update information 306 indicates a pre-update record format 308, and the post-update information 307 indicates a post-update record format 309.

【0011】次に、この実施の形態のレプリケーション
制御システムの動作について説明する。データベースシ
ステムの運用開始に先立って、利用者がデータベース定
義手段101によって、基幹ホスト10と各オープンサ
ーバにレプリケーションのテーブルを定義する。定義す
る内容は図2に示す内容であり、レプリケーションする
テーブルのテーブル名201と、そのテーブルでレコー
ドを一意に決定するフィールドの情報であるレプリケー
ションプライマリキー情報202と、テーブルの分割情
報である。テーブル分割情報は基幹ホスト10のテーブ
ルとオープンサーバのテーブルで異なり、基幹ホスト1
0では基幹ホスト10の分割情報203が定義され、テ
ーブルの分割番号205と、分割する際の値や範囲を示
す値/範囲206が設定される。また、各オープンサー
バでは基幹ホスト10の分割情報203に加えて自身の
オープンサーバの分割情報204が定義され、自身のテ
ーブル分割番号207と基幹ホスト10の分割番号20
8がペアで設定される。
Next, the operation of the replication control system according to this embodiment will be described. Prior to the start of operation of the database system, the user defines a replication table in the core host 10 and each open server by the database definition means 101. The contents to be defined are the contents shown in FIG. 2, and are a table name 201 of a table to be replicated, replication primary key information 202 which is information of a field for uniquely determining a record in the table, and table division information. The table division information differs between the table of the core host 10 and the table of the open server.
In the case of 0, the division information 203 of the main host 10 is defined, and a division number 205 of the table and a value / range 206 indicating a value or range at the time of division are set. In addition, each open server defines its own open server division information 204 in addition to the division information 203 of the core host 10, and has its own table division number 207 and division number 20 of the main host 10.
8 is set as a pair.

【0012】データベース定義手段101により定義さ
れ、実際のデータベースシステムの運用においては、各
オープンサーバでは分割された範囲で業務を担当しデー
タベースの参照/更新が実施され、基幹ホスト10では
全てのテーブルを統括した業務でデータベースが使用さ
れる。このため、各オープンサーバでデータベースの更
新(追加,変更,削除)が実施しれた場合に、更新要求
手段103において自身のデータベース記憶手段群10
2の更新を行うと共に、更新情報作成手段104にて更
新履歴情報301を生成し、更新履歴蓄積手段105に
て更新履歴蓄積記憶手段106に蓄積して行く。
In the actual operation of the database system, each open server is in charge of a task within a divided range, and the database is referred to / updated. The database is used for the supervised business. Therefore, when the update (addition, change, deletion) of the database is performed in each open server, the update request unit 103 stores the database storage unit group 10 in its own.
2 is updated, update history information 301 is generated by the update information creation unit 104, and is stored in the update history storage unit 106 by the update history storage unit 105.

【0013】蓄積される更新履歴情報301は、テーブ
ル名を識別する資源情報301と、更新処理が追加なの
か変更なのか削除なのかを示す更新タイプ303と、更
新したレコードを一意に決定するレプリケーションプラ
イマリキーのレコードキー値304と、自身の分割番号
をオープンサーバの分割情報204を基に基幹ホスト1
0上での分割番号に変更して設定される分割番号305
と、更新前情報306と更新後情報307である。更新
前情報306と更新後情報307は、更新タイプによっ
て異なり、追加の場合は更新後情報307のみであり、
削除の場合は、更新前情報306のみである。両情報3
06,307が設定されるのは、変更の場合のみであ
る。
The accumulated update history information 301 includes resource information 301 for identifying a table name, an update type 303 indicating whether an update process is an addition, a change, or a deletion, and a replication for uniquely determining an updated record. Based on the record key value 304 of the primary key and its own division number, the main host 1
Division number 305 set by changing to the division number on 0
And pre-update information 306 and post-update information 307. The pre-update information 306 and the post-update information 307 differ depending on the update type. In the case of addition, only the post-update information 307 is provided.
In the case of deletion, only the pre-update information 306 is provided. Both information 3
06 and 307 are set only in the case of change.

【0014】上記のような形態で各オープンサーバのデ
ータベースが更新され、基幹ホスト10のデータベース
と内容が異なってきた場合に、基幹ホスト10のデータ
ベース記憶手段群を各オープンサーバのデータベース記
憶手段群と同一にする必要がある。このため、基幹ホス
ト10主体で各オープンサーバ上の更新履歴蓄積手段1
06に蓄積されている更新履歴情報301を収集するた
めに更新履歴情報集信手段107を起動する。更新履歴
集信手段107は、ネットワーク上の全てのオープンサ
ーバより、現在、更新履歴蓄積記憶手段106に蓄積さ
れている更新履歴情報301を集めて更新履歴情報記憶
手段に108に格納する。その後、更新情報反映手段1
09により、更新履歴情報記憶手段108の更新履歴情
報301を読み出して、更新対象のテーブルと分割領域
を決定するためにデータベース決定手段110が動作
し、更新履歴情報301の資源情報302と分割番号3
05より決定する。更新対象が決定された後、データ更
新手段111により、更新履歴情報301の更新タイプ
303にあった処置を更新前情報306と更新後情報3
07を用いて実施し、データベースを更新する。
When the database of each open server is updated in the above-described manner and the content differs from the database of the main host 10, the database storage means group of the main host 10 is replaced with the database storage means group of each open server. Must be identical. For this reason, the update history storage unit 1 on each open server is mainly composed of the core host 10.
In order to collect the update history information 301 stored in 06, the update history information collecting unit 107 is activated. The update history collecting unit 107 collects update history information 301 currently stored in the update history storage unit 106 from all open servers on the network, and stores the update history information 301 in the update history information storage unit 108. Then, update information reflecting means 1
In step 09, the update history information 301 of the update history information storage unit 108 is read, and the database determination unit 110 operates to determine the table to be updated and the divided area.
05 is determined. After the update target is determined, the data update unit 111 executes the pre-update information 306 and the post-update information 3 on the action corresponding to the update type 303 of the update history information 301.
07 to update the database.

【0015】[0015]

【実施例】次に、本発明の実施例について図4を用いて
説明する。図4は、在庫管理表401と、基幹ホスト1
0の関東地区402と、オープンサーバ2の関東地区4
03と、データベース更新AP404と、更新履歴蓄積
記憶手段405と、更新履歴情報406と、更新履歴情
報記憶手段407と、更新反映後の関東地区408とを
備えて構成される。
Next, an embodiment of the present invention will be described with reference to FIG. FIG. 4 shows the inventory management table 401 and the main host 1
0 Kanto area 402 and Open server 2 Kanto area 4
03, a database update AP 404, an update history accumulation storage means 405, update history information 406, an update history information storage means 407, and a Kanto area 408 after update reflection.

【0016】[実施例の動作の説明]基幹ホスト10と
各オープンサーバ1,2にデータベース定義手段101
にてレプリケーションプライマリーキー情報202を番
号というフィールド名で在庫管理表401を定義し、当
該テーブルは地区コードにて分割されており、北海道地
区、東北地区、北陸地区、関東地区402・・・から構
成される。また、オープンサーバ2には、基幹ホストの
在庫管理表のうちで関東地区402のみの在庫管理表4
03が定義されている。
[Explanation of the operation of the embodiment] The database definition means 101 is provided in the core host 10 and each of the open servers 1 and 2.
Defines the replication primary key information 202 as an inventory management table 401 with a field name of a number, and the table is divided by a district code, and is composed of a Hokkaido district, a Tohoku district, a Hokuriku district, a Kanto district 402, and so on. Is done. In addition, the open server 2 has an inventory management table 4 for only the Kanto area 402 in the inventory management table of the core host.
03 is defined.

【0017】上記のような構成で、オープンサーバ2で
データベース更新AP404が動作し、在庫管理表40
3のレコード2の在庫数を「1000」から「300」
に更新した場合、更新要求手段103,更新情報作成手
段104,更新履歴蓄積手段105によって、更新履歴
蓄積記憶手段405に更新履歴情報406が蓄積され
る。更新履歴情報406は、資源情報302が在庫管理
表で更新タイプ303が変更でレコードキー値304が
10で、分割番号305が基幹ホストの分割番号である
4で、更新前情報306が「1000」で更新後情報3
07が「300」となる。 その後、更新履歴集信手段
107により、各オープンサーバ1,2の更新履歴蓄積
記憶手段の更新履歴情報の収集することにより、オープ
ンサーバ2の更新履歴情報406が更新履歴情報記憶手
段407に格納される。
With the above configuration, the database update AP 404 operates on the open server 2 and the inventory management table 40
The stock quantity of record 2 of 3 is changed from “1000” to “300”
, The update history information 406 is accumulated in the update history accumulation storage means 405 by the update request means 103, the update information creation means 104, and the update history accumulation means 105. In the update history information 406, the resource information 302 is an inventory management table, the update type 303 is changed, the record key value 304 is 10, the division number 305 is 4 which is the division number of the main host, and the pre-update information 306 is "1000". Information 3 after update
07 becomes “300”. After that, the update history collecting means 107 collects the update history information of the update history accumulating and storing means of each of the open servers 1 and 2, so that the update history information 406 of the open server 2 is stored in the update history information storing means 407. You.

【0018】更新履歴情報記憶手段407に格納された
更新履歴情報406は、更新情報反映手段109によっ
て読み出され、データベース決定手段110により、更
新履歴情報406の資源情報302が在庫管理表である
ことより更新対象のテーブルが在庫管理表401である
と決定され、更新履歴情報406の分割番号305が4
であるため、在庫管理表401のうち関東地区402に
対する更新履歴であると判定される。そして、データ更
新手段111により、更新履歴情報406の更新タイプ
303とレコードキー値304、更新前情報306、更
新後情報307をもとに関東地区402の内容が関東地
区407の内容に更新され、オープンサーバ2の在庫管
理表403と同一の内容となる。
The update history information 406 stored in the update history information storage means 407 is read out by the update information reflection means 109, and the resource information 302 of the update history information 406 is determined by the database determination means 110 to be an inventory management table. It is determined that the table to be updated is the inventory management table 401, and the division number 305 of the update history information 406 is 4
Therefore, it is determined that the update history is the update history for the Kanto area 402 in the inventory management table 401. Then, the data updating means 111 updates the contents of the Kanto area 402 to the contents of the Kanto area 407 based on the update type 303 and the record key value 304 of the update history information 406, the information 306 before the update, and the information 307 after the update. It has the same contents as the inventory management table 403 of the open server 2.

【0019】[0019]

【発明の効果】本発明によれば、次のような効果が得ら
れる。第1の効果は、基幹ホストで分割格納されている
テーブルを複数のオープンサーバ間で分割単位毎、また
は数個の分割単位で運用し、オープンサーバ側でデータ
ベースの更新業務を行った場合に、基幹ホストのデータ
ベースの更新反映を高速に行えることである。その理由
は、オリジナルとレプリカを持って従来のように処理さ
れた場合、二相コミットメントプロトコルの利用や、ま
たは、オリジナルデータの更新毎にログ情報より、レプ
リカ側の更新トランザクションを生成し転送して実行す
るのでは、通信負荷が高くなるという欠点があるのに対
して、本発明では、更新履歴を各オープンサーバ側の更
新履歴蓄積手段に蓄積しておき、全体を通しての処理を
基幹ホスト側で行う際などに、一括して基幹ホスト側で
収集するので通信負荷の軽減が図れるからである。
According to the present invention, the following effects can be obtained. The first effect is that, when a table divided and stored in the main host is operated between a plurality of open servers for each division unit or several division units, and a database update operation is performed on the open server side, This means that the update of the database of the main host can be reflected at high speed. The reason is that when the original and the replica are processed as before, using the two-phase commitment protocol or generating and transferring the update transaction on the replica side from the log information every time the original data is updated In contrast to the execution, there is a disadvantage that the communication load becomes high. On the other hand, in the present invention, the update history is stored in the update history storage means of each open server, and the entire processing is performed on the main host side. This is because, at the time of execution, the core host collects the data collectively, so that the communication load can be reduced.

【0020】第2の効果は、操作性の向上である。その
理由は、基幹ホストで1つのテーブルを分割しているよ
うなデータベースを複数のオープンサーバに分割配置
し、各々のオープンサーバで更新業務を行う場合に、各
オープンサーバ側から通知するのではなく、オリジナル
データベースである基幹ホスト側から収集処理を行って
データベースに反映することである。
The second effect is an improvement in operability. The reason is that instead of notifying from each open server, when a database in which one table is divided on the main host is divided and arranged on a plurality of open servers and update work is performed on each open server, the update is performed on each open server. That is, the collection processing is performed from the backbone host, which is the original database, and is reflected in the database.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 実施の形態のレプリケーション制御システム
の全体説明図である。
FIG. 1 is an overall explanatory diagram of a replication control system according to an embodiment.

【図2】 実施の形態のレプリケーション制御システム
におけるデータベース定義手段の内容を示す図である。
FIG. 2 is a diagram illustrating contents of a database definition unit in the replication control system according to the embodiment;

【図3】 実施の形態のレプリケーション制御システム
における更新履歴情報を示す図である。
FIG. 3 is a diagram illustrating update history information in the replication control system according to the embodiment.

【図4】 実施の形態のレプリケーション制御システム
の具体的な実施例の説明図である。
FIG. 4 is an explanatory diagram of a specific example of the replication control system according to the embodiment;

【符号の説明】[Explanation of symbols]

1,2,3 オープンサーバ 10 基幹ホスト 101 データベース定義手段 102 データベース記憶手段群 103 更新要求手段 104 更新情報作成手段 105 更新履歴蓄積手段 106 更新履歴蓄積記憶手段 107 更新履歴集信手段 108 更新履歴情報記憶手段 109 更新情報反映手段 110 データベース決定手段 111 データ更新手段 1, 2, 3 Open server 10 key host 101 database definition means 102 database storage means group 103 update request means 104 update information creation means 105 update history accumulation means 106 update history accumulation storage means 107 update history collection means 108 update history information storage Means 109 Update information reflecting means 110 Database determination means 111 Data updating means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 基幹ホストと複数のオープンサーバとを
備えて構成される分散システム上に配置されたデータベ
ースで、基幹ホスト上のデータベースの一部を複写して
オープンサーバ上で参照/更新するレプリケーション制
御システムであって、 各オープンサーバ上のデータベース記憶手段にレプリケ
ーションを行うために必要とする情報を定義するデータ
ベース定義手段と、 オープンサーバ上でデータベースに対して更新要求手段
にて更新した際に更新情報を作成する更新情報作成手段
と、 更新履歴を記憶する更新履歴蓄積記憶手段と、 前記更新情報作成手段にて作成された更新履歴を前記更
新履歴蓄積記憶手段に格納する更新履歴蓄積手段と、 各オープンサーバ上の前記更新履歴蓄積記憶手段内に蓄
積された更新履歴情報を基幹ホストの更新履歴情報記憶
手段に集める更新履歴集信手段と、 前記更新履歴情報記憶手段に集められた更新履歴情報を
基幹ホストのデータベース記憶手段群に反映る更新情報
反映手段と、 を備え、 前記更新情報反映手段は、更新情報に基づき前記データ
ベース記憶手段群のなかの該当するデータベース記憶手
段を決定し、決定したデータベース記憶手段の内容を更
新することを特徴とするレプリケーション制御システ
ム。
1. A database arranged on a distributed system comprising a main host and a plurality of open servers, wherein a part of the database on the main host is copied and referred / updated on the open server. A control system, which is a database definition unit that defines the information required to perform replication to the database storage unit on each open server, and is updated when the database is updated on the open server by the update request unit Update information creation means for creating information; update history accumulation storage means for storing an update history; update history accumulation means for storing the update history created by the update information creation means in the update history accumulation storage means; The update history information stored in the update history storage means on each open server is used as a main host. Update history collecting means for collecting the update history information in the update history information storage means, and update information reflecting means for reflecting the update history information collected in the update history information storage means in a group of database storage means of the core host, the update information A replication control system, wherein the reflection unit determines a corresponding database storage unit in the database storage unit group based on update information, and updates the content of the determined database storage unit.
JP10186653A 1998-07-01 1998-07-01 Replication control system Pending JP2000020374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10186653A JP2000020374A (en) 1998-07-01 1998-07-01 Replication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10186653A JP2000020374A (en) 1998-07-01 1998-07-01 Replication control system

Publications (1)

Publication Number Publication Date
JP2000020374A true JP2000020374A (en) 2000-01-21

Family

ID=16192347

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10186653A Pending JP2000020374A (en) 1998-07-01 1998-07-01 Replication control system

Country Status (1)

Country Link
JP (1) JP2000020374A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002288027A (en) * 2001-03-28 2002-10-04 Osaka Gas Co Ltd Distributed operation supporting system
US7519620B2 (en) 2000-09-27 2009-04-14 Hitachi, Ltd. Replication system, method and program for replicating a plurality of databases into a replica database
JP2009163389A (en) * 2007-12-28 2009-07-23 Hitachi Ltd System, method, program and storage medium for managing identification data
US9170851B2 (en) 2010-11-22 2015-10-27 International Business Machines Corporation Connection distribution for load balancing in a distributed database
JP2017120643A (en) * 2015-12-28 2017-07-06 キヤノンマーケティングジャパン株式会社 Server, information processing device, information processing method and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7519620B2 (en) 2000-09-27 2009-04-14 Hitachi, Ltd. Replication system, method and program for replicating a plurality of databases into a replica database
JP2002288027A (en) * 2001-03-28 2002-10-04 Osaka Gas Co Ltd Distributed operation supporting system
JP2009163389A (en) * 2007-12-28 2009-07-23 Hitachi Ltd System, method, program and storage medium for managing identification data
US9170851B2 (en) 2010-11-22 2015-10-27 International Business Machines Corporation Connection distribution for load balancing in a distributed database
JP2017120643A (en) * 2015-12-28 2017-07-06 キヤノンマーケティングジャパン株式会社 Server, information processing device, information processing method and program

Similar Documents

Publication Publication Date Title
US11709600B2 (en) System and method for performing live partitioning in a data store
US20210103604A1 (en) System and method for implementing a scalable data storage service
US11288002B2 (en) System and method for providing high availability data
US6374262B1 (en) Relational database synchronization method and a recording medium storing a program therefore
EP2062125B1 (en) System and method for providing high availability data
CN102395962B (en) Composite hash and list partitioning of database tables
EP0226734B1 (en) Method and apparatus for managing obsolescence of data objects
US8572091B1 (en) System and method for partitioning and indexing table data using a composite primary key
US20210200446A1 (en) System and method for providing a committed throughput level in a data store
US8620923B1 (en) System and method for storing meta-data indexes within a computer storage system
US20120296866A1 (en) System and method for implementing on demand cloud database
JP3526474B2 (en) Distribution information management system in network
CN102142024A (en) Logical data backup and rollback using incremental capture in a distributed database
JP2003296171A (en) Electronic business form management method and program
EP2380090B1 (en) Data integrity in a database environment through background synchronization
CN101765831A (en) Database contradiction solution method
JPH04505977A (en) Object-oriented distributed processing system
JP2005025432A (en) Transaction processing method, transaction controller, and transaction control program
US9766949B2 (en) System and method for locking exclusive access to a divided resource
WO2017156855A1 (en) Database systems with re-ordered replicas and methods of accessing and backing up databases
CN109299225A (en) Log searching method, system, terminal and computer readable storage medium
US20130006920A1 (en) Record operation mode setting
JP2000020374A (en) Replication control system
CN111382142A (en) Database operation method, server and computer storage medium
KR101035857B1 (en) Method for data management based on cluster system and system using the same

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010925