JP3386823B2 - File management method and device - Google Patents

File management method and device

Info

Publication number
JP3386823B2
JP3386823B2 JP06435291A JP6435291A JP3386823B2 JP 3386823 B2 JP3386823 B2 JP 3386823B2 JP 06435291 A JP06435291 A JP 06435291A JP 6435291 A JP6435291 A JP 6435291A JP 3386823 B2 JP3386823 B2 JP 3386823B2
Authority
JP
Japan
Prior art keywords
file
management information
space management
space
expansion
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
JP06435291A
Other languages
Japanese (ja)
Other versions
JPH04299748A (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.)
Hitachi Software Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
Hitachi Ltd
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 Hitachi Software Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP06435291A priority Critical patent/JP3386823B2/en
Priority to US07/857,657 priority patent/US5479655A/en
Priority to DE4210126A priority patent/DE4210126C2/en
Priority to KR1019920005132A priority patent/KR950006173B1/en
Publication of JPH04299748A publication Critical patent/JPH04299748A/en
Priority to US08/469,997 priority patent/US5604900A/en
Application granted granted Critical
Publication of JP3386823B2 publication Critical patent/JP3386823B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F2003/0697Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers device management, e.g. handlers, drivers, I/O schedulers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99951File or database maintenance
    • Y10S707/99956File allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータの総量及び定期的
な増加量を事前に知ることができない情報管理システム
全般、特に多数のデータ追加、照会が競合するオンライ
ンデータベースシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information management system in general in which the total amount of data and a periodic increase amount cannot be known in advance, and more particularly to an online database system in which a large number of data additions and inquiries compete.

【0002】[0002]

【従来の技術】データの追加を繰り返すことによりファ
イルがスペース不足となった場合、ファイル管理システ
ムはファイルのスペース不足エラーを業務処理プログラ
ムに報告し、業務処理プログラムはその業務を中断す
る。このため、ファイル管理者はそのファイルをオンラ
イン業務から切離し、スペースを増やして再度割当て直
した後にデータを格納し直すか、スペースの追加割当て
を行う必要があった。こうしたファイル拡張手段におい
てはオンライン業務を中断しなければならないため、フ
ァイルの使用状況を常に監視してデータ量増加の予測を
行い、夜間等の適当な機会に人手によってファイル拡張
する必要があり、運用の煩雑さが問題であった。また、
オンライン業務のサービス時間が夜間や休日にも拡大さ
れる傾向があり、ファイル拡張の適当な機会が失われつ
つある。
2. Description of the Related Art When a file runs out of space due to repeated data addition, a file management system reports a file space shortage error to a business processing program, and the business processing program interrupts its business. For this reason, the file manager has to separate the file from the online work, increase the space, reallocate the data, and then store the data again, or allocate the additional space. Since it is necessary to interrupt online business in such file expansion means, it is necessary to constantly monitor the usage status of the file and predict the increase in data volume, and manually expand the file at an appropriate time such as at night. The complexity was a problem. Also,
The service time of online business tends to be extended to nighttime and holidays, and appropriate opportunities for file expansion are being lost.

【0003】そこで、ファイルが空きスペース不足状態
となった場合又は空きスペース不足状態となる前に、フ
ァイル管理システムが自動的に一定量のファイル拡張を
行うという方法がある。例えば、特開平2−61732
に示されるように、自動的にファイルを拡張するための
使用率のしきい値と自動拡張する媒体名をあらかじめ登
録しておき、使用率のしきい値を超えると自動的にファ
イルを追加割当てする方法がある。すなわち、ファイル
の使用状況を自動的に管理し、ファイルの割当て時に指
定した使用率のしきい値を超えた場合に自動的にファイ
ルを拡張する手段、又はファイル拡張の必要性を動的に
問い合わせる手段と動的な指定によりファイルを拡張す
る手段によって、オンライン業務を停止することなくフ
ァイルを拡張することが可能になる。
Therefore, there is a method in which a file management system automatically expands a certain amount of files when a file is in a shortage of free space or before it is in a shortage of free space. For example, Japanese Patent Laid-Open No. 2-61732
As shown in, the usage threshold for automatically expanding files and the media name for automatic expansion are registered in advance, and when the usage threshold is exceeded, additional files are automatically allocated. There is a way to do it. In other words, it automatically manages the usage status of files and dynamically inquires about the means for expanding files when the usage threshold specified during file allocation is exceeded, or the need for file expansion. The means and the means for dynamically expanding the file allow the file to be expanded without stopping the online business.

【0004】[0004]

【発明が解決しようとする課題】かかる従来の方式にお
いては、次のような課題がある。
The conventional method has the following problems.

【0005】すなわち、ファイルの入出力操作は該ファ
イル対応にメモリ中に保持するスペース管理情報を元に
行うため、スペース管理情報に変更が生じる拡張処理中
は該ファイルへのすべての入出力操作を待たせる必要が
ある。このため、ファイルの拡張処理中は一時的に該フ
ァイルを使用する業務に待ち状態が発生し、オンライン
レスポンスが悪化してしまう。
That is, since the input / output operation of the file is performed based on the space management information held in the memory corresponding to the file, all the input / output operations to the file are performed during the expansion process in which the space management information is changed. You need to wait. For this reason, during the expansion processing of a file, a business that uses the file temporarily waits, and the online response deteriorates.

【0006】また、別のファイルを追加割当てして複数
のファイルを全体で一つの論理的なファイルと見せかけ
る方式では、既存ファイルへの入出力処理を続行しなが
ら別のファイルを追加割当てできるが、拡張のたびに物
理的なファイルの数が増え、それらを管理するメモリ量
やファイル全体のオープン処理回数の増加を招くと共に
運用が複雑化してしまい、さらに、業務処理プログラム
からのレコード格納命令やファイル拡張命令の延長でフ
ァイルの拡張処理を行うと、該業務処理中にファイル拡
張処理のオーバヘッドが付加され、該業務のレスポンス
が悪化する。
Further, in the method in which another file is additionally allocated and a plurality of files are made to appear as one logical file as a whole, another file can be additionally allocated while continuing the input / output processing to the existing file. With each expansion, the number of physical files increases, which leads to an increase in the amount of memory that manages them and the number of open processes for the entire file, which complicates operation. In addition, record storage commands and files from business processing programs When the file extension process is performed by extension of the extension command, the overhead of the file extension process is added during the task process, and the response of the task deteriorates.

【0007】一方、ファイル拡張の契機を使用率のしき
い値で判断すると次のような課題がある。
On the other hand, if the trigger of file expansion is judged by the threshold value of the usage rate, there are the following problems.

【0008】ファイルを拡張することによって全体のフ
ァイル容量が増加するため、使用率のしきい値に達した
時点の残り空きスペース量に比べ、拡張割当てスペース
量が少ないと、拡張を始める契機が拡張を行う度に早ま
り、本来不要な拡張を行って媒体のスペースを無駄に占
有してしまう。逆に、使用率のしきい値に達した時点の
残り空きスペース量に比べ拡張割当てスペース量が多い
と、拡張が完了する前に残り空きスペースを使いきって
しまう可能性が高まり、拡張が完了するまでは業務が待
ち状態になってしまう。
Since the entire file capacity is increased by expanding the file, if the expansion allocated space amount is smaller than the remaining free space amount at the time when the usage threshold is reached, the trigger to start the expansion increases. Each time is performed, the originally unnecessary expansion is performed and the space of the medium is unnecessarily occupied. On the other hand, if the expansion allocation space amount is larger than the remaining free space amount when the usage threshold is reached, there is a high possibility that the remaining free space will be used up before the expansion is completed, and the expansion will be completed. The work will be in a waiting state until you do it.

