JPH0789332B2 - File migration / recall method - Google Patents

File migration / recall method

Info

Publication number
JPH0789332B2
JPH0789332B2 JP63023177A JP2317788A JPH0789332B2 JP H0789332 B2 JPH0789332 B2 JP H0789332B2 JP 63023177 A JP63023177 A JP 63023177A JP 2317788 A JP2317788 A JP 2317788A JP H0789332 B2 JPH0789332 B2 JP H0789332B2
Authority
JP
Japan
Prior art keywords
file
subfile
migration
original
pool
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.)
Expired - Fee Related
Application number
JP63023177A
Other languages
Japanese (ja)
Other versions
JPH01197854A (en
Inventor
卓二 富山
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 JP63023177A priority Critical patent/JPH0789332B2/en
Publication of JPH01197854A publication Critical patent/JPH01197854A/en
Publication of JPH0789332B2 publication Critical patent/JPH0789332B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電子計算機システム内で管理されるデータを
格納する外部記憶装置の使用効率の向上のためのファイ
ルのマイグレーション・リコール方式に関する。
The present invention relates to a file migration / recall method for improving the efficiency of use of an external storage device that stores data managed in an electronic computer system.

〔従来の技術〕[Conventional technology]

大規模電子計算機システムにおける、大量データを効率
よく格納し、かつデータへのアクセス性能を保証するシ
ステムは、ストーレッジ管理システムと呼ばれている。
このストーレッジ管理システムは、計算機システムに接
続されている各種の外部記憶装置を、性能、および容量
に従って階層的に管理し、利用者が望むデータの最適な
配置をシステムが自動的に行うものであり、機能の一つ
としてマイグレーション・リコール機能がある。
A system that efficiently stores a large amount of data and guarantees access performance to the data in a large-scale computer system is called a storage management system.
This storage management system hierarchically manages various external storage devices connected to the computer system according to performance and capacity, and the system automatically performs the optimum arrangement of data desired by the user. One of the functions is the migration / recall function.

マイグレーション・リコール機能とは、アクセス頻度の
高いデータは高速の外部記憶装置に配置し、アクセス頻
度の低いデータは低速の外部記憶装置に配置することに
より、利用者からのデータアクセス性能を保証し、かつ
高コストで高速の外部記憶装置と、低コストで低速の外
部記憶装置に対する使用効率を向上させることを目的と
するものであり、例えば特願昭62−162047号に示される
方式が考えられている。この方式では、ファイルに対す
るアクセスが終了すると、ファイル単位のマイグレーシ
ョンが実行され、ファイル全体が低速の装置へ移送さ
れ、元のファイルは削除される。次に、ファイルに対す
るアクセスが再開されると、予め確保してあったプール
ファイルのアクセスの対象となったサブファイルがリコ
ールされる。プールファイルは複数の移送先ファイルに
より共用される。プールファイル上でのアクセスが終了
すれば、サブファイル単位で移送先ファイルにマイグレ
ートされる。
The migration / recall function guarantees data access performance from users by placing frequently accessed data in a high-speed external storage device and placing infrequently accessed data in a low-speed external storage device. In addition, it is intended to improve the usage efficiency for a high-cost and high-speed external storage device and a low-cost and low-speed external storage device. For example, the method shown in Japanese Patent Application No. 62-162047 is considered. There is. In this method, when access to a file is completed, file-based migration is executed, the entire file is transferred to a low-speed device, and the original file is deleted. Next, when the access to the file is resumed, the subfile which is the target of the access to the pool file that has been secured in advance is recalled. The pool file is shared by a plurality of transfer destination files. When the access on the pool file is completed, it is migrated to the transfer destination file in subfile units.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

このような従来のマイグレーション・リコール方式で
は、マイグレーションファイルが、各々のオリジナルフ
ァイルに対応して作成されることにより次のような欠点
がある。
Such a conventional migration / recall method has the following drawbacks because the migration file is created corresponding to each original file.

すなわち、マイグレーションファイルは、個々のオリジ
ナルファイルの内容が全て格納できる容量が必要である
こと、および、リコールされて更新がかかったサブファ
イルを再びマイグレーションファイルへ戻すことを考慮
すれば個々のマイグレーションファイルの容量を個々の
オリジナルファイルより大きめに予め確保しておく必要
がある。したがって、記憶装置のスペースの使用効率が
低下する可能性がある。また、リコール先ファイルは複
数のマイグレーションファイル(従ってオリジナルファ
イル)が共通に利用するスペースであることにより、リ
コール先ファイルの容量が少ない場合、または、リコー
ル量が多い場合は、リコール先スペースの不足を招くこ
とになる。このため、スペースを確保するための強制的
なマイグレーションを頻繁に発生させることになり、ア
クセス性能の低下をきたすことがある。
That is, considering that the migration file needs to have the capacity to store all the contents of each original file, and that the recalled and updated subfiles are returned to the migration file again, It is necessary to reserve the capacity in advance so that it is larger than each original file. Therefore, the use efficiency of the space of the storage device may decrease. Also, the recall destination file is a space that is commonly used by multiple migration files (hence the original files). Therefore, if the recall destination file has a small capacity or a large recall volume, the recall destination space may be insufficient. Will be invited. For this reason, forced migration frequently occurs to secure the space, which may lead to deterioration in access performance.

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

本発明の方式は、論理的に閉じており個々にアクセス可
能な複数のサブファイルのそれぞれをマイグレーション
時に格納するプールファイル手段と、 前記サブファイルのマイグレーション先を示す情報を格
納するサブファイルのマイグレーション先情報格納手段
と、 このマイグレーション先情報格納手段からのマイグレー
ション先情報に基づきマイグレーション元となるオリジ
ナルファイルから前記プールファイルへ前記サブファイ
ルを移送するマイグレーション手段と、 このマイグレーション手段によるマイグレーション元を
示すオリジナル情報を格納するオリジナル情報格納手段
と、 このオリジナル情報格納手段からのオリジナル情報にも
とづいて前記サブファイルに対するアクセス再開時に前
記プールファイル手段から前記オリジナルファイルに前
記サブファイルをリコールするリコール手段とを含むこ
とを特徴とする。
The method of the present invention includes a pool file unit that stores each of a plurality of subfiles that are logically closed and that are individually accessible at the time of migration, and a migration destination of a subfile that stores information indicating the migration destination of the subfile. An information storage unit, a migration unit that transfers the subfile from the original file that is the migration source to the pool file based on the migration destination information from the migration destination information storage unit, and the original information that indicates the migration source by the migration unit. The original information storage means for storing the original information from the pool file means when resuming access to the subfile based on the original information from the original information storage means. And a recall means for recalling the sub-file to the file.

〔実施例〕〔Example〕

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

第1図を参照すると、本発明の一実施例は、複数のサブ
ファイルを持ち、利用者により直接アクセスされるオリ
ジナルファイル1、サブファイルのマイグレーション先
情報格納手段2、サブファイルマイグレーション手段
3、サブファイルリコール手段4、プールファイル5お
よびサブファイルのオリジナルファイル情報格納手段6
を備えている。サブファイルのマイグレーション先情報
格納手段2は、オリジナルファイル1に格納されていた
サブファイルがプールファイル5にマイグレートされる
時に作成される情報であり、サブファイル毎に、マイグ
レートされたプールファイルについての情報を格納す
る。サブファイルマイグレーション手段3は、オリジナ
ルファイル1内のサブファイルでマイグレーションの対
象となったファイルをプールファイル5にマイグレート
する。サブファイルリコール手段4は、オリジナルファ
イル1内のサブファイルにアクセス要求があり、前記サ
ブファイルのマイグレーション先情報により、プールフ
ァイル5へのマイグレーションの判明時点で呼出され、
プールファイルの所在とマイグレーション先の情報をも
とにプールファイル5からオリジナルファイル1へリコ
ールを行う。プールファイル5はオリジナルファイル1
内のサブファイルがマイグレートされる先のファイルで
あり、複数のオリジナルファイル1により共通に使用さ
れる。サブファイルのオリジナルファイル情報格納手段
6は、プールファイル5に存在するマイグレーションさ
れたサブファイルがどこのオリジナルファイル1からマ
イグレーションされたかの情報を格納する。
Referring to FIG. 1, an embodiment of the present invention has an original file 1 having a plurality of subfiles and directly accessed by a user, a subfile migration destination information storage means 2, a subfile migration means 3, a subfile. Recall means 4, pool file 5, and subfile original file information storage means 6
Is equipped with. The subfile migration destination information storage unit 2 is information created when the subfile stored in the original file 1 is migrated to the pool file 5, and for each subfile, the migrated pool file is described. Stores the information of. The sub-file migration means 3 migrates the sub-files in the original file 1 that are the target of migration to the pool file 5. The subfile recall means 4 is called when a subfile in the original file 1 is requested to be accessed and migration to the pool file 5 is determined by the migration destination information of the subfile.
Recall from the pool file 5 to the original file 1 based on the location of the pool file and the migration destination information. Pool file 5 is original file 1
The sub-file in is a file to be migrated, and is commonly used by a plurality of original files 1. The subfile original file information storage unit 6 stores information about from which original file 1 the migrated subfile existing in the pool file 5 is migrated.

第1図の実施例では、プールファイル5に対するオリジ
ナルファイル1はそれぞれ1つずつのみ図示されている
が、複数個のオリジナルファイル1が1つのプールファ
イル5を共有して使用する構成の場合、1つ1つのオリ
ジナルファイル1とプールファイル5との間が、それぞ
れ第1図で示す構成となる。
In the embodiment of FIG. 1, only one original file 1 for each pool file 5 is shown, but in the case of a configuration in which a plurality of original files 1 share one pool file 5 and use it, 1 The space between each original file 1 and the pool file 5 has the structure shown in FIG.

この場合、サブファイルのオリジナルファイル情報格納
手段6が、プールファイル5に存在するマイグレーショ
ンされたサブファイルが複数個設定されたどこのオリジ
ナルファイル1からマイグレーションされたかの情報を
格納しており、この情報を利用して、プールファイル5
からのサブファイルのリコールの際、複数個のオリジナ
ルファイル1のいずれにリコールするかを判断すること
ができる。
In this case, the subfile original file information storage means 6 stores the information of the original file 1 from which a plurality of migrated subfiles existing in the pool file 5 are set, and this information is stored. Use, pool file 5
It is possible to determine which of the plurality of original files 1 is to be recalled when the sub file is recalled.

第2図を参照すると、オリジナルファイル1内のサブフ
ァイルに対してはサブファイルを管理するディレクトリ
が存在し、サブファイルが格納されているファイル内の
アドレスが格納されている。次に、サブファイルに対す
るアクセスが終了し、プールファイル5へマイグレート
されると、オリジナルファイル1内のサブファイルのデ
ィレクトリには、マイグレートされた先のプールファイ
ル5に関する情報が格納される。例えば、プールファイ
ル名とプールファイル名内のサブファイル名(プールフ
ァイルサブファイル名)である。このサブファイル名
は、プールファイル内で一意になるように生成する必要
がある。
Referring to FIG. 2, for the subfile in the original file 1, there is a directory for managing the subfile, and the address in the file in which the subfile is stored is stored. Next, when the access to the sub-file is completed and the sub-file is migrated to the pool file 5, the sub-file directory in the original file 1 stores information about the migrated destination pool file 5. For example, the pool file name and the subfile name in the pool file name (pool file subfile name). This subfile name must be generated so that it is unique within the pool file.

第3図を参照すると、サブファイルがプールファイル5
にマイグレートされると、サブファイルのデータが格納
されると同時に、サブファイルを管理するディレクトリ
が作成される。ディレクトリには、サブファイルが格納
されていたオリジナルファイル1に関する情報(オリジ
ナルファイル名とサブファイル名)とプールファイル5
に格納されたサブファイルデータのアドレスが格納され
る。
Referring to FIG. 3, the sub file is the pool file 5
When the file is migrated to, the subfile data is stored and at the same time, a directory for managing the subfile is created. In the directory, information about the original file 1 in which the sub files were stored (original file name and sub file name) and pool file 5
The address of the subfile data stored in is stored.

サブファイルのマイグレーションは以下の手順により実
行される。
Subfile migration is performed by the following procedure.

第1図を参照すると、まず、オリジナルファイル1内の
サブファイルのアクセス終了後、マイグレーションする
ことが決定されたら、マイグレート先のプールファイル
5が選択される。この決定は、通常アクセスされない時
間を一定値に決めておき、その値以上アクセスが行われ
ないことを基準にすることが多い。また、プールファイ
ル5の選択は、オリジナルファイル1を管理するファイ
ルカタログ等により予めマイグレート先のプールファイ
ル名という形で管理された情報に基づく場合が多い。こ
のようにして、マイグレーションすべきサブファイル、
およびマイグレート先のプールファイル5が決定される
と、サブファイルマイグレーション手段3が起動され
る。サブファイルマイグレーション手段3は、まずオリ
ジナルファイル1内のサブファイル管理情報に従ってサ
ブファイルデータを読む。次に、プールファイル5内に
新しいサブファイルが作成され、データが移送される。
プールファイル5内のサブファイル管理情報には、オリ
ジナルファイルに関する情報(オリジナルファイル名と
サブファイル名)が格納される。最後に、オリジナルフ
ァイル1内のサブファイルが削除される。
Referring to FIG. 1, first, after the subfiles in the original file 1 have been accessed, if migration is decided, the migration destination pool file 5 is selected. In many cases, this determination is based on the fact that the time during which access is not normally made is set to a fixed value, and access is not performed above that value. Further, the selection of the pool file 5 is often based on information managed in advance in the form of a pool file name of a migration destination by a file catalog or the like that manages the original file 1. This way, the subfiles that should be migrated,
When the pool file 5 of the migration destination is determined, the subfile migration means 3 is activated. The subfile migration means 3 first reads the subfile data according to the subfile management information in the original file 1. Then, a new subfile is created in the pool file 5 to transfer the data.
The subfile management information in the pool file 5 stores information about the original file (original file name and subfile name). Finally, the subfile in the original file 1 is deleted.

次に、サブファイルのリコールは以下の手順により実行
される。
Next, the recall of the sub file is executed by the following procedure.

サブファイルへのアクセス要求は、オリジナルファイル
1に対してなされる。オリジナル1内のファイル管理情
報にはマイグレート先のプールファイル5に関する情報
が格納されている。したがってオリジナル1内にはサブ
ファイルのデータが存在しないことが判るとサブファイ
ルリコール手段4が起動される。サブファイルリコール
手段4は、ディレクトリ内のプールファイル情報をもと
にプールファイル5をアクセスし、プールファイル名を
キーにしてプールファイル5のディレクトリを検索す
る。ディレクトリ内には、目的とするサブファイルのデ
ータへのアドレスが格納されているので、それに従って
データが読まれる。次に、オリジナルファイル内に元の
サブファイル名でサブファイルが生成され、プールファ
イルからサブファイルデータが移送される。移送が終わ
れば、プールファイル内のサブファイルが削除される。
The access request to the sub file is made to the original file 1. The file management information in the original 1 stores information about the pool file 5 at the migration destination. Therefore, when it is determined that the data of the sub file does not exist in the original 1, the sub file recall means 4 is activated. The sub-file recall means 4 accesses the pool file 5 based on the pool file information in the directory, and searches the directory of the pool file 5 using the pool file name as a key. Since the address to the data of the target subfile is stored in the directory, the data is read accordingly. Then, a subfile is created in the original file with the original subfile name, and the subfile data is transferred from the pool file. When the transfer is complete, the subfiles in the pool file are deleted.

プールファイルに格納された、サブファイルのオリジナ
ルファイル情報は、次のような場合に使用される。
The original file information of the subfile stored in the pool file is used in the following cases.

すなわち、プールファイルが多階層に設けられた場合、
サブファイルはさらに低速で大容量のプールファイル5
に移送される。この時、オリジナルファイル1に格納さ
れたサブファイルのマイグレーション先情報を新しいプ
ールファイルの情報へ書き換える際の情報として利用さ
れる。
That is, when pool files are provided in multiple layers,
Subfile is a slower and larger pool file 5
Be transferred to. At this time, it is used as information when rewriting the migration destination information of the subfile stored in the original file 1 to the information of the new pool file.

また、プールファイル9な使用状況を知るため、当該情
報によりオリジナルファイル1を特定できる。
Further, since the usage status of the pool file 9 is known, the original file 1 can be specified by the information.

さらに、プールファイル5を指定したサブファイルのリ
コール処理において、リコール先のオリジナルファイル
を特定する。
Further, in the recall process of the subfile specifying the pool file 5, the original file of the recall destination is specified.

〔発明の効果〕〔The invention's effect〕

以上、詳細に説明したように、本発明のマイグレーショ
ン・リコール方式では、個々にアクセスが可能なサブフ
ァイルの単位でマイグレーションを行い、必要なサブフ
ァイルだけを利用者のファイルへリコールすることによ
り、利用者が確保すべきファイル容量を削減でき、かつ
サブファイルがマイグレートされる先のファイルを複数
のファイルで共有する構成であるから、マイグレート先
のファイル容量の利用効率が向上するという効果があ
る。
As described above in detail, according to the migration / recall method of the present invention, migration is performed in units of individually accessible subfiles, and only necessary subfiles are recalled to the user's file for use. The file size that should be secured by a person can be reduced, and since the file to which the subfile is migrated is shared by multiple files, there is an effect that the utilization efficiency of the file capacity at the migration destination is improved. .

【図面の簡単な説明】[Brief description of drawings]

第1図は、本発明の一実施例を示す図、および第2図お
よび第3図は第1図中のファイル、および格納情報の内
容の一例を示す図である。 第1図から第3図において、1……オリジナルファイ
ル、2……サブファイルのマイグレーション先情報格納
手段、3……サブファイルマイグレート手段、4……サ
ブファイルリコール手段、5……プールファイル、6…
…サブファイルのオリジナルファイル情報格納手段。
FIG. 1 is a diagram showing an embodiment of the present invention, and FIGS. 2 and 3 are diagrams showing an example of contents of files and stored information in FIG. 1 to 3, 1 ... Original file, 2 ... Subfile migration destination information storage means, 3 ... Subfile migration means, 4 ... Subfile recall means, 5 ... Pool file, 6 ...
... Original file information storage means of sub-file.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】論理的に閉じており個々にアクセス可能な
複数のサブファイルのそれぞれをマイグレーション時に
格納するプールファイル手段と、 前記サブファイルのマイグレーション先を示す情報を格
納するマイグレーション先情報格納手段と、 このマイグレーション先情報格納手段からのマイグレー
ション先情報に基づきマイグレーション元となるオリジ
ナルファイルから前記プールファイルへ前記サブファイ
ルを移送するマイグレーション手段と、 このマイグレーション手段によるマイグレーション元を
示すオリジナル情報を格納するオリジナル情報格納手段
と、 このオリジナル情報格納手段からのオリジナル情報にも
とづいて前記サブファイルに対するアクセス再開時に前
記プールファイル手段から前記オリジナルファイルに前
記サブファイルをリコールするリコール手段とを含むこ
とを特徴とするファイルのマイグレーションリコール方
式。
1. A pool file means for storing each of a plurality of logically closed and individually accessible subfiles at the time of migration, and a migration destination information storage means for storing information indicating a migration destination of the subfile. , A migration means for transferring the subfile from the original file as the migration source to the pool file based on the migration destination information from the migration destination information storage means, and the original information for storing the original information indicating the migration source by the migration means Storage means, and based on the original information from the original information storage means, when the access to the subfile is resumed, the pool file means stores the original file in the original file. And a recall means for recalling a file.
JP63023177A 1988-02-02 1988-02-02 File migration / recall method Expired - Fee Related JPH0789332B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63023177A JPH0789332B2 (en) 1988-02-02 1988-02-02 File migration / recall method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63023177A JPH0789332B2 (en) 1988-02-02 1988-02-02 File migration / recall method

Publications (2)

Publication Number Publication Date
JPH01197854A JPH01197854A (en) 1989-08-09
JPH0789332B2 true JPH0789332B2 (en) 1995-09-27

Family

ID=12103355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63023177A Expired - Fee Related JPH0789332B2 (en) 1988-02-02 1988-02-02 File migration / recall method

Country Status (1)

Country Link
JP (1) JPH0789332B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004318743A (en) 2003-04-21 2004-11-11 Hitachi Ltd File transfer device
US11921325B2 (en) 2020-02-27 2024-03-05 Taiwan Semiconductor Manufacturing Company Limited Semiconductor device and method of making

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58194188A (en) * 1982-05-07 1983-11-12 Mitsubishi Electric Corp Accessing mechanism of random file
JPS6010360A (en) * 1983-06-30 1985-01-19 Fujitsu Ltd Stack form managing system of edited data in editing processing
US4638424A (en) * 1984-01-12 1987-01-20 International Business Machines Corporation Managing data storage devices connected to a digital computer
JPS61101851A (en) * 1984-10-24 1986-05-20 Nec Corp Dynamic resource managing system of buffer memory area

Also Published As

Publication number Publication date
JPH01197854A (en) 1989-08-09

Similar Documents

Publication Publication Date Title
US6697846B1 (en) Shared file system
US5564037A (en) Real time data migration system and method employing sparse files
KR100951107B1 (en) Method for managing files for optimal performance
JP5066415B2 (en) Method and apparatus for file system virtualization
US8392685B2 (en) Arrangements for managing metadata of an integrated logical unit including differing types of storage media
US7765189B2 (en) Data migration apparatus, method, and program for data stored in a distributed manner
JP4241911B2 (en) Information processing system
JP3017892B2 (en) File management device
WO2016187974A1 (en) Storage space management method and apparatus
JPH0820990B2 (en) Storage management system that spans different file systems
JPH06318168A (en) Hierarchical data storage management device, method and its network
JP2003187203A (en) File allocation table management by memory controller for memory card
US10387043B2 (en) Writing target file including determination of whether to apply duplication elimination
EP3436973A1 (en) File system support for file-level ghosting
JPH0789332B2 (en) File migration / recall method
JPH10320261A (en) File storage management system
JPS60140448A (en) Storage hierarchy control system
JP2001005702A (en) Computer system
CA2216723C (en) Real time data migration system and method employing sparse files
JP2000155707A (en) File system
JPH0793192A (en) File managing method
JPH07160566A (en) Network file managing device
JPH05250242A (en) Computer system for distributed management of file information
JPH09146811A (en) File management device
JPH07200375A (en) File common use system in computer

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees