JPS6286426A - Data base backup system - Google Patents

Data base backup system

Info

Publication number
JPS6286426A
JPS6286426A JP60226209A JP22620985A JPS6286426A JP S6286426 A JPS6286426 A JP S6286426A JP 60226209 A JP60226209 A JP 60226209A JP 22620985 A JP22620985 A JP 22620985A JP S6286426 A JPS6286426 A JP S6286426A
Authority
JP
Japan
Prior art keywords
backup
data base
journal
database
update
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60226209A
Other languages
Japanese (ja)
Inventor
Shigeo Hosogai
細貝 成穂
Toru Hamazaki
濱崎 徹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP60226209A priority Critical patent/JPS6286426A/en
Publication of JPS6286426A publication Critical patent/JPS6286426A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To attain the earlier restoration of a data base by providing a backup processing section including a means updating the same image as that of an active data base independently of the on-line data base processing from a journal extraction means to a backup disc device. CONSTITUTION:In updating a data base of a disc device 13, an image before and after the update of record is stored in an on-line journal 14 and the journal is transferred to a backup processing section 15 at the same time. Then only the image journal after the update of data base required to update of the backup disc deice 17 is extracted by an extracting means 18 and a disc update means 19 and a disc control device 16 update the backup disc device 17 thereby generating the active data base image in on-line. Thus, the effect of the processing performance onto the on-line data base processing is minimized as the backup system of the data base and the earlier restoration of the data base is attained.

Description

【発明の詳細な説明】 〔産業上の利用分針〕 本発明はオンラインデータベースシステムにおけるデー
タベース障害に対し迅速復旧させるようにオンラインデ
ータベースシステム処理と独立性を保持したデータベー
スバックアップ方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Minute Hand] The present invention relates to a database backup method that maintains independence from online database system processing so as to quickly recover from a database failure in an online database system.

〔従来の技術〕[Conventional technology]

従来のデータベース装置障害の迅速復旧に関するバック
アップ方式としは、プログラムがディスク装置へ書き込
みを行なった場合、現用およびバヅクアップディスク装
置両方へ書き込むオペレーティングシステムでの二重書
き方式と、ディスクコントローラ装置がその配下の現用
およびバ・ツクアップディスク装置へ書き込みを行なう
二重書き方式が知られている。
Conventional backup methods for quick recovery from database device failures include a dual write method in the operating system, where when a program writes to a disk device, it writes to both the current and backup disk devices, and a disk controller device that writes to both the current and backup disk devices. A dual write method is known in which data is written to subordinate current and backup disk devices.

〔発明が解決し7ようとする問題点〕 上述した従来のオペレーティングシステムで二重書きを
行うバックアップ方式では、現用およびバ9クアヅプ両
ディスク装置への入出力に関し、同レベルの優先度の扱
いが普通となっておシ、ディスク装置およびディスクコ
ントローラ装置は二重書きを含めた最大負荷にあわせた
配慮で構成する必要がある。
[Problems that the invention attempts to solve] In the backup method that performs dual writing in the conventional operating system described above, input and output to both the current and backup disk devices cannot be treated with the same level of priority. Nowadays, disk devices and disk controller devices must be configured with consideration given to the maximum load, including dual writing.

これは、ディスク入出力負荷の変動の大きい傾向を示す
オンラインデータベースシステムでは冗長構成とな9バ
ー7オーマンスが圓下する。あるいは、この配慮がなさ
れていない場合には、ディスク入出力負荷が高いとディ
スク入出力のアクセスタイムの遅延をひきおこし、しい
てはオンラインシステムの性能低下をまねく危険性があ
るという欠点があった。
This is because an online database system, which tends to have a large fluctuation in disk input/output load, has a redundant configuration and the 9-by-7 ohmance has dropped. Alternatively, if this consideration is not taken, there is a drawback that a high disk input/output load may cause a delay in disk input/output access time, which may lead to a decrease in the performance of the online system.

一方、a在のオンラインデータベースシステムにおける
データベースの重要性は高く、障害復旧時間の短縮が大
きな昧題となっている。このオンラインシステムのレス
ポンス(性能)は最も重要な要素の1つであシ、データ
ベース障害の復旧のために性能が劣下する事は許されな
い。
On the other hand, the importance of databases in existing online database systems is high, and shortening failure recovery time has become a major issue. The response (performance) of this online system is one of the most important factors, and it cannot be tolerated that performance deteriorates due to database failure recovery.

