JPH02287644A - Master file updating system - Google Patents
Master file updating systemInfo
- Publication number
- JPH02287644A JPH02287644A JP1110260A JP11026089A JPH02287644A JP H02287644 A JPH02287644 A JP H02287644A JP 1110260 A JP1110260 A JP 1110260A JP 11026089 A JP11026089 A JP 11026089A JP H02287644 A JPH02287644 A JP H02287644A
- Authority
- JP
- Japan
- Prior art keywords
- master
- file
- update
- updating
- master file
- 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
- 238000011084 recovery Methods 0.000 claims description 11
- 238000000034 method Methods 0.000 claims description 9
- 230000010365 information processing Effects 0.000 claims description 3
- 230000003247 decreasing effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はマスタファイル更新方式、特に情報処理システ
ムにおいて、停電等により障害が発生したマスタファイ
ルを速やかに復旧することのできるマスタファイル更新
方式に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a master file updating method, and particularly to a master file updating method that can quickly restore a master file that has failed due to a power outage or the like in an information processing system. .
従来、情報処理システムにおいて、商品情報等の個別情
報を集積したマスタファイルをリアルタイムで更新する
マスタファイル更新方式は、第2図に示すおとり、更新
モジュール21が更新指示データ5に基づき、マスタフ
ァイル22を直接更新し、その更新情報を更新ジャーナ
ル4に累積しておく方式をとっている。なお更新ジャー
ナル4の内容は、第3図に示すように、マスタファイル
22の内容を定期的に(例えば毎日の業務終了後に)別
の記録媒体23に保存してから消去している。またマス
タファイル22の障害は、一般にマスタファイル22に
対して更新操作を行なっているときに、停電等によるシ
ステム停止が起ると発生するが、マスタファイル22に
障害が発生した場合は、第4図に示すように、最新のマ
スタファイルの内容を保存した記録媒体23からマスタ
ファイルを復元し、その後に更新ジャーナル4を用いて
、記憶を行なった時点からマスタファイル22の障害が
発生した時点までの更新を復元したマスタファイルに行
なう方法をとっている。Conventionally, in an information processing system, a master file update method for updating a master file in which individual information such as product information is accumulated in real time is used as a decoy as shown in FIG. A system is adopted in which the update information is directly updated and the update information is accumulated in the update journal 4. As shown in FIG. 3, the contents of the update journal 4 are erased after the contents of the master file 22 are periodically saved in another recording medium 23 (for example, after each day's work is finished). Additionally, a failure in the master file 22 generally occurs when the system is stopped due to a power outage while updating the master file 22, but if a failure occurs in the master file 22, As shown in the figure, the master file is restored from the recording medium 23 that stores the contents of the latest master file, and then the update journal 4 is used to store the contents from the time when the master file 22 fails. The method is to update the restored master file.
しかし、上述した従来のマスタファイル更新方式は、マ
スタファイルのデータ量が大量になればなるほど、マス
タファイルの復元に時間がかかり、マスタファイルを参
照または更新しようとする業務はその間停止しなければ
ならないという欠点がある。However, with the conventional master file update method described above, the larger the amount of data in the master file, the longer it takes to restore the master file, and operations that attempt to reference or update the master file must be stopped during that time. There is a drawback.
本発明のマスタファイル更新方式は、第5図に示すよう
に、マスタファイル2どは別に更新専用の補助ファイル
である補助マスタ3を用意し、更新操作はすべて補助マ
スタ3に対して行なう。マスタファイルの障害は、通常
マスタファイルの更新操作中にシステム停止となった場
合に発生する。マスタファイルを参照しているときにシ
ステム停止となった場合には、マスタファイルの障害に
はならない。補助マスタ3の更新を行なうときはマスタ
ファイル2は参照のみを行ない、更新操作はすべて補助
マスタ3に対i〜て行なうようにすることで、ファイル
障害を補助マスタ3のみに局所化できる。また、補助マ
スタ3の障害時は、第6図に示すように、更新ジャーナ
ル4からの補助マスタ3の復旧のみで復旧を行なうこと
ができる。更に、補助マスタ3の更新データ量を極力小
さくすることにより、復旧時間を短縮できる。これには
第7図に示すように、補助マスタ3の内容を更新ジャー
ナル4を参照して、マスタファイル2を更新し、更新後
に補助マスタ3および更新ジャーナル4の内容を消去す
るという処理を実行する。この処理は定期的に(たとえ
ば毎日の業務終了後に)行なう。In the master file update method of the present invention, as shown in FIG. 5, an auxiliary master 3, which is an auxiliary file exclusively for updating, is prepared separately from the master file 2, and all update operations are performed on the auxiliary master 3. A master file failure usually occurs when the system stops during a master file update operation. If the system stops while referring to the master file, this will not cause a problem with the master file. When updating the auxiliary master 3, the master file 2 is only referenced, and all update operations are performed on the auxiliary master 3, thereby making it possible to localize file failures only to the auxiliary master 3. Further, in the event of a failure in the auxiliary master 3, recovery can be achieved only by restoring the auxiliary master 3 from the update journal 4, as shown in FIG. Furthermore, by minimizing the amount of update data for the auxiliary master 3, the recovery time can be shortened. To do this, as shown in FIG. 7, the contents of the auxiliary master 3 are referred to the update journal 4, the master file 2 is updated, and after the update, the contents of the auxiliary master 3 and the update journal 4 are deleted. do. This process is performed periodically (for example, after each day's work is finished).
次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例の構成図である。第1図にお
いて、1は更新モジュール、2はマスタファイル、3は
補助マスク、4は更新ジャーナル、5は更新指示データ
、6は検索モジュール、7はマスク更新モジュール、8
は復旧モジュール、9は検索指示データで、更新指示デ
ータ5に従いマスタファイル2を参照しながら補助マス
タ3を更新し、その更新指示データ5と更新結果を更新
データの累積に使用する更新ジャーナル4へ累積する。FIG. 1 is a block diagram of an embodiment of the present invention. In FIG. 1, 1 is an update module, 2 is a master file, 3 is an auxiliary mask, 4 is an update journal, 5 is update instruction data, 6 is a search module, 7 is a mask update module, 8
is a recovery module, 9 is search instruction data, updates the auxiliary master 3 while referring to the master file 2 according to the update instruction data 5, and sends the update instruction data 5 and the update result to the update journal 4, which is used to accumulate update data. Accumulate.
検索モジュール6は検索指示データ9の指示に従って、
補助マスタ3およびマスタファイル2の内容を検索する
。マスク更新モジュール7は、通常、業務終了後にマス
ク更新モジュール7で更新した補助マスタ3の内容をマ
スタファイル2へ記憶させ、記憶させたデータについて
は補助マスタ3および更新ジャーナル4がら消去する。The search module 6 follows the instructions of the search instruction data 9.
Search the contents of the auxiliary master 3 and master file 2. The mask update module 7 normally stores the contents of the auxiliary master 3 updated by the mask update module 7 in the master file 2 after the end of business, and erases the stored data from the auxiliary master 3 and the update journal 4.
この処理により、補助マスタ3の中に存在する更新デー
タ量を少なくすることができ、速かな障害復旧を行なう
ことができる。復旧モジュール8は、補助マスタ3の障
害時に動作させるもので、補助マスタ3の初期化後に更
新ジャーナル4に累積されている更新指示データ5およ
び更新結果に従って補助マスタ3を更新する。Through this processing, the amount of update data existing in the auxiliary master 3 can be reduced, and rapid failure recovery can be performed. The recovery module 8 is activated when the auxiliary master 3 has failed, and updates the auxiliary master 3 according to the update instruction data 5 and update results accumulated in the update journal 4 after the auxiliary master 3 is initialized.
〔発明の詳細な
説明したように本発明は、参照のみで済むデータはマス
タファイルを使用して、通常のシステム障害ではマスタ
ファイルに影響を与えないようにし、更新を必要とする
データは補助マスクを使用して、この内容は定期的にマ
スタファイルに転写して容量を小さくし、障害時の復旧
を更新ジャーナルから短時間で行なえるようにすること
により、システムの復旧を早めることができる効果があ
る。[Detailed Description of the Invention As described above, the present invention uses a master file for data that only needs to be referenced so that normal system failures do not affect the master file, and data that needs to be updated is stored in an auxiliary mask. This has the effect of speeding up system recovery by periodically copying this content to the master file to reduce its capacity, and by allowing recovery from failures to be performed from the update journal in a short time. There is.
第1図は本発明の一実施例の構成図、第2図は従来のマ
スタファイル更新方式を説明するための図、第3図およ
び第4図はそれぞれ従来のマスタファイルの保存および
障害復旧を説明するための図1、第5図、第6図および
第7図はそれぞれ本発明における補助マスクの更新、補
助マスクの障害の復旧および補助マスクからのマスタフ
ァイルへの転写を説明するための図である。
1・・・・・・更新モジュール、2・・・・・・マスタ
ファイル、3・・・・・・補助マスタ、4・・・・・・
更新ジャーナル、5・・・・・・更新指示データ、6・
・・・・・検索モジュール、7・・・・・・マスタ更新
モジュール、8・・・・・・復旧モジュール、9・・・
・・・検索指示データ。Figure 1 is a block diagram of an embodiment of the present invention, Figure 2 is a diagram for explaining a conventional master file update method, and Figures 3 and 4 are diagrams for explaining conventional master file storage and failure recovery, respectively. 1, 5, 6, and 7 are diagrams for explaining updating of the auxiliary mask, recovery from failure of the auxiliary mask, and transfer from the auxiliary mask to the master file, respectively, in the present invention. It is. 1... Update module, 2... Master file, 3... Auxiliary master, 4...
Update journal, 5...Update instruction data, 6.
...Search module, 7...Master update module, 8...Recovery module, 9...
...Search instruction data.
Claims (1)
更新する情報処理システムにおいて、通常の処理時には
、前記マスタファイルは参照のみに使用し、更新を必要
とする処理は別に設けた更新専用のファイルを使用する
と共に更新ジャーナルを出力し、通常の処理を行なわな
い特定時に前記マスタファイルの更新を前記更新専用の
ファイルと更新ジャーナルとを用いて行ない、前記更新
専用のファイルの障害時に更新ジャーナルを用いて更新
専用のファイルの復旧を行なうことを特徴とするマスタ
ファイル更新方式。In an information processing system that updates a master file that accumulates individual information in real time, the master file is used only for reference during normal processing, and a separate update-only file is used for processing that requires updating. An update journal is output, and the master file is updated using the update-only file and the update journal at specific times when normal processing is not performed, and when the update-only file fails, the update journal is used to update the update-only file. A master file update method characterized by file recovery.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1110260A JPH02287644A (en) | 1989-04-27 | 1989-04-27 | Master file updating system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1110260A JPH02287644A (en) | 1989-04-27 | 1989-04-27 | Master file updating system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02287644A true JPH02287644A (en) | 1990-11-27 |
Family
ID=14531184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1110260A Pending JPH02287644A (en) | 1989-04-27 | 1989-04-27 | Master file updating system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02287644A (en) |
-
1989
- 1989-04-27 JP JP1110260A patent/JPH02287644A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH07319747A (en) | Data updating system | |
US6745304B2 (en) | Method and device for storing computer data with back-up operations | |
US6286113B1 (en) | Method of making protected changes to data stored in a database, as well as database system and network element equipped therewith | |
JPH07152627A (en) | File recovery system | |
JPH02287644A (en) | Master file updating system | |
JPH0594356A (en) | On-memory table data fault restoration system | |
JP2001188690A (en) | Computer system and checkpoint information preserving method | |
JPS63132351A (en) | Memory data base processor | |
JPS63187347A (en) | Data base file recovering system | |
JPH07160563A (en) | On-line backup system | |
JPS63217441A (en) | Journal collecting system | |
JPH0512087A (en) | System for outputting pre-updating journal | |
JP2960417B2 (en) | Data recovery method | |
JPH01140353A (en) | System for maintaining data in data base | |
JPH04307643A (en) | Highly reliable file system | |
JP2000020366A (en) | Replication system | |
JP2931665B2 (en) | switch | |
JPH06332777A (en) | Transaction processing system | |
JPH02211557A (en) | Data base saving system | |
JPS6167153A (en) | Partial trouble recovery processing system of direct access storage device | |
JPS6389944A (en) | Managing system for file updating history | |
JPH05216697A (en) | Fault recovering method for calculator system | |
JP2594761B2 (en) | Journal file management device | |
CN118012669A (en) | File metadata recovery system and method for distributed file system | |
JPH03224040A (en) | File saving system and saving restoration system |