JP2000112801A - Data base backup system and backup method - Google Patents

Data base backup system and backup method

Info

Publication number
JP2000112801A
JP2000112801A JP10279135A JP27913598A JP2000112801A JP 2000112801 A JP2000112801 A JP 2000112801A JP 10279135 A JP10279135 A JP 10279135A JP 27913598 A JP27913598 A JP 27913598A JP 2000112801 A JP2000112801 A JP 2000112801A
Authority
JP
Japan
Prior art keywords
database
master
server
data
management 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.)
Withdrawn
Application number
JP10279135A
Other languages
Japanese (ja)
Inventor
Hitoshi Takashi
等 高師
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP10279135A priority Critical patent/JP2000112801A/en
Publication of JP2000112801A publication Critical patent/JP2000112801A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PROBLEM TO BE SOLVED: To simplify the time and work related to the backup and recovery of data bases. SOLUTION: The data base backup system related to data base management parts is provided with three or more data bases 102, 104, and 106 connected on a network, data base servers 101, 103, and 105 corresponding to the respective data bases and data base management parts 111, 113, and 115 consisting of respectively independent software included in the data base servers and a data operation request is transferred between the data base management parts by using a common access language to be interpreted by the data base management parts. Thereby, an updating request from a master data base management part is transmitted to other data base management parts, the updating is reflected also to the other data bases. Further, even when a fault is generated in the master data base management part and since the data base backup system is data base management parts consisting of the respectively independent software, another data base management part is made as a master to continue job operation.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば応用プログ
ラムで在庫管理といったデータベースでの更新処理等に
おいて、複数のデータベース間の整合性を保ちながら管
理するデータベースシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database system for performing management while maintaining consistency among a plurality of databases in, for example, an update process in a database such as inventory management by an application program.

【0002】[0002]

【従来の技術】従来、データベース管理部がアクセスす
るデータは、突発的に発生するシステム障害に備えて定
期的なバックアップ運用管理が実施されている。このバ
ックアップにはそれぞれのデータベースが提供する固有
のバックアップシステムが利用され、バックアップデー
タは磁気ディスクや磁気テープ装置など補助記憶装置へ
独自のデータ構造で保存、記録される。
2. Description of the Related Art Conventionally, data accessed by a database management unit is regularly backed up and managed in preparation for a sudden system failure. For this backup, a unique backup system provided by each database is used, and the backup data is stored and recorded in an auxiliary storage device such as a magnetic disk or a magnetic tape device in a unique data structure.

【0003】実際データベースに障害が発生し運用がで
きなくなった場合には、一連の処理を停止し、それまで
に保存、記録されていたバックアップデータをそのデー
タベース管理部が提供しているリカバリシステムによっ
て障害発生直前の状態までデータを復旧することにな
る。
In the event that a database actually fails and operation becomes impossible, a series of processing is stopped and backup data stored and recorded up to that time is recovered by a recovery system provided by the database management unit. Data will be restored to the state immediately before the failure occurred.

【0004】[0004]

【発明が解決しようとする課題】このように、従来のデ
ータベースバックアップシステムにおいては、バックア
ップ運用自体が複雑であり、その運用に当たってシステ
ムオペレータの熟練が求められ、入念な訓練と膨大な実
施時間を必要とした。結果的に見るとデータベース管理
システ全体あるいは計算機システム全体の包括的な費用
は増大してしまうという問題がある。
As described above, in the conventional database backup system, the backup operation itself is complicated, and the skill of the system operator is required in the operation, and careful training and enormous execution time are required. And As a result, there is a problem that the comprehensive cost of the entire database management system or the entire computer system increases.

【0005】その上、マスタデータベースに障害が発生
した時、システムオペレータによって処理を中断させ、
リカバリ処理を行わなければならず、マスタデータベー
スの復旧が容易に行えないという問題がある。
In addition, when a failure occurs in the master database, the processing is interrupted by the system operator,
There is a problem that the recovery process must be performed and the master database cannot be easily recovered.

【0006】さらに従来のバックアッププログラムある
いはリカバリプログラムあるいはそれを管理するデータ
ベース管理部そのものに論理的な障害(ソフトウエアの
バグ)が存在した場合、バックアップデータからの復旧
ができなくなる恐れがあるという問題もある。この問題
は、複数のデータベースを使用してもそれを管理するデ
ータベース管理部は同一内容のソフトウエアを使用して
いることが原因であると考えられる。
Furthermore, if there is a logical failure (software bug) in the conventional backup program or recovery program or the database management unit that manages the program, there is a problem that recovery from backup data may not be possible. is there. This problem is considered to be caused by the fact that even if a plurality of databases are used, the database management unit that manages them uses the same software.

【0007】本発明は上記の従来技術の問題を解決する
ためになされたもので、バックアップシステムそのもの
を簡潔にして、バックアップ運用に要する業務を皆無と
するデータベース管理部上でのバックアップシステム及
びデータベース管理部によるバックアップ方法を提供す
ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art. A backup system itself is simplified, and a backup system and database management are performed on a database management unit which eliminates the tasks required for backup operation. The purpose is to provide a backup method by the department.

【0008】本発明の別の目的は、リカバリに要する作
業を簡潔にし、データベースに障害が発生した場合で
も、処理に影響が及ばないように円滑な運用を行うこと
のできるデータベース管理部上でのバックアップシステ
ム及びデータベース管理部によるバックアップ方法を提
供することを目的とする。
Another object of the present invention is to provide a database management unit which simplifies the work required for recovery and enables smooth operation so that processing is not affected even if a failure occurs in the database. It is an object to provide a backup system and a backup method by a database management unit.

【0009】本発明の更なる目的は、データベース管理
部自体の論理的な障害からデータベースに障害が発生し
た場合でも、障害の原因とならないデータベース管理部
及びそれに対するデータベースを使って処理を実行する
ことで、データベースの安全性を高めることのできるデ
ータベース管理部上でのバックアップシステム及びデー
タベース管理部によるバックアップ方法を提供すること
を目的とする。
A further object of the present invention is to execute a process using a database management unit which does not cause a failure and a database for the database management unit even if a database failure occurs due to a logical failure of the database management unit itself. Accordingly, an object of the present invention is to provide a backup system on a database management unit and a backup method by the database management unit, which can enhance the security of the database.

【0010】[0010]

【課題を解決するための手段】かかる課題を解決するた
め、請求項1記載の本発明に係るデータベースバックア
ップシステムは、ネットワーク上に接続された3つ以上
の複数のデータベースと、前記データベース各々に対応
するデータベースサーバと、前記データベースサーバ内
に含まれるそれぞれ独立したソフトウエアから成るデー
タベース管理部と、前記データベース管理部で解釈され
る共通のアクセス言語を用いて前記データベース管理部
間でデータ操作要求を受け渡す通信インターフェースと
を具備したことを特徴としている。
According to a first aspect of the present invention, there is provided a database backup system according to the first aspect of the present invention, which includes three or more databases connected on a network, and a plurality of databases connected to each of the databases. A database management unit comprising independent software included in the database server, and receiving a data operation request between the database management units using a common access language interpreted by the database management unit. And a communication interface for passing.

【0011】請求項2記載の本発明に係るデータベース
バックアップシステムは、前記データベースサーバ装置
上にあるデータース管理部が、同一ネットワーク上にあ
る他の異なるデータベース管理部に、前記標準データ操
作言語を同時に送信するデータ操作送信プログラムを具
備したことを特徴としている。
According to a second aspect of the present invention, in the database backup system, the database management unit on the database server device simultaneously transmits the standard data manipulation language to another different database management unit on the same network. And a data operation transmission program for performing the operation.

【0012】請求項3記載の本発明に係るデータベース
バックアップシステムは、前記データベースサーバ装置
上にあるデータース管理部が、同一ネットワーク上にあ
る他の異なるデータベース管理部全てに対し、前記標準
データ操作言語を用いて同時にアクセスし、各々のデー
タベースの内容を更新することによって、同一ネットワ
ーク上のデータベースの内容に整合性を持たせることを
特徴としている。
According to a third aspect of the present invention, in the database backup system according to the present invention, the database management unit on the database server device transmits the standard data operation language to all other different database management units on the same network. It is characterized in that the contents of the databases on the same network are made consistent by accessing them simultaneously and updating the contents of each database.

【0013】請求項4記載の本発明に係るデータベース
バックアップシステムは、マスタデータベースシステム
の障害時に、マスタデータベースサーバ及びマスタデー
タベースを処理から切り離し、代替マスタデータベース
サーバ及び代替マスタデータベースを確定することによ
ってデータ処理を継続させ、障害復旧後に切り離された
マスタデータサーバ及びマスタデータベースを再びマス
タとして処理に組み込むリカバリシステムとを具備する
ことを特徴としている。
According to a fourth aspect of the present invention, in the database backup system according to the present invention, when a failure occurs in the master database system, the master database server and the master database are separated from the processing and the alternate master database server and the alternate master database are determined. And a recovery system that incorporates the master data server and the master database disconnected after the failure recovery into the processing again as the master.

【0014】請求項5記載の本発明に係るデータベース
バックアップ方法は、ネットワーク上に接続された3つ
以上の複数のデータベースと、前記データベース各々に
対応するデータベースサーバとを含むデータベースシス
テムにおいて、マスタデータベースサーバがクライアン
トからのデータ操作要求を受け、対応するデータベース
を操作する工程と、前記データベースの操作と同時に共
通のアクセス言語を用いて他のデータベースサーバへデ
ータ操作要求を送信する工程と、送信された前記データ
操作要求を受信したデータベースサーバが、対応するデ
ータベースを操作する工程とを有することを特徴とす
る。
According to a fifth aspect of the present invention, there is provided a database backup method according to the present invention, wherein a database system includes three or more databases connected on a network, and database servers corresponding to the respective databases. Receiving a data operation request from a client and operating a corresponding database; transmitting a data operation request to another database server using a common access language simultaneously with the operation of the database; and And a step of operating a corresponding database by the database server that has received the data operation request.