【0009】さらに、一つのファイルを複数のファイル
管理システムで共用している場合には次のような課題が
ある。
Further, when one file is shared by a plurality of file management systems, there are the following problems.

【0010】すなわち、あるファイル管理システムの元
で拡張されたファイルのスペース管理情報が別のファイ
ル管理システムの保持するスペース管理情報と不一致状
態となり、拡張スペース内のレコードがアクセスできな
くなったり、既に拡張済みのファイルを不当に再拡張し
たりしてしまう。
That is, the space management information of a file expanded under one file management system does not match the space management information held by another file management system, and the record in the expanded space becomes inaccessible or already expanded. It will unreasonably re-extend existing files.

【0011】さらに、自動拡張されたファイルやファイ
ル拡張処理そのものに何らかの障害が発生した場合には
次のような課題がある。
Further, when some trouble occurs in the automatically expanded file or the file expansion process itself, there are the following problems.

【0012】すなわち、一般にはファイル管理システム
が最新のファイルバックアップコピーにそれ以降の該フ
ァイルへのレコード更新、追加、削除履歴情報を入力し
て該ファイルの更新、追加、削除処理を時系列に再現し
てファイルを回復する手段を提供しており、自動拡張し
たファイルについても同様の手段で回復できる必要があ
る。また、ファイルの拡張処理中に何らかの障害が発生
した場合、該ファイル全体を使用禁止状態にしてしまう
と、拡張前の既存スペース内での業務も全面停止となっ
てしまう。
That is, generally, the file management system inputs the record update, addition, and deletion history information for the file after that into the latest file backup copy and reproduces the update, addition, and deletion processing of the file in time series. Then, a means for recovering the file is provided, and it is necessary to be able to recover the automatically expanded file by the same means. Further, if any failure occurs during the expansion processing of the file, if the entire file is disabled, the work in the existing space before the expansion is also completely stopped.

【0013】本発明の一つの目的は、業務処理を中断す
ることなくファイルを自動拡張できる方法を提供するに
ある。
An object of the present invention is to provide a method capable of automatically expanding a file without interrupting business processing.

【0014】本発明の他の目的は、業務処理を続行しな
がら、業務処理に影響を与えずにファイルを自動拡張で
きる方法を提供するにある。
Another object of the present invention is to provide a method capable of automatically expanding a file without affecting the business processing while continuing the business processing.

【0015】本発明のさらに他の目的は、媒体のスペー
ス効率を最適に保ちながらファイルを自動拡張できる方
法を提供するにある。
Still another object of the present invention is to provide a method capable of automatically expanding a file while keeping the space efficiency of the medium optimum.

【0016】[0016]

【0017】[0017]

【0018】[0018]

【0019】[0019]

【課題を解決するための手段】上記目的を達成する一つ
の手段として、少なくとも新たなスペース管理情報が生
成されるまで、レコードの格納位置が既にメモリに格納
されているスペース管理情報の範囲内であるレコード
を、メモリに格納されたスペース管理情報に基づ
[Means for Solving the Problems] One for achieving the above object
As a means of, at least new space management information is generated.
The storage location of the record is already stored in memory until it is created
Records that are within the range of space management information
Based on the space management information stored in memory.

【0020】[0020]

【0021】[0021]

【0022】[0022]

【0023】[0023]

【作用】上記手段によれば、新たなスペース管理情報が
生成されるまでの間は、既に生成されたスペース管理情
報(現在のスペース管理情報)がメモリに残されてい
る。したがって、現在のスペース管理情報の範囲内での
レコードの格納処理が発生した場合に、現在のスペース
管理情報によりにレコードを格納すれば、ファイルの拡
張前の既存スペース内での業務処理を実行することがで
きる。つまり、ファイルを拡張する処理が行われていて
も、ファイルの拡張前の既存スペース内での業務処理を
実行することが可能となる。
According to the above means, new space management information
Until it is created, the space management information that has already been created is created.
Information (current space management information) is left in memory
It Therefore, within the current space management information
Current space when record storage processing occurs
Storing records according to management information will expand the file.
It is possible to execute business processing in the existing space before Zhang
Wear. In other words, the process of expanding the file is being performed
Also allows business processing in the existing space before file expansion.
It becomes possible to execute.

【0024】[0024]

【0025】[0025]

【0026】[0026]

【0027】[0027]

【0028】[0028]

【実施例】次に、本発明の実施例を図面に基づいて説明
する。
Embodiments of the present invention will now be described with reference to the drawings.

【0029】図1は本発明実施例の構成を示す図であ
る。本発明の実施例は、拡張割当てするスペース量及び
拡張を開始する残り空きスペース量等のファイル拡張情
報51を登録簿21に登録するファイル拡張情報登録手
段1と、業務処理プログラム31からのレコード操作要
求に従い、ファイル22へのレコードの格納及びファイ
ル22内に格納されたレコードの更新,削除,参照を行
うレコード操作手段2と、ファイル22のスペース管理
情報71と登録簿21のファイル拡張情報によりファイ
ル22の拡張契機を検出するファイル拡張契機検出手段
3と、ファイル拡張契機検出手段3からの連絡によりフ
ァイルの拡張要因となったプロセス61とは別のプロセ
ス(プロセス62)でファイル22の拡張を行うファイ
ル非同期拡張手段4と、ファイル22の拡張履歴を履歴
ファイル23に格納するファイル拡張履歴取得手段5
と、ファイル22の拡張が完了する前に空き領域を使い
果たしてしまった場合に、拡張が完了するまでレコード
の格納処理を待たせるファイル拡張完了待ち手段6と、
複数のファイル管理システム間で一つのファイルを共用
する構成において、他のファイル管理システムのもとで
拡張されたファイルのスペース管理情報43を自ファイ
ル管理システムのスペース管理情報42に伝達するファ
イル拡張情報通知手段7と、ファイル管理システムのス
ペース管理情報42を実際のファイルのスペース管理情
報71に強制的に合わせる動的ファイル情報整合化手段
8と、ファイル22の拡張処理中に障害が発生した場合
にファイル22の再拡張を抑止するファイル拡張禁止手
段9と、履歴ファイル23からファイル22の拡張状態
を調べて拡張処理の中断状態を検出するファイル拡張中
断検出手段10と、ファイル22の障害時にバックアッ
プファイル24と履歴ファイル23からファイル22を
回復する拡張ファイル回復手段11とを備える。
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. In the embodiment of the present invention, the file extension information registration means 1 for registering the file extension information 51 such as the amount of space to be extended-allocated and the remaining free space amount to start the extension to the register 21, and the record operation from the business processing program 31. According to the request, the record operation unit 2 stores the record in the file 22 and updates, deletes, and refers to the record stored in the file 22, and the space management information 71 of the file 22 and the file extension information of the register 21 The file 22 is expanded by a process (process 62) different from the file expansion trigger detection unit 3 that detects the expansion trigger of No. 22 and the process 61 that has caused the file expansion by the communication from the file expansion trigger detection unit 3. The file asynchronous extension means 4 and the extension history of the file 22 are stored in the history file 23. File extension history acquisition means 5
And a file extension completion waiting means 6 for making the record storage process wait until the extension is completed when the free space is used up before the extension of the file 22 is completed.
File extension information for transmitting the space management information 43 of a file extended under another file management system to the space management information 42 of its own file management system in a configuration in which one file is shared by a plurality of file management systems The notification means 7, the dynamic file information matching means 8 forcibly matching the space management information 42 of the file management system with the space management information 71 of the actual file, and when a failure occurs during the expansion processing of the file 22 A file extension prohibition unit 9 for suppressing the re-extension of the file 22, a file extension interruption detection unit 10 for checking the extension state of the file 22 from the history file 23 to detect the interruption state of the extension process, and a backup file when the file 22 fails. Extended file to recover file 22 from 24 and history file 23 And a le recovery unit 11.

