JPH0566976A - Master file managing system - Google Patents
Master file managing systemInfo
- Publication number
- JPH0566976A JPH0566976A JP3226752A JP22675291A JPH0566976A JP H0566976 A JPH0566976 A JP H0566976A JP 3226752 A JP3226752 A JP 3226752A JP 22675291 A JP22675291 A JP 22675291A JP H0566976 A JPH0566976 A JP H0566976A
- Authority
- JP
- Japan
- Prior art keywords
- master file
- master
- file
- management data
- record
- 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
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は情報処理システムにおい
てマスタファイルのファイル容量を削減するマスタファ
イル管理方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a master file management system for reducing the file size of a master file in an information processing system.
【0002】[0002]
【従来の技術】従来、マスタファイルは、必要な情報を
すべて1つのレコード上に保有し、ある一定の処理終了
後にレコード上のほとんどの情報が不要となった場合で
も、同一キーを排除する目的の為に、もしくは一部の必
要な情報(例えば状態フラグ)を検索時に表示する為、
マスタファイル上に当該レコードを残しておくのが通例
となっている。2. Description of the Related Art Conventionally, a master file has all the necessary information on one record, and even if most of the information on the record is no longer needed after a certain processing, the same key is excluded. To display some necessary information (such as status flag) when searching,
It is customary to leave the record in the master file.
【0003】[0003]
【発明が解決しようとする課題】上述した従来のマスタ
ファイル管理方式では、マスタファイル上の1件のレコ
ード長が大きく大量のレコードが発生する場合にはマス
タファイルの容量が膨大となり、外部記憶装置が必要以
上に大きくなったり、マスタファイル上のレコードの検
索処理やマスタファイルの別媒体(磁気ディスクや磁気
テーブ)への格納処理に長時間を要するという欠点があ
る。In the above-mentioned conventional master file management system, when one record length in the master file is large and a large number of records are generated, the master file becomes huge in capacity, and the external storage device becomes large. Has a disadvantage that it becomes unnecessarily large and that it takes a long time to perform a process of searching for a record on the master file and a process of storing the master file in another medium (magnetic disk or magnetic tape).
【0004】[0004]
【課題を解決するための手段】本発明のマスタファイル
管理方式は、マスタファイルの管理データを有するチェ
ックマスタを利用して、更新時のチェックを行うことに
よってマスタファイルの削除後も同一キーの排除および
必要情報の採取を実行し、マスタファイルの容量を削減
するようにして構成される。According to the master file management method of the present invention, a check master having management data of a master file is used to perform a check at the time of updating to eliminate the same key even after the master file is deleted. And collecting required information to reduce the size of the master file.
【0005】また、本発明のマスタファイル管理方式
は、マスタファイルとは別にチェック用マスタファイル
を用意し、ある一定の処理が終了したレコードについて
は前記レコードの特徴を示す項目のみを抜き出して前記
チェック用マスタファイル上の1レコードとして作成
し、前記マスタファイル上から当該レコードを削除し、
マスタファイルの容量を削減するようにして構成され
る。Further, in the master file management method of the present invention, a check master file is prepared separately from the master file, and for a record for which a certain process has been completed, only the items showing the characteristics of the record are extracted and the check is performed. Created as one record on the master file for use, delete the record from the master file,
It is configured to reduce the size of the master file.
【0006】[0006]
【実施例】次に、本発明について図面を参照して説明す
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.
【0007】図1は本発明の一実施例を示す説明図、図
2はファイル形式を示す説明図である。FIG. 1 is an explanatory diagram showing an embodiment of the present invention, and FIG. 2 is an explanatory diagram showing a file format.
【0008】更新モジュール1がマスタファイル2に対
して更新を行う場合、チェックマスタ5のマスタ管理デ
ータ部の参照を行い、マスタファイル2に対しての更新
処理実行の可否の判断を行う。When the update module 1 updates the master file 2, the master management data section of the check master 5 is referred to, and it is determined whether the update processing can be executed for the master file 2.
【0009】マスタファイル2に対して更新がチェック
マスタ5のマスタファイル管理データによって更新でき
ると判断できた場合は、マスタファイル2のデータ部の
更新とチェックマスタ5のマスタファイル管理データ部
の更新を行う。例えばキー「0001」に対して削除処
理を行う場合は、チェックマスタ5のキー部「000
1」のマスタファイル管理データ部を参照して削除処理
実行可能であるかの判断を行い、削除処理可能であれば
マスタファイル2のキー部「0001」のレコードの削
除と,チェックマスタ5のキー部「0001」のレコー
ドのマスタファイル管理データ部に削除を行った情報
と,参照時必要となるデータのチェックマスタ5への登
録を行う。When it can be determined that the update of the master file 2 can be performed by the master file management data of the check master 5, the data part of the master file 2 and the master file management data part of the check master 5 are updated. To do. For example, when performing the deletion process for the key “0001”, the key part “000
1 ”, the master file management data section is referred to determine whether the deletion process can be executed, and if the deletion process is possible, the record of the key part“ 0001 ”of the master file 2 is deleted and the key of the check master 5 is deleted. The information deleted in the master file management data section of the record of the section "0001" and the data necessary for reference are registered in the check master 5.
【0010】次に、検索モジュール4よりキー「000
2」の検索処理命令の発行時には、チェックマスタ5の
キー「0002」のマスタファイル管理データ部を参照
し、マスタファイル2のキー「0002」のマスタファ
イル管理データ部の内容がマスタファイル2にデータが
存在する事を示す内容であれば、マスタファイル2の検
索を行いマスタファイル2のキー「0002」のデータ
部を検索モジュール4に渡す。また、チェックマスタ5
のキー「0002」のマスタファイル2の削除済みを示
すものであれば、検索モジュール4にチェックマスタ5
のマスタファイル管理データを渡す。Next, the search module 4 sends the key "000
When issuing the search processing command of "2", the master file management data part of the key "0002" of the check master 5 is referred to, and the contents of the master file management data part of the key "0002" of the master file 2 are stored in the master file 2. If the contents indicate that the master file 2 exists, the master file 2 is searched and the data part of the key “0002” of the master file 2 is passed to the search module 4. Also, check master 5
If the key "0002" indicates that the master file 2 has been deleted, the search module 4 checks the master 5
Pass the master file management data of.
【0011】[0011]
【発明の効果】以上説明したように本発明は、ある一定
の処理終了後にレコード上のほとんどの情報が不用とな
ったレコードを削除する時に、チェック用マスタに必要
なデータのみを登録してマスタファイルを管理する事に
より、マスタファイルを削除する事によるデメリット
(同一キーの削除,検索時のレコードの表示等ができな
い)をなくし、マスタファイル容量の削減し、マスタフ
ァイル上のレコードの検索処理やマスタファイルの別媒
体(磁気ディスクや磁気テープ)への格納処理に要する
時間を短縮できる効果がある。As described above, according to the present invention, when deleting a record in which most of the information on the record is no longer needed after a certain process is completed, only the data necessary for the check master is registered and the master is used. By managing the files, the disadvantages of deleting the master file (such as deleting the same key and displaying records at the time of searching) cannot be eliminated, the master file capacity can be reduced, and the search processing of records on the master file can be performed. This has the effect of shortening the time required to store the master file in another medium (magnetic disk or magnetic tape).
【図1】本発明の一実施例を示す説明図。FIG. 1 is an explanatory view showing an embodiment of the present invention.
【図2】ファイルの形式を示す説明図。FIG. 2 is an explanatory diagram showing a file format.
1 更新マジュール 2 マスタファイル 4 検索モジュール 5 チェックマスタ 1 Update module 2 Master file 4 Search module 5 Check master
Claims (2)
ェックマスタを利用して、更新時のチェックを行うこと
によってマスタファイルの削除後も同一キーの排除およ
び必要情報の採取を実行し、マスタファイルの容量を削
減することを特徴とするマスタファイル管理方式。1. A master file having a management data of a master file is used to perform the check at the time of updating, thereby eliminating the same key and collecting necessary information even after the master file is deleted, and the capacity of the master file. A master file management method characterized by reducing
タファイルを用意し、ある一定の処理が終了したレコー
ドについては前記レコードの特徴を示す項目のみを抜き
出して前記チェック用マスタファイル上の1レコードと
して作成し、前記マスタファイル上から当該レコードを
削除し、マスタファイルの容量を削減するこを特徴とす
る請求項1記載のマスタファイル管理方式。2. A check master file is prepared separately from the master file, and for a record for which a certain process has been completed, only the items showing the characteristics of the record are extracted and created as one record on the check master file. The master file management method according to claim 1, wherein the record is deleted from the master file to reduce the capacity of the master file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3226752A JPH0566976A (en) | 1991-09-06 | 1991-09-06 | Master file managing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3226752A JPH0566976A (en) | 1991-09-06 | 1991-09-06 | Master file managing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0566976A true JPH0566976A (en) | 1993-03-19 |
Family
ID=16850057
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3226752A Pending JPH0566976A (en) | 1991-09-06 | 1991-09-06 | Master file managing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0566976A (en) |
-
1991
- 1991-09-06 JP JP3226752A patent/JPH0566976A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6804680B2 (en) | Extensible database | |
JP2002055995A (en) | Method and device for information processing | |
JPH10510642A (en) | Computer data storage | |
JP2553751B2 (en) | Disk sector replacement method | |
JP2925042B2 (en) | Information link generation method | |
JP3636773B2 (en) | Information processing device for database check | |
JPH0566976A (en) | Master file managing system | |
JP2822869B2 (en) | Library file management device | |
JPH08314780A (en) | File management system | |
JPH0687229B2 (en) | File management method using write-once storage medium | |
JPH05151056A (en) | Data controller | |
JP2000148548A (en) | Unnecessary record deleting device | |
JP3016255B2 (en) | Database management system | |
JPH0528202A (en) | Picture data retrieval system | |
JP2658964B2 (en) | Data record storage position control method | |
JPH04252342A (en) | Data archive controller for information processing system | |
JPS63311451A (en) | Access system for low-speed access medium incapable of rewriting | |
JPH08328929A (en) | Database split management system | |
JPH10124351A (en) | Device and method for managing file retention period and storage medium for storing file retention period managing program | |
JPS63307583A (en) | File managing system on unrewritable medium | |
JPH0573396A (en) | Difference information extraction system for optical disk | |
JPS60254325A (en) | Control method of data retrieval key | |
JPH01169793A (en) | System for moving optical disk management information | |
JPH0498331A (en) | Retrieval system for unused record of data file | |
JPH07141230A (en) | Managing method for data base |