【0015】請求項1、2、3、4、5記載の本発明の
データベースバックアップシステムおよびその方法によ
れば、同一ネットワーク上にあるデータベースシステム
は、各データベースサーバ上のデータベース管理部がそ
れぞれ別のソフトウエアもしくはバージョンの異なる同
一ソフトウエアで稼動している。それぞれのデータベー
ス管理部は、共通のアクセス言語でデータ操作が可能と
なっているため、それによって、マスタデータベースへ
のデータ操作と全く同じ操作が他のデータベース管理部
に対しても行うことができる。マスタデータベースサー
バへの共通のアクセス言語は、アプリケーションプログ
ラムにリンクする共通のアクセス言語送信プログラムに
より、他のデータベースサーバへも振り分けられる。ま
た、他のデータベースサーバで受け取る言語も共通のア
クセス言語であり、どのようなデータベース管理部でも
理解できるようになっている。これによって、複数のデ
ータベース管理部間は、搭載したソフトウエアが異なっ
ても、共通のアクセス言語によって整合性のとれたデー
タを持つことができる。
According to the database backup system and method of the present invention described in claims 1, 2, 3, 4, and 5, the database systems on the same network have different database management units on each database server. Running on the same software with different software or versions. Since each database management unit can operate data in a common access language, the same operation as data operation on the master database can be performed on other database management units. The common access language to the master database server is also distributed to other database servers by a common access language transmission program linked to the application program. The language received by other database servers is also a common access language, and can be understood by any database management unit. As a result, a plurality of database management units can have consistent data by a common access language even if the installed software is different.

【0016】つまり、他のデータベースサーバで受信さ
れネットワーク上に流れた共通のアクセス言語は、その
データベース管理部内で実行される。また、データベー
スの更新要求は共通のアクセス言語として伝達され、各
々のデータベース構造は対応するデータベースサーバ上
のデータベース管理部が独立して管理する。これをアプ
リケーションプログラム側から見ると、どのような形式
で記録されているかということは全く意識しないデータ
ベース環境となっており、マスターデータベースサーバ
で更新されたデータは、更新用の共通のアクセス言語に
よって更新プロトコルだけが他のサーバへ送られる。そ
の結果、データベースのバックアップは複数の異なるデ
ータベースの中にデータが複製され、データベース構造
が異なるバックアップデータが複数個作成される。これ
により、従来行っていたバックアップ運用は完全に不要
となる。
That is, the common access language received by another database server and transmitted on the network is executed in the database management unit. The database update request is transmitted as a common access language, and each database structure is independently managed by a database management unit on a corresponding database server. When viewed from the application program side, the database environment is completely unaware of the format in which it is recorded. Data updated by the master database server is updated using a common access language for updating. Only the protocol is sent to other servers. As a result, in database backup, data is duplicated in a plurality of different databases, and a plurality of backup data having different database structures are created. As a result, the backup operation conventionally performed becomes completely unnecessary.

【0017】さらに、通常時にマスタデータベースサー
バとなっているデータベースシステムに障害が発生した
場合、システムダウンしたマスタデータベースサーバに
代わって次のマスタデータベースサーバ(候補)が選択
されるとともに、そのサーバにあるデータベース管理部
へのデータ処理要求が共通のアクセス言語を使って別の
サーバにも送信され、クライアントのデータベースアク
セスは次のマスタデータベースサーバに変わる。このよ
うに障害発生前のマスタデータベースサーバから新たな
マスタデータベースサーバの切り替えが行われ、従来処
理を中断し、リカバリシステムを起動させた手段を省く
ことができる。ただし、障害発生時にはその障害が発生
したデータベースサーバが復旧した場合に備えて、ダウ
ンしている間に発生するデータ操作を共通アクセス言語
ジャーナルという形で運用を引き継いだマスタデータベ
ースサーバが記録を取る。そうしてダウンしたマスタデ
ータベースサーバが復旧した時、ダウン時のマスタデー
タベースの状態が保持され運用再開が可能な状況であれ
ば、この共通アクセス言語ジャーナルを使って最新のデ
ータベース状態へ更新することができる。つまり共通ア
クセス言語ジャーナルによって、本発明のデータベース
バックアップシステムを構成する各ータベースサーバ上
のデータベースは、その内容の整合性を保つことができ
る。
Further, when a failure occurs in the database system which is normally the master database server, the next master database server (candidate) is selected in place of the master database server that has gone down, and the next master database server is selected. The data processing request to the database manager is also sent to another server using a common access language, and the client's database access changes to the next master database server. As described above, the switching from the master database server before the occurrence of the failure to the new master database server is performed, so that the conventional processing can be interrupted and the means for starting the recovery system can be omitted. However, in the event of a failure, the master database server that has taken over the operation in the form of a common access language journal records the data operations that occur while it is down, in case the failed database server recovers. When the downed master database server is restored, if the status of the downed master database is retained and operation can be resumed, it is possible to update to the latest database state using this common access language journal. it can. In other words, the database on each database server that constitutes the database backup system of the present invention can maintain the consistency of the contents by the common access language journal.

【0018】[0018]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0019】図1は本発明の一実施形態に係るリレーシ
ョナルデータベースを利用したデータ処理システムの構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a data processing system using a relational database according to one embodiment of the present invention.

【0020】同図に示すように、同一ネットワーク上に
複数のデータベース102、104、106とそれら各
々に対応するデータベースサーバ101、103、10
5が接続されている。ここでは、データベース102を
マスタデータベース、対応するデータベースサーバ10
1をマスタデータベースサーバとする。さらにデータベ
ースサーバ101、103、105の中にそのデータベ
ースを管理するソフトウエアであるデータベース管理シ
ステム111、113、115と、各サーバ間でデータ
操作言語の送受信を行うソフトウエア120を搭載して
いる。このネットワークは、公衆回線網または構内LA
Nから構成されるインターネットやイントラネット環境
で動作し、例えば公衆回線網107を使用した場合、デ
ータベースサーバ105は地域的に分散した状態を表
す。また端末110に示すようにクライアント/サーバ
型のネットワークを構築し、端末110からマスタデー
タベースサーバ101に対してデータ操作(検索、更
新)を行う。
As shown in FIG. 1, a plurality of databases 102, 104, and 106 and database servers 101, 103, and 10 corresponding to the databases 102, 104, and 106 are provided on the same network.
5 is connected. Here, the database 102 is a master database, and the corresponding database server 10
1 is a master database server. Further, the database servers 101, 103, and 105 are provided with database management systems 111, 113, and 115, which are software for managing the databases, and software 120 for transmitting and receiving a data manipulation language between the servers. This network can be a public line network or a local LA
The database server 105 operates in the Internet or intranet environment composed of N, for example, when the public network 107 is used, and the database server 105 is in a state of being locally dispersed. Further, a client / server type network is constructed as shown in the terminal 110, and data operations (search, update) are performed from the terminal 110 to the master database server 101.

【0021】以下、このデータベースバックアップシス
テムの動作を図2のフローチャートに従って説明する。
Hereinafter, the operation of the database backup system will be described with reference to the flowchart of FIG.

【0022】最初に、端末(クライアント)110から
マスタデータベースサーバ101に対して、データ操作
を実施するための標準データ操作言語を送り、データの
アクセスを要求する(ステップ21)。ここではJIS
/ISO標準である標準SQL(Structured
Query Language)をデータ操作言語と
して用いる。
First, a terminal (client) 110 sends a standard data manipulation language for performing data manipulation to the master database server 101, and requests data access (step 21). Here is JIS
/ SQL standard ISO (Structured)
Query Language) is used as a data manipulation language.

【0023】そしてマスタデータサーバ101は、標準
SQLの送信を行うソフトウエア120にてアクセス要
求を受け、標準SQLをデータベース管理システム11
1へ渡し、その内容を解析する(ステップ22)。
The master data server 101 receives an access request from the software 120 for transmitting the standard SQL, and stores the standard SQL in the database management system 11.
1 and analyze the contents (step 22).

【0024】解析した結果、対応するデータベースの検
索処理の要求かデータベース更新処理の要求かを判断す
る(ステップ23)。
As a result of the analysis, it is determined whether the request is a search process or a database update process of the corresponding database (step 23).

【0025】データベース検索処理が要求された場合、
データベース管理システム111によってマスタデータ
ベース102にアクセスし、端末(クライアント)11
0から要求のあったデータを検索する(ステップ2
4)。
When a database search process is requested,
The master database 102 is accessed by the database management system 111, and the terminal (client) 11
The requested data is searched from 0 (Step 2)
4).

【0026】一方、データベース更新処理が要求された
場合、データベース管理システム111によってマスタ
データベース102にアクセスし、端末(クライアン
ト)110から要求のあったデータを更新する(ステッ
プ25)。
On the other hand, when a database update process is requested, the master database 102 is accessed by the database management system 111, and data requested by the terminal (client) 110 is updated (step 25).

【0027】しかし端末(クライアント)110からの
更新要求によって実際に更新処理が行われるのはマスタ
データベース102のみであるため、さらに更新要求を
同一ネットワーク上に接続された他のデータベースサー
バへ送信するには、図3に示すように通信インターフェ
ースのアプリケーションプログラム301にリンクした
標準SQL送信プログラム302によって他のデータベ
ースサーバへ更新系の標準SQLが振り分けられる(ス
テップ26)。
However, since only the master database 102 actually performs the update process in response to the update request from the terminal (client) 110, it is necessary to further transmit the update request to another database server connected on the same network. As shown in FIG. 3, the standard SQL for update is distributed to another database server by the standard SQL transmission program 302 linked to the application program 301 of the communication interface (step 26).

