JPS63217441A - Journal collecting system - Google Patents

Journal collecting system

Info

Publication number
JPS63217441A
JPS63217441A JP62051251A JP5125187A JPS63217441A JP S63217441 A JPS63217441 A JP S63217441A JP 62051251 A JP62051251 A JP 62051251A JP 5125187 A JP5125187 A JP 5125187A JP S63217441 A JPS63217441 A JP S63217441A
Authority
JP
Japan
Prior art keywords
journal
file
processing means
buffer
output processing
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
JP62051251A
Other languages
Japanese (ja)
Inventor
Koichi Hatano
羽田野 耕一
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 JP62051251A priority Critical patent/JPS63217441A/en
Publication of JPS63217441A publication Critical patent/JPS63217441A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To avoid omission of the journal codes up to the final check time point when a power supply is cut off by providing a flash file on a nonvolatile fast file device so that the journal images on a current journal buffer are written at a high speed to the flash file for each check point. CONSTITUTION:A flash file 71 uses a nonvolatile fast file device 7. A journal flash processing means 25 of a journal output process 5 outputs at a high speed the journal codes set on the journal buffers 41-4n to the file 71 for each check point for the replacement processing of a data file 31. In such a way, the omission (erasion) of the journal codes can be avoided up to the final check time point when a power supply is cut off.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はファイル装置(例えば、磁気ディスク装置等)
の装置または媒体障害時にジャーナルを用いて行うファ
イルリカバリ方式に関し、特に電源断(停′r4)に遭
遇した場合のジャーナル収集方式に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention relates to a file device (for example, a magnetic disk device, etc.)
The present invention relates to a file recovery method using a journal in the event of a device or media failure, and particularly relates to a journal collection method when a power outage (stop 'r4) occurs.

〔従来の技術〕[Conventional technology]

従来、ファイル装置の装置または媒体障害時のファイル
リカバリ方式には、ジャーナルを用いる方式と、ファイ
ル単位またはファイル装W(ボリューム)単位の二重化
方式とがある。
Conventionally, file recovery methods when a device or medium failure occurs in a file device include a method using a journal and a duplication method for each file or file device W (volume).

ジャーナルを用いる方式においては、ファイルリカバリ
のために、一定の間隔で(例えば、毎朝)退避されるデ
ータファイルの全退避イメージと、データファイルの更
新時に常時収集されるデータファイルの最終チェックポ
イント(更新処理における論理的な処理の完結ポイント
であるチェックポイントのうちの最終のチェックポイン
ト)までの更新イメージ(ジャーナル)とが必要である
In the method that uses a journal, for file recovery, all backup images of data files are saved at regular intervals (for example, every morning), and the final checkpoint (updated image) of data files is always collected when data files are updated. An updated image (journal) up to the final checkpoint (among the checkpoints that are the logical completion points of the processing) is required.

一方、データファイルをファイル単位またはファイル装
置(ボリューム)単位に二重化する方式では、正副両方
のデータファイルが同時に更新されるために、ファイル
装置の装置または媒体障害に備えて定期的なデータファ
イルの全退避やデータファイル更新時のジャーナル収集
を行う必要はない。
On the other hand, in the method of duplicating data files in units of files or file devices (volumes), both the primary and secondary data files are updated at the same time. There is no need to collect journals when saving data or updating data files.

データファイルをファイル単位またはファイル装置(ボ
リューム)単位に二重化する方式では、データファイル
の更新時にジャーナルを収集する必要はないが、データ
ファイル単位またはファイル装置(ボリューム)単位に
2倍の容量が必要であり、ファイル容量が増加するとい
う不都合がある。
In the method of duplicating data files per file or file device (volume), there is no need to collect journals when updating data files, but twice the capacity is required for each data file or file device (volume). However, there is a disadvantage that the file size increases.

そこで、従来のファイル装置の装置または媒体障害に対
するファイルリカバリ方式としては、ジャーナルを用い
る方式がより一般的に行われている。
Therefore, a method using a journal is more commonly used as a file recovery method for a device or media failure in a conventional file device.

ところで、従来のジャーナル収集方式では、データファ
イル更新時のジャーナルを揮発性メモリ上のジャーナル
バッファに一旦蓄積しブロック化してジャーナルファイ
ルに出力することによりジャーナルを収集するようにな
っている。
By the way, in the conventional journal collection method, journals are collected by temporarily accumulating journals when data files are updated in a journal buffer on a volatile memory, converting them into blocks, and outputting the block to a journal file.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のジャーナル収集方式では、データファイ
ルの更新時に揮発性メモリ上のジャーナルバッファにジ
ャーナルを収集するようになっているので、電源断(停
電)に遭遇すると収集中であったジャーナルバッファ上
のジャーナルが欠落(消igりシて最終チェックポイン
トまでのジャーナルが残らないために、電源断時までに
収集した一連のジャーナルファイルを用いたファイルリ
カバリができず、電源断後に速やかにデータファイルの
全退避を行いその時点までに収集済の一連のジャーナル
ファイルを廃棄しなければならないという欠点がある。
In the conventional journal collection method described above, journals are collected into the journal buffer on volatile memory when a data file is updated, so when a power outage (power outage) occurs, the journal buffer that was being collected is The journal is missing (because the journal up to the final checkpoint is deleted, file recovery using the series of journal files collected up to the time of power off is not possible, and all data files are deleted immediately after power off). The drawback is that the series of journal files that have been collected up to that point must be discarded.

本発明の目的は、上述の点に鑑み、is断に遭遇した場
合に最終チェックポイント時点までのジャーナルレコー
ドの欠落(消滅)を防止できるようにしたジャーナル収
集方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to provide a journal collection method that can prevent journal records from being lost (disappeared) up to the final checkpoint when an IS failure occurs.

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

本発明のジャーナル収集方式は、ファイル装置上のデー
タファイルをファイルアクセス制御部の入出力処理手段
を介して更新するプロセス群と、前記データファイルの
更新時に前記ファイルアクセス制御部のジャーナル収集
処理手段によってジャーナルが収集されるジャーナルバ
ッファと、このジャーナルバッファ上のジャーナルレコ
ードをジャーナル出力処理手段を介してジャーナルファ
イルに定期的に出力するジャーナル出力処理プロセスと
を存するジャーナル収集方式において、不揮発性高速フ
ァイル装置を用いたフラッシュファイルと、前記ジャー
ナル出力処理プロセス内に設けられ前記データファイル
の更新処理のチェックポイント毎に前記ジャーナルバッ
ファ上のジャーナルレコードを前記フラッシュファイル
に高速で出力するジャーナルフラッシュ処理手段とを有
す〔作用〕 本発明のジャーナル収集方式では、不揮発性高速ファイ
ル装置を用いたフランシュファイルが設けられており、
ジャーナル出力処理プロセス内に設けられたジャーナル
フラッシュ処理手段がデータファイルの更新処理のチェ
ックポイント毎にジャーナルバッファ上のジャーナルレ
コードをフラッシュファイルに高速で出力する。
The journal collection method of the present invention includes a process group that updates a data file on a file device through an input/output processing means of a file access control section, and a journal collection processing means of the file access control section when updating the data file. In a journal collection method that includes a journal buffer in which journals are collected and a journal output processing process that periodically outputs journal records on this journal buffer to a journal file via a journal output processing means, a nonvolatile high-speed file device is used. and a journal flush processing means that is provided in the journal output processing process and outputs journal records on the journal buffer to the flash file at high speed at each checkpoint of update processing of the data file. [Operation] In the journal collection method of the present invention, a Franche file using a non-volatile high-speed file device is provided,
A journal flush processing means provided in the journal output processing process outputs journal records on the journal buffer to a flash file at high speed at each checkpoint of data file update processing.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

本実施例のジャーナル収集方式は、複数のプロセス11
〜1m(mは正整数)からなるデータファイル更新プロ
セス群1と、入出力処理手段21およびジャーナル収集
処理手段22を含むファイルアクセス制御部2と、例え
ば磁気ディスク装置等からなりデータファイル31を含
むファイル装置3と、揮発性メモリで形成された複数の
ジャーナルバッファ41〜4n(nは正整数)からなる
ジャーナルバッファ群4と、ジャーナル出力処理手段5
1およびジャーナルフラッシュ処理手段52を含むジャ
ーナル出力処理プロセス5と、例えば磁気テープ装置等
からなるジャーナルファイル6と、例えば補助電源付き
の高速半導体ディスク装置等からなりジャーナルバッフ
ァ高速退避用ファイル(以下、フラッシュファイルと称
する)71を含む不揮発性高速ファイル装置7とから構
成されている。
The journal collection method of this embodiment uses a plurality of processes 11
~1m (m is a positive integer) data file update process group 1, a file access control unit 2 including an input/output processing means 21 and a journal collection processing means 22, and a data file 31 consisting of, for example, a magnetic disk device. A file device 3, a journal buffer group 4 consisting of a plurality of journal buffers 41 to 4n (n is a positive integer) formed of volatile memory, and a journal output processing means 5
1 and journal flush processing means 52; a journal file 6 comprising, for example, a magnetic tape device; and a journal buffer high-speed evacuation file (hereinafter referred to as a flash) comprising, for example, a high-speed semiconductor disk device with an auxiliary power supply. 71 (referred to as a file).

第2図を参照すると、ジャーナル収集処理手段22にお
ける処理は、ジャーナルレコード取得ステップ221と
、ジャーナルバッファ満杯判定ステップ222と、ジャ
ーナルバッファ切換え要求ステップ223と、ジャーナ
ルバッファ切換え終了判定ステップ224と、ジャーナ
ルバッファ切換え処理終了待ちステップ225と、ジャ
ーナルレコードのジャーナルバッファへの転送ステップ
226と、チェックポイント判定ステップ227と、ジ
ャーナルバッファフラッシュ要求ステップ228と、フ
ラッシュ終了判定ステップ229と、フラッシュ処理終
了待ちステップ230とからなる。
Referring to FIG. 2, the processes in the journal collection processing means 22 include a journal record acquisition step 221, a journal buffer full determination step 222, a journal buffer switching request step 223, a journal buffer switching end determination step 224, and a journal buffer full determination step 222. From step 225 of waiting for end of switching processing, step 226 of transferring journal records to journal buffer, step 227 of checkpoint determination, step 228 of requesting flush of journal buffer, step 229 of determining end of flush, and step 230 of waiting for end of flush processing. Become.

第3図を参照すると、ジャーナル出力処理手段51にお
ける処理は、ジャーナルバッファ切換え要求判定ステッ
プ511と、フラッシュ要求ステップ512と、ジャー
ナルバッファ切換え処理ステップ513と、ジャーナル
バッファ切換え終了通知ステップ514と、ジャーナル
バッファイメージのジャーナルファイルへの出力ステッ
プ515と、ジャーナルバッファイメージのフラッシュ
ファイルへの出力ステップ516と、フラッシュ処理終
了通知ステップ517と、待ち処理ステップ518とか
らなる。
Referring to FIG. 3, the processes in the journal output processing means 51 include a journal buffer switching request determination step 511, a flush request step 512, a journal buffer switching processing step 513, a journal buffer switching completion notification step 514, and a journal buffer switching completion notification step 514. It consists of a step 515 of outputting an image to a journal file, a step 516 of outputting a journal buffer image to a flash file, a step 517 of notifying completion of flash processing, and a step 518 of waiting processing.

第4図を参照すると、電源断後のジャーナル出力処理プ
ロセス5の初期化処理は、フラッシュファイルの入力ス
テップ501 と、ジャーナルファイル最終ブロックの
入力ステップ502と、イメージ一致判定ステップ50
3と、フラッシュファイルイメージのジャーナルファイ
ルへの出力ステップ504とからなる。
Referring to FIG. 4, the initialization process of the journal output processing process 5 after the power is turned off includes a flash file input step 501, a journal file final block input step 502, and an image match determination step 50.
3, and a step 504 of outputting the flash file image to a journal file.

なお、本実施例では、各ジャーナルバッファ41〜4n
の記憶容量と、ジャーナルファイル6の1ブロツクの記
憶容量と、フラッシュファイル71の記憶容量とは等し
いものとする。また、1ブロツクは、複数のジャーナル
レコードからなるものとする。
Note that in this embodiment, each journal buffer 41 to 4n
The storage capacity of one block of the journal file 6 and the storage capacity of the flash file 71 are assumed to be equal. Furthermore, it is assumed that one block consists of a plurality of journal records.

次に、このように構成された本実施例のジャーナル収集
方式の動作について説明する。
Next, the operation of the journal collection system of this embodiment configured as described above will be explained.

複数のプロセス11〜1+wからなるデータファイル更
新プロセス群1は、ファイルアクセス制御部2の入出力
処理手段21を介してファイル装置3上のデータファイ
ル31をアクセスする。
A data file update process group 1 consisting of a plurality of processes 11 to 1+w accesses the data file 31 on the file device 3 via the input/output processing means 21 of the file access control section 2.

データファイル更新プロセス群1によるデータ 。Data by data file update process group 1.

ファイル31の更新時には、ファイルアクセス制御部2
のジャーナル収集処理手段22が、入出力処理手段21
によるデータファイル31の更新処理に先行して、デー
タファイル31の更新イメージをジャーナルレコードと
してジャーナルバッファ41〜4nのいずれかに転送し
てブロック化する。詳しくは、ジャーナル収集処理手段
22は、入出力処理手段21からジャーナルレコードを
得て(ステップ221)、現在ジャーナルレコードを収
集中のジャーナルバッファ(以下、カレントジャーナル
バッファと称する)が満杯であるか否かを判定すること
により、得られたジャーナルレコードをカレントジャー
ナルバッファに転送可能か否かを判定する(ステップ2
22 )、ジャーナルレコードのカレントジャーナルバ
ッファへの転送が可能な場合には、ジャーナル収集処理
手段22はカレントジャーナルバッファにジャーナルレ
コードを転送してブロック化する(ステップ226 )
 。
When updating the file 31, the file access control unit 2
The journal collection processing means 22 of the input/output processing means 21
Prior to the updating process of the data file 31, the update image of the data file 31 is transferred as a journal record to one of the journal buffers 41 to 4n and converted into a block. Specifically, the journal collection processing means 22 obtains journal records from the input/output processing means 21 (step 221), and determines whether the journal buffer currently collecting journal records (hereinafter referred to as the current journal buffer) is full. By determining whether the obtained journal record can be transferred to the current journal buffer (step 2
22), if the journal record can be transferred to the current journal buffer, the journal collection processing means 22 transfers the journal record to the current journal buffer and blocks it (step 226).
.

カレントジャーナルバッファが満杯で得られたジャーナ
ルレコードを転送できない場合には、ジャーナル収集処
理手段22はジャーナル出力処理プロセス5のジャーナ
ル出力処理手段51に対してジャーナルバッファの切換
え要求を出しくステップ223 ) 、ジャーナルバッ
ファの切換え処理の終了を待つ(ステップ224および
225 ) 。
If the current journal buffer is full and the obtained journal record cannot be transferred, the journal collection processing means 22 issues a journal buffer switching request to the journal output processing means 51 of the journal output processing process 5 (step 223), The end of the journal buffer switching process is awaited (steps 224 and 225).

ジャーナル出力処理プロセス5のジャーナル出力処理手
段51は、ジャーナル収集処理手段22からのジャーナ
ルバッファの切換え要求を常時監視しており(ステップ
511 ) 、ジャーナル収集処理手段22からジャー
ナルバッファの切換え要求があった場合には、ジャーナ
ルバッファの切換え処理(例えば、ジャーナルバッファ
41からジャーナルバッファ42への切換え処理)を行
う (ステップ513)0次に、ジャーナル出力処理手
段51は、ジャーナル収集処理手段22にジャーナルバ
ッファの切換え処理の終了を通知した後に(ステップ5
14)、ジャーナルバッファの切換え前のカレントジャ
ーナルバッファ上のブロック化されたジャーナルレコー
ドのイメージをジャーナルファイル6に出力しくステッ
プ515 ) 、ステップ511に戻る。
The journal output processing means 51 of the journal output processing process 5 constantly monitors the journal buffer switching request from the journal collection processing means 22 (step 511), and when there is a journal buffer switching request from the journal collection processing means 22. (Step 513) Next, the journal output processing means 51 instructs the journal collection processing means 22 to change the journal buffer (for example, from the journal buffer 41 to the journal buffer 42). After notifying the end of the switching process (step 5)
14) Output the image of the blocked journal record on the current journal buffer before switching the journal buffer to the journal file 6 (step 515), and return to step 511.