【0030】次に、図1の実施例の各手段の動作を図2
から図14に示すフローチャートを用いて説明する。
Next, the operation of each means of the embodiment shown in FIG. 1 will be described with reference to FIG.
From now on, description will be made with reference to the flowchart shown in FIG.

【0031】図2は本発明実施例のファイル拡張情報登
録手段の処理手順を示すフローチャートである。図2を
用いてファイル拡張情報登録手段1の動作を説明する。
ファイル拡張情報51の登録を行う場合(102)ファイル
名,初期割当て量,拡張割当て量,割当て媒体名及び拡
張開始残空きスペース量等のファイル拡張情報(104)を
入力する(106)。入力したファイル定義情報は、編集し
て登録簿21に出力する(108)。ファイル拡張情報を読
み出す場合(110)、登録簿21からメモリに該当ファイ
ルの情報を入力する(112)。ファイル拡張情報を変更す
る場合(114)、変更情報(116)を入力する(118)。次
に、登録簿21からファイルの情報を入力し、変更情報
により内容を書き替えた後、登録簿21に出力する(12
0)。このとき、メモリ中に入力済みのファイル拡張情
報も同時に書き替える(122)。
FIG. 2 is a flow chart showing the processing procedure of the file extension information registration means of the embodiment of the present invention. The operation of the file extension information registration means 1 will be described with reference to FIG.
When the file extension information 51 is registered (102), the file extension information (104) such as the file name, initial allocation amount, expansion allocation amount, allocation medium name and expansion start remaining free space amount is input (106). The input file definition information is edited and output to the register 21 (108). When reading the file extension information (110), the information of the corresponding file is input from the register 21 to the memory (112). When changing the file extension information (114), the change information (116) is input (118). Next, the file information is input from the register 21, the contents are rewritten with the change information, and then output to the register 21 (12
0). At this time, the file extension information already entered in the memory is also rewritten (122).

【0032】図3は本発明実施例のレコード操作手段の
処理手順を示すフローチャートである。図3を用いてレ
コード操作手段2の動作を説明する。業務処理プログラ
ム31からレコードの操作命令が発行されると、レコー
ド操作手段2はレコード操作命令の受付け及び解析(20
2)を行った後、ファイル中のレコード格納位置を決定
する(204)。レコードの格納位置が現在のファイルスペ
ースの範囲内かどうかをスペース管理情報42によりチ
ェックする(206)。レコードの格納位置が現在のスペー
スの範囲を超えている場合、ファイル22が拡張されて
いるかどうかチェックする。このチェック方法は、まず
自動拡張を行うファイルであることを登録簿21に登録
されている情報で調べる(208)。自動拡張を行うファイ
ルでない場合、空きスペース不足のエラー(210)にな
る。自動拡張を行うファイルの場合、ファイル拡張完了
待ち手段6によりファイル拡張の完了を待つ(212)。複
数のファイル管理システムで共用しているファイルの場
合(214)、動的ファイル情報整合化手段8により他のフ
ァイル管理システムで拡張したファイルの情報を自シス
テムに反映する(216)。ファイルのスペースが大きくな
り、レコードの格納位置がファイルスペースの範囲内に
収まるようになった場合(218)、レコード操作処理を続
行する。次に、自動拡張を行うファイルであり、かつ拡
張禁止状態になっていないファイルの場合(220)、ファ
イル拡張契機検出手段3によりファイル22が拡張契機
であるかどうか調べる(222)。次に、入出力バッファ4
1を使ったレコードの操作を行う(224)。このとき、フ
ァイル22への入出力が必要であれば(226)現スペース
管理情報42を使用して入出力操作を行う(228)。
FIG. 3 is a flow chart showing the processing procedure of the record operating means of the embodiment of the present invention. The operation of the record operating means 2 will be described with reference to FIG. When a record operation command is issued from the business processing program 31, the record operation means 2 receives and analyzes the record operation command (20
After performing 2), the record storage position in the file is determined (204). The space management information 42 is used to check whether the record storage position is within the current file space range (206). If the storage position of the record exceeds the current space range, it is checked whether the file 22 is expanded. In this checking method, first, the file registered in the register 21 is checked for a file to be automatically expanded (208). If the file is not auto-extending, error (210) of insufficient free space occurs. When the file is to be automatically expanded, the file expansion completion waiting means 6 waits for the completion of the file expansion (212). In the case of a file shared by a plurality of file management systems (214), the information of the file expanded by another file management system by the dynamic file information matching means 8 is reflected in the own system (216). When the file space becomes large and the record storage position can be within the file space range (218), the record operation processing is continued. Next, in the case of a file that is automatically expanded and is not in the expansion prohibited state (220), the file expansion trigger detection means 3 checks whether the file 22 is an expansion trigger (222). Next, the input / output buffer 4
Operate the record using 1 (224). At this time, if input / output to / from the file 22 is required (226), input / output operation is performed using the current space management information 42 (228).

【0033】図4は本発明実施例のファイル拡張完了待
ち手段の処理手順を示すフローチャートである。図4を
用いてファイル拡張完了待ち手段6の動作を説明する。
まず、メモリ中でファイル22の拡張処理状態をチェッ
クする(602)。ファイル22が拡張処理中の場合は(60
4)、一定時間待った後(606)再度チェックする(60
2)。この繰返しにより、ファイル22の拡張が完了す
るのを待つ。
FIG. 4 is a flow chart showing the processing procedure of the file expansion completion waiting means of the embodiment of the present invention. The operation of the file expansion completion waiting means 6 will be described with reference to FIG.
First, the extension processing state of the file 22 is checked in the memory (602). If the file 22 is undergoing expansion processing (60
4) After waiting for a certain period of time (606), check again (60
2). By repeating this, the expansion of the file 22 is waited for.

【0034】図5は本発明実施例の動的ファイル情報整
合化手段の処理手順を示すフローチャートである。図5
を用いて動的ファイル情報整合化手段8の動作を説明す
る。まずファイル22のスペース管理情報71を媒体か
ら入力する(802)。次に、入力したスペース管理情報を
新たにメモリ中のスペース管理情報42として設定する
(804)。
FIG. 5 is a flow chart showing the processing procedure of the dynamic file information matching means of the embodiment of the present invention. Figure 5
The operation of the dynamic file information matching means 8 will be described using. First, the space management information 71 of the file 22 is input from the medium (802). Next, the input space management information is newly set as the space management information 42 in the memory (804).

【0035】図6は本発明実施例のファイル拡張契機検
出手段の第1例の処理手順を示すフローチャートであ
る。図6を用いてファイル拡張契機検出手段3の動作の
第1例を説明する。まず、スペース管理情報42により
ファイル22の空きスペース量を調べ(302)、拡張契機
とする残り空きスペース量以下であれば(304)、更にフ
ァイル22が拡張処理中であるかどうかチェックする(3
06)。拡張処理中でなければファイル22の拡張処理中
情報をメモリ中にセットし(308)、ファイル非同期拡張
手段4に拡張要求を行う(310)。
FIG. 6 is a flow chart showing the processing procedure of the first example of the file extension trigger detecting means of the embodiment of the present invention. A first example of the operation of the file extension trigger detection means 3 will be described with reference to FIG. First, the free space amount of the file 22 is checked by the space management information 42 (302), and if it is less than or equal to the remaining free space amount to be the trigger for expansion (304), it is further checked whether or not the file 22 is being expanded (3
06). If the extension processing is not in progress, the extension processing information of the file 22 is set in the memory (308) and an extension request is made to the file asynchronous extension means 4 (310).