本発明の目的は、このような従来技術の問題点を解決し
、データベースの早期復旧を可能とじたオンラインシス
テムにおけるデータベースバヅクアップ方式を提供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a database backup method for an online system that solves the problems of the prior art and enables early database recovery.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のデータベースのバックアップ方式の構成は、バ
ックアップディスク装置と:このディスク装置の入出力
を制御するディスクコントロール装置と:オンラインデ
ータベースシステムのデータベース更新時にリカバリの
ために出力されるオンラインジャーナルを引き継ぐジャ
ーナル転送手段と;この転送手段の出力からデータベー
ス更新後のイメージジャーナルを抽出するジャーナル抽
出手段と、このジャーナル抽出手段からオンラインデー
タベース処理と独立な現用データベースと同じイメージ
を前記バックアップディスク装置に更新するディスク更
新手段とを含むバックアップ処理部と金備えることを特
徴とする。
The configuration of the database backup method of the present invention includes: a backup disk device; a disk control device that controls input/output of this disk device; and a journal transfer that takes over the online journal output for recovery when updating the database of the online database system. means: a journal extraction means for extracting an image journal after database update from the output of the transfer means; and a disk update means for updating the same image as the current database from the journal extraction means to the backup disk device, which is independent of online database processing. It is characterized by having a backup processing unit including a

〔実施例〕〔Example〕

次に本発明を図面により詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実施例の概要を示すブロック図であ
る。図中、11はオンライン処理部、12゜16はディ
スクコントロール装置、13.17は現用データベース
およびバックアップ用のディスク装置、14は磁気テー
プなどにレコード更新前後のイメージをリカバリのため
に記憶するオンラインジャーナル、15はジャーナル抽
出手段18とディスク更新手段19とを含むデータベー
スバ・ツクアップ処理部である。オンラインのデータベ
ース処理部11において、ディスク装置13のデータベ
ースを更新する時(8)、オンラインジャーナル14に
レコード更新前後のイメージを記憶するが(B)、同時
にこのジャーナルをバックアップ処理部15に転送しく
Q、バックアップディスク装置17の更新に必要なデー
タベース更新後のイメージジャーナルのみを抽出手段1
8によシ抽出しff)l、ディスク更新手段19とディ
スクコントロール装置16によシバヅクアップディスク
装置itl 7’に更新しくE)、オンラインで現用デ
ータベースイメージを作成する。
FIG. 1 is a block diagram showing an outline of an embodiment of the present invention. In the figure, 11 is an online processing unit, 12, 16 is a disk control device, 13, 17 is a disk device for the current database and backup, and 14 is an online journal that stores images before and after record updates on magnetic tape etc. for recovery purposes. , 15 is a database backup processing section including journal extracting means 18 and disk updating means 19. When the online database processing unit 11 updates the database in the disk device 13 (8), it stores images before and after the record update in the online journal 14 (B), but at the same time, does this journal need to be transferred to the backup processing unit 15? , extracting means 1 only for the image journal after the database update necessary for updating the backup disk device 17
8), update the data to the disk device itl 7' using the disk update means 19 and the disk control device 16, and create a current database image online.

このデータベースバヴクアップ処理部15の処理は、通
常オンラインデータベース処理部llの処理に比べ処理
および入出力発行に関し優先度が低い位置におかれる。
The processing of the database backup processing unit 15 is normally placed at a lower priority level in terms of processing and input/output issuance than the processing of the online database processing unit 11.