ジャーナル収集処理手段22は、ジャーナル出力処理手
段51からジャーナルバッファの切換え処理の終了通知
を受は取ると(ステップ224 ) 、切り換えられた
新たなカレントジャーナルバッファへのジャーナルレコ
ードの転送処理を行う(ステップ226 ) 。
When the journal collection processing means 22 receives the notification of completion of the journal buffer switching process from the journal output processing means 51 (step 224), it performs a process of transferring journal records to the new switched current journal buffer (step 224). 226).

カレントジャーナルバッファへのジャーナルレコードの
転送処理後、ジャーナル収集処理手段22はデータファ
イル31の更新処理における論理的な処理の完結ポイン
トであるチェックポイント(例えば、1プロセスによる
データファイル31の更新処理の終了等)であるか否か
を判定しくステップ227)、チェックポイントでなけ
れば上述の処理を繰り返す。
After transferring the journal record to the current journal buffer, the journal collection processing unit 22 moves to a checkpoint, which is the logical completion point of the update process of the data file 31 (for example, the completion of the update process of the data file 31 by one process). Step 227), and if it is not a checkpoint, the above-mentioned process is repeated.

また、ステップ227の判定でチェックポイントのとき
には、ジャーナル収集処理手段22は、ジャーナル出力
処理プロセス5のジャーナル出力処理手段51に対して
カレントジャーナルバッファ上のジャーナルレコードの
フラッシュ要求を出しくステップ228 ) 、フラッ
シュ処理の終了を待つ(ステップ229および230 
) 。
Further, when the checkpoint is determined in step 227, the journal collection processing means 22 issues a request to flush the journal record on the current journal buffer to the journal output processing means 51 of the journal output processing process 5 (step 228). Wait for the completion of the flush process (steps 229 and 230)
).