【0036】図7は本発明実施例のファイル拡張契機検
出手段の第2例の処理手順を示すフローチャートであ
る。図7を用いてファイル拡張契機検出手段3の動作の
第2例を説明する。まず、スペース管理情報42により
ファイル22の空きスペース量を調べ(322)、拡張割当
て量以下であれば(324)、更にファイル22が拡張処理
中であるかどうかチェックする(326)。拡張処理中でな
ければファイル22の拡張処理中情報をメモリ中にセッ
トし(328)、ファイル非同期拡張手段4に拡張要求を行
う(330)。
FIG. 7 is a flowchart showing the processing procedure of the second example of the file expansion trigger detecting means of the embodiment of the present invention. A second example of the operation of the file extension trigger detecting means 3 will be described with reference to FIG. First, the free space amount of the file 22 is checked by the space management information 42 (322), and if it is less than or equal to the extended allocation amount (324), it is further checked whether or not the file 22 is being extended (326). If the extension processing is not in progress, the extension processing information of the file 22 is set in the memory (328) and an extension request is made to the file asynchronous extension means 4 (330).

【0037】図8は本発明実施例のファイル拡張契機検
出手段の第3例の処理手順を示すフローチャートであ
る。図8を用いてファイル拡張契機検出手段3の動作の
第3例を説明する。まず、拡張割当てスペース量から拡
張に要する時間を計算する(342)。次に、ファイル22
の使用済みスペース量を求める(344)。次に、旧使用済
みスペース量退避域に現在の使用済みスペース量を退避
する(346)。次に、スペース増加量の最大値を0に初期
化する(348)。次に、ファイル22の現在の使用済みス
ペース量を求める(350)。次に、現在の使用済みスペー
ス量をa,旧使用済みスペース量をbとした場合、a−
bをスペース増加量にセットする(352)。スペース増加
量がスペース増加量の最大値よりも大きくなったら(35
4)、スペース増加量の最大値にスペース増加量をセッ
トする(356)。次に、旧使用済みスペース量に現在の使
用済みスペース量をセットする(358)。ファイル管理シ
ステムが終了するまで(360)指定監視時間待った後(36
2)、ファイルの使用済みスペースを求める処理(350)か
ら繰り返す。このようにして、指定監視時間間隔でのス
ペース増加量の最大値を常に保持しておく。
FIG. 8 is a flow chart showing the processing procedure of the third example of the file extension trigger detecting means of the embodiment of the present invention. A third example of the operation of the file extension trigger detecting means 3 will be described with reference to FIG. First, the time required for expansion is calculated from the expanded allocation space amount (342). Then file 22
Determine the amount of used space in (344). Next, the current used space amount is saved in the old used space amount save area (346). Next, the maximum value of the space increase amount is initialized to 0 (348). Next, the current used space amount of the file 22 is calculated (350). Next, when the current used space amount is a and the old used space amount is b, a-
Set b to the space increment (352). When the space increase becomes larger than the maximum space increase (35
4) Set the space increment to the maximum space increment (356). Next, the old used space amount is set to the current used space amount (358). Wait the specified monitoring time until the file management system is closed (360) (36
2) Repeat from the process (350) for obtaining the used space of the file. In this way, the maximum value of the space increase amount in the designated monitoring time interval is always held.

【0038】一方、ファイル拡張契機の検出側(370)で
は、まずファイル22の空きスペース量を求める(37
2)。次に、指定監視時間をt,残り空きスペース量を
c,スペース増加量最大値をdとした場合、t×(c/
d)を残り空きスペースの使用完了予測時間にセットす
る(374)。残り空きスペースの使用完了予測時間が拡張
割当てスペース量の拡張時間以下になった場合(376)、
ファイル22が拡張処理中であるかどうかチェックする
(378)。拡張処理中でなければファイル22の拡張処理
中情報をメモリ中にセットし(380)、ファイル非同期拡
張手段4に拡張要求を行う(382)。
On the other hand, on the detection side (370) of the file expansion trigger, first, the free space amount of the file 22 is calculated (37
2). Next, when the designated monitoring time is t, the remaining free space amount is c, and the maximum space increase amount is d, t × (c /
(d) is set to the estimated completion time of the remaining free space (374). When the estimated completion time of the remaining free space is less than or equal to the expansion time of the expansion allocation space amount (376),
Check if file 22 is in the process of extension
(378). If the extension processing is not in progress, the extension processing information of the file 22 is set in the memory (380) and an extension request is made to the file asynchronous extension means 4 (382).

【0039】図9は本発明実施例のファイル非同期拡張
手段の処理手順を示すフローチャートである。図9を用
いてファイル非同期拡張手段4の動作を説明する。ファ
イルの拡張要求を受付けると(402)、まず、ファイル2
2が拡張禁止状態になっていないか調べる(404)。拡張
禁止状態になっている場合は何もせずに終了する。拡張
禁止状態になっていない場合は旧スペース管理情報があ
るか調べる(406)。旧スペース管理情報がある場合は、
旧スペース管理情報を使用中のレコード操作があるか調
べ(408)、使用中のレコード操作がない場合は旧スペー
ス管理情報を解放する(410)。次に、ファイル拡張履歴
取得手段5によりファイル拡張開始の履歴を取得する(4
12)。次に、ファイル拡張情報51で指定された拡張割
当て量に従ってファイル22を拡張する(414)。ファイ
ル22の拡張が失敗した場合(416)は、ファイル拡張禁
止手段9によりファイル22を拡張禁止状態にする(41
8)。ファイルの拡張が成功した場合(416)は、新スペ
ース管理情報43をメモリ中に作成した後(420)、専用
の入出力バッファ44を用いて拡張スペースの初期化
(フォーマットライト)を行う(422)。拡張スペースの
初期化が失敗した場合(424)は、ファイル22をファイ
ル拡張禁止手段9により拡張禁止状態にする(418)。次
に、ファイル拡張履歴取得手段5によりファイル拡張完
了の履歴を取得する(426)。次に、ファイル拡張情報通
知手段7によりスペース管理情報42を更新する(42
8)。
FIG. 9 is a flow chart showing the processing procedure of the file asynchronous extension means of the embodiment of the present invention. The operation of the file asynchronous extension means 4 will be described with reference to FIG. When a file extension request is received (402), first, file 2
It is checked whether or not 2 is in the extension prohibition state (404). If the expansion is prohibited, the process ends without doing anything. If it is not in the expansion prohibited state, it is checked whether there is old space management information (406). If you have old space management information,
The old space management information is checked to see if there is a record operation in use (408), and if there is no record operation in use, the old space management information is released (410). Next, the file extension start history is acquired by the file extension history acquisition means 5 (4
12). Next, the file 22 is expanded according to the expansion quota specified by the file expansion information 51 (414). If the extension of the file 22 fails (416), the file extension prohibiting means 9 puts the file 22 in the extension prohibited state (41).
8). If the file is successfully expanded (416), the new space management information 43 is created in the memory (420), and then the expansion space is initialized (format write) using the dedicated input / output buffer 44 (422). ). If the initialization of the expansion space has failed (424), the file 22 is set in the expansion prohibition state by the file expansion prohibition means 9 (418). Next, the file expansion history acquisition means 5 acquires the history of file expansion completion (426). Next, the file extension information notifying means 7 updates the space management information 42 (42
8).

