JPS58169655A - Data recovering system - Google Patents
Data recovering systemInfo
- Publication number
- JPS58169655A JPS58169655A JP57053133A JP5313382A JPS58169655A JP S58169655 A JPS58169655 A JP S58169655A JP 57053133 A JP57053133 A JP 57053133A JP 5313382 A JP5313382 A JP 5313382A JP S58169655 A JPS58169655 A JP S58169655A
- Authority
- JP
- Japan
- Prior art keywords
- data
- fault
- failure
- transaction
- recovery
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
(1)@明の技術分野
不妬明はデータベースシステムにおff!、障害時のデ
ータリカバリ(復旧)方式に係り、籍に障害時−術中の
ブロックに対するデータを迅速に復旧させる方式に関す
る。[Detailed description of the invention] (1) @ Ming's technical field Fujei Ming is off on database systems! The present invention relates to a data recovery method in the event of a failure, and more particularly, to a method for quickly restoring data for a block under operation in the event of a failure.
(呻 従来技術と間趙点
従来、データベースシステムにおいては、実媒体障害以
外の原因(例えばチャネル障吾、@御装置障害、ソフト
ウェア原因による障害等)によって、データ内容の正当
性が保障できない4ttも。Conventionally, in database systems, the validity of data contents cannot be guaranteed due to causes other than actual media failure (for example, channel failure, @control device failure, failure caused by software, etc.). .
該実媒体障害の場合と同じくバックアップデータの落し
込みと、バックアップ以後の全ログデータの埋込みにL
91.データ復旧を行なってい友。この几め、正常な実
媒体の復旧にとってeユ、不要なバックアップデータ、
ログを一夕も復旧時の人力対象としてい九九め、復旧に
壷する時間が長いという欠点がろりた。As in the case of the real media failure, L is required to drop the backup data and embed all log data after the backup.
91. A friend who is doing data recovery. This method is useful for normal recovery of real media, unnecessary backup data,
The downside is that it takes a long time to restore the logs, and it takes a long time to restore them.
(3)発明の目的
本発明は、前記欠点を解消して、データベースシステム
障害時に、速ヤかにデータ復旧を行なう方式t−提供す
ることを目的とする。(3) Object of the Invention It is an object of the present invention to provide a method for eliminating the above-mentioned drawbacks and quickly recovering data in the event of a database system failure.
悌) 発明の構成
該目的はユーザプログラム゛のトランザクンヨ/データ
を順次処理するデータベースシステムにおいて、該ユー
ザプログラムがユーザのデータセットt−アクセス丁/
)vAに障害が発生しt場合、該障害?11−解析し、
a亥解析結果に基づき、実媒体障害でない時は、当該デ
ータセットを更新中のトランク′り7=1ノを把運し、
該トランザクションによる該データセットのアクセス禁
止禁止し、障害となう友データセットのブロックを閉塞
するとともに。悌) Structure of the Invention The object of the invention is to provide a database system that sequentially processes transaction/data of a user program.
) If a failure occurs in vA, the failure? 11- Analyze;
Based on the analysis results, if there is no real medium failure, check the trunk that is updating the data set (7 = 1),
Prohibits access to the data set by the transaction, and blocks blocks of the friend data set that pose an obstacle.
復旧に必夢な関連データ金ログファイルに・書き込み、
障害回復後、該ログファイル上のデータを用いてデータ
を復旧を図ることを%黴とするデータリカバリ方式によ
り達成される。Write the relevant data to the gold log file, which is essential for recovery.
This is achieved by a data recovery method that attempts to recover data using the data on the log file after failure recovery.
(5) 発明の実施例 以ド図面を用いて本発明の詳細な説明する。(5) Examples of the invention The present invention will be described in detail below with reference to the drawings.
第1図は本発明の一実施例を示す全体ブロック図である
。FIG. 1 is an overall block diagram showing one embodiment of the present invention.
図において、11は応用プログラム、12はアクセス制
御部、l−5μ資源占有登録部、14はデータ管理部、
16はI OS (I10システム)、16はログデー
タ収楽偵置、1フは資源vA烏部、18はlOエラー分
析部、19は同期調整部、11Oは同期確立部、111
は資源占有解除部、112Fiアクセスマクロ発行部、
113dトランザクゾ冒/終r部である。In the figure, 11 is an application program, 12 is an access control section, 1-5μ resource occupation registration section, 14 is a data management section,
16 is I OS (I10 system), 16 is log data collection and storage, 1F is resource vA Karasube, 18 is IO error analysis section, 19 is synchronization adjustment section, 11O is synchronization establishment section, 111
is a resource release unit, a 112Fi access macro issuing unit,
113d transactor/terminus.
第2図は本発明の一実施例を示すDASD上のデータセ
ットを示す図である。FIG. 2 is a diagram showing a data set on a DASD showing an embodiment of the present invention.
図において、21はディスク、22はブロックa、23
はログファイル、24Vよログデータの位置FA、25
dログデータの位1jIFBである。In the figure, 21 is a disk, 22 is a block a, 23
is the log file, 24V is the log data location FA, 25
The digit of dlog data is 1jIFB.
さて、データセットAのブロックa22にアクセスマク
ロ発行部112によりLIA8D 21上し′。Now, the access macro issuing unit 112 writes the LIA8D 21 to block a22 of data set A.
RI A D/ W R工TKする時の制御について、
特にflR工T工時1時害が発生し、かつ該当エクステ
ント(データセットA )を更新系で占有している他の
トランザクションはない場合について説明する。Regarding control when performing RI A D/W R engineering TK,
In particular, a case will be explained in which a failure occurs at the time of flR engineering and there is no other transaction occupying the relevant extent (data set A) in the update system.
■ トランザクション内で応用プログラム11がブロッ
クa22のRwhDマクロをアクセスマクロ発行511
2にて発行する。■ The application program 11 accesses the RwhD macro of block a22 within the transaction and issues a macro 511
Issued at 2.
■ データベースシステムU該REAL)マクロを受は
付ける。■ Database system U corresponding REAL) accepts the macro.
■ 他トランザクシ四ノがブロックa221占何してい
ないことを確認し、要求トランザク71/の資源として
14系の占有kfる。次にデータI#414に対し−C
プロ、りa22のRffiADマクロ発行す心◇
[有] 工0815に対してS工0マクa(−スタート
10マクロ)活性。■ Confirm that no other transaction is occupying block a221, and occupy system 14 as a resource for requesting transaction 71/. Next, -C for data I#414
Pro, RffiAD macro issue for Ria22 ◇ [Yes] S engineering 0 Maca (-Start 10 macro) active against Engineering 0815.
■ 110を実行、正常の場合は112に戻る。■ Execute 110, return to 112 if normal.
(Φ 45mグログラム上1がプロ、りa、22の、W
RITjl!マクロを°アクセスマクロ発行部112に
て発行する。(Φ 45m Grogram top 1 is pro, Ria, 22, W
RITjl! The macro is issued by the access macro issuing unit 112.
■ f−タベースシステムが該WR工T1マクロ會受は
付ける。■ The f-database system supports the WR engineering T1 macro session.
■ ブロックa22のtlr後のデータをログファイル
に記録し、その紀嫌位電(Pム23)を紀1意する。(2) Record the data after the tlr of block a22 in a log file, and record its period (Pm 23).
■ 工0815に刈してS工0マクロ発行。■ Mow at 0815 and issue S 0 macro.
−10央竹、エラーを検出する。-10 Otake detects an error.
Q IOエラーの411類を判定し、実媒体エラーで
ないことt−識別する。Q Determine type 411 of IO error and identify that it is not a real medium error.
@ データセラトムをアクセス禁止にする。@ Ban access to Data Seratom.
データセラ)At更新系で占有しているトランザクショ
ン(目トランザクシ、ンの今)に制御表示を設定し、ト
ランザクション件数1會紀憶する。Data Sera) Set the control display to the transaction (transaction, current) occupied by the At update system, and record the number of transactions (1).
同時にデータセットの最旧のログデータの位置(PA2
3)i記憶する。At the same time, the position of the oldest log data in the dataset (PA2
3) i memorize.
Oデータ管理工4のスケジュールする出口ルーチンでア
クセスブロックa22t−閉轟する(リカバリ対象ブロ
ックとして紀憶する。)0 トランザクシ日ン終r時、
該トランザク7Wノに制御情報が設定されているので、
0で記憶し九件数から1を減する。本説明では該結束が
Oになるから、この時点のログデータセット上の位置P
B24と0で紀憶し念PA23を対として管理する。O The access block a22t is closed in the exit routine scheduled by the data manager 4 (memorized as a recovery target block).0 At the end of the transaction date,
Since the control information is set in the transaction 7W,
Store it as 0 and subtract 1 from the number of 9 items. In this explanation, the unity is O, so the position P on the log data set at this point
B24 and 0 are used to manage memory PA23 as a pair.
替 ■で記憶し皮PA23を無効化する。次に■で記憶
しに占(資源ブロックa221i解放し、占有待トラン
ザクシ冒/を起動する。以゛ド■以ドの手JIIKを繰
返す。Memorize and disable skin PA23 with ``Replacement ■''. Next, press ■ to memorize the memory (resource block a221i is released and execute the transaction waiting for exclusive use.
(6) 発明の詳細
な説明し友ように、本発明に工nば、デー夕復旧に唆す
る時間が短線されるという効果があ々0(6) As described in the detailed description of the invention, the present invention has the effect of shortening the time required for data recovery.
第1図は本発明の一実施例を示す全体ブロック図である
。
・142図は本発明の一実施例を示すDム8D上のデー
タセットt−示す図である。
記号の説明、11は応用プログラム、1・2はアクセス
制fla4.13は貴渾占有登録部、14はデータg理
fllJ、 l 5[I OS (I10’/、1.
fム)、 16はログデータ収果装置、17は資源閉塞
部、1日はroエラー分析部、19は同期調整部、11
0は23はログファイル、24はログデータの位置f’
A、25はログデータあ位置PB0第1図
第2図FIG. 1 is an overall block diagram showing one embodiment of the present invention.・Figure 142 is a diagram showing a data set t on the D module 8D showing an embodiment of the present invention. Explanation of the symbols: 11 is the application program, 1 and 2 are the access control fla4.13 is the exclusive registration section, 14 is the data management, l 5 [I OS (I10'/, 1.
fm), 16 is a log data collection device, 17 is a resource blockage unit, 1st is a RO error analysis unit, 19 is a synchronization adjustment unit, 11
0 is 23 is the log file, 24 is the log data location f'
A, 25 is the log data at position PB0 Figure 1 Figure 2
Claims (1)
するデータベースシステムにおいて、該ユーザグログラ
ムがユーグのデータセットをアクセスr/bmに障害が
発生したsa鎗、該障害を解析し、該解析結果に基づき
、実媒体障害でな・い時は、当該データセットをl!、
折中のトランプクシ1ノ′を把握し、該トランザクン四
ンによる該データセ。 トのアクセスta止し、障害となっ九データセットのブ
ロックを閉毫するとともに、復旧に必要な関連データを
ログファイルに畜き込み、障害回復浸、該ログファイル
上のl−夕を用いてデータを11!旧を図ることケ侍値
とするデータリカバリ方式。[Claims] In a database system that sequentially processes transaction data of a user program, when a failure occurs when the user program accesses Hugues' data set, the failure is analyzed, and the analysis result is Based on this, when there is no real media failure, the data set is ,
Ascertain the number of cards in progress and use the data set according to the transaction number. At the same time, the related data necessary for recovery is stored in a log file, and the data stored in the log file is used to recover from the failure. 11 data! A data recovery method that takes care of the old data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57053133A JPS58169655A (en) | 1982-03-31 | 1982-03-31 | Data recovering system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP57053133A JPS58169655A (en) | 1982-03-31 | 1982-03-31 | Data recovering system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS58169655A true JPS58169655A (en) | 1983-10-06 |
Family
ID=12934313
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP57053133A Pending JPS58169655A (en) | 1982-03-31 | 1982-03-31 | Data recovering system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58169655A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62256055A (en) * | 1986-04-28 | 1987-11-07 | Nec Corp | Delayed recovery system |
JPS6428737A (en) * | 1987-07-24 | 1989-01-31 | Hitachi Ltd | Fault recovery system for composite subsystem type on-line system |
CN103714060A (en) * | 2012-09-28 | 2014-04-09 | 艾默生网络能源有限公司 | Interrupt-period historical data processing method and front-end collecting sub system equipment |
-
1982
- 1982-03-31 JP JP57053133A patent/JPS58169655A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62256055A (en) * | 1986-04-28 | 1987-11-07 | Nec Corp | Delayed recovery system |
JPS6428737A (en) * | 1987-07-24 | 1989-01-31 | Hitachi Ltd | Fault recovery system for composite subsystem type on-line system |
CN103714060A (en) * | 2012-09-28 | 2014-04-09 | 艾默生网络能源有限公司 | Interrupt-period historical data processing method and front-end collecting sub system equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106557703B (en) | Safety detection | |
US6018746A (en) | System and method for managing recovery information in a transaction processing system | |
JP2718031B2 (en) | History information acquisition method | |
US6618794B1 (en) | System for generating a point-in-time copy of data in a data storage system | |
JP2703479B2 (en) | Data processing method and system having security function of time zero backup session | |
JP2667039B2 (en) | Data management system and data management method | |
JPH07500203A (en) | Data backup system for rollback | |
CN103745016A (en) | Detecting database events using recovery logs | |
JPS63145552A (en) | Community device for personal computer | |
US8145944B2 (en) | Business process error handling through process instance backup and recovery | |
JP2003223287A (en) | Storage device, backup method of the same, and program therefor | |
CN104937556A (en) | Recovering pages of database | |
CN111552596A (en) | Compact binary event log generation method and system | |
DE69837635T2 (en) | File system and file management techniques that implement distributed replication in a system with shared RAID | |
JPS58169655A (en) | Data recovering system | |
JPH06149485A (en) | Data completion guarantee processing method | |
US6446067B2 (en) | Information processing unit, information processing system, method of correcting abnormality of christian calendar year in information processing unit, and computer readable record medium having christian calendar year abnormality correction program recorded therein | |
JP2513060B2 (en) | Failure recovery type computer | |
JPH0816881B2 (en) | Database update method | |
US20150324258A1 (en) | Ordering logical units in a subgroup of a consistency group | |
US7934067B2 (en) | Data update history storage apparatus and data update history storage method | |
Valenstein et al. | Laboratory computer availability: a College of American Pathologists Q-probes study of computer downtime in 422 institutions | |
CN111461864A (en) | Transaction processing method and device | |
JPH08115390A (en) | System for backing up and restoring ic card | |
JPS60142446A (en) | Recovery processing system of backward fault |