ジャーナル出力処理手段51は、ジャーナル収集処理手
段22からのフラッシュ要求を常時監視しており(ステ
ップ512 ) 、ジャーナル収集処理手段22からの
フラッシュ要求があった場合には、カレントジャーナル
バッファ上のブロック化されたジャーナルレコードのイ
メージをジャーナルフラッシュ処理手段52により不揮
発性高速ファイル装置7上のフランシェフアイル71に
高速で書き込ませ(ステップ516 )、書込み処理の
終了後にジャーナル収集処理手段22にフラッシュ処理
の終了を通知しくステップ517 ) 、ステップ51
1に戻る。
The journal output processing means 51 constantly monitors the flush request from the journal collection processing means 22 (step 512), and when there is a flush request from the journal collection processing means 22, it blocks the current journal buffer. The journal flush processing means 52 writes the image of the journal record to the franchise file 71 on the nonvolatile high-speed file device 7 at high speed (step 516), and after the writing process is completed, the journal collection processing means 22 causes the journal collection processing means 22 to finish the flush processing. Step 517 ), Step 51
Return to 1.

なお、ジャーナル出力処理手段51では、ジャーナル収
集処理手段22からジャーナルバッファ切換え要求もフ
ラッシュ要求もなければ、待ち処理を行った後に(ステ
ップ518 ) 、ステップ511に戻る。
If there is no journal buffer switching request or flush request from the journal collection processing means 22, the journal output processing means 51 performs a waiting process (step 518), and then returns to step 511.