【0040】図10は本発明実施例のファイル拡張情報
通知手段の処理手順を示すフローチャートである。図1
0を用いてファイル拡張情報通知手段7の動作を説明す
る。まず、現スペース管理情報42を旧スペース管理情
報とする(702)。次に、新スペース管理情報43を現ス
ペース管理情報42とする(704)。次に、メモリ中の拡
張処理中情報をリセットする(706)。
FIG. 10 is a flow chart showing the processing procedure of the file extension information notifying means of the embodiment of the present invention. Figure 1
The operation of the file extension information notifying means 7 will be described using 0. First, the current space management information 42 is set as the old space management information (702). Next, the new space management information 43 is set as the current space management information 42 (704). Next, the in-expansion processing information in the memory is reset (706).

【0041】図11は本発明実施例のファイル拡張履歴
取得手段の処理手順を示すフローチャートである。図1
1を用いてファイル拡張履歴取得手段5の動作を説明す
る。まず、ファイル拡張開始時の要求であるか、ファイ
ル拡張完了時の要求であるか、調べ(502)、ファイル拡
張開始時の要求であればファイルの総スペース量,拡張
開始位置情報及び拡張量を履歴ファイル23に出力する
(504)。ファイル拡張完了時の要求であれば、ファイル
の総スペース量及び拡張完了スペース量を履歴ファイル
23に出力する(506)。
FIG. 11 is a flow chart showing the processing procedure of the file extension history acquisition means of the embodiment of the present invention. Figure 1
The operation of the file extension history acquisition means 5 will be described using 1. First, it is checked whether it is a request at the start of file expansion or a request at the completion of file expansion (502). If it is a request at the start of file expansion, the total space amount of the file, the expansion start position information, and the expansion amount are Output to history file 23
(504). If it is a request at the time of completion of file expansion, the total space amount of the file and the expansion completed space amount are output to the history file 23 (506).

【0042】図12は本発明実施例のファイル拡張禁止
手段の処理手順を示すフローチャートである。図12を
用いてファイル拡張禁止手段9の動作を説明する。ファ
イルの拡張を禁止する場合、まず、拡張禁止情報をメモ
リ中にセットする(902)。次に、拡張禁止情報を履歴フ
ァイル23に出力する(904)。ファイルの拡張禁止状態
は、ファイルの割当てを解除した時点で同時に解除す
る。ファイルの割当てを解除する場合(920)、ファイル
の拡張が禁止状態になっていれば(922)、まず、メモリ
中の拡張禁止情報をリセットした後(924)、拡張禁止状
態の解除情報を履歴ファイル23に出力する(926)。そ
の後、ファイルの割当てを解除する(928)。
FIG. 12 is a flow chart showing the processing procedure of the file expansion inhibiting means of the embodiment of the present invention. The operation of the file extension prohibiting means 9 will be described with reference to FIG. When prohibiting expansion of a file, first, expansion prohibition information is set in the memory (902). Next, the extension prohibition information is output to the history file 23 (904). The file extension prohibition state is released at the same time when the file allocation is released. When deallocating a file (920), if file extension is in a prohibited state (922), first reset the extended prohibition information in the memory (924), and then release the extended prohibition release information. Output to file 23 (926). After that, the allocation of the file is released (928).

【0043】図13は本発明実施例のファイル拡張中断
検出手段の処理手順を示すフローチャートである。図1
3を用いてファイル拡張中断検出手段10の動作を説明
する。ファイル管理システムが異常終了した後の再開始
処理でのファイルのオープン時、まず、ファイル22の
オープンを行う(1002)。オープン処理が失敗した場合(1
004)、ファイル22をアクセス禁止とし(1006)、拡張フ
ァイル回復手段11により回復する(1008)。オープン処
理が成功した場合(1004)、履歴ファイル23からファイ
ル拡張,完了履歴を入力し(1010)、拡張開始履歴と拡張
完了履歴が対になっていなければ(1012)拡張処理が中断
していると判断し、ファイル拡張禁止手段9によりファ
イル22を拡張禁止状態にする(1014)。
FIG. 13 is a flow chart showing the processing procedure of the file extension interruption detecting means of the embodiment of the present invention. Figure 1
The operation of the file extension interruption detecting means 10 will be described with reference to FIG. When the file is opened in the restart process after the file management system abnormally ends, first, the file 22 is opened (1002). If the open process fails (1
004), access to the file 22 is prohibited (1006), and the extended file recovery means 11 recovers it (1008). If the open process is successful (1004), the file extension and completion history are input from the history file 23 (1010), and if the extension start history and the extension completion history are not paired (1012), the extension processing is interrupted. Then, the file extension prohibiting means 9 puts the file 22 in the extension prohibited state (1014).

【0044】図14は本発明実施例の拡張ファイル回復
手段の処理手順を示すフローチャートである。図14を
用いて拡張ファイル回復手段11の動作を説明する。ま
ず、バックアップファイルを新ボリュームにリロードす
る(1102)。次に、バックアップ取得時点以降の履歴情報
を履歴ファイル23の終端まで(1106)順次入力する(110
4)。入力した履歴情報がファイル拡張開始情報の場合(1
108)拡張表示をセットする(1109)。入力した履歴情報が
ファイル拡張完了情報の場合(1110)、拡張表示がセット
されていれば(1111)ファイル22に対して拡張完了スペ
ース量分のファイル拡張及び拡張領域の初期化を行った
後(1112)、拡張表示をリセットする(1113)。一方、拡張
表示がセットされていなければ(1111)、履歴情報エラー
とする(1114)。入力した履歴情報がレコードの更新後情
報であれば(1115)ファイル22に更新後情報を出力する
(1116)。
FIG. 14 is a flow chart showing the processing procedure of the extended file recovery means of the embodiment of the present invention. The operation of the extended file recovery means 11 will be described with reference to FIG. First, reload the backup file to the new volume (1102). Next, the history information after the backup is acquired is sequentially input to the end of the history file 23 (1106) (110
Four). If the entered history information is file extension start information (1
108) Set the extended display (1109). If the input history information is the file extension completion information (1110), and if the extension display is set (1111), after the file extension and the extension area are initialized for the file 22 by the extension completion space amount ( 1112) and the extended display is reset (1113). On the other hand, if the extended display is not set (1111), a history information error occurs (1114). If the input history information is the post-update information of the record, (1115) output the post-update information to the file 22.
(1116).

【0045】[0045]

【発明の効果】以上説明したように、ファイルを拡張す
る処理が行われていても、ファイルの拡張前の既存スペ
ース内での業務処理を実行することが可能となる。
As described above, the file is expanded.
File is being processed, the existing space before the file expansion
It becomes possible to execute business processing within the source.

【0046】さらに、複数のファイルシステム間で共用
されたファイルについても、システム間で矛盾なく自動
拡張できる。
Furthermore, even a file shared by a plurality of file systems can be automatically expanded without contradiction between the systems.

【0047】さらに、自動拡張されたファイル又は拡張
処理そのものに障害が発生しても、ファイルの回復又は
業務の縮退運転ができる。
Further, even if a failure occurs in the automatically expanded file or the expansion process itself, the file can be recovered or the operation can be reduced.

【0048】さらに、ファイルへの大量データの格納処
理、ファイルのつめかえ処理、及びファイルの移行処理
において必要とするファイルの総スペース量の正確な見
積り計算が不要となる。
Further, it is not necessary to accurately calculate the total amount of file space required for storing a large amount of data in a file, refilling a file, and migrating a file.

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

