JPH0447340A - Reading method for master file - Google Patents
Reading method for master fileInfo
- Publication number
- JPH0447340A JPH0447340A JP2153738A JP15373890A JPH0447340A JP H0447340 A JPH0447340 A JP H0447340A JP 2153738 A JP2153738 A JP 2153738A JP 15373890 A JP15373890 A JP 15373890A JP H0447340 A JPH0447340 A JP H0447340A
- Authority
- JP
- Japan
- Prior art keywords
- data
- storage device
- main storage
- read
- stored
- 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
- 238000000034 method Methods 0.000 title claims description 8
- 238000007796 conventional method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000011068 loading method Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は電子計算機システムにおけるマスクファイルの
読み込み方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for reading a mask file in a computer system.
従来のこの種のマスクファイルの読み込み方法としては
、下記の方法がある。Conventional methods for reading this type of mask file include the following methods.
(1)ファイルの読み込みが発生する毎、マスクファイ
ルを物理的に読み込む。(1) Physically read the mask file every time a file is read.
(2)マスクファイル全体を主記憶装置上に予め、貯め
込む。(2) Store the entire mask file on the main storage device in advance.
上述した従来のマスクファイルの読み込み方法のうち、
(1)の方法では、メモリ容量は少なくて済むが、常に
物理的なファイルの読み込みが発生し、プログラムの実
行速度が遅くなり、また(2)の方法では、高価な主記
憶装置がマスクファイルの容量分が必要であるといった
問題点がある。Among the conventional mask file loading methods mentioned above,
With method (1), the memory capacity is small, but the physical file is always read, which slows down the program execution speed, and with method (2), the expensive main storage is There is a problem that a capacity equivalent to that of
本発明のマスクファイル読み込み方法は、補助記憶装置
から主記憶装置にマスタファイルデータを読み込む方法
において、前記マスタファイルデータの読み込み要求が
あると、そのデータが以前に前記主記憶装置にすでに記
憶されているか検索し、すでに記憶されていれば、前記
主記憶装置上のデータを参照し、また前記主記憶装置上
に記憶されていなければ、前記補助記憶装置上から前記
主記憶装置上に読み込めるようにしたことを特徴とする
。The mask file reading method of the present invention is a method for reading master file data from an auxiliary storage device to a main storage device, and when a request to read the master file data is made, the data has already been stored in the main storage device. If the data is already stored, the data on the main storage device is referenced, and if the data is not stored on the main storage device, the data can be read from the auxiliary storage device onto the main storage device. It is characterized by what it did.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は、本発明の一実施例の実行フローチャートであ
る。FIG. 1 is an execution flowchart of one embodiment of the present invention.
第1図を参照すると、本発明の一実施例においては、マ
スタファイルデータの読み込み要求があるとくステップ
10)、主記憶装置上に読み込み要求のあったデータが
すでに記憶されているかを検索する(ステップ11)。Referring to FIG. 1, in one embodiment of the present invention, when there is a request to read master file data, in step 10), a search is made to see if the data requested to be read is already stored in the main storage ( Step 11).
最初の読み込み要求であれば、主記憶装置上にはデータ
が記憶されていないので、補助記憶装置上から該当デー
タを主記憶装置上に読み込む(ステップ12)、処理を
行なう。If it is the first read request, since no data is stored on the main memory, the corresponding data is read from the auxiliary memory onto the main memory (step 12).
二回目以降の読み込み要求の場合でも、その要求された
データが主記憶装置上になければ、該当データを主記憶
装置上に読み込み(ステップ12)。Even in the case of a second or subsequent read request, if the requested data is not on the main memory, the corresponding data is read onto the main memory (step 12).
ステップ11における検索の結果、該当データがすでに
読み込まれている場合には、主記憶装置上のデータを参
照して処理を行なう(ステップ13)。As a result of the search in step 11, if the corresponding data has already been read, processing is performed by referring to the data on the main storage device (step 13).
このようにして、本実施例においては、読み込み要求の
あった順にマスタファイルデータが主記憶装置上に読み
込まれて行き、予め定められた容量に達すると、その後
新規に要求のあったデータは、従来の方法(1)と同様
に、読み込み要求毎に補助記憶装置上から主記憶装置上
に読み込まれる。In this way, in this embodiment, master file data is read onto the main storage device in the order in which read requests are made, and when a predetermined capacity is reached, newly requested data is Similar to the conventional method (1), data is read from the auxiliary storage device to the main storage device for each read request.
通常の場合、初期に読み込み要求のあったデータが、そ
の後の多く使用されれ場合が多いので、主記憶装置上に
読み込みれなデータが繰り返し参照され、プログラム実
行時間の短縮することができる。In normal cases, data that is initially requested to be read is often used later, so data that cannot be read in the main storage device is repeatedly referenced, reducing program execution time.
以上、説明したように、本発明は主記憶装置容量を大幅
に増加させることなく、マスクファイルの物理的な読み
込みを減少させることができるので、プログラムの実行
速度を上げることができるという効果がある。As explained above, the present invention can reduce the physical reading of mask files without significantly increasing the main storage capacity, and has the effect of increasing program execution speed. .
第1図は本発明の一実施例の動作を示すフローチャート
である。FIG. 1 is a flowchart showing the operation of one embodiment of the present invention.
Claims (1)
読み込む方法において、前記マスタファイルデータの読
み込み要求があると、そのデータが以前に前記主記憶装
置にすでに記憶されているか検索し、すでに記憶されて
いれば、前記主記憶装置上のデータを参照し、また前記
主記憶装置上に記憶されていなければ、前記補助記憶装
置上から前記主記憶装置上に読み込めるようにしたこと
を特徴とするマスクファイルの読み込み方法。In a method for reading master file data from an auxiliary storage device to a main storage device, when there is a request to read the master file data, a search is made to see if the data has already been stored in the main storage device, and if the data is already stored. For example, the mask file refers to data on the main storage device, and if the data is not stored on the main storage device, it can be read from the auxiliary storage device onto the main storage device. How to load.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2153738A JPH0447340A (en) | 1990-06-12 | 1990-06-12 | Reading method for master file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2153738A JPH0447340A (en) | 1990-06-12 | 1990-06-12 | Reading method for master file |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0447340A true JPH0447340A (en) | 1992-02-17 |
Family
ID=15569024
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2153738A Pending JPH0447340A (en) | 1990-06-12 | 1990-06-12 | Reading method for master file |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0447340A (en) |
-
1990
- 1990-06-12 JP JP2153738A patent/JPH0447340A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0447340A (en) | Reading method for master file | |
JP2000276363A (en) | Method and device for swapping processing in storage hierarchy system | |
US6298437B1 (en) | Method for vectoring pread/pwrite system calls | |
JPH07152574A (en) | Program loading system | |
US5594909A (en) | File I/O control device writing blocks to faster device first and canceling exclusive lock as each block is written | |
JPS62169243A (en) | Program loading system | |
JPH03218545A (en) | Pre-loading system for main storage | |
JP3463696B2 (en) | Online garbage collection processing method | |
JPH03147147A (en) | Dump processing system | |
JPH07306839A (en) | Quickening method for access to network file | |
JPH0337748A (en) | External storage accessing system utilizing main storage | |
JP2988048B2 (en) | Dictionary information resident access device | |
CN115454935A (en) | Method for quickly copying internal file of file system | |
JP2740572B2 (en) | Program loading method | |
JPH02302847A (en) | File receding system | |
JPH01116851A (en) | Program load control system | |
JPH10143412A (en) | Data base managing system | |
JPS5911460A (en) | Disc file controller | |
JPH02308329A (en) | Program correcting system | |
JPS5924344A (en) | Overlay controlling system | |
JPH0216652A (en) | Missing page processing system | |
JPH03235141A (en) | File access processing system | |
JPH03122737A (en) | Paging system | |
JPH06161720A (en) | Computer system | |
JPS6371752A (en) | Semiconductor filing device |