以上のようにして、ジャーナルレコードがジャーナルバ
ッファ41〜4n上で順次ブロック化され、ジャーナル
出力処理手段51によりブロック毎にジャーナルファイ
ル6に書き込まれる。
As described above, the journal records are sequentially formed into blocks on the journal buffers 41 to 4n, and written into the journal file 6 block by block by the journal output processing means 51.

電源断(停電)が発生すると、揮発性メモリでなるジャ
ーナルバッファ41〜4n上のジャーナルレコードは揮
発されて消失してしまう。しかし、フラッシュファイル
71は、不揮発性高速ファイル装置7上に確保されてい
るので、電源断に遭遇しても電源断直前の最終チェック
ポイント時点までにフラソシェされたカレントジャーナ
ルバッファのジャーナルイメージは消滅しないでフラッ
シュファイル71に残っている。
When a power outage (power outage) occurs, the journal records in the journal buffers 41 to 4n, which are volatile memories, are volatilized and lost. However, since the flash file 71 is secured on the nonvolatile high-speed file device 7, even if a power outage occurs, the journal image of the current journal buffer flashed up to the last checkpoint immediately before the power outage will not disappear. It remains in flash file 71.

電源断(停電)が発生した後のジャーナル出力処理プロ
セス5の初期化処理では、ジャーナル出力処理手段51
は、ジャーナルフラッシュ処理手段52を介して不揮発
性高速ファイル装置7上のフラッシュファイル71から
ジャーナルイメージを続み込むとともに(ステップ50
1 ) 、ジャーナルファイル6の最終ブロックを読み
込み(ステップ502)、読み込んだジャーナルイメー
ジとブロック情報とを比較する(ステップ503’ )
 、両者が不一致の場合には、フラッシュファイル71