【0028】その後送信された標準SQLは、他のデー
タベースサーバ側の通信インターフェース、つまり標準
SQLを受信するアプリケーションプログラムによっ
て、データベース管理部が解釈可能な形式にデータを変
換した上で、データベース管理システムに渡され、マス
タデータベース102へのデータ更新と同じ操作で各々
のデータベースが更新される(ステップ27)。図4は
マスタデータベースサーバ102から他のデータベース
サーバに標準SQLが送信される場合、受信側のデータ
ベースサーバのインターフェース構成を示しており、そ
こには標準SQLを受け取り、データベース管理部のプ
ログラムが理解できる形式に受信データを変換する(S
QLデーモン処理)プログラムが組み込まれている。
The standard SQL transmitted thereafter is converted into a format that can be interpreted by the database management unit by a communication interface of another database server, that is, an application program that receives the standard SQL, and then converted to a database management system. The respective databases are updated by the same operation as the data update to the master database 102 (step 27). FIG. 4 shows the interface configuration of the receiving database server when the standard SQL is transmitted from the master database server 102 to another database server, in which the standard SQL is received and the program of the database management unit can be understood. Convert the received data to a format (S
QL daemon processing) program is incorporated.

【0029】また、データベースへアクセスするアプリ
ケーションプログラムは、図5に示す形をしており、複
数のデータベース管理システムへの処理ルーチンが各々
リンクされている。このアプリケーションプログラム5
01が実行される場合、接続されるデータベースサーバ
に合った処理ルーチンが動作し、それぞれの標準SQL
を実行できる環境を作り出す。アプリケーション側は共
通のログイン/ログアウト処理及び標準SQL発行手続
きを呼び出すだけであり、データベースシステムの違い
は意識しない構造となっている。
An application program for accessing a database has the form shown in FIG. 5, and processing routines for a plurality of database management systems are linked to each other. This application program 5
01 is executed, the processing routine suitable for the database server to be connected operates, and the respective standard SQL is executed.
Create an environment that can execute The application only calls the common login / logout processing and the standard SQL issuing procedure, and has a structure that is not aware of the difference between the database systems.

【0030】さらに、マスタデータベースの更新と他デ
ータベースの更新は非同期に処理される。
Further, the update of the master database and the update of the other databases are processed asynchronously.

【0031】最後に、検索および更新処理が終了した
ら、マスタデータベースサーバ101のデータ管理シス
テム111は標準SQLの形で処置結果を端末(クライ
アント)110に返す(ステップ28)。
Finally, when the search and update processing is completed, the data management system 111 of the master database server 101 returns the treatment result to the terminal (client) 110 in the form of standard SQL (step 28).

【0032】上記ではデータベースシステムが通常動作
している場合の検索/更新処理を挙げたが、次にデータ
ベースシステムが障害等でダウンした場合のシステム切
り替えについて、図6、7をもとに説明する。
The search / update processing when the database system is operating normally has been described above. Next, system switching when the database system goes down due to a failure or the like will be described with reference to FIGS. .

【0033】図6に示すように、同一ネットワーク上に
通常マスタデータベース(サーバ)601と他のデータ
ベース(サーバ)602、603、604がバックアッ
プデータベースとして接続されている。ただし、各々の
データベース管理システムは異種である。ここでデータ
ベースシステムに障害が発生し、マスタデータベース
(サーバ)601が使用できなくなった場合、図1の障
害時切替部108によって、図7に示す新たなマスター
データベース(サーバ)702が選択され、データベー
ス(サーバ)703、704がそのバックアップとな
る。それと同時に、端末(クライアント)705からの
操作要求も切り替えられたデータベース(サーバ)70
2にアクセス先が変わる。例えば更新要求の場合、新し
いマスタデータベース(サーバ)702は、通常時にマ
スタデータベースが行っているのと同様に更新要求を更
新系標準SQLの形で標準SQL送信プログラムによっ
てデータベース(サーバ)703、704に送信する。
標準SQLを受け取ったデータベース(サーバ)70
3、704は、それぞれのデータベースにアクセスし、
更新処理を行う。さらに障害発生時には、その障害が発
生したデータベースサーバが復旧した場合に備えて、他
のデータベースサーバがダウンしている間のデータ更新
記録を保存する。この記録をSQLジャーナルと言い、
これは端末(クライアント)705からマスタデータベ
ース(サーバ)702にデータベースアクセス要求が出
される時、同時に他のデータベース(サーバ)703、
704に対してSQLジャーナルという形で同じ要求が
送信される。そうして、ダウンしたデータベース(サー
バ)701がシステム復旧し、ダウンした時のデータベ
ースの状態が保たれ、かつ処理が再開できる状態になれ
ば、このSQLジャーナルをもとに最新のデータベース
の状態へ更新され、再度マスタデータベース(サーバ)
として運用可能となる。
As shown in FIG. 6, a normal master database (server) 601 and other databases (servers) 602, 603, and 604 are connected on the same network as backup databases. However, each database management system is different. Here, if a failure occurs in the database system and the master database (server) 601 becomes unusable, the failure switching unit 108 in FIG. 1 selects a new master database (server) 702 shown in FIG. (Servers) 703 and 704 are backups. At the same time, the database (server) 70 to which the operation request from the terminal (client) 705 is also switched.
The access destination changes to 2. For example, in the case of an update request, the new master database (server) 702 transmits the update request to the databases (servers) 703 and 704 in the form of an update standard SQL by the standard SQL transmission program in the same manner as the master database normally performs. Send.
Database (server) 70 that received the standard SQL
3, 704 access their respective databases,
Perform update processing. Further, when a failure occurs, the data update record is saved while the other database server is down, in case the failed database server recovers. This record is called the SQL journal,
This is because when a terminal (client) 705 issues a database access request to the master database (server) 702, at the same time another database (server) 703,
The same request is sent to 704 in the form of an SQL journal. Then, when the downed database (server) 701 is restored, the state of the database at the time of the downtime is maintained and the processing can be resumed, the state of the database is updated based on the SQL journal. Updated and again master database (server)
It can be operated as

