JP2013178685A - Data processing system with asynchronous backup function, front system, backup method and program therefor - Google Patents
Data processing system with asynchronous backup function, front system, backup method and program therefor Download PDFInfo
- Publication number
- JP2013178685A JP2013178685A JP2012042600A JP2012042600A JP2013178685A JP 2013178685 A JP2013178685 A JP 2013178685A JP 2012042600 A JP2012042600 A JP 2012042600A JP 2012042600 A JP2012042600 A JP 2012042600A JP 2013178685 A JP2013178685 A JP 2013178685A
- Authority
- JP
- Japan
- Prior art keywords
- update
- update log
- record
- database
- control unit
- 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
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、非同期バックアップ機能を有するデータ処理システム、そのシステムに使用されるフロントシステム、バックアップ方法、及びそのためのプログラムに関する。 The present invention relates to a data processing system having an asynchronous backup function, a front system used in the system, a backup method, and a program therefor.
分散配置データベースにおいて、非同期バックアップを実施する技術が知られている。この技術は、フロントシステムのデータベースが更新された場合、バックアップシステムのデータベースの更新を待たずにフロントシステムのデータベースの更新を許可するシステムである。フロントシステムのデータベースの更新不可時間が最小限に抑えられる一方、バックアップシステムへ送信する更新ログのデータサイズが大きいとバックアップシステムの更新に要する時間が長くなり、データベース間の不整合が発生しやすくなる問題がある。 A technique for performing asynchronous backup in a distributed database is known. This technology is a system that permits an update of the database of the front system without waiting for the update of the database of the backup system when the database of the front system is updated. While the non-updatable time of the front system database is minimized, if the data size of the update log sent to the backup system is large, the time required to update the backup system becomes long, and inconsistencies between databases tend to occur. There's a problem.
非同期バックアップ技術の一例が特許文献1に記載されている。特許文献1に記載された非同期バックアップ技術において、フロントシステムは、バックアップの際、更新ログであるトランザクションログ(Tログ)と、更新前イメージログ(Bログ)と、更新後イメージログ(Aログ)をバックアップシステムであるセカンダリーシステムに送付し、データの同期を保つ。これにより、ファイル全体をバックアップする場合と比べて短時間低コストでのバックアップが可能となる。
An example of the asynchronous backup technique is described in
しかしながら、上述した特許文献1に記載された技術は、フロントシステムの更新のたびに、トランザクションログ(Tログ)と更新前イメージログ(Bログ)と更新後イメージログ(Aログ)の3点をバックアップシステムに送付する必要がある。したがって、フロントシステムの更新がなされている間は常にフロントシステムからバックアップシステムにデータが送信されている状態となる。したがって、技術文献1に記載された技術は、フロントシステムとバックアップシステムとのバックアップデータの通信量が莫大となり、短時間でのバックアップができない。また、通信量が膨大になることにより、通信費が高くなり、低コストとは言えないという問題点がある。
However, the technique described in the above-mentioned
本発明の目的の一例は、上述した問題点を解決できる非同期バックアップ機能を有するデータ処理システム、バックアップ方法、及びそのためのプログラムを提供することにある。 An object of the present invention is to provide a data processing system having an asynchronous backup function, a backup method, and a program therefor that can solve the above-described problems.
本発明の一形態における第一の非同期バックアップシステムは、
通常業務を遂行するフロントシステムと、
前記フロントシステムのデータバックアップを行うバックアップシステムと、
前記フロントシステム内にて随時更新されるフロントシステムデータベースと、
前記バックアップシステム内にて、前記フロントシステムデータベースをバックアップするバックアップシステムデータベースと、
前記バックアップシステムにフロントシステムデータベースの更新ログを送る際、重複したレコードに関し後のレコードで上書き更新する対象か否かを記録した更新ログ削減対象管理表を保存管理する更新ログ削減対象管理部と、
前記フロントシステムデータベースを更新していたアプリケーションが更新をコミットするまで、前記フロントシステムデータベースの更新ログを更新ログテーブルとして記憶する更新ログテーブル記憶部と、
前記フロントシステムデータベースの更新ログをレコードキー、レコード内容に整理し、かつ前記更新ログ削減対象管理部の管理表を参照し、上書き更新対象のレコードか否かを更新ログに付加し、上書き更新対象レコードであれば重複するレコードは後のレコードで上書きし前記更新ログテーブル記憶部に出力し、前記フロントシステムデータベースを更新していたアプリケーションが更新をコミットした時点で更新ログを更新ログ送信制御部に送信するデータベース更新制御部と、
前記データベース更新制御部から送信された更新ログを、更新ログ格納表として記憶するフロントシステム更新ログ格納表記憶部と、
前記データベース更新制御部から送信された更新ログの更新があった場合、バックアップシステムへ送信する単位にまとめ、上書き更新対象レコードであれば重複するレコードは後のレコードで上書きし、あらかじめシステム管理者によって設定された送信のタイミングで前記バックアップシステムに更新ログを送信する更新ログ送信制御部と、
前記フロントシステムから送信された更新ログを更新ログ格納表として記憶するバックアップシステム更新ログ格納表記憶部と、
前記更新ログ送信制御部から送信された更新ログの更新があった場合、上書き更新対象レコードであれば重複するレコードは後のレコードで上書きし、システム管理者によって設定されたタイミングで前記バックアップシステムデータベースを更新ログ格納表の更新ログの内容で更新する更新ログ受信制御部と
を含む。
The first asynchronous backup system according to one aspect of the present invention is:
A front system that performs normal operations;
A backup system for performing data backup of the front system;
A front system database updated at any time in the front system;
A backup system database for backing up the front system database in the backup system;
When sending an update log of the front system database to the backup system, an update log reduction target management unit that stores and manages an update log reduction target management table that records whether or not it is a target to be overwritten and updated with a later record with respect to duplicate records;
An update log table storage unit that stores an update log of the front system database as an update log table until an application that has updated the front system database commits an update;
Organize the update log of the front system database into record keys and record contents, and refer to the management table of the update log reduction target management unit, add to the update log whether or not it is an overwrite update target record, and overwrite update target If it is a record, the duplicate record is overwritten with a later record and output to the update log table storage unit, and the update log is sent to the update log transmission control unit when the application that updated the front system database commits the update. A database update controller to send;
A front system update log storage table storage unit for storing an update log transmitted from the database update control unit as an update log storage table;
If there is an update of the update log sent from the database update control unit, it is put together in the unit to be sent to the backup system, and if it is an overwrite update target record, the duplicate record is overwritten with the later record, and in advance by the system administrator An update log transmission control unit that transmits an update log to the backup system at a set transmission timing;
A backup system update log storage table storage unit for storing the update log transmitted from the front system as an update log storage table;
When there is an update of the update log transmitted from the update log transmission control unit, if it is an overwrite update target record, the duplicate record is overwritten with a later record, and the backup system database is set at a timing set by the system administrator And an update log reception control unit that updates the contents of the update log in the update log storage table.
本発明の一形態における第一の分散配置データベースにおける非同期バックアップ方法は、
データベース更新制御部がフロントシステムデータベースの更新ログをレコードキー、レコード内容に整理し、
データベース更新制御部が更新ログ削減対象管理部の管理表を参照し、上書き更新対象のレコードか否かを更新ログに付加し更新ログテーブルに追加し、
上書き更新対象レコードであれば、データベース更新制御部が重複するレコードは後のレコードで上書きし前記更新ログテーブルを更新し、
前記フロントシステムデータベースを更新していたアプリケーションが更新をコミットした時点でデータベース更新制御部が前記更新ログテーブルの更新ログを更新ログ送信制御部に送信し、
更新ログ送信制御部が受信した更新ログをバックアップシステムへ送信する単位にまとめフロントシステム更新ログ格納表記憶部の更新ログ格納表に追加し、
上書き更新対象レコードであれば、前記更新ログ送信制御部が重複するレコードは後のレコードで上書きし前記更新ログ格納表を更新し、
システム管理者によって設定されたタイミングで前記バックアップシステムに更新ログ格納表の内容で更新ログを送信し、
更新ログ受信制御部が更新ログを受信し、
上書き更新対象レコードであれば、前記更新ログ受信制御部が重複するレコードは後のレコードで上書きし更新ログ格納表を更新し、
システム管理者によって設定されたタイミングで前記バックアップシステムデータベースを前記更新ログ格納表の更新ログの内容で更新する。
Asynchronous backup method in the first distributed arrangement database in one aspect of the present invention,
The database update control unit organizes the update log of the front system database into record keys and record contents,
The database update control unit refers to the management table of the update log reduction target management unit, adds to the update log whether or not it is a record for overwrite update, and adds it to the update log table.
If it is an overwrite update target record, the database update control unit overwrites the duplicate record with a later record, updates the update log table,
When the application that has updated the front system database commits the update, the database update control unit transmits the update log of the update log table to the update log transmission control unit,
The update logs received by the update log transmission control unit are grouped into units for transmission to the backup system, added to the update log storage table of the front system update log storage table storage unit,
If it is an overwrite update target record, the update log transmission control unit overwrites the duplicate record with a later record and updates the update log storage table,
Send the update log with the contents of the update log storage table to the backup system at the timing set by the system administrator,
The update log reception control unit receives the update log,
If it is an overwrite update target record, the update log reception control unit overwrites the duplicate record with a later record, updates the update log storage table,
The backup system database is updated with the contents of the update log in the update log storage table at a timing set by a system administrator.
本発明の一形態における第一の分散配置データベースにおける非同期バックアッププログラムは、コンピュータに、
データベース更新制御部がフロントシステムデータベースの更新ログをレコードキー、レコード内容に整理し、
データベース更新制御部が更新ログ削減対象管理部の管理表を参照し、上書き更新対象のレコードか否かを更新ログに付加し更新ログテーブルに追加し、
上書き更新対象レコードであれば、データベース更新制御部が重複するレコードは後のレコードで上書きし前記更新ログテーブルを更新し、
前記フロントシステムデータベースを更新していたアプリケーションが更新をコミットした時点でデータベース更新制御部が前記更新ログテーブルの更新ログを更新ログ送信制御部に送信し、
更新ログ送信制御部が受信した更新ログをバックアップシステムへ送信する単位にまとめフロントシステム更新ログ格納表記憶部の更新ログ格納表に追加し、
上書き更新対象レコードであれば、前記更新ログ送信制御部が重複するレコードは後のレコードで上書きし前記更新ログ格納表を更新し、
システム管理者によって設定されたタイミングで前記バックアップシステムに更新ログ格納表の内容で更新ログを送信し、
更新ログ受信制御部が更新ログを受信し、
上書き更新対象レコードであれば、前記更新ログ受信制御部が重複するレコードは後のレコードで上書きし更新ログ格納表を更新し、
システム管理者によって設定されたタイミングで前記バックアップシステムデータベースを前記更新ログ格納表の更新ログの内容で更新する処理
を実行させる。
An asynchronous backup program in the first distributed arrangement database according to one aspect of the present invention is stored in a computer.
The database update control unit organizes the update log of the front system database into record keys and record contents,
The database update control unit refers to the management table of the update log reduction target management unit, adds to the update log whether or not it is a record for overwrite update, and adds it to the update log table.
If it is an overwrite update target record, the database update control unit overwrites the duplicate record with a later record, updates the update log table,
When the application that has updated the front system database commits the update, the database update control unit transmits the update log of the update log table to the update log transmission control unit,
The update logs received by the update log transmission control unit are grouped into units for transmission to the backup system, added to the update log storage table of the front system update log storage table storage unit,
If it is an overwrite update target record, the update log transmission control unit overwrites the duplicate record with a later record and updates the update log storage table,
Send the update log with the contents of the update log storage table to the backup system at the timing set by the system administrator,
The update log reception control unit receives the update log,
If it is an overwrite update target record, the update log reception control unit overwrites the duplicate record with a later record, updates the update log storage table,
A process of updating the backup system database with the contents of the update log in the update log storage table at a timing set by a system administrator is executed.
本発明によれば、フロントシステムからバックアップシステムへのデータ転送量が少なくなり低コストとなる。また、転送データが小さくなることからバックアップにかかる時間が短くなり、フロントシステム−バックアップシステム間でデータの同期ができていない時間が短縮されるという効果が得られる。 According to the present invention, the amount of data transferred from the front system to the backup system is reduced and the cost is reduced. In addition, since the transfer data becomes small, the time required for backup is shortened, and the time when data cannot be synchronized between the front system and the backup system can be shortened.
次に、本発明の実施形態について図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
[第1の実施の形態]
図1は、本発明の第1の実施の形態におけるデータ処理システムの構成を示すブロック図である。図1を参照すると、データ処理システム1000は、データ処理を実行するフロントシステム1と、そのデータバックアップのためのバックアップシステム2を備える。フロントシステム1は、ネットワーク3を経由してバックアップシステム2に接続される。フロントシステム1は、フロントシステムデータベース100と、データベース更新制御部101と、更新ログ送信制御部102と、更新ログ削減対象管理部103と、更新ログテーブル記憶部104と、フロントシステム更新ログ格納表記憶部105を備える。また、バックアップシステム2は、バックアップシステムデータベース200と、更新ログ受信制御部201と、バックアップシステム更新ログ格納表記憶部202を備える。
[First Embodiment]
FIG. 1 is a block diagram showing a configuration of a data processing system according to the first embodiment of the present invention. Referring to FIG. 1, a data processing system 1000 includes a
フロントシステム1およびバックアップシステム2は、それぞれ分散配置データベースにおけるコンピュータ装置またはサーバであるが、それ以外のデータ処理システムでのコンピュータ装置でも良い。分散配置データベースは、更新対象のレコードのキーごとに更新先のデータベースが決められているシステムである。フロントシステム1の各部は、処理系列ごとに存在し、バックアップ更新ログの反映は、並列に処理できるようにしてもよい。
The
次に、フロントシステム1の構成について説明する。
Next, the configuration of the
フロントシステムデータベース100は、様々なアプリケーションから呼び出されるデータの集合体であり、複数のユーザによって共有される。本実施形態のデータ処理システム1000は、フロントシステムデータベースのバックアップを実行する。そして、バックアップ先がバックアップシステムデータベース200である。
The
データベース更新制御部101は、アプリケーションの実行によってフロントシステムデータベース100におけるデータが更新されるとき、フロントシステムデータベース100の更新ログのレコードキー、レコード内容を、データ更新に応じて生成する。また、データベース更新制御部101は、更新ログ削減対象管理部103の後述する管理表を参照し、更新ログのレコードが上書き更新対象のレコードか否かを判定する。さらに、データベース更新制御部101は、判定結果の情報を更新ログに付加し、更新ログテーブル記憶部104の更新ログテーブル1040(後述)に追加登録する。この場合、レコードが上書き更新対象レコードであれば、データベース更新制御部101は、更新ログのうちの重複するレコードを後のレコードで上書きすることで、更新ログテーブル1040を更新後の更新ログテーブル1041(後述)に更新する。さらに、データベース更新制御部101は、フロントシステムデータベース100におけるデータを更新していたアプリケーションが更新をコミットした時点で、更新後の更新ログテーブル1041における更新ログを更新ログ送信制御部102に送信する。
When the data in the
更新ログ送信制御部102は、データベース更新制御部101から更新ログを受信し、更新ログをバックアップシステム2へ送信する単位(バックアップ先で反映できるトランザクション単位)に統合し、フロントシステム更新ログ格納表記憶部105の更新ログ格納表1050に記憶する。この場合、更新ログ送信制御部102は、受信した更新ログが上書き更新対象レコードであれば、更新ログのうちの重複するレコードを後のレコードで上書きすることで更新ログ格納表1050を更新ログ格納表1051に更新して登録する。さらに、更新ログ送信制御部102は、更新ログ格納表105から更新ログを読み出し、システム管理者によって設定されたタイミングで、バックアップシステム2の更新ログ受信制御部201に更新ログを送信する。
The update log
更新ログ削減対象管理部103は、バックアップシステム2にフロントシステムデータベース100の更新ログを送る際、重複したレコードに関し後のレコードで上書き更新する対象か否かの情報を記録した更新ログ削減管理表1030を保存管理する。
When sending the update log of the
更新ログテーブル記憶部104は、フロントシステムデータベース100を更新していたアプリケーションが更新をコミットするまで、フロントシステムデータベース100の更新ログを更新ログテーブル1040、1041として記憶する。
The update log
フロントシステム更新ログ格納表記憶部105は、データベース更新制御部101から受信された更新ログを更新ログ格納表1050、1051として記憶する。
The front system update log storage
次にバックアップシステム2の構成について説明する。
Next, the configuration of the
更新ログ受信制御部201は、更新ログ送信制御部102から更新ログを受信する。また、更新ログ受信制御部201は、受信した更新ログをバックアップシステム更新ログ格納表記憶部202の更新ログ格納表1050に追加する。この場合、更新ログ受信制御部201は、更新ログの更新があった場合、上書き更新対象レコードであれば重複するレコードは後のレコードで上書きし更新ログ格納表1051に更新し、システム管理者によって設定されたタイミングでバックアップシステムデータベース200を更新ログの内容で更新する。
The update log
バックアップシステム更新ログ格納表記憶部202は、フロントシステム1から受信した更新ログを更新ログ格納表1050、1051として記憶する。
The backup system update log storage
次に、更新ログ削減対象管理部103と更新ログテーブル記憶部104とフロントシステム更新ログ格納表記憶部105とバックアップシステム更新ログ格納表記憶部202に格納されるデータについて説明する。
Next, data stored in the update log reduction
図3は、本実施の形態に係る更新ログ削減対象管理部103に格納される更新ログ削減対象管理表1030の一例を示す図である。
FIG. 3 is a diagram showing an example of the update log reduction target management table 1030 stored in the update log reduction
図3に示す更新ログ削減対象管理表1030は、テーブル名と更新ログ削減対象のカラムのデータからなり、更新ログのどのテーブルが削減対象(上書き対象)であるかを示した記憶データである。「対象」と示されたテーブルの更新ログは、データベース更新制御部101、更新ログ送信制御部102および更新ログ受信制御部201によって、次のように処理される。すなわち、更新ログのうち重複するレコードは後のレコードで上書きされる。この結果、上書き前の重複するレコードは削減される。以降の説明で、この削除を上書き削除ともいう。
The update log reduction target management table 1030 shown in FIG. 3 is composed of a table name and update log reduction target column data, and is storage data indicating which table of the update log is a reduction target (overwrite target). The update log of the table indicated as “target” is processed by the database
図4は、本実施の形態に係る更新ログテーブル記憶部104に格納される更新ログテーブル1040、1041の一例を示す図である。
FIG. 4 is a diagram illustrating an example of the update log tables 1040 and 1041 stored in the update log
図4に示す更新ログテーブル1040、1041は、レコードキー、テーブル名、上書き更新対象とレコード内容のカラムからなる。更新ログテーブル1040は、データベース更新制御部101で更新ログがレコードキー、レコード内容ごとに整理され生成された複数のレコードを記憶する。各レコードは、データベース更新制御部101によって上書き更新対象のレコードか否かの情報(上書き更新対象)も付加されている。この更新ログテーブル1040に対し、データベース更新制御部101は上書き更新対象レコードであれば重複するレコードは後のレコードで上書き削減し、更新ログテーブル1041を出力する。
The update log tables 1040 and 1041 shown in FIG. 4 include columns of record keys, table names, overwrite update targets, and record contents. The update log table 1040 stores a plurality of records generated by the database
図5は、本実施の形態に係るフロントシステム更新ログ格納表記憶部105に格納される更新ログ格納表1050、1051の一例を示す図である。
FIG. 5 is a diagram showing an example of the update log storage tables 1050 and 1051 stored in the front system update log storage
図5に示す更新ログ格納表1050、1051は、通番、更新通番、レコードキー、上書き更新対象とレコード内容のカラムのデータからなる。更新ログ格納表1050は、データベース更新制御部101が新たな更新ログを受信するたびに更新通番を新たに付加されたデータである。この更新ログ格納表1050に対し、更新ログ送信制御部102は、更新ログの更新があった場合、バックアップシステム2へ送信する単位に統合し、上書き更新対象レコードであれば重複するレコードは後のレコードで上書き削減する。更新ログ格納表1051は、上書き削除後の更新ログ格納表を示す。
The update log storage tables 1050 and 1051 shown in FIG. 5 include data of serial numbers, update serial numbers, record keys, overwrite update targets, and record content columns. The update log storage table 1050 is data in which an update sequence number is newly added each time the database
図2は、本発明の第一の実施の形態におけるフロントシステム1およびバックアップシステム2をコンピュータおよびその周辺装置で実現したハードウェア構成を示す図である。図2に示されるように、フロントシステム1およびバックアップシステム2は、それぞれCPU11、21、出力装置12、22、入力装置13、23、主記憶装置14、24、二次記憶装置15、25を含む。また、フロントシステム1およびバックアップシステム2は、それぞれネットワークインタフェース10、20を介してネットワーク3に接続されている。
FIG. 2 is a diagram showing a hardware configuration in which the
CPU11、21は、オペレーティングシステムを動作させて本発明の第一の実施の形態に係るそれぞれフロントシステム1およびバックアップシステム2の全体を制御する。また、CPU11、21は、例えば二次記憶装置15、25から主記憶装置14、24にプログラムやデータを読み出し、第一の実施の形態におけるデータベース更新制御部101、更新ログ送信制御部102、および更新ログ受信制御部201として各種の処理を実行する。
The
二次記憶装置15、25は、例えば光ディスク、フレキシブルディスク、磁気光ディスク、外付けハードディスク、または半導体メモリ等であって、コンピュータプログラムをコンピュータ読み取り可能に記録する。また、コンピュータプログラムは、通信網に接続されている図示しない外部コンピュータからダウンロードされてもよい。
The
入力装置13、23は、例えばマウスやキーボード、内蔵のキーボタンなどで実現され、入力操作に用いられる。入力装置13、23は、マウスやキーボード、内蔵のキーボタンに限らず、例えばタッチパネルでもよい。
The
出力装置12、22は、例えばディスプレイで実現され、出力を確認するために用いられる。
The
なお、第一の実施の形態の説明において利用されるブロック図(図1)には、ハードウェア単位の構成ではなく、機能単位のブロックが示されている。これらの機能ブロックは図2に示されるハードウェア構成によって実現される。ただし、フロントシステム1およびバックアップシステム2が備える各部の実現手段は特に限定されない。すなわち、フロントシステム1およびバックアップシステム2は、物理的に結合した一つの装置により実現されてもよいし、物理的に分離した二つ以上の装置を有線または無線で接続し、これら複数の装置により実現されてもよい。
Note that the block diagram (FIG. 1) used in the description of the first embodiment shows functional unit blocks, not hardware unit configurations. These functional blocks are realized by the hardware configuration shown in FIG. However, the means for realizing each unit included in the
また、CPU11、21は、二次記憶装置15、25に記録されているコンピュータプログラムを読み込み、そのプログラムにしたがって、データベース更新制御部101、更新ログ送信制御部102、および更新ログ受信制御部201として動作してもよい。
The
また、前述のプログラムのコードを記録した記録媒体(または記憶媒体)が、フロントシステム1およびバックアップシステム2に供給され、フロントシステム1およびバックアップシステム2が記録媒体に格納されたプログラムのコードを読み出し実行してもよい。すなわち、本発明は、第一の実施の形態におけるフロントシステム1およびバックアップシステム2が実行するためのソフトウェア(分散配置データベースにおける非同期バックアッププログラム)を一時的に記憶するまたは非一時的に記憶する二次記憶装置15、25も含む。
A recording medium (or storage medium) in which the program code is recorded is supplied to the
以上のように構成されたフロントシステム1およびバックアップシステム2の動作について、図6、図7、図8のフローチャートを参照して説明する。
Operations of the
図6は、第一の実施の形態におけるデータベース更新制御部101での更新ログ生成の動作の概要を示すフローチャートである。尚、このフローチャートによる処理は、前述したCPUによるプログラム制御に基づいて、実行されても良い。
FIG. 6 is a flowchart showing an outline of an operation of generating an update log in the database
図6に示すように、まず、データベース更新制御部101は、フロントシステムデータベース100を監視し、更新されているかを確認する(ステップS101)。更新されていなければ監視を継続する。
As shown in FIG. 6, first, the database
フロントシステムデータベース100が更新された場合、フロントシステムデータベース100の更新ログを入手(読み出すことをいう)する(ステップS102)。
When the
次に、データベース更新制御部101は、更新ログ削減対象管理部103から更新ログ削減対象管理表1030を入手する(ステップS103)。
Next, the database
次に、データベース更新制御部101は、更新ログ削減対象管理表1030の情報を元にしてフロントシステムデータベース100の更新ログに上書き更新対象のレコードか否かの情報(対象、対象外)を付加し、更新ログテーブル記憶部104の更新ログテーブル1040に追加する(ステップS104)。
Next, the database
更に、重複する上書き更新対象レコードがあれば、データベース更新制御部101は、最新のレコードで上書きし、更新ログテーブル1041として更新する(ステップS104)。
Furthermore, if there is a duplicate overwrite update target record, the database
フロントシステムデータベース100が更新中のアプリケーションによってコミットされていない場合(ステップS106)、データベース更新制御部101は、再度フロントシステムデータベース100を監視し、コミットされたか(ステップS106)もしくは更なる更新があるか(ステップS107)を確認する。更なる更新やコミットがされていなければ監視を継続する。更なる更新があれば、データベース更新制御部101は、ステップS102に戻って処理を実行する。コミットされた場合、最後にデータベース更新制御部101は更新ログテーブル1041の更新ログを更新ログ送信制御部102に送信する(ステップS108)。
When the
以上で、データベース更新制御部101は、更新ログ生成の動作を終了する。
As described above, the database
図7は、第一の実施の形態における更新ログ送信制御部102での更新ログのバックアップシステム2への送信の動作の概要を示すフローチャートである。尚、このフローチャートによる処理は、前述したCPUによるプログラム制御に基づいて、実行されても良い。
FIG. 7 is a flowchart showing an outline of an operation of transmitting the update log to the
図7に示すように、まず、更新ログ送信制御部102は、データベース更新制御部101から更新ログを受信しているかを確認する(ステップS201)。受信していなければ受信するまで待機する。
As illustrated in FIG. 7, first, the update log
更新ログを受信した場合、更新ログ送信制御部102は、バックアップシステム2へ送信する単位に統合し、フロントシステム更新ログ格納表記憶部105の更新ログ格納表1050に追加する(ステップS202)。
When the update log is received, the update log
更に、重複する上書き更新対象レコードがあれば、更新ログ送信制御部102は、最新のレコードで上書きし、更新ログ格納表1051として更新する(ステップS203)。
Furthermore, if there is a duplicate overwrite update target record, the update log
システム管理者によって設定された送信のタイミングに至っていない場合(ステップS204)、更新ログ送信制御部102は、再度データベース更新制御部101から更に更新ログを受信しているか(ステップS205)もしくは送信のタイミングに至ったか(ステップS204)を確認する。更なる更新ログ受信や送信のタイミングに至っていなければ監視を継続する。更なる更新ログ受信があればステップS202に戻って処理を実行する。送信のタイミングに至った場合、最後に更新ログ送信制御部102は更新ログ格納表1051の更新ログをバックアップシステム2の更新ログ受信制御部201に送信する(ステップS206)。
If the transmission timing set by the system administrator has not been reached (step S204), the update log
以上で、更新ログ送信制御部102は、更新ログのバックアップシステム2への送信の動作を終了する。
Thus, the update log
図8は、第一の実施の形態における更新ログ受信制御部201での更新ログのバックアップシステムデータベース200への反映の動作の概要を示すフローチャートである。尚、このフローチャートによる処理は、前述したCPUによるプログラム制御に基づいて、実行されても良い。
FIG. 8 is a flowchart showing an outline of the operation of reflecting the update log in the
図8に示すように、まず、更新ログ受信制御部201は、フロントシステム1の更新ログ送信制御部102から更新ログを受信しているかを確認する(ステップS301)。受信していなければ受信するまで待機する。
As shown in FIG. 8, first, the update log
更新ログを受信した場合、更新ログ受信制御部201は、バックアップシステム更新ログ格納表記憶部202の更新ログ格納表1050に追加する(ステップS302)。
When the update log is received, the update log
更に、重複する上書き更新対象レコードがあれば最新のレコードで上書きし、更新ログ格納表1051として更新する(ステップS303)。 Furthermore, if there is a duplicate overwrite update target record, it is overwritten with the latest record and updated as the update log storage table 1051 (step S303).
システム管理者によって設定されたバックアップシステムデータベース更新のタイミングに至っていない場合(ステップS204)、更新ログ受信制御部201は、再度フロントシステム1の更新ログ送信制御部102から更に更新ログを受信しているか(ステップS305)もしくはデータベース更新のタイミングに至ったか(ステップS304)を確認する。更なる更新ログ受信やデータベース更新のタイミングに至っていなければ監視を継続する。更なる更新ログ受信があればステップS302に戻って処理を実行する。データベース更新のタイミングに至った場合、最後に更新ログ受信制御部201はバックアップシステムデータベース200を更新ログ格納表1051の更新ログの内容で更新する(ステップS306)。
If the backup system database update timing set by the system administrator has not been reached (step S204), has the update log
以上で、更新ログ受信制御部201は、更新ログのバックアップシステムデータベース200への反映の動作を終了する。
As described above, the update log
次に、本発明の第1の実施の形態の効果について説明する。 Next, effects of the first exemplary embodiment of the present invention will be described.
上述した本実施形態におけるフロントシステムおよびバックアップシステムは、短時間低コストでの非同期バックアップができる。 The front system and backup system in the present embodiment described above can perform asynchronous backup for a short time at low cost.
その理由は、以下のような構成を含むからである。即ち、第1に更新ログ削減対象管理部は、更新ログのどのテーブルが削減対象(上書き対象)であるかを管理表として記憶する。第2に、データベース更新制御部、更新ログ送信制御部、更新ログ受信制御部は、更新ログ削減対象管理部の管理表の指示に沿って、重複する上書き更新対象レコードがあれば最新のレコードで上書きする。これにより、更新ログは常に冗長なデータが削減されてバックアップシステムデータベースに送られるので、フロントシステムからバックアップシステムへのデータ転送量が少なくなり低コストとなる。また、転送データが小さくなることからバックアップにかかる時間が短くなり、フロントシステム−バックアップシステム間でデータの同期ができていない時間が短縮されるという効果が得られる。
This is because the following configuration is included. That is, first, the update log reduction target management unit stores as a management table which table of the update log is the reduction target (overwrite target). Second, the database update control unit, the update log transmission control unit, and the update log reception control unit, in accordance with the instructions in the management table of the update log reduction target management unit, if there are duplicate overwrite update target records, Overwrite. As a result, since the redundant data is always sent to the backup system database after reducing redundant data, the amount of data transferred from the front system to the backup system is reduced and the cost is reduced. In addition, since the transfer data becomes small, the time required for backup is shortened, and the time when data cannot be synchronized between the front system and the backup system can be shortened.
[第2の実施の形態]
第1の実施の形態では単一CPUによるデータベースシステムの非同期バックアップの方法を示した。本実施形態では複数のCPUが並行処理を行う分散配置データベースシステムの場合を考えてみる。なお、第1の実施の形態と同様となる説明は省略する。
[Second Embodiment]
In the first embodiment, a method of asynchronous backup of a database system using a single CPU has been described. In this embodiment, consider the case of a distributed database system in which a plurality of CPUs perform parallel processing. Note that a description similar to that of the first embodiment is omitted.
図9は、本発明の第2の実施の形態におけるフロントシステム1およびバックアップシステム2をコンピュータおよびその周辺装置で実現したハードウェア構成を示す図である。なお、説明に関与しない周辺機器に関しては図2と同等であるため記載を省略している。
FIG. 9 is a diagram showing a hardware configuration in which the
フロントシステム1ではデータベースである二次記憶装置15に複数のCPU11a〜11dが接続されている。図9では4台接続しているが接続数は任意である。それぞれのCPU11a〜11dに対してネットワークインタフェース10a〜10dが接続されている。バックアップシステム2についても同様のハードウェア構成である。図2同様、フロントシステム1とバックアップシステム2とはネットワーク3にて接続されている。その他に関しては第1の実施の形態と同様とする。また、本発明の第2の実施の形態におけるフロントシステム1およびバックアップシステム2の機能的構成は、図1に示す各構成要素を含む。したがって、以下の説明では、図1の各構成要素と図9、さらに図7、図8を併用して説明する。
In the
第2の実施の形態における更新ログ送信制御部102での更新ログのバックアップシステム2への送信の動作において、更新ログ送信制御部102は更新ログを受信した場合、バックアップシステム2へ送信する単位に統合し、フロントシステム更新ログ格納表記憶部105の更新ログ格納表1050に追加する(図7のステップS202)。更に、重複する上書き更新対象レコードがあれば、最新のレコードで上書きし、更新ログ格納表1051として更新する(ステップS203)。この際に更新ログ内の更新されたレコードのキーに対してそれぞれ別のCPU11a〜11dが割り当てられる。これはステップS203においてレコードの上書き更新は同じキーのレコードに対してのみ行われるためであり、異なるキー間の上書き更新処理は互いに干渉しない。そのため更新ログ送信制御部102は、キーごとにCPUを割り当てることで、複数のCPUによる並列処理が可能となるためである。
In the operation of transmitting the update log to the
次に更新ログ送信制御部102は更新ログ格納表1051の更新ログをそれぞれのCPU11a〜11dに接続されたネットワークインタフェース10a〜10dによりバックアップシステム2の更新ログ受信制御部201に送信する(ステップS206)。
Next, the update log
受信するバックアップシステム2側でもフロントシステム1と同様のハードウェア構成になっており、それぞれのキーに対して処理を行うCPU21a〜21dとネットワークインタフェース20a〜20dが決定されている。フロントシステム1が送信した更新ログはキーごとにネットワークインタフェース20a〜20dを介してバックアップシステム2が受信する。受信した更新ログに対してフロントシステム1同様、CPU21a〜21dは更新レコードのキーごとにステップS302〜S306を実行し更新ログの上書き更新とバックアップシステムデータベース200への反映を行う。
The receiving
上述した本実施形態におけるフロントシステムおよびバックアップシステムは、処理の分散化によって更に非同期バックアップを短時間で行うことができる。 The front system and backup system in the present embodiment described above can further perform asynchronous backup in a short time by distributing processing.
以上説明した、本発明の各実施形態における各構成要素は、その機能をハードウェア的に実現することはもちろん、プログラム制御に基づくコンピュータ装置、ファームウェアで実現することができる。プログラムは、磁気ディスクや半導体メモリなどのコンピュータ可読記録媒体に記録されて提供され、コンピュータの立ち上げ時などにコンピュータに読み取られる。この読み取られたプログラムは、そのコンピュータの動作を制御することにより、そのコンピュータを前述した各実施の形態における構成要素として機能させる。 Each component in each embodiment of the present invention described above can be realized by a computer apparatus and firmware based on program control as well as by realizing the function in hardware. The program is provided by being recorded on a computer-readable recording medium such as a magnetic disk or a semiconductor memory, and is read by the computer when the computer is started up. The read program causes the computer to function as a component in each of the embodiments described above by controlling the operation of the computer.
以上、各実施の形態を参照して本発明を説明したが、本発明は上記実施の形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しえる様々な変更をすることができる。 Although the present invention has been described with reference to each embodiment, the present invention is not limited to the above embodiment. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.
たとえば、以上の各実施形態で説明した各構成要素は、必ずしも個々に独立した存在である必要はない。例えば、各構成要素は、複数の構成要素が1個のモジュールとして実現されたり、一つの構成要素が複数のモジュールで実現されたりしてもよい。また、各構成要素は、ある構成要素が他の構成要素の一部であったり、ある構成要素の一部と他の構成要素の一部とが重複していたり、といったような構成であってもよい。 For example, each component described in each of the above embodiments does not necessarily have to be individually independent. For example, for each component, a plurality of components may be realized as one module, or one component may be realized as a plurality of modules. Each component is configured such that a component is a part of another component, or a part of a component overlaps a part of another component. Also good.
また、以上説明した各実施形態では、複数の動作をフローチャートの形式で順番に記載してあるが、その記載の順番は複数の動作を実行する順番を限定するものではない。このため、各実施形態を実施するときには、その複数の動作の順番は内容的に支障しない範囲で変更することができる。 Further, in each of the embodiments described above, a plurality of operations are described in order in the form of a flowchart, but the described order does not limit the order in which the plurality of operations are executed. For this reason, when each embodiment is implemented, the order of the plurality of operations can be changed within a range that does not hinder the contents.
さらに、以上説明した各実施形態では、複数の動作は個々に相違するタイミングで実行されることに限定されない。例えば、ある動作の実行中に他の動作が発生したり、ある動作と他の動作との実行タイミングが部分的に乃至全部において重複していたりしていてもよい。 Furthermore, in each embodiment described above, a plurality of operations are not limited to being executed at different timings. For example, another operation may occur during the execution of a certain operation, or the execution timing of a certain operation and another operation may partially or entirely overlap.
さらに、以上説明した各実施形態では、ある動作が他の動作の契機になるように記載しているが、その記載はある動作と他の動作の全ての関係を限定するものではない。このため、各実施形態を実施するときには、その複数の動作の関係は内容的に支障のない範囲で変更することができる。また各構成要素の各動作の具体的な記載は、各構成要素の各動作を限定するものではない。このため、各構成要素の具体的な各動作は、各実施形態を実施する上で機能的、性能的、その他の特性に対して支障をきたさない範囲内で変更されて良い。 Furthermore, in each of the embodiments described above, a certain operation is described as a trigger for another operation, but the description does not limit all relationships between the certain operation and the other operations. For this reason, when each embodiment is implemented, the relationship between the plurality of operations can be changed within a range that does not hinder the contents. The specific description of each operation of each component does not limit each operation of each component. For this reason, each specific operation | movement of each component may be changed in the range which does not cause trouble with respect to a functional, performance, and other characteristic in implementing each embodiment.
1 フロントシステム
2 バックアップシステム
3 ネットワーク
10、20、10a、10b、10c、10d、20a、20b、20c、20d ネットワークインタフェース
11、21、11a、11b、11c、11d、21a、21b、21c、21d CPU
12、22 出力装置
13、23 入力装置
14、24 主記憶装置
15、25 二次記憶装置
100 フロントシステムデータベース
101 データベース更新制御部
102 更新ログ送信制御部
103 更新ログ削減対象管理部
104 更新ログテーブル記憶部
105 フロントシステム更新ログ格納表記憶部
200 バックアップシステムデータベース
201 更新ログ受信制御部
202 バックアップシステム更新ログ格納表記憶部
DESCRIPTION OF
12, 22
Claims (5)
前記フロントシステムのデータバックアップを行うバックアップシステムと、
を含み、
前記フロントシステムは、
前記フロントシステム内にて随時更新されるフロントシステムデータベースと、
前記バックアップシステム内にて、前記フロントシステムデータベースをバックアップするバックアップシステムデータベースと、
前記バックアップシステムにフロントシステムデータベースの更新ログを送る際、重複したレコードに関し後のレコードで上書き更新する対象か否かを記録した更新ログ削減対象管理表を保存管理する更新ログ削減対象管理部と、
前記フロントシステムデータベースの更新ログを更新ログテーブルとして記憶する更新ログテーブル記憶部と、
前記フロントシステムデータベースの更新ログをレコードキー、レコード内容に整理し、かつ前記更新ログ削減対象管理部の管理表を参照し、上書き更新対象のレコードか否かを更新ログに付加し、上書き更新対象レコードであれば重複するレコードは後のレコードで上書きし前記更新ログテーブル記憶部に出力し、前記フロントシステムデータベースを更新していたアプリケーションが更新をコミットした時点で更新ログを更新ログ送信制御部に送信するデータベース更新制御部と、
前記データベース更新制御部から送信された更新ログを、更新ログ格納表として記憶するフロントシステム更新ログ格納表記憶部と、
前記データベース更新制御部から送信された更新ログの更新があった場合、バックアップシステムへ送信する単位にまとめ、上書き更新対象レコードであれば重複するレコードは後のレコードで上書きし、前記バックアップシステムに更新ログを送信する更新ログ送信制御部と、
を含み、
前記バックアップシステムは、
前記フロントシステムから送信された更新ログを更新ログ格納表として記憶するバックアップシステム更新ログ格納表記憶部と、
前記更新ログ送信制御部から送信された更新ログの更新があった場合、上書き更新対象レコードであれば重複するレコードは後のレコードで上書きし、システム管理者によって設定されたタイミングで前記バックアップシステムデータベースを更新ログ格納表の更新ログの内容で更新する更新ログ受信制御部と
を含む非同期バックアップシステム。 A front system that performs data processing;
A backup system for performing data backup of the front system;
Including
The front system is
A front system database updated at any time in the front system;
A backup system database for backing up the front system database in the backup system;
When sending an update log of the front system database to the backup system, an update log reduction target management unit that stores and manages an update log reduction target management table that records whether or not it is a target to be overwritten and updated with a later record with respect to duplicate records;
An update log table storage unit for storing an update log of the front system database as an update log table;
Organize the update log of the front system database into record keys and record contents, and refer to the management table of the update log reduction target management unit, add to the update log whether or not it is an overwrite update target record, and overwrite update target If it is a record, the duplicate record is overwritten with a later record and output to the update log table storage unit, and the update log is sent to the update log transmission control unit when the application that updated the front system database commits the update. A database update controller to send;
A front system update log storage table storage unit for storing an update log transmitted from the database update control unit as an update log storage table;
When the update log sent from the database update control unit is updated, it is collected in the unit to be sent to the backup system, and if it is an overwrite update target record, the duplicate record is overwritten with the later record and updated to the backup system An update log transmission control unit for transmitting logs;
Including
The backup system is
A backup system update log storage table storage unit for storing the update log transmitted from the front system as an update log storage table;
When there is an update of the update log transmitted from the update log transmission control unit, if it is an overwrite update target record, the duplicate record is overwritten with a later record, and the backup system database is set at a timing set by the system administrator An asynchronous backup system that includes an update log reception control unit that updates the file with the update log contents of the update log storage table.
前記フロントシステムのデータバックアップを行うバックアップシステムと、
を含むデータ処理システムにおける前記フロントシステムであって、
前記フロントシステム内にて随時更新されるフロントシステムデータベースと、
前記バックアップシステムにフロントシステムデータベースの更新ログを送る際、重複したレコードに関し後のレコードで上書き更新する対象か否かを記録した更新ログ削減対象管理表を保存管理する更新ログ削減対象管理部と、
前記フロントシステムデータベースの更新ログを更新ログテーブルとして記憶する更新ログテーブル記憶部と、
前記フロントシステムデータベースの更新ログをレコードキー、レコード内容に整理し、かつ前記更新ログ削減対象管理部の管理表を参照し、上書き更新対象のレコードか否かを更新ログに付加し、上書き更新対象レコードであれば重複するレコードは後のレコードで上書きし前記更新ログテーブル記憶部に出力し、前記フロントシステムデータベースを更新していたアプリケーションが更新をコミットした時点で更新ログを更新ログ送信制御部に送信するデータベース更新制御部と、
前記データベース更新制御部から送信された更新ログを、更新ログ格納表として記憶するフロントシステム更新ログ格納表記憶部と、
前記データベース更新制御部から送信された更新ログの更新があった場合、バックアップシステムへ送信する単位にまとめ、上書き更新対象レコードであれば重複するレコードは後のレコードで上書きし、前記バックアップシステムに更新ログを送信する更新ログ送信制御部と、
を含むフロントシステム。 A front system that performs data processing;
A backup system for performing data backup of the front system;
The front system in a data processing system comprising:
A front system database updated at any time in the front system;
When sending an update log of the front system database to the backup system, an update log reduction target management unit that stores and manages an update log reduction target management table that records whether or not it is a target to be overwritten and updated with a later record with respect to duplicate records;
An update log table storage unit for storing an update log of the front system database as an update log table;
Organize the update log of the front system database into record keys and record contents, and refer to the management table of the update log reduction target management unit, add to the update log whether or not it is an overwrite update target record, and overwrite update target If it is a record, the duplicate record is overwritten with a later record and output to the update log table storage unit, and the update log is sent to the update log transmission control unit when the application that updated the front system database commits the update. A database update controller to send;
A front system update log storage table storage unit for storing an update log transmitted from the database update control unit as an update log storage table;
When the update log sent from the database update control unit is updated, it is collected in the unit to be sent to the backup system, and if it is an overwrite update target record, the duplicate record is overwritten with the later record and updated to the backup system An update log transmission control unit for transmitting logs;
Including front system.
前記データベース更新制御部が更新ログ削減対象管理部の管理表を参照し、上書き更新対象のレコードか否かを前記更新ログに付加し更新ログテーブルに追加し、
上書き更新対象レコードであれば、前記データベース更新制御部が重複するレコードは後のレコードで上書きし前記更新ログテーブルを更新し、
前記フロントシステムデータベースを更新していたアプリケーションが更新をコミットした時点で前記データベース更新制御部が前記更新ログテーブルの更新ログを更新ログ送信制御部に送信し、
前記更新ログ送信制御部が受信した更新ログをバックアップシステムへ送信する単位にまとめフロントシステム更新ログ格納表記憶部の更新ログ格納表に追加し、
上書き更新対象レコードであれば、前記更新ログ送信制御部が重複するレコードは後のレコードで上書きし前記更新ログ格納表を更新し、
前記バックアップシステムに更新ログ格納表の内容で前記更新ログを送信し、
更新ログ受信制御部が前記更新ログを受信し、バックアップシステム更新ログ格納表記憶部の更新ログ格納表に追加し、
上書き更新対象レコードであれば、前記更新ログ受信制御部が重複するレコードは後のレコードで上書きし前記バックアップシステム更新ログ格納表記憶部の更新ログ格納表を更新し、
前記バックアップシステムデータベースを前記更新ログ格納表の更新ログの内容で更新する
非同期バックアップ方法。 The database update control unit organizes the update log of the front system database into record keys and record contents,
The database update control unit refers to the management table of the update log reduction target management unit, adds to the update log whether or not the record is an overwrite update target record,
If it is an overwrite update target record, the database update control unit overwrites the duplicate record with a later record, updates the update log table,
When the application that has updated the front system database commits the update, the database update control unit sends the update log of the update log table to the update log transmission control unit,
The update log received by the update log transmission control unit is added to the update log storage table of the front system update log storage table storage unit in a unit to be transmitted to the backup system,
If it is an overwrite update target record, the update log transmission control unit overwrites the duplicate record with a later record and updates the update log storage table,
Sending the update log with the contents of the update log storage table to the backup system;
The update log reception control unit receives the update log, adds it to the update log storage table of the backup system update log storage table storage unit,
If it is an overwrite update target record, the update log reception control unit duplicates the record that is duplicated with a later record and updates the update log storage table of the backup system update log storage table storage unit,
An asynchronous backup method for updating the backup system database with the contents of the update log in the update log storage table.
前記データベース更新制御部が更新ログ削減対象管理部の管理表を参照し、上書き更新対象のレコードか否かを前記更新ログに付加し更新ログテーブルに追加し、
上書き更新対象レコードであれば、前記データベース更新制御部が重複するレコードは後のレコードで上書きし前記更新ログテーブルを更新し、
前記フロントシステムデータベースを更新していたアプリケーションが更新をコミットした時点で前記データベース更新制御部が前記更新ログテーブルの更新ログを更新ログ送信制御部に送信し、
前記更新ログ送信制御部が受信した更新ログをバックアップシステムへ送信する単位にまとめフロントシステム更新ログ格納表記憶部の更新ログ格納表に追加し、
上書き更新対象レコードであれば、前記更新ログ送信制御部が重複するレコードは後のレコードで上書きし前記更新ログ格納表を更新し、
前記バックアップシステムに更新ログ格納表の内容で前記更新ログを送信し、
更新ログ受信制御部が前記更新ログを受信し、バックアップシステム更新ログ格納表記憶部の更新ログ格納表に追加し、
上書き更新対象レコードであれば、前記更新ログ受信制御部が重複するレコードは後のレコードで上書きし前記バックアップシステム更新ログ格納表記憶部の更新ログ格納表を更新し、
前記バックアップシステムデータベースを前記更新ログ格納表の更新ログの内容で更新する処理
をコンピュータに実行させるプログラム。 The database update control unit organizes the update log of the front system database into record keys and record contents,
The database update control unit refers to the management table of the update log reduction target management unit, adds to the update log whether or not the record is an overwrite update target record,
If it is an overwrite update target record, the database update control unit overwrites the duplicate record with a later record, updates the update log table,
When the application that has updated the front system database commits the update, the database update control unit sends the update log of the update log table to the update log transmission control unit,
The update log received by the update log transmission control unit is added to the update log storage table of the front system update log storage table storage unit in a unit to be transmitted to the backup system,
If it is an overwrite update target record, the update log transmission control unit overwrites the duplicate record with a later record and updates the update log storage table,
Sending the update log with the contents of the update log storage table to the backup system;
The update log reception control unit receives the update log, adds it to the update log storage table of the backup system update log storage table storage unit,
If it is an overwrite update target record, the update log reception control unit duplicates the record that is duplicated with a later record and updates the update log storage table of the backup system update log storage table storage unit,
A program that causes a computer to execute processing for updating the backup system database with the contents of the update log in the update log storage table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012042600A JP2013178685A (en) | 2012-02-29 | 2012-02-29 | Data processing system with asynchronous backup function, front system, backup method and program therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012042600A JP2013178685A (en) | 2012-02-29 | 2012-02-29 | Data processing system with asynchronous backup function, front system, backup method and program therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013178685A true JP2013178685A (en) | 2013-09-09 |
Family
ID=49270257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012042600A Pending JP2013178685A (en) | 2012-02-29 | 2012-02-29 | Data processing system with asynchronous backup function, front system, backup method and program therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013178685A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015064850A (en) * | 2013-09-26 | 2015-04-09 | 日本電気株式会社 | Database monitoring device, database monitoring method, and computer program |
JP2018128881A (en) * | 2017-02-09 | 2018-08-16 | 富士通株式会社 | Difference log application program, difference log application device, and difference log application method |
JP2018181042A (en) * | 2017-04-17 | 2018-11-15 | 富士通株式会社 | Record reflecting program, record reflecting device and record reflecting method |
JP2019527883A (en) * | 2016-07-04 | 2019-10-03 | アリババ グループ ホウルディング リミテッド | Database data change request processing method and apparatus |
JP2021513168A (en) * | 2018-02-27 | 2021-05-20 | ベリタス テクノロジーズ エルエルシー | Systems and methods for performing database backups for repairless restores |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01173230A (en) * | 1987-12-28 | 1989-07-07 | Nippon Telegr & Teleph Corp <Ntt> | Merge processing system |
JPH10214215A (en) * | 1997-01-30 | 1998-08-11 | Matsushita Electric Ind Co Ltd | Title multiple management system |
JP2001125815A (en) * | 1999-10-26 | 2001-05-11 | Hitachi Ltd | Back-up data management system |
JP2005510796A (en) * | 2001-11-26 | 2005-04-21 | コグニマ リミテッド | Method for replicating data between computer devices each using a local clock |
JP2007200029A (en) * | 2006-01-26 | 2007-08-09 | Mitsubishi Electric Corp | File copying system |
JP2008305352A (en) * | 2007-06-11 | 2008-12-18 | Tatsuya Shindo | Full text search system |
JP2010033467A (en) * | 2008-07-30 | 2010-02-12 | Fujitsu Ltd | Information management system |
-
2012
- 2012-02-29 JP JP2012042600A patent/JP2013178685A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01173230A (en) * | 1987-12-28 | 1989-07-07 | Nippon Telegr & Teleph Corp <Ntt> | Merge processing system |
JPH10214215A (en) * | 1997-01-30 | 1998-08-11 | Matsushita Electric Ind Co Ltd | Title multiple management system |
JP2001125815A (en) * | 1999-10-26 | 2001-05-11 | Hitachi Ltd | Back-up data management system |
JP2005510796A (en) * | 2001-11-26 | 2005-04-21 | コグニマ リミテッド | Method for replicating data between computer devices each using a local clock |
JP2007200029A (en) * | 2006-01-26 | 2007-08-09 | Mitsubishi Electric Corp | File copying system |
JP2008305352A (en) * | 2007-06-11 | 2008-12-18 | Tatsuya Shindo | Full text search system |
JP2010033467A (en) * | 2008-07-30 | 2010-02-12 | Fujitsu Ltd | Information management system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015064850A (en) * | 2013-09-26 | 2015-04-09 | 日本電気株式会社 | Database monitoring device, database monitoring method, and computer program |
JP2019527883A (en) * | 2016-07-04 | 2019-10-03 | アリババ グループ ホウルディング リミテッド | Database data change request processing method and apparatus |
US11106695B2 (en) | 2016-07-04 | 2021-08-31 | Ant Financial (Hang Zhou) Network Technology Co., Ltd. | Database data modification request processing |
US11132379B2 (en) | 2016-07-04 | 2021-09-28 | Ant Financial (Hang Zhou) Network Technology Co., Ltd. | Database data modification request processing |
JP2018128881A (en) * | 2017-02-09 | 2018-08-16 | 富士通株式会社 | Difference log application program, difference log application device, and difference log application method |
JP2018181042A (en) * | 2017-04-17 | 2018-11-15 | 富士通株式会社 | Record reflecting program, record reflecting device and record reflecting method |
JP2021513168A (en) * | 2018-02-27 | 2021-05-20 | ベリタス テクノロジーズ エルエルシー | Systems and methods for performing database backups for repairless restores |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112099918B (en) | Live migration of clusters in a containerized environment | |
KR101602312B1 (en) | Data sending method, data receiving method, and storage device | |
EP2731013B1 (en) | Backing up method, device, and system for virtual machine | |
US5649092A (en) | Fault tolerant apparatus and method for maintaining one or more queues that are shared by multiple processors | |
US9250818B2 (en) | Transferring learning metadata between storage servers having clusters via copy services operations on a shared virtual logical unit that stores the learning metadata | |
US8086810B2 (en) | Rapid defragmentation of storage volumes | |
US6922763B2 (en) | Method and apparatus for storage system | |
CN102741820A (en) | Background migration of virtual storage | |
KR20170133866A (en) | Apparatus and method for data migration | |
JP6987340B2 (en) | Database data change request processing method and equipment | |
JP2011164704A (en) | Client program, terminal, server device, system, and method | |
JP2013178685A (en) | Data processing system with asynchronous backup function, front system, backup method and program therefor | |
US20160019247A1 (en) | Building a metadata index from source metadata records when creating a target volume for subsequent metadata access from the target volume | |
JP2004054916A (en) | Method of executing hardware support communication between processors | |
US8447940B2 (en) | Backup copy enhancements to reduce primary version access | |
WO2020060620A1 (en) | Storage segment server covered cache | |
US8738873B2 (en) | Interfacing with a point-in-time copy service architecture | |
JP2007323657A (en) | Method and system for storing transient state information, and computer program | |
KR20220011066A (en) | Backup management method and system, electronic device and medium | |
JP2012089049A (en) | Computer system and server | |
US20100235549A1 (en) | Computer and input/output control method | |
JP4548037B2 (en) | Cache memory management method, storage device or computer system | |
CN116049142A (en) | Data processing method, device, electronic equipment and storage medium | |
US10089198B1 (en) | Data storage system with active-standby system management | |
CN112711527A (en) | Debugging method and device of real-time process, target machine and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150119 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20151023 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20151104 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20160308 |