のジャーナルイメージをジャーナルファイル6の最終ブ
ロックの次に書き出しくステップ504 ) 、電源断
によるシステム中断時の最終チェックポイント時点まで
のカレントジャーナルバッファ上のジャーナルレコード
を救済してから次の処理に移行する。両者が一致する場
合には、ただちに次の処理に移行する。
In the initialization process of the journal output processing process 5 after a power outage (power outage) occurs, the journal output processing means 51
continues the journal image from the flash file 71 on the nonvolatile high-speed file device 7 via the journal flush processing means 52 (step 50).
1) Read the last block of journal file 6 (step 502) and compare the read journal image and block information (step 503')
, if the two do not match, flash file 71
write the journal image next to the last block of journal file 6 (step 504), rescue the journal records on the current journal buffer up to the last checkpoint when the system is interrupted due to power outage, and then move on to the next process. . If the two match, the process immediately moves to the next step.

このように本実施例では、データファイル31の更新処
理におけるチェックポイント毎にカレントジャーナルバ
ッファに格納されたジャーナルイメージをフラッシュフ
ァイル71に書き出すことにより、データファイル31
の更新処理の最終チェックポイント時点までのジャーナ
ルレコードを保証することができる。
In this way, in this embodiment, the data file 31 is updated by writing the journal image stored in the current journal buffer to the flash file 71 at each checkpoint in the update process of the data file 31.
journal records up to the final checkpoint of update processing can be guaranteed.

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

以上説明したように本発明は、揮発性メモリ上のジャー
ナルバッファに対して不揮発性高速ファイル装置上にフ
ラッシュファイルを設けてチェックポイント毎にカレン
トジャーナルバッファ上のジャーナルイメージをフラッ
シュファイルに高速に書き出すことにより、電源断に遭
遇した場合に最終チェックポイント時点までのジャーナ
ルレコードの欠落(消滅)を防止できるという効果があ
る。
As explained above, the present invention provides a flash file on a nonvolatile high-speed file device for a journal buffer on a volatile memory, and writes a journal image on a current journal buffer to a flash file at high speed at each checkpoint. This has the effect of preventing journal records from being lost (disappeared) up to the final checkpoint in the event of a power outage.

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

第1図は本発明の一実施例のジャーナル収集方式の構成
を示すブロック図、 第2図は第1図中のジャーナル収集処理手段の処理を示
す流れ図、 第3図は第1図中のジャーナル出力処理手段の処理を示
す流れ図、 第4図は第1図中のジャーナル出力処理プロセスの電源
断後の初期化処理を示す流れ図である。 図において、 1・・・データファイル更新プロセス群、2・・・ファ
イルアクセス制御部、 3・・・ファイル装置、 4・・・ジャーナルバッファ、 5・・・ジャーナル出力処理プロセス、6・・・ジャー
ナルファイル、 7・・・不揮発性高速ファイル装置、 11〜111・プロセス、 21・・・入出力処理手段、 22・・・ジャーナル収集処理手段、 31・・・データファイル、 41〜4n・ジャーナルバッファ、 51・・・ジャーナル出力処理手段、 52・・・ジャーナルフラッシュ処理手段、71・・・
フラッシュファイルである。 寸    O 第4図
FIG. 1 is a block diagram showing the configuration of a journal collection method according to an embodiment of the present invention, FIG. 2 is a flowchart showing the processing of the journal collection processing means in FIG. 1, and FIG. 3 is a journal diagram in FIG. 1. Flowchart showing the processing of the output processing means. FIG. 4 is a flowchart showing the initialization processing of the journal output processing process in FIG. 1 after the power is turned off. In the figure, 1... Data file update process group, 2... File access control unit, 3... File device, 4... Journal buffer, 5... Journal output processing process, 6... Journal File, 7... Nonvolatile high-speed file device, 11-111 Process, 21... Input/output processing means, 22... Journal collection processing means, 31... Data file, 41-4n Journal buffer, 51... Journal output processing means, 52... Journal flush processing means, 71...
It is a flash file. Dimension O Figure 4

Claims (1)

【特許請求の範囲】 ファイル装置上のデータファイルをファイルアクセス制
御部の入出力処理手段を介して更新するプロセス群と、
前記データファイルの更新時に前記ファイルアクセス制
御部のジャーナル収集処理手段によってジャーナルが収
集されるジャーナルバッファと、このジャーナルバッフ
ァ上のジャーナルレコードをジャーナル出力処理手段を
介してジャーナルファイルに定期的に出力するジャーナ
ル出力処理プロセスとを有するジャーナル収集方式にお
いて、 不揮発性高速ファイル装置を用いたフラッシュファイル
と、 前記ジャーナル出力処理プロセス内に設けられ前記デー
タファイルの更新処理のチェックポイント毎に前記ジャ
ーナルバッファ上のジャーナルレコードを前記フラッシ
ュファイルに高速で出力するジャーナルフラッシュ処理
手段と、 を有することを特徴とするジャーナル収集方式。
[Claims] A process group for updating a data file on a file device via an input/output processing means of a file access control unit;
a journal buffer from which journals are collected by the journal collection processing means of the file access control unit when the data file is updated; and a journal from which journal records on the journal buffer are periodically output to a journal file via the journal output processing means. A journal collection method having an output processing process, a flash file using a non-volatile high-speed file device, and a journal record on the journal buffer provided in the journal output processing process at each checkpoint of update processing of the data file. A journal collection method, comprising: a journal flush processing means for outputting the information to the flash file at high speed.
JP62051251A 1987-03-06 1987-03-06 Journal collecting system Pending JPS63217441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62051251A JPS63217441A (en) 1987-03-06 1987-03-06 Journal collecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62051251A JPS63217441A (en) 1987-03-06 1987-03-06 Journal collecting system

Publications (1)

Publication Number Publication Date
JPS63217441A true JPS63217441A (en) 1988-09-09

Family

ID=12881731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62051251A Pending JPS63217441A (en) 1987-03-06 1987-03-06 Journal collecting system

Country Status (1)

Country Link
JP (1) JPS63217441A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6448147A (en) * 1987-08-19 1989-02-22 Fujitsu Ltd File write request processing system
JPH02270046A (en) * 1989-04-12 1990-11-05 Hitachi Ltd History information control system for on-line data base system
JPH04230553A (en) * 1991-01-07 1992-08-19 Nec Corp Method for recovery from file transfer error
JPH04312141A (en) * 1991-04-01 1992-11-04 Xerox Corp File updating method for electronic printing system
JPH1185571A (en) * 1997-09-03 1999-03-30 Nec Corp System for storing log into flash memory

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6448147A (en) * 1987-08-19 1989-02-22 Fujitsu Ltd File write request processing system
JPH02270046A (en) * 1989-04-12 1990-11-05 Hitachi Ltd History information control system for on-line data base system
JPH04230553A (en) * 1991-01-07 1992-08-19 Nec Corp Method for recovery from file transfer error
JPH04312141A (en) * 1991-04-01 1992-11-04 Xerox Corp File updating method for electronic printing system
JPH1185571A (en) * 1997-09-03 1999-03-30 Nec Corp System for storing log into flash memory

Similar Documents

Publication Publication Date Title
US6397229B1 (en) Storage-controller-managed outboard incremental backup/restore of data
US7197615B2 (en) Remote copy system maintaining consistency
KR100238925B1 (en) A recoverable disk control system with a non-volatile memory
US6073221A (en) Synchronization of shared data stores through use of non-empty track copy procedure
JPH06250906A (en) Backup/recovery system for data developed in main storage device
US7702864B2 (en) Apparatus, system, and method for writing stripes in parallel to unique persistent storage devices
JPS63217441A (en) Journal collecting system
US20030145180A1 (en) Method and system for providing direct access recovery using seekable tape device
US6854038B2 (en) Global status journaling in NVS
JPH01204163A (en) File controller
WO2013174166A1 (en) Method for high performance dump data set creation
JPH06149485A (en) Data completion guarantee processing method
JPH10312329A (en) Data backup and restoring device
JP4365509B2 (en) Data management apparatus, data management method, and recording medium recording data management procedure
JPS63187347A (en) Data base file recovering system
JP2587417B2 (en) File backup and restoration method
JP2656499B2 (en) Computer system
JPH07319637A (en) Controller and control method for disk device
JPH04184641A (en) Data base restoring system
JPH0385650A (en) Disk volume restoration system
JP2713528B2 (en) Uninterrupted expansion of storage capacity
JP2005316697A (en) Disk array system and method for data backup
JPH01191246A (en) Write assuring system for external storage device
JPH0242523A (en) Disk controller, difference back-up method and computer system
JPH10340215A (en) Data backup system