【0034】なお、上記実施形態では、データベース操
作を要求するアプリケーションプログラムをデータベー
スサーバ上で動作する場合を例にとり説明したが、ネッ
トワーク上の端末からクライアント/サーバ形式で動作
してもよい。後者の場合、図3のアプリケーションプロ
グラムは端末側の処理部分とサーバ側の処理部分に分離
されることになり、その間はある通信プロトコルによっ
て同期処理が実施されることになる。
In the above-described embodiment, an example has been described in which an application program for requesting a database operation is operated on a database server. However, the application program may be operated in a client / server format from a terminal on a network. In the latter case, the application program of FIG. 3 is separated into a processing part on the terminal side and a processing part on the server side, and during that time, the synchronization processing is performed by a certain communication protocol.

【0035】また、上記実施形態の検索処理ではマスタ
データベースのみアクセスしたが、それは図3のアプリ
ケーションプログラムで使用される標準SQLがマスタ
データベース管理システムへ実アクセスを行うものと、
他のデータベース管理システムへ転送されるものに分離
される際、検索すなわち参照系の標準SQLは必ずしも
転送する必要がないため省略したが、更新処理と同様に
標準SQLを他のデータベース管理システムへ転送して
もよい。
In the search processing of the above-described embodiment, only the master database is accessed. The standard SQL used in the application program shown in FIG. 3 performs actual access to the master database management system.
When separated into those to be transferred to another database management system, the search, that is, the standard SQL of the reference system is not necessarily transferred, and thus omitted. However, similar to the update processing, the standard SQL is transferred to another database management system. May be.

【0036】さらに、上記実施形態では、処理結果を標
準SQLの形で端末(クライアント)に返すまでとした
が、この結果を画面表示したり、帳票出力等で取り出す
こともできる。
Further, in the above embodiment, the processing result is returned to the terminal (client) in the form of the standard SQL. However, the result can be displayed on a screen or taken out by a form output or the like.

【0037】なお、上記実施形態では、データベース管
理部は、サーバ毎に異なるシステムプログラムが動作す
る場合を取り上げたが、同一ネットワーク上に少なくと
も2種類以上の異なるシステムプログラムが組み込まれ
ていればよい。
In the above-described embodiment, the database management unit has described the case where different system programs operate for each server. However, at least two or more different system programs may be installed on the same network.

【0038】[0038]

【発明の効果】以上説明したように、本発明によれば、
各データベースサーバ上のデータベース管理システム
は、異種データベースシステムであるため、マスタデー
タベース上のデータベース管理システムがソフトウエア
障害を起こしたとしても、同様な現象が他のデータベー
スサーバ上では起こることはない。逆に、あるデータベ
ース管理システムのソフトウエアにバグがあるとすれ
ば、他のデータベースとの比較によって発見することが
でき、早い時点でバグ対処が可能となる。
As described above, according to the present invention,
Since the database management system on each database server is a heterogeneous database system, the same phenomenon does not occur on other database servers even if a software failure occurs in the database management system on the master database. Conversely, if there is a bug in the software of a certain database management system, it can be found by comparison with another database, and the bug can be dealt with earlier.

【0039】また、標準データ操作言語(標準SQL)
を解釈できるデータベース管理システムであれば、何台
でも複数のデータベースシステムをバックアップシステ
ムとして構成することは容易であり、これによってシス
テムの可用性は高まる。
Further, a standard data manipulation language (standard SQL)
It is easy to configure any number of database systems as a backup system as long as it is a database management system that can interpret the above, thereby increasing the availability of the system.

【0040】さらにバックアップデータは、標準データ
操作言語の適用による異種データベースとして存在する
ため、従来のような特別なリカバリ処理は不要となり、
サーバを切り替えるだけでデータ処理は中断せずに切り
替え前と変わらぬ状況で続行できる。結果的には運用時
間とコストの削減にも繋がる。
Further, since the backup data exists as a heterogeneous database by applying the standard data manipulation language, a special recovery process as in the related art becomes unnecessary.
By simply switching servers, data processing can be continued in the same state as before switching without interruption. As a result, operation time and cost can be reduced.

【0041】また、データベースサーバとなるハードウ
エアも異種ハードウエアとすることが可能であるため、
ハード面においても可用性が高まるとともに、システム
全体の信頼性も高めることができる。つまり、マスタサ
ーバ固有のハードウエア障害は他のシステムで発生する
可能性は非常に低く、全く同様のハードウエア障害が同
時に発生する可能性は皆無に近い。
Further, since the hardware serving as the database server can be of a different kind,
In addition to increased availability in terms of hardware, the reliability of the entire system can be increased. In other words, a hardware failure unique to the master server is very unlikely to occur in another system, and there is almost no possibility that exactly the same hardware failure will occur at the same time.

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

【図1】本発明の異種データベース管理システム全体の
構成を示したブロック図である。
FIG. 1 is a block diagram showing a configuration of an entire heterogeneous database management system according to the present invention.

【図2】本発明の一実施形態に係るデータアクセスのフ
ローチャートである。
FIG. 2 is a flowchart of data access according to an embodiment of the present invention.

【図3】本発明の一実施形態に係る標準データ操作言語
を各種データベース管理システムへ振り分ける概念図で
ある。
FIG. 3 is a conceptual diagram for assigning a standard data manipulation language to various database management systems according to an embodiment of the present invention.

【図4】本発明の一実施形態に係る標準データ操作言語
を受信するシステム概念図である。
FIG. 4 is a conceptual diagram of a system for receiving a standard data manipulation language according to an embodiment of the present invention.

【図5】本発明の一実施形態に係る標準データ操作言語
を各種データベース管理部用のライブラリに渡すアプリ
ケーションプログラム構成の概念図である。
FIG. 5 is a conceptual diagram of an application program configuration for transferring a standard data manipulation language to a library for various database management units according to an embodiment of the present invention.

【図6】本発明の一実施形態に係るシステム通常運用時
のアクセスルート説明図である。
FIG. 6 is an explanatory diagram of an access route during normal operation of the system according to an embodiment of the present invention.

【図7】本発明の一実施形態に係る運用中のマスタデー
タベースサーバに障害が発生した場合のアクセスルート
説明図である。
FIG. 7 is an explanatory diagram of an access route when a failure occurs in an operating master database server according to an embodiment of the present invention.

【符号の説明】 101、103、105 データベースサーバ 102、104、106 データベース 107 公衆回線網 108 障害時切替部 110 端末(クライアント) 111,113,115 データベース管理部 120 通信インターフェース 301 通信インターフェースのアプリケーションプロ
グラム 302 標準SQL送信プログラム 501 データベースアクセスのアプリケーションプロ
グウラム 601 マスタデータベースシステム 602,603,604 データベースシステム(バッ
クアップ) 605 端末(クライアント) 702 マスタデータベースシステム 703,704 データベースシステム(バックアッ
プ) 705 端末(クライアント)
DESCRIPTION OF SYMBOLS 101, 103, 105 Database server 102, 104, 106 Database 107 Public line network 108 Failure switching unit 110 Terminal (client) 111, 113, 115 Database management unit 120 Communication interface 301 Communication interface application program 302 Standard SQL transmission program 501 Application program for database access 601 Master database system 602, 603, 604 Database system (backup) 605 Terminal (client) 702 Master database system 703, 704 Database system (backup) 705 Terminal (client)

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ネットワーク上に接続された複数のデー
タベースと、 前記データベース各々に対応するデータベースサーバ
と、 前記データベースサーバ内に存在し、前記データベース
の制御を行うデータベース管理部と、 前記データベース管理部は、同一ネットワーク上に2種
類以上のソフトウエアが動作するよう異なるソフトウエ
アのうちの1つが組み込まれ、前記データベース管理部
で解釈される共通のアクセス言語を用いて、前記データ
ベース管理部間でデータ操作要求を受け渡す通信インタ
ーフェースと、を具備することを特徴とするデータベー
スバックアップシステム。
A plurality of databases connected on a network; a database server corresponding to each of the databases; a database management unit existing in the database server for controlling the databases; One of different software is installed so that two or more types of software operate on the same network, and data is manipulated between the database management units using a common access language interpreted by the database management unit. A database backup system, comprising: a communication interface for passing a request.
【請求項2】 前記データベースサーバ上にあるデータ
ース管理部は、 同一ネットワーク上にある他のデータベース管理部に、
前記共通のアクセス言語を同時に送信する共通のアクセ
ス言語送信プログラムを具備することを特徴とする請求
項1記載のデータベースバックアップシステム。
2. A database management unit on the database server, wherein the database management unit on another database management unit on the same network
2. The database backup system according to claim 1, further comprising a common access language transmission program for simultaneously transmitting the common access language.
【請求項3】 前記データベースサーバ上にあるデータ
ース管理部は、 同一ネットワーク上にある他のデータベース管理部全て
に対し、 前記共通のアクセス言語を用いて同時にアクセスし、各
々のデータベースの内容を更新することによって、同一
ネットワーク上のデータベースの内容に整合性を持たせ
ることを特徴とする請求項1記載のデータベースバック
アップシステム。
3. The database management unit on the database server accesses all other database management units on the same network simultaneously using the common access language, and updates the contents of each database. 2. The database backup system according to claim 1, wherein the contents of the databases on the same network are made consistent with each other.
【請求項4】 マスタデータベースシステムの障害時
に、マスタデータベースサーバ及びマスタデータベース
を処理から切り離し、代替マスタデータベースサーバ及
び代替マスタデータベースを確定することによって、デ
ータ処理を継続させ、障害復旧後に切り離されたマスタ
データサーバ及びマスタデータベースを再びマスタとし
て処理に組み込むリカバリ機能を具備することを特徴と
する請求項1記載のデータベースバックアップシステ
ム。
4. In the event of a failure of the master database system, the master database server and the master database are separated from the processing, and the alternate master database server and the alternate master database are determined, so that the data processing is continued, and the separated master is recovered after the failure recovery. 2. The database backup system according to claim 1, further comprising a recovery function for incorporating the data server and the master database into the processing again as a master.
【請求項5】 ネットワーク上に接続された複数のデー
タベースと、 前記データベース各々に対応するデータベースサーバ
と、 前記データベースサーバ内に存在し、前記データベース
の制御を行うデータベース管理部で構成されるデータベ
ースシステムは、 前記データベース管理部が、同一ネットワーク上に2種
類以上のソフトウエアが動作するよう異なるソフトウエ
アのうちの1つが組み込まれ、 マスタデータベースサーバのデータベース管理部はクラ
イアントからのデータ操作要求を受け、対応するデータ
ベースを操作する工程と、 前記データベースの操作と同時に共通のアクセス言語を
用いて他のデータベースサーバへデータ操作要求を送信
する工程と、 送信された前記データ操作要求を受信したデータベース
サーバが、前記データベース管理部によって対応するデ
ータベースを操作する工程とを有することを特徴とする
データベースバックアップ方法。
5. A database system comprising: a plurality of databases connected on a network; a database server corresponding to each of the databases; and a database management unit existing in the database server and controlling the database. The database management unit incorporates one of different software so that two or more types of software operate on the same network, and the database management unit of the master database server receives a data operation request from a client and responds. Operating a database, transmitting a data operation request to another database server using a common access language simultaneously with the operation of the database, and receiving the transmitted data operation request by the database server, data Operating the corresponding database by the base management unit.
JP10279135A 1998-09-30 1998-09-30 Data base backup system and backup method Withdrawn JP2000112801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10279135A JP2000112801A (en) 1998-09-30 1998-09-30 Data base backup system and backup method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10279135A JP2000112801A (en) 1998-09-30 1998-09-30 Data base backup system and backup method

