JP2001290687A - Data-synchronization control system - Google Patents
Data-synchronization control systemInfo
- Publication number
- JP2001290687A JP2001290687A JP2000102328A JP2000102328A JP2001290687A JP 2001290687 A JP2001290687 A JP 2001290687A JP 2000102328 A JP2000102328 A JP 2000102328A JP 2000102328 A JP2000102328 A JP 2000102328A JP 2001290687 A JP2001290687 A JP 2001290687A
- Authority
- JP
- Japan
- Prior art keywords
- data
- server
- database
- servers
- synchronization
- 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
Links
- 238000012545 processing Methods 0.000 claims abstract description 23
- 238000011084 recovery Methods 0.000 claims abstract description 11
- 238000000034 method Methods 0.000 claims description 35
- 230000008569 process Effects 0.000 claims description 17
- 230000010076 replication Effects 0.000 claims description 14
- 230000004044 response Effects 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims description 2
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明はデータ同期化制御方
式、特に障害復旧後にデータベースを自動的に同期化し
ているシステムにおける同期化処理中に新たなデータ更
新が発生した場合に、リアルタイムにデータベースを更
新するデータ同期化制御方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data synchronization control method, and more particularly, to a method for automatically updating a database when a new data update occurs during a synchronization process in a system for automatically synchronizing the database after recovery from a failure. The present invention relates to a data synchronization control method to be updated.
【0002】[0002]
【従来の技術】従来のデータベースの同期化制御方式
は、例えば特開平10−111825号公報の「複数デ
ータベース一致化更新および装置」に開示されている。
この従来技術では、同期化処理中に新たなデータ更新イ
ベントが発生してもリアルタイム(即時)に更新せず、
同期化処理の最後に更新している。2. Description of the Related Art A conventional database synchronization control method is disclosed, for example, in Japanese Unexamined Patent Application Publication No. 10-111825, entitled "Multiple Database Matching Update and Apparatus".
In this conventional technique, even if a new data update event occurs during the synchronization process, the data is not updated in real time (immediately).
Updated at the end of the synchronization process.
【0003】また、他の装置で障害発生中にデータ更新
イベントを受信すると、一時的に、データを差分ファイ
ルに格納し、障害復旧後にこのファイルを使用してデー
タベースの同期化処理を行う。また、同期化処理中にデ
ータ更新イベントを受信した場合にも、差分ファイルに
格納する方法も使用している。しかし、マルチタスクの
システムでは、同期化処理終了直前(差分ファイルから
取り出すイベントがないため、通信状態を異常から正常
に戻す瞬間)に、データ更新イベントを受信した場合に
は、通信を行っているタスクが、通信状態が異常のため
差分ファイルにデータを書き込む処理と差分ファイルの
管理を行っているタスクがデータなしと判断する。通信
状態を異常から正常に戻す処理が重なるため、差分ファ
イルにデータを書き込んで、その内容を他のデータベー
スに反映しないで同期化処理を終了してしまい、データ
の不一致が生じる。When a data update event is received while a failure occurs in another device, the data is temporarily stored in a difference file, and after the recovery from the failure, a database synchronization process is performed using this file. Also, when a data update event is received during the synchronization processing, a method of storing the data update event in the difference file is used. However, in the multitasking system, when a data update event is received immediately before the end of the synchronization process (at the moment when the communication status is returned from abnormal to normal because there is no event to be extracted from the difference file), communication is performed. The task determines that there is no data in the task that writes data to the difference file and the task that manages the difference file because the communication state is abnormal. Since the process of returning the communication state from abnormal to normal overlaps, the data is written to the difference file and the synchronization process ends without reflecting the content to another database, resulting in data mismatch.
【0004】[0004]
【発明が解決しようとする課題】従って、上述した従来
技術は、障害復旧時の同期化処理中にデータ更新イベン
トが発生してもリアルタイムに更新できないことであ
る。その理由は、同期化処理が終了後にデータの更新を
行っているためである。Therefore, the above-mentioned prior art is incapable of updating in real time even if a data update event occurs during synchronization processing at the time of recovery from a failure. The reason is that the data is updated after the synchronization process ends.
【0005】[0005]
【発明の目的】そこで、本発明の目的は、複数のデータ
ベースがネットワークを介して接続され、24時間連続
運用且つ即時性も求められるシステムにおいて、障害復
旧後の同期化処理中にデータ更新イベントが発生した場
合には、リアルタイムにデータベースを更新可能にする
データ同期化制御方式を提供することである。SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a system in which a plurality of databases are connected via a network and which require continuous operation and immediacy for 24 hours. It is an object of the present invention to provide a data synchronization control method that enables a database to be updated in real time when it occurs.
【0006】[0006]
【課題を解決するための手段】それぞれデータベースを
内蔵する複数のサーバがネットワーク等を介して相互接
続されているシステムにおいて、複数のサーバの1つに
障害発生後復旧するまでの間に残りのサーバでデータ更
新イベントが発生した場合に、複数のサーバのデータベ
ースの更新を行うと共にデータベースの差分情報を差分
ファイルに書込み、障害復旧後に差分ファイルを使用し
てデータベースの同期化処理を行う。SUMMARY OF THE INVENTION In a system in which a plurality of servers each containing a database are interconnected via a network or the like, the remaining servers are restored until one of the plurality of servers recovers from a failure. When a data update event has occurred, the database of a plurality of servers is updated, the difference information of the database is written to a difference file, and the database is synchronized using the difference file after recovery from the failure.
【0007】本発明の好適実施形態例によると、各サー
バは、上述したデータベースおよび差分ファイルに加え
て、データベースの更新処理を行うデータ更新制御部お
よびデータベースの同期化処理を行うレプリケーション
制御部を備える。上述した差分ファイルの情報は、装置
番号およびレコード番号等である。また、同期化処理中
に複数のサーバの1つにデータ更新イベントが発生した
場合に、残りのサーバの1つに更新されたレコードの最
新データを設定し、データ登録通知を送信する。更に、
上述した1つのサーバは、データ更新後、残りのサーバ
にデータ登録通知に対応する応答として、データ登録完
了通知を送信する。また、上述した残りのサーバは、デ
ータ登録完了通知が正常であることを確認後、それぞれ
の差分ファイルから該当するデータを削除する。According to a preferred embodiment of the present invention, each server includes, in addition to the database and the difference file described above, a data update control unit for performing a database update process and a replication control unit for performing a database synchronization process. . The information of the above-mentioned difference file is a device number, a record number, and the like. Further, when a data update event occurs in one of the plurality of servers during the synchronization processing, the latest data of the updated record is set in one of the remaining servers, and a data registration notification is transmitted. Furthermore,
After updating the data, one server described above transmits a data registration completion notification to the remaining servers as a response corresponding to the data registration notification. After confirming that the data registration completion notification is normal, the remaining servers delete the corresponding data from the respective difference files.
【0008】[0008]
【発明の実施の形態】以下、本発明によるデータ同期化
制御方式の好適実施形態例の構成および動作を、添付図
を参照して詳細に説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The configuration and operation of a preferred embodiment of a data synchronization control system according to the present invention will be described below in detail with reference to the accompanying drawings.
【0009】先ず、図1は、本発明によるデータ同期化
制御方式の好適実施形態例の構成を示すブロック図であ
る。この特定実施形態例のデータ同期化制御方式による
と、3個のサーバ10、20および30を含み、それぞ
れネットワーク40を介して相互接続されている。各サ
ーバ10、20および30は、夫々データ更新制御部1
1、21、31と、レプリケーション制御部12、2
2、32と、データベース13、23、33および差分
ファイル14、24、34を含んでいる。FIG. 1 is a block diagram showing the configuration of a preferred embodiment of a data synchronization control system according to the present invention. According to the data synchronization control scheme of this particular embodiment, it includes three servers 10, 20 and 30, each interconnected via a network 40. Each of the servers 10, 20, and 30 has a data update control unit 1
1, 21, 31 and the replication control units 12, 2
2, 32, and databases 13, 23, 33 and difference files 14, 24, 34.
【0010】図1に示すデータ同期化制御方式におい
て、ネットワーク40を介して接続されている各サーバ
10、サーバ20およびサーバ30について説明する。
サーバ10のデータ更新制御部11は、データベースの
更新処理を行う。レプリケーション制御部12は、差分
ファイル14によりデータベース13の同期化処理を行
う。データベース13は、データを一括管理する。差分
ファイル14は、データベース13の差分情報を格納す
る。また、サーバ20および30のデータ更新制御部2
1、31、レプリケーション制御部22、32、データ
ベース23、33および差分ファイル24、34は、夫
々上述したデータ更新制御部11、レプリケーション制
御部12、データベース13および差分ファイル14と
同様機能を有する。In the data synchronization control system shown in FIG. 1, each server 10, server 20 and server 30 connected via a network 40 will be described.
The data update control unit 11 of the server 10 performs a database update process. The replication control unit 12 synchronizes the database 13 using the difference file 14. The database 13 manages data collectively. The difference file 14 stores difference information of the database 13. Further, the data update control unit 2 of the servers 20 and 30
1, 31, the replication control units 22, 32, the databases 23, 33, and the difference files 24, 34 have the same functions as the above-described data update control unit 11, replication control unit 12, database 13, and difference file 14, respectively.
【0011】次に、図2は、サーバ10、20および3
0に夫々含まれる差分ファイル14、24、34と図1
に示すデータベース13〜33に含まれる親テーブル1
5〜35および子テーブル16〜36を示す。これらサ
ーバ10〜30のデータベース13〜33に含まれる親
テーブル15〜35および子テーブル16〜36には、
参照整合性が設定されているものとする。Next, FIG. 2 shows servers 10, 20 and 3
1 and the difference files 14, 24, 34 included in FIG.
Parent table 1 included in databases 13 to 33 shown in FIG.
5 to 35 and child tables 16 to 36 are shown. The parent tables 15 to 35 and the child tables 16 to 36 included in the databases 13 to 33 of these servers 10 to 30 include:
It is assumed that referential integrity has been set.
【0012】次に、サーバ10〜30の動作を、図4〜
図7のフローチャートを参照して説明する。先ず、各サ
ーバ10〜30が起動され、正常に動作している場合の
処理動作を説明する。サーバ10にデータ更新イベント
(データD11およびデータD21の追加)が発生した
とする(図4のステップS1参照)。サーバ10のデー
タ更新制御部11は、自データベース13の内容を更新
する(図4のステップS2)。このデータベース更新
後、サーバ20およびサーバ30に対してデータ更新通
知を送信する(図4のステップS3およびS4参照)。
サーバ20およびサーバ30のデータ更新制御部21、
31は、自データベース23、33の内容を更新する
(図4のステップS5およびS6)。その後、サーバ2
0および30は、それぞれサーバ10に対してデータ更
新完了通知を正常に設定し送信する(図4のステップS
7およびS8)。サーバ10は、データ更新完了通知が
正常であれば、何も行わずに処理を終了する。図2は、
上述した処理終了後のデータベース13〜33および差
分ファイル14〜34の構成を示す。Next, the operation of the servers 10 to 30 will be described with reference to FIGS.
This will be described with reference to the flowchart of FIG. First, the processing operation when each of the servers 10 to 30 is activated and operates normally will be described. It is assumed that a data update event (addition of data D11 and data D21) has occurred in server 10 (see step S1 in FIG. 4). The data update control unit 11 of the server 10 updates the content of its own database 13 (Step S2 in FIG. 4). After this database update, a data update notification is transmitted to the server 20 and the server 30 (see steps S3 and S4 in FIG. 4).
Data update control unit 21 of server 20 and server 30,
31 updates the contents of its own databases 23 and 33 (steps S5 and S6 in FIG. 4). Then, server 2
0 and 30 normally set and transmit a data update completion notification to the server 10 (step S in FIG. 4).
7 and S8). If the data update completion notification is normal, the server 10 terminates the process without performing anything. FIG.
The configuration of the databases 13 to 33 and the difference files 14 to 34 after the above-described processing is shown.
【0013】次に、サーバ30が正常に動作していない
場合の処理動作を説明する。サーバ10にデータ更新イ
ベント(データD12およびデータD22の追加)が発
生する(図4のステップS11)。データ更新制御部1
1は、自データベース13の内容を更新する(図4のス
テップS12)。その後、サーバ20およびサーバ30
に対してデータ更新通知を送信する(図4のステップS
13およびS14)。サーバ20のデータ更新制御部2
1は、自データベース23の内容を更新する(図5のス
テップS15)。その後、サーバ10に対しデータ更新
完了通知を正常に設定し送信する(図5のステップS1
6)。しかし、サーバ30は、障害中(図4のステップ
S9)のため、データ更新完了通知に異常を設定し送信
するか又は何もしないで処理を終了する(図4のステッ
プS10)。Next, the processing operation when the server 30 is not operating normally will be described. A data update event (addition of data D12 and data D22) occurs in server 10 (step S11 in FIG. 4). Data update control unit 1
1 updates the contents of its own database 13 (step S12 in FIG. 4). Then, the server 20 and the server 30
A data update notification is transmitted to the
13 and S14). Data update control unit 2 of server 20
1 updates the contents of its own database 23 (step S15 in FIG. 5). Thereafter, a data update completion notification is normally set and transmitted to the server 10 (step S1 in FIG. 5).
6). However, since the server 30 is in failure (step S9 in FIG. 4), the server sets an abnormality in the data update completion notification and transmits the notification, or terminates the process without doing anything (step S10 in FIG. 4).
【0014】サーバ10のデータ更新制御部11は、サ
ーバ20から受信したデータ更新完了通知が正常なの
で、何も行わずに処理を終了する。しかし、サーバ30
からはデータ更新完了通知が異常又は無応答によるタイ
ムアウトが発生した場合には、装置番号、レコード番号
および更新内容を差分ファイル14に書き込み処理を終
了する(図5のステップS17)。その後、サーバ20
にデータ更新イベント(データD13およびデータD2
3の追加)(図5のステップ18)、サーバ10にデー
タ更新イベント(データD23をデータD23αに変
更)が発生した場合(図5のステップS25)にも、上
述と同様の処理を行う(図5のステップS19〜S26
および図6のステップS27〜S31)。図3は、上述
した処理終了後のデータベース13〜33および差分フ
ァイル14〜34の構成を示す。The data update control unit 11 of the server 10 terminates the process without performing any processing since the data update completion notification received from the server 20 is normal. However, the server 30
Thereafter, if the data update completion notification is abnormal or a timeout occurs due to no response, the device number, record number, and update content are written to the difference file 14 and the process ends (step S17 in FIG. 5). Then, the server 20
Data update event (data D13 and data D2)
3) (step 18 in FIG. 5), and when a data update event (change data D23 to data D23α) occurs in the server 10 (step S25 in FIG. 5), the same processing as described above is performed (FIG. 5). Steps S19 to S26 of 5
And steps S27 to S31 in FIG. FIG. 3 shows the configurations of the databases 13 to 33 and the difference files 14 to 34 after the above-described processing is completed.
【0015】次に、サーバ30の障害復旧(図6のステ
ップS32)後における処理動作を説明する。サーバ3
0のレプリケーション制御部32は立ち上がり時に、サ
ーバ10に対してレプリケーション開始通知を送信する
(図6のステップS33)。サーバ10のレプリケーシ
ョン制御部12は、差分ファイル14から装置番号が3
のデータを昇り順(データD12およびデータD22の
追加から)で取り出し、サーバ30に対して最新のデー
タを設定したデータ更新通知を送信する(図6のステッ
プS34)。そして、サーバ30からデータ更新完了通
知を受信する度に、差分ファイル14から該当するデー
タをクリアする。Next, the processing operation after the failure recovery of the server 30 (step S32 in FIG. 6) will be described. Server 3
The 0 replication control unit 32 transmits a replication start notification to the server 10 at the time of startup (step S33 in FIG. 6). The replication control unit 12 of the server 10 determines that the device number 3
Are extracted in ascending order (from the addition of data D12 and data D22), and a data update notification in which the latest data is set is transmitted to server 30 (step S34 in FIG. 6). Then, every time a data update completion notification is received from the server 30, the corresponding data is cleared from the difference file 14.
【0016】サーバ10において、差分ファイル14の
同期化処理中にデータ更新イベントが発生した場合、例
えばデータD12の同期処理中に新たにデータD23α
をデータD23βに変更するようなデータ更新イベント
が発生した場合(図6のステップS35)を説明する。
この場合には、サーバ10のデータベース13を更新す
る(図6のステップS36)。しかし、そのままリアル
タイムにデータ更新通知を送信してしまうと、サーバ3
0のテーブル35にはデータD13が存在しないので、
参照整合性のエラーが発生してしまう。そのために、サ
ーバ10のデータ更新制御部11は、差分データ送信中
に新たなデータ更新イベントが発生した場合には、サー
バ20にはデータ更新通知(データD23αをデータD
23βに変更)する(図6のステップS37)。そし
て、サーバ20のデータベース23を更新し(図6のス
テップS39)、データ更新完了通知がなされる(ステ
ップS40)。また、サーバ30にはレコード番号が3
の最新のデータ(データD13およびデータD23β)
を付加してデータ登録通知を送信する(図6のステップ
S38)。サーバ30のデータ更新制御部31は、デー
タベース33を更新する(図6のステップS41)。こ
の更新後、サーバ30は、サーバ10およびサーバ20
にデータ登録完了通知を送信する(図6のステップS4
2およびS43)。サーバ10およびサーバ20は、そ
れぞれ差分ファイル14および24から該当するデータ
(サーバ10はデータD23αを削除、サーバ20はデ
ータD13およびデータD23を削除)を削除する(図
7のステップS44〜S46)。In the server 10, when a data update event occurs during the synchronization processing of the difference file 14, for example, the data D23α is newly added during the synchronization processing of the data D12.
Will be described (step S35 in FIG. 6) when a data update event occurs that changes the data D23β to the data D23β.
In this case, the database 13 of the server 10 is updated (Step S36 in FIG. 6). However, if the data update notification is transmitted in real time, the server 3
Since the data D13 does not exist in the table 35 of 0,
Referential integrity errors occur. Therefore, when a new data update event occurs during the transmission of the differential data, the data update control unit 11 of the server 10 notifies the server 20 of a data update notification (data D23α is transmitted to the data D23α).
23β) (step S37 in FIG. 6). Then, the database 23 of the server 20 is updated (Step S39 in FIG. 6), and a data update completion notification is issued (Step S40). The server 30 has a record number of 3
Latest data (data D13 and data D23β)
And sends a data registration notification (step S38 in FIG. 6). The data update control unit 31 of the server 30 updates the database 33 (Step S41 in FIG. 6). After this update, the server 30 becomes the server 10 and the server 20
A data registration completion notification is transmitted to the user (step S4 in FIG. 6).
2 and S43). The server 10 and the server 20 delete the corresponding data (the server 10 deletes the data D23α, and the server 20 deletes the data D13 and the data D23) from the difference files 14 and 24, respectively (steps S44 to S46 in FIG. 7).
【0017】差分ファイル14の同期化処理中にデータ
更新イベントが発生しなかった場合でも、サーバ10が
データD22の同期処理後にデータD23αを送信して
しまうと、参照整合性のエラーが発生する。そのため、
上述と同様にサーバ30に対してデータ更新通知ではな
くデータ登録通知を送信するシーケンスとなる。サーバ
10およびサーバ30の同期化処理が終了し、差分ファ
イル14が全てクリアされた時に、サーバ10のレプリ
ケーション制御部12は、サーバ30に対しレプリケー
ション終了通知を送信する(図7のステップS47)。
サーバ30は、サーバ20にもレプリケーション開始通
知を送信し、同様の処理を行う(図7のステップS4
8)。サーバ30がサーバ20からレプリケーション終
了通知を受信(図7のステップS49)した時点で、デ
ータベースの同期化が完了する(図7のステップS5
0)。Even if a data update event does not occur during the synchronization processing of the difference file 14, if the server 10 transmits the data D23α after the synchronization processing of the data D22, an error in reference consistency occurs. for that reason,
As described above, the sequence is to transmit a data registration notification to the server 30 instead of a data update notification. When the synchronization process between the server 10 and the server 30 is completed and all the difference files 14 are cleared, the replication control unit 12 of the server 10 transmits a replication end notification to the server 30 (Step S47 in FIG. 7).
The server 30 also transmits a replication start notification to the server 20 and performs the same processing (step S4 in FIG. 7).
8). When the server 30 receives the replication end notification from the server 20 (step S49 in FIG. 7), the synchronization of the database is completed (step S5 in FIG. 7).
0).
【0018】以上、本発明によるデータ同期化制御方式
の好適実施形態例の構成および動作を詳細に説明した。
しかし、斯かる実施形態例は、本発明の単なる例示に過
ぎず、何ら本発明を限定するものではないことに留意す
るべきである。本発明の要旨を逸脱することなく、種々
の変形変更が可能であること、当業者には容易に理解で
きよう。例えば、ネットワークに接続されるサーバの個
数は、3以上の任意個数であるを可とする。The configuration and operation of the preferred embodiment of the data synchronization control system according to the present invention have been described in detail.
However, it should be noted that such embodiments are merely examples of the present invention and do not limit the present invention in any way. It will be readily apparent to those skilled in the art that various modifications can be made without departing from the spirit of the invention. For example, the number of servers connected to the network can be any number equal to or greater than three.
【0019】[0019]
【発明の効果】以上の説明から明らかな如く、本発明の
データ同期化制御方式によると、次の如き実用上顕著な
効果が得られる。第1に、3つ以上のサーバが存在する
システムにおいても障害復旧後、自動的にデータ同期化
処理を行うことができる。第2に、障害復旧後のデータ
同期化処理中にデータ更新イベントが発生しても、リア
ルタイム(即時的)にイベントの更新が可能である。As apparent from the above description, the following practically significant effects can be obtained by the data synchronization control method of the present invention. First, even in a system in which three or more servers exist, the data synchronization processing can be automatically performed after a failure recovery. Second, even if a data update event occurs during data synchronization processing after recovery from a failure, the event can be updated in real time (immediately).
【図1】本発明によるデータ同期化制御方式の好適実施
形態例の基本構成を示すブロック図である。FIG. 1 is a block diagram showing a basic configuration of a preferred embodiment of a data synchronization control system according to the present invention.
【図2】図1に示すデータ同期化制御方式において障害
発生前のデータベースおよび差分ファイルの構成例であ
る。FIG. 2 is a configuration example of a database and a difference file before a failure occurs in the data synchronization control method shown in FIG.
【図3】図1に示すデータ同期化制御方式において障害
発生後のデータベースおよび差分ファイルの構成例であ
る。FIG. 3 is a configuration example of a database and a difference file after a failure occurs in the data synchronization control method shown in FIG. 1;
【図4】図1に示すデータ同期化制御方式の動作を示す
フローチャートの一部である。FIG. 4 is a part of a flowchart showing an operation of the data synchronization control method shown in FIG. 1;
【図5】図4に示すフローチャートに続くフローチャー
トの一部である。FIG. 5 is a part of a flowchart following the flowchart shown in FIG. 4;
【図6】図5に示すフローチャートに続くフローチャー
トの一部である。FIG. 6 is a part of a flowchart following the flowchart shown in FIG. 5;
【図7】図6に示すフローチャートに続くフローチャー
トの一部である。FIG. 7 is a part of a flowchart following the flowchart shown in FIG. 6;
10、20、30 サーバ 40 ネットワーク 11、21、31 データ更新制御部 12、22、32 レプリケーション制御部 13、23、33 データベース 14、24、34 差分ファイル 15、16、25、26、35、36 テーブル 10, 20, 30 Server 40 Network 11, 21, 31 Data update control unit 12, 22, 32 Replication control unit 13, 23, 33 Database 14, 24, 34 Difference file 15, 16, 25, 26, 35, 36 Table
Claims (6)
ーバがネットワーク等を介して相互接続されているシス
テムにおいて、 前記複数のサーバの1つに障害発生後復旧するまでの間
に前記複数のサーバのうち残りのサーバでデータ更新イ
ベントが発生した場合に、前記複数のサーバの前記デー
タベースの更新を行うと共に前記データベースの差分情
報を差分ファイルに書き込み、障害復旧後に前記差分フ
ァイルを使用して前記データベースの同期化処理を行う
ことを特徴とするデータ同期化制御方式。1. A system in which a plurality of servers each containing a database are interconnected via a network or the like. When a data update event occurs in the remaining servers, the database of the plurality of servers is updated, the difference information of the database is written to a difference file, and the database is synchronized using the difference file after recovery from failure. A data synchronization control method characterized by performing a synchronization process.
前記差分ファイルに加えて、前記データベースの更新処
理を行うデータ更新制御部および前記データベースの同
期化処理を行うレプリケーション制御部を備えることを
特徴とする請求項1に記載のデータ同期化制御方式。2. The server according to claim 1, further comprising a data update control unit for performing update processing of the database and a replication control unit for performing synchronization processing of the database, in addition to the database and the difference file. The data synchronization control method according to claim 1.
びレコード番号等であることを特徴とする請求項1又は
2に記載のデータ同期化制御方式。3. The data synchronization control method according to claim 1, wherein the information of the difference file includes a device number, a record number, and the like.
つにデータ更新イベントが発生した場合には、残りのサ
ーバの1つに更新されたレコードの最新データを設定
し、データ登録通知を送信することを特徴とする請求項
1、2又は3に記載のデータ同期化制御方式。4. The method according to claim 1, wherein one of said plurality of servers is performed during said synchronization processing.
4. The method according to claim 1, wherein when one data update event occurs, the latest data of the updated record is set in one of the remaining servers, and a data registration notification is transmitted. Data synchronization control method.
残りのサーバにデータ登録通知に対する応答として、デ
ータ登録完了通知を送信することを特徴とする請求項4
に記載のデータ同期化制御方式。5. The one server, after updating the data,
5. A data registration completion notice is transmitted to the remaining servers as a response to the data registration notice.
Data synchronization control method described in 1.
通知が正常であることを確認後、それぞれの差分ファイ
ルから該当するデータを削除することを特徴とする請求
項5に記載のデータ同期化制御方式。6. The data synchronization according to claim 5, wherein the remaining servers delete the corresponding data from the respective difference files after confirming that the data registration completion notification is normal. control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000102328A JP2001290687A (en) | 2000-04-04 | 2000-04-04 | Data-synchronization control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000102328A JP2001290687A (en) | 2000-04-04 | 2000-04-04 | Data-synchronization control system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2001290687A true JP2001290687A (en) | 2001-10-19 |
Family
ID=18616228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000102328A Pending JP2001290687A (en) | 2000-04-04 | 2000-04-04 | Data-synchronization control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2001290687A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007088936A (en) * | 2005-09-22 | 2007-04-05 | Oki Electric Ind Co Ltd | Data matching method for subscriber database network |
WO2008129620A1 (en) * | 2007-04-09 | 2008-10-30 | Fujitsu Limited | Complete dual system, system control method, and system control program |
JP2008276553A (en) * | 2007-04-27 | 2008-11-13 | Mitsubishi Electric Corp | Database equivalent system and database equivalent method |
JP2008310591A (en) * | 2007-06-14 | 2008-12-25 | Nomura Research Institute Ltd | Cluster system, computer, and failure recovery method |
JP2009505281A (en) * | 2005-08-19 | 2009-02-05 | マイクロソフト コーポレーション | Cloning and managing database fragments |
US7757114B2 (en) | 2002-01-03 | 2010-07-13 | Hitachi, Ltd. | Data synchronization of multiple remote storage after remote copy suspension |
JP2013544386A (en) * | 2010-09-24 | 2013-12-12 | ヒタチ データ システムズ コーポレーション | System and method for managing integrity in a distributed database |
JP2018046414A (en) * | 2016-09-14 | 2018-03-22 | 株式会社東芝 | Information processing apparatus and program |
US10229403B2 (en) | 2015-06-26 | 2019-03-12 | Seiko Epson Corporation | Network system, control method of a network system, and management server |
JP2021532465A (en) * | 2018-08-02 | 2021-11-25 | ヒタチ ヴァンタラ エルエルシー | Distributed recovery of server information |
-
2000
- 2000-04-04 JP JP2000102328A patent/JP2001290687A/en active Pending
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7757114B2 (en) | 2002-01-03 | 2010-07-13 | Hitachi, Ltd. | Data synchronization of multiple remote storage after remote copy suspension |
JP2009505281A (en) * | 2005-08-19 | 2009-02-05 | マイクロソフト コーポレーション | Cloning and managing database fragments |
JP2007088936A (en) * | 2005-09-22 | 2007-04-05 | Oki Electric Ind Co Ltd | Data matching method for subscriber database network |
WO2008129620A1 (en) * | 2007-04-09 | 2008-10-30 | Fujitsu Limited | Complete dual system, system control method, and system control program |
JP5201133B2 (en) * | 2007-04-09 | 2013-06-05 | 富士通株式会社 | Redundant system, system control method and system control program |
JP2008276553A (en) * | 2007-04-27 | 2008-11-13 | Mitsubishi Electric Corp | Database equivalent system and database equivalent method |
JP2008310591A (en) * | 2007-06-14 | 2008-12-25 | Nomura Research Institute Ltd | Cluster system, computer, and failure recovery method |
JP2013544386A (en) * | 2010-09-24 | 2013-12-12 | ヒタチ データ システムズ コーポレーション | System and method for managing integrity in a distributed database |
US10229403B2 (en) | 2015-06-26 | 2019-03-12 | Seiko Epson Corporation | Network system, control method of a network system, and management server |
JP2018046414A (en) * | 2016-09-14 | 2018-03-22 | 株式会社東芝 | Information processing apparatus and program |
JP2021532465A (en) * | 2018-08-02 | 2021-11-25 | ヒタチ ヴァンタラ エルエルシー | Distributed recovery of server information |
JP7111882B2 (en) | 2018-08-02 | 2022-08-02 | ヒタチ ヴァンタラ エルエルシー | Distributed recovery of server information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7571290B1 (en) | Replica synchronization using copy-on-read technique | |
US7428657B2 (en) | Method for rolling back from snapshot with log | |
US20070255763A1 (en) | Database replication method and system | |
US9785691B2 (en) | Method and apparatus for sequencing transactions globally in a distributed database cluster | |
US8775387B2 (en) | Methods and systems for validating accessibility and currency of replicated data | |
US7617369B1 (en) | Fast failover with multiple secondary nodes | |
US6615223B1 (en) | Method and system for data replication | |
US8856091B2 (en) | Method and apparatus for sequencing transactions globally in distributed database cluster | |
US10565071B2 (en) | Smart data replication recoverer | |
US20090240744A1 (en) | Pourover journaling | |
US7954003B2 (en) | Fault management system in multistage copy configuration | |
JP2001290687A (en) | Data-synchronization control system | |
CN106341251A (en) | Master and slave switching method and device based on dual master control | |
US8689043B1 (en) | Fast failover with multiple secondary nodes | |
CN112910694B (en) | A method, system and medium for archiving log transmission | |
CN112783694B (en) | Long-distance disaster recovery method for high-availability Redis | |
JP3612449B2 (en) | Master-slave relationship information synchronization method in distributed database system | |
JP2001022627A (en) | System and method for synchronizing data bases between plural devices | |
CA2619778C (en) | Method and apparatus for sequencing transactions globally in a distributed database cluster with collision monitoring | |
KR20020037279A (en) | Data mirroring restoration in a distributed system | |
JPH03256144A (en) | Database management method | |
JPH07114495A (en) | Multiplexing file managing system | |
JP3564485B2 (en) | Information processing method and system | |
JPH09185529A (en) | Maintenance data registration device, maintenance data registration method, maintenance data distribution method, and maintenance data management method | |
KR100526221B1 (en) | Method and System for Restoring Database Synchronization in Independent Mated Pair System |