このバックアップ処理部15は、オンラインジャーナル
14の引ぎ継ぎ(転送)により(Q、オンラインデータ
ベース処理とは別コンピュータシステムに置くことも可
能となる。
By taking over (transferring) the online journal 14, the backup processing unit 15 can be placed in a separate computer system from the online database processing.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に、本発明は、オンラインデータベース
処理へ処理性能面の影響を極力おさえたデータベースの
バックアップ方式を実現する事が可能となる。
As described above, the present invention makes it possible to realize a database backup method that minimizes the impact on processing performance on online database processing.

また、本発明のデータベースバリクアヅプ方式を用いる
事により、特に重要なオンラインデータベースを持つシ
ステムや性能を重視したシステム等に効果がアシ、デー
タベースの早期復旧および更にオンラインジャーナルイ
メージの引き継ぎ媒体の選定によシ、危険分散対応とし
ての遠隔地バヴクアップシステムの構築の展開か可能と
なる。
In addition, by using the database vari-up method of the present invention, it is especially effective for systems with important online databases or systems that place emphasis on performance, and is useful for early database recovery and for selecting a medium for taking over online journal images. Yes, it will become possible to develop a remote location bavku-up system as a response to risk dispersion.

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

第1図は本発明の一実施例を含むブロック図で6一 ある。 11・・・・・・オンライン処理部、12.16・・・
・・・ディスクコントロール装置、13・・・・・・現
用ディスク装置、14・・・・・・オンラインジャーナ
ル、15・・・・・・データベースバヅクアップ処理部
、17・旧・・バックアップディスク装置、18・・・
・・・ジャーナル抽出手段、19・・・・・・ディスク
更新手段。
FIG. 1 is a block diagram 61 containing one embodiment of the present invention. 11...Online processing section, 12.16...
... Disk control device, 13... Current disk device, 14... Online journal, 15... Database backup processing unit, 17. Old... Backup disk device. , 18...
. . . Journal extraction means, 19 . . . Disk update means.

Claims (1)

【特許請求の範囲】[Claims] バックアップ用ディスク装置と;このディスク装置の入
出力を制御するディスクコントロール装置と;オンライ
ンデータベースシステムのデータベース更新時にリカバ
リのために出力されるオンラインジャーナルを引き継ぐ
ジャーナル転送手段と;この転送手段の出力からデータ
ベース更新後のイメージジャーナルを抽出するジャーナ
ル抽出手段と、このジャーナル抽出手段からオンライン
データベース処理と独立な現用データベースと同じイメ
ージを前記バックアップディスク装置に更新するディス
ク更新手段とを含むバックアップ処理部とを備えること
を特徴とするデータベースバックアップ方式。
A backup disk device; A disk control device that controls the input/output of this disk device; A journal transfer means that takes over the online journal that is output for recovery when updating the database of the online database system; A database is transferred from the output of this transfer means. The backup processing unit includes a journal extracting means for extracting an updated image journal, and a disk updating means for updating the backup disk device with the same image as the current database independent of online database processing from the journal extracting means. A database backup method featuring:
JP60226209A 1985-10-11 1985-10-11 Data base backup system Pending JPS6286426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60226209A JPS6286426A (en) 1985-10-11 1985-10-11 Data base backup system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60226209A JPS6286426A (en) 1985-10-11 1985-10-11 Data base backup system

Publications (1)

Publication Number Publication Date
JPS6286426A true JPS6286426A (en) 1987-04-20

Family

ID=16841605

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60226209A Pending JPS6286426A (en) 1985-10-11 1985-10-11 Data base backup system

Country Status (1)

Country Link
JP (1) JPS6286426A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01114936A (en) * 1987-10-29 1989-05-08 Matsushita Graphic Commun Syst Inc File system
JPH03124244U (en) * 1990-03-29 1991-12-17
JPH06195250A (en) * 1992-10-13 1994-07-15 Internatl Business Mach Corp <Ibm> Method, system and device for renewal of database

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58200358A (en) * 1982-05-18 1983-11-21 Mitsubishi Electric Corp File reprocessing and recovering method on disk base

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58200358A (en) * 1982-05-18 1983-11-21 Mitsubishi Electric Corp File reprocessing and recovering method on disk base

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01114936A (en) * 1987-10-29 1989-05-08 Matsushita Graphic Commun Syst Inc File system
JPH03124244U (en) * 1990-03-29 1991-12-17
JPH06195250A (en) * 1992-10-13 1994-07-15 Internatl Business Mach Corp <Ibm> Method, system and device for renewal of database

Similar Documents

Publication Publication Date Title
US6959369B1 (en) Method, system, and program for data backup
US6397229B1 (en) Storage-controller-managed outboard incremental backup/restore of data
US6640291B2 (en) Apparatus and method for online data migration with remote copy
US6401178B1 (en) Data processing method and apparatus for enabling independent access to replicated data
EP1455275B1 (en) Data restoring apparatus using journal data and identification information
CN100418062C (en) Copy controller and method thereof
JPS63145552A (en) Community device for personal computer
JPS6286426A (en) Data base backup system
US6854038B2 (en) Global status journaling in NVS
JPH045211B2 (en)
JPS648848B2 (en)
JPH1185594A (en) Information processing system for remote copy
JP2000305830A (en) Method and system for managing file in computer system
JPS58200358A (en) File reprocessing and recovering method on disk base
JPH05181613A (en) Information processor
JP2656499B2 (en) Computer system
JP2001175422A (en) Disk array device
JPH0944317A (en) Registering system for alternate sector
JPS58201158A (en) Data storage processing system
JPH04241016A (en) Mirrored disk device
JPH0436421B2 (en)
JPS6370967A (en) Duplex disk control system for electronic computer system
JPS63140357A (en) Disk input and output control system
JPH0273420A (en) Semiconductor disk device
JPS6398722A (en) Magnetic disk controller