Publications (1)

Publication Number Publication Date
JP2000112801A true JP2000112801A (en) 2000-04-21

Family

ID=17606930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10279135A Withdrawn JP2000112801A (en) 1998-09-30 1998-09-30 Data base backup system and backup method

Country Status (1)

Country Link
JP (1) JP2000112801A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6983277B2 (en) 2001-06-26 2006-01-03 Hitachi, Ltd. Method and system of database management for replica database
US7194486B2 (en) 2004-06-03 2007-03-20 Hitachi, Ltd. Method and system for data processing with data replication for the same
JPWO2006049202A1 (en) * 2004-11-08 2008-05-29 日本電気株式会社 Data multiplexing system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6983277B2 (en) 2001-06-26 2006-01-03 Hitachi, Ltd. Method and system of database management for replica database
US7194486B2 (en) 2004-06-03 2007-03-20 Hitachi, Ltd. Method and system for data processing with data replication for the same
JPWO2006049202A1 (en) * 2004-11-08 2008-05-29 日本電気株式会社 Data multiplexing system
JP4844743B2 (en) * 2004-11-08 2011-12-28 日本電気株式会社 Data multiplexing system

Similar Documents

Publication Publication Date Title
CN112099918B (en) Live migration of clusters in a containerized environment
EP1099164B1 (en) Method and program for processing administrative requests of a distributed network application executing in a clustered computing environment
US7555673B1 (en) Cluster failover for storage management services
US7475204B2 (en) Automatically managing the state of replicated data of a computing environment
JP4307673B2 (en) Method and apparatus for configuring and managing a multi-cluster computer system
US7743036B2 (en) High performance support for XA protocols in a clustered shared database
US7032089B1 (en) Replica synchronization using copy-on-read technique
US7392421B1 (en) Framework for managing clustering and replication
US9569480B2 (en) Method and system for stateful recovery and self-healing
CN102640108B (en) The monitoring of replicated data
US5805897A (en) System and method for remote software configuration and distribution
CN102656565B (en) Failover and recovery for replicated data instances
US8396830B2 (en) Data control method for duplicating data between computer systems
US7146532B2 (en) Persistent session and data in transparently distributed objects
US7350098B2 (en) Detecting events of interest for managing components on a high availability framework
US5875291A (en) Method and apparatus for checking transactions in a computer system
US8082344B2 (en) Transaction manager virtualization
US8316110B1 (en) System and method for clustering standalone server applications and extending cluster functionality
WO2003096231A1 (en) Database scattering system
JP2006185108A (en) Management computer for managing data of storage system, and data management method
JP2000112801A (en) Data base backup system and backup method
JP2002149459A (en) Redundant database management and retrieval system
JP2012022379A (en) Distributed transaction processing system, device, method and program
JP2000122982A (en) Multiechelon client-server system
JP2001350777A (en) Distributed database system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060110