【図1】本発明実施例の各手段の構成を示す図、FIG. 1 is a diagram showing a configuration of each means of an embodiment of the present invention,

【図2】本発明実施例のファイル拡張情報登録手段の処
理手順を示すフローチャート、
FIG. 2 is a flowchart showing a processing procedure of a file extension information registration means of the embodiment of the present invention,

【図3】本発明実施例のレコード操作手段の処理手順を
示すフローチャート、
FIG. 3 is a flowchart showing the processing procedure of the record operating means of the embodiment of the present invention,

【図4】本発明実施例のファイル拡張完了待ち手段の処
理手順を示すフローチャート、
FIG. 4 is a flowchart showing a processing procedure of a file extension completion waiting means of the embodiment of the present invention;

【図5】本発明実施例の動的ファイル情報整合化手段の
処理手順を示すフローチャート、
FIG. 5 is a flowchart showing a processing procedure of a dynamic file information matching means of an embodiment of the present invention,

【図6】本発明実施例のファイル拡張契機検出手段の第
1例の処理手順を示すフローチャート、
FIG. 6 is a flowchart showing a processing procedure of a first example of the file expansion trigger detection means of the embodiment of the present invention;

【図7】本発明実施例のファイル拡張契機検出手段の第
2例の処理手順を示すフローチャート、
FIG. 7 is a flowchart showing a processing procedure of a second example of the file extension trigger detection means of the embodiment of the present invention;

【図8】本発明実施例のファイル拡張契機検出手段の第
3例の処理手順を示すフローチャート、
FIG. 8 is a flowchart showing a processing procedure of a third example of the file extension trigger detection means of the embodiment of the present invention;

【図9】本発明実施例のファイル非同期拡張手段の処理
手順を示すフローチャート、
FIG. 9 is a flowchart showing the processing procedure of the file asynchronous extension means of the embodiment of the present invention;

【図10】本発明実施例のファイル拡張情報通知手段の
処理手順を示すフローチャート、
FIG. 10 is a flowchart showing a processing procedure of a file extension information notifying unit according to the embodiment of the present invention;

【図11】本発明実施例のファイル拡張履歴取得手段の
処理手順を示すフローチャート、
FIG. 11 is a flowchart showing a processing procedure of a file extension history acquisition unit according to the embodiment of the present invention;

【図12】本発明実施例のファイル拡張禁止手段の処理
手順を示すフローチャート、
FIG. 12 is a flow chart showing the processing procedure of the file extension prohibition means of the embodiment of the present invention;

【図13】本発明実施例のファイル拡張中断検出手段の
処理手順を示すフローチャート、
FIG. 13 is a flowchart showing a processing procedure of the file extension interruption detecting means of the embodiment of the present invention;

【図14】本発明実施例の拡張ファイル回復手段の処理
手順を示すフローチャート。
FIG. 14 is a flowchart showing the processing procedure of the extended file recovery means according to the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1…ファイル拡張情報登録手段, 2…レコード操作手段, 3…ファイル拡張契機検出手段, 4…ファイル非同期拡張手段, 5…ファイル拡張履歴取得手段, 6…ファイル拡張完了待ち手段, 7…ファイル拡張情報通知手段, 8…動的ファイル情報整合化手段, 9…ファイル拡張禁止手段, 10…ファイル拡張中断検出手段, 11…拡張ファイル回復手段, 21…登録簿, 22…ファイル, 23…履歴ファイル, 24…バックアップファイル, 31…業務処理プログラム, 41…入出力バッファ, 42…スペース管理情報, 43…スペース管理情報, 44…入出力バッファ, 51…ファイル拡張情報, 61…プロセス, 62…プロセス, 71…スペース管理情報 1. File extension information registration means, 2 ... Record operation means, 3 ... File expansion trigger detection means, 4 ... File asynchronous extension means, 5: File extension history acquisition means, 6 ... File expansion completion waiting means, 7 ... File extension information notifying means, 8 ... Dynamic file information matching means, 9: File expansion prohibition means, 10 ... File extension interruption detecting means, 11 ... Extended file recovery means, 21 ... Register, 22 ... file, 23 ... history file, 24 ... backup file, 31 ... Business processing program, 41 ... Input / output buffer, 42 ... Space management information, 43 ... Space management information, 44 ... I / O buffer, 51 ... file extension information, 61 ... Process, 62 ... Process, 71 ... Space management information

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岩本 孝寿 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株 式会社内 (72)発明者 山口 浩太 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株 式会社内 (72)発明者 村形 靖史 神奈川県横浜市中区尾上町6丁目81番地 日立ソフトウェアエンジニアリング株 式会社内 (56)参考文献 特開 平2−310726(JP,A) 特開 平2−61732(JP,A) 特開 平3−53350(JP,A) 特開 平2−216556(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Takatoshi Iwamoto 6-81 Onoe-cho, Naka-ku, Yokohama-shi, Kanagawa Hitachi Software Engineering Co., Ltd. (72) Inventor Kota Yamaguchi 6-chome, Onou-cho, Naka-ku, Yokohama-shi, Kanagawa 81 In Hitachi Software Engineering Co., Ltd. (72) Inventor Yasushi Muragata 6-81 Onoue-cho, Naka-ku, Yokohama-shi, Kanagawa Hitachi Software Engineering Co., Ltd. (56) Reference JP-A-2-310726 (JP, A) JP-A-2-61732 (JP, A) JP-A-3-53350 (JP, A) JP-A-2-216556 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) ) G06F 12/00

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】記憶されたファイルの格納可能範囲を示す
スペース管理情報を記憶し、該スペース管理情報に基づ
いてレコードを該ファイルへ格納するステップと、 予め定められた割り当てスペース量に基づいたファイル
の拡張が必要な場合にファイルの拡張処理中かを判定
し、該ファイルが拡張処理中である場合は該ファイルの
拡張が終了するまで待ち、該ファイルの拡張が終了した
後に該拡張されたファイルの格納可能範囲を示すスペー
ス管理情報を生成し、該ファイルが拡張処理中でない場
合は、前記予め定められた割り当てスペース量に基づい
て該ファイルを拡張して該ファイルの格納可能範囲を示
すスペース管理情報を生成し記憶するステップと、 少なくとも前記ファイル拡張後のスペース管理情報が生
成されるまで、格納位置が前記記憶したスペース管理情
報の範囲内であるレコードを前記記憶したスペース管理
情報に基づいて格納するステップとを有することを特徴
とするファイル管理方法。
1. A step of storing space management information indicating a storable range of the stored file, and storing a record in the file based on the space management information , and a file based on a predetermined allocation space amount. If it is necessary to expand the file, it is determined whether the file is being expanded. If the file is being expanded, wait until the expansion of the file is completed, and the expansion of the file is completed.
After that, space management information indicating the storable range of the expanded file is generated, and if the file is not undergoing expansion processing, the file is expanded based on the predetermined allocated space amount and the file is stored. Generating and storing space management information indicating a possible range; and storing the record whose storage position is within the range of the stored space management information at least until the space management information after the file extension is generated. And a step of storing the file based on management information.
【請求項2】ファイルの格納可能範囲を示す第1のスペ
ース管理情報を記憶し、該スペース管理情報に基づいて
レコードを該ファイルに格納するレコード格納ステップ
と、 予め定められた割り当てスペース量に基づいた前記ファ
イルの拡張が必要な場合に該ファイルが拡張処理中かを
判定し、該ファイルが拡張処理中である場合は該ファイ
ルの拡張が終了するまで待ち、該ファイルの拡張が終了
した後に該ファイルの格納可能範囲を示す第2のスペー
ス管理情報を生成し、該ファイルが拡張処理中でない場
合は、前記予め定められた割り当てスペース量に基づい
て該ファイルを拡張して該ファイルの格納可能範囲を示
す第2のスペース管理情報を生成するファイル拡張ステ
ップと、 前記第2のスペース管理情報を第1のスペース管理情報
とするファイル拡張情報通知ステップと、 前記ファイル拡張ステップの実行中に、格納位置が前記
第1のスペース管理情報の範囲内であるレコードを前記
第1のスペース管理情報に基づいてファイルへ格納する
レコード操作ステップとを有することを特徴とするファ
イル管理方法。
2. A record storing step of storing first space management information indicating a storable range of a file, and storing a record in the file based on the space management information, and based on a predetermined allocated space amount. When it is necessary to expand the file, it is determined whether the file is being expanded. If the file is being expanded, wait until the expansion of the file is completed, and the expansion of the file is completed.
After that, the second space management information indicating the storable range of the file is generated, and if the file is not being expanded, the file is expanded based on the predetermined allocated space amount and the A file extension step of generating second space management information indicating a storable range, a file extension information notification step of using the second space management information as the first space management information, and during execution of the file extension step. A record operation step of storing a record whose storage position is within the range of the first space management information into a file based on the first space management information.
【請求項3】前記ファイル拡張ステップは、前記第1の
スペース管理情報から求めた空きスペース量が予め定め
られたスペース量以下の場合に、予め定められた割り当
てスペース量に基づいて前記ファイルの格納可能範囲を
示す第2のスペース管理情報を生成することを特徴とす
る請求項2記載のファイル管理方法。
3. The file expanding step, when the free space amount obtained from the first space management information is equal to or smaller than a predetermined space amount, stores the file based on a predetermined allocated space amount. The file management method according to claim 2, wherein second space management information indicating a possible range is generated.
【請求項4】前記ファイル拡張情報通知ステップは、前
記第1のスペース管理情報を第3のスペース管理情報と
し、前記第2のスペース管理情報を前記第1のスペース
管理情報とし、 前記ファイル拡張ステップは、前記第3のスペース管理
情報が使用されていない場合に、当該第3のスペース管
理情報を解放し、予め定められた割り当てスペース量に
基づいてファイルの格納可能範囲を示す第2のスペース
管理情報を生成することを特徴とする請求項2又は3記
載のファイル管理方法。
4. The file extension information notifying step uses the first space management information as third space management information, the second space management information as the first space management information, and the file expansion step. When the third space management information is not used, the third space management information is released, and the second space management indicating the storable range of the file based on the predetermined allocated space amount. The file management method according to claim 2, wherein the information is generated.
【請求項5】記憶されたファイルの格納可能範囲を示す
スペース管理情報を記憶し、該スペース管理情報に基づ
いてレコードを該ファイルに格納する手段と、 予め定められた割り当てスペース量に基づいた前記ファ
イルの拡張が必要な場合に該ファイルが拡張処理中かを
判定し、該ファイルが拡張処理中である場合は該ファイ
ルの拡張が終了するまで待ち、該ファイルの拡張が終了
した後に該ファイルの格納可能範囲を示すスペース管理
情報を生成し、該ファイルが拡張処理中でない場合は、
該ファイルが拡張処理中でない場合は、前記予め定めら
れた割り当てスペース量に基づいて該ファイルを拡張し
て該ファイルの格納可能範囲を示すスペース管理情報を
生成して記憶する手段と、 少なくとも前記ファイル拡張後のスペース管理情報が生
成されるまで、格納位置が前記記憶したスペース管理情
報の範囲内であるレコードを前記記憶したスペース管理
情報に基づいて格納する手段とを備えたことを特徴とす
るファイル管理装置。
5. A means for storing space management information indicating a storable range of the stored file, and storing a record in the file based on the space management information; and a means for storing a record based on a predetermined allocation space amount. When the file needs to be expanded, it is determined whether the file is being expanded. If the file is being expanded, wait until the expansion of the file is completed, and the expansion of the file is completed.
After that, space management information indicating the storable range of the file is generated, and if the file is not undergoing expansion processing,
If the file is not being expanded, a means for expanding the file based on the predetermined allocated space amount to generate and store space management information indicating a storable range of the file, and at least the file. A file having means for storing a record whose storage position is within the stored space management information until the expanded space management information is generated, based on the stored space management information. Management device.
【請求項6】ファイルの格納可能範囲を示す第1のスペ
ース管理情報を記憶し、該スペース管理情報に基づいて
レコードをファイルに格納する手段と、 予め定められた割り当てスペース量に基づいたファイル
の拡張が必要な場合にファイルの拡張処理中かを判定
し、該ファイルが拡張処理中である場合は該ファイルの
拡張が終了するまで待ち、該ファイルの拡張が終了した
後に該ファイルの格納可能範囲を示す第2のスペース管
理情報を生成し、該ファイルが拡張処理中でない場合
、前記予め定められた割り当てスペース量に基づいて
該ファイルを拡張して該ファイルの格納可能範囲を示す
第2のスペース管理情報を生成するファイル拡張手段
と、 前記第2のスペース管理情報を第1のスペース管理情報
とするファイル拡張情報通知手段と、 前記ファイル拡張手段の動作中に、格納位置が前記第1
のスペース管理情報の範囲内であるレコードを前記第1
のスペース管理情報に基づいてファイルへ格納するレコ
ード操作手段とを備えたこと特徴とするファイル管理装
置。
6. A means for storing first space management information indicating a storable range of the file and storing a record in the file based on the space management information, and a means for storing the file based on a predetermined allocation space amount. When expansion is required, it is determined whether the file is being expanded. If the file is being expanded, wait until the expansion of the file ends, and the expansion of the file ends.
When the second space management information indicating the storable range of the file is generated later and the file is not undergoing expansion processing
Includes the file extension means for generating a second space management information indicating the storage range of the file to extend the file based on the allocation amount of space said predetermined, the second space management information first File extension information notifying means for setting the space management information of No. 1;
Records that are within the range of the space management information of
And a record operating means for storing the file in a file based on the space management information of the file.
JP06435291A 1991-03-28 1991-03-28 File management method and device Expired - Fee Related JP3386823B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP06435291A JP3386823B2 (en) 1991-03-28 1991-03-28 File management method and device
US07/857,657 US5479655A (en) 1991-03-28 1992-03-26 Method and system for use in an on-line database system for dynamically expanding a file without suppression of job execution
DE4210126A DE4210126C2 (en) 1991-03-28 1992-03-27 Method for dynamic file extension in an online database system and device for carrying out the method
KR1019920005132A KR950006173B1 (en) 1991-03-28 1992-03-28 Dynamic file extention method and system in on-line database system
US08/469,997 US5604900A (en) 1991-03-28 1995-06-06 Method and system for dynamically and asynchronously expanding a file in a on-line database system without suppression of job execution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06435291A JP3386823B2 (en) 1991-03-28 1991-03-28 File management method and device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2002205000A Division JP2003036189A (en) 2002-07-15 2002-07-15 Method and device for managing data storage area

Publications (2)

Publication Number Publication Date
JPH04299748A JPH04299748A (en) 1992-10-22
JP3386823B2 true JP3386823B2 (en) 2003-03-17

Family

ID=13255773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06435291A Expired - Fee Related JP3386823B2 (en) 1991-03-28 1991-03-28 File management method and device

Country Status (4)

Country Link
US (2) US5479655A (en)
JP (1) JP3386823B2 (en)
KR (1) KR950006173B1 (en)
DE (1) DE4210126C2 (en)

Families Citing this family (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5778424A (en) * 1993-04-30 1998-07-07 Avsys Corporation Distributed placement, variable-size cache architecture
US5809224A (en) * 1995-10-13 1998-09-15 Compaq Computer Corporation On-line disk array reconfiguration
US5928638A (en) * 1996-06-17 1999-07-27 Systemix, Inc. Methods for gene transfer
US5893920A (en) * 1996-09-30 1999-04-13 International Business Machines Corporation System and method for cache management in mobile user file systems
US6178429B1 (en) * 1997-11-26 2001-01-23 Cisco Technology, Inc. Mechanism for ensuring SCM database consistency on multi-part operation boundaries
US6996561B2 (en) 1997-12-21 2006-02-07 Brassring, Llc System and method for interactively entering data into a database
US5999939A (en) * 1997-12-21 1999-12-07 Interactive Search, Inc. System and method for displaying and entering interactively modified stream data into a structured form
US6247024B1 (en) 1998-09-25 2001-06-12 International Business Machines Corporation Method and system for performing deferred file removal in a file system
US6434678B1 (en) * 1999-02-12 2002-08-13 Gtp, Inc. Method for data storage organization
US6484224B1 (en) 1999-11-29 2002-11-19 Cisco Technology Inc. Multi-interface symmetric multiprocessor
US6526418B1 (en) * 1999-12-16 2003-02-25 Livevault Corporation Systems and methods for backing up data files
US6847984B1 (en) * 1999-12-16 2005-01-25 Livevault Corporation Systems and methods for backing up data files
US6785679B1 (en) * 2000-03-29 2004-08-31 Brassring, Llc Method and apparatus for sending and tracking resume data sent via URL
US6751635B1 (en) * 2000-08-18 2004-06-15 Network Appliance, Inc. File deletion and truncation using a zombie file space
US6513043B1 (en) 2000-09-01 2003-01-28 Syntricity, Inc. System and method for storing, retrieving, and analyzing characterization data
DE10047505A1 (en) * 2000-09-18 2002-04-04 Thomas Werner Ind Elektronik Protecting storage of data e.g. for video monitoring of cash machines or self-service petrol pumps, by using dynamic storage expansion to protect excess data when storage capacity has been reached
JP2003173625A (en) * 2001-12-04 2003-06-20 Hitachi Ltd Method and apparatus for file conversion, and file generation apparatus
US7349908B2 (en) * 2002-02-21 2008-03-25 International Business Machines Corporation Method for specifying a dynamic construct in a storage management system
JP4085695B2 (en) * 2002-05-24 2008-05-14 日本電気株式会社 Backup apparatus, backup method, and backup evaluation program
US7103612B2 (en) * 2002-08-01 2006-09-05 Oracle International Corporation Instantiation of objects for information-sharing relationships
US7031974B1 (en) 2002-08-01 2006-04-18 Oracle International Corporation Replicating DDL changes using streams
US6889231B1 (en) * 2002-08-01 2005-05-03 Oracle International Corporation Asynchronous information sharing system
US20050055226A1 (en) * 2003-09-04 2005-03-10 Mark Dane Method and apparatus for recruitment process management
US7225208B2 (en) 2003-09-30 2007-05-29 Iron Mountain Incorporated Systems and methods for backing up data files
JP4435588B2 (en) * 2004-01-30 2010-03-17 株式会社日立製作所 Storage system
ATE515736T1 (en) * 2004-02-25 2011-07-15 Research In Motion Ltd SYSTEM AND METHOD FOR MEMORY MANAGEMENT OF A MOBILE TERMINAL
US7680793B2 (en) * 2005-10-07 2010-03-16 Oracle International Corporation Commit-time ordered message queue supporting arbitrary read and dequeue patterns from multiple subscribers
US7801856B2 (en) * 2006-08-09 2010-09-21 Oracle International Corporation Using XML for flexible replication of complex types
JP5397782B2 (en) * 2008-05-08 2014-01-22 日本電気株式会社 Business process management apparatus, business process management method, and business process management program
US10657053B2 (en) 2017-03-31 2020-05-19 Kyocera Document Solutions Inc. Memory allocation techniques for filtering software
KR20220139684A (en) * 2021-04-08 2022-10-17 삼성전자주식회사 Method for managing storage space and electronic device supporting the same

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4189773A (en) * 1974-07-03 1980-02-19 General Electric Company On-line memory space allocation
US4020466A (en) * 1974-07-05 1977-04-26 Ibm Corporation Memory hierarchy system with journaling and copy back
US4258418A (en) * 1978-12-28 1981-03-24 International Business Machines Corporation Variable capacity data buffer system
US4445170A (en) * 1981-03-19 1984-04-24 Zilog, Inc. Computer segmented memory management technique wherein two expandable memory portions are contained within a single segment
US4758944A (en) * 1984-08-24 1988-07-19 Texas Instruments Incorporated Method for managing virtual memory to separate active and stable memory blocks
US5043871A (en) * 1986-03-26 1991-08-27 Hitachi, Ltd. Method and apparatus for database update/recovery
US5136706A (en) * 1987-04-30 1992-08-04 Texas Instruments Incorporated Adaptive memory management system for collection of garbage in a digital computer
JPH0261732A (en) * 1988-08-29 1990-03-01 Nec Corp File extension system
US5226141A (en) * 1989-07-14 1993-07-06 Touch Technologies, Inc. Variable capacity cache memory

Also Published As

Publication number Publication date
DE4210126A1 (en) 1992-10-01
DE4210126C2 (en) 1996-08-22
US5604900A (en) 1997-02-18
JPH04299748A (en) 1992-10-22
US5479655A (en) 1995-12-26
KR950006173B1 (en) 1995-06-09
KR920018599A (en) 1992-10-22

Similar Documents

Publication Publication Date Title
JP3386823B2 (en) File management method and device
JP4321705B2 (en) Apparatus and storage system for controlling acquisition of snapshot
US7107294B2 (en) Method and apparatus for interrupting updates to a database to provide read-only access
JP4324616B2 (en) Data processing method in storage system
EP0566966B1 (en) Method and system for incremental backup copying of data
US5448718A (en) Method and system for time zero backup session security
US6105148A (en) Persistent state checkpoint and restoration systems
JP3260923B2 (en) Backup control apparatus and method for data processing system
JP3763992B2 (en) Data processing apparatus and recording medium
JP4078039B2 (en) Snapshot image generation management method and generation management device
JPH0683687A (en) Data processing system and method thereof
US20040243777A1 (en) Data saving method and external storage device
JPH0715664B2 (en) How to recover data set
CA2071346A1 (en) Method and means for time zero backup copy of data
US20070234114A1 (en) Method, apparatus, and computer program product for implementing enhanced performance of a computer system with partially degraded hardware
US6510456B1 (en) Data transfer control method and system, data transfer control program file, and file storage medium
JP2003036189A (en) Method and device for managing data storage area
JP3022011B2 (en) Data backup system
US6976041B2 (en) Recording medium recorded with program for detecting database operation timing, method of detecting database operation timing, and apparatus for detecting database operation timing
JPH08272655A (en) Operating system and file deletion method
JPH11508069A (en) Checkpoint and recovery system for persistent state
JP3463696B2 (en) Online garbage collection processing method
JP2933011B2 (en) Exclusive file control system
JPH07160651A (en) Backup mode for system data
JP4160279B2 (en) Database operation timing detection program, computer-readable recording medium storing the program, database operation timing detection method, and database operation timing detection device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080110

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090110

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090110

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100110

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110110

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees