JP3037113B2 - Split type sequential knitting file device - Google Patents

Split type sequential knitting file device

Info

Publication number
JP3037113B2
JP3037113B2 JP7235098A JP23509895A JP3037113B2 JP 3037113 B2 JP3037113 B2 JP 3037113B2 JP 7235098 A JP7235098 A JP 7235098A JP 23509895 A JP23509895 A JP 23509895A JP 3037113 B2 JP3037113 B2 JP 3037113B2
Authority
JP
Japan
Prior art keywords
file
garbage
section
deleting
members
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
JP7235098A
Other languages
Japanese (ja)
Other versions
JPH0981423A (en
Inventor
文久 小野田
薫 小林
Original Assignee
日本電気ソフトウェア株式会社
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 日本電気ソフトウェア株式会社 filed Critical 日本電気ソフトウェア株式会社
Priority to JP7235098A priority Critical patent/JP3037113B2/en
Publication of JPH0981423A publication Critical patent/JPH0981423A/en
Application granted granted Critical
Publication of JP3037113B2 publication Critical patent/JP3037113B2/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

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は分割型順編成フアイ
ル装置に関し、特に一定時間毎に効率よくガベージの削
除を行なえる分割型順編成フアイル装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a split type sequential knitting file device, and more particularly to a split type sequential knitting file device capable of efficiently removing garbage at regular intervals.

【0002】[0002]

【従来の技術】分割型順編成のフアイルは、プログラム
ライブラリのように、比較的少量のフアイルをメンバと
して多数個スペース効率よく収めるのに適しており、よ
く使用されている。
2. Description of the Related Art A file of a division type sequential organization is suitable for storing a relatively small number of files as members as many as a program library, and is efficiently used.

【0003】すなわち、分割型順編成のフアイルは、そ
れぞれ順編成フアイルの形式をした複数個のメンバから
構成されており、そのメンバは作成順にメンバ実体部に
収容され、メンバ名をキーとしてメンバの格納位置をデ
イレクトリ部に記録している。
[0003] That is, a file of the split type sequential composition is composed of a plurality of members each in the form of a sequential composition file, and the members are accommodated in the member entity part in the order of creation, and the members are named using the member name as a key. The storage location is recorded in the directory section.

【0004】このような分割型順編成のフアイルに対す
るメンバの追加、更新および削除について説明する。
[0004] Addition, updating, and deletion of members to such a divided sequential file will be described.

【0005】分割型順編成のフアイルに対する新しいメ
ンバの追加は、デイレクトリ部を参照して、既存のメン
バの中の最後のメンバの次から作成順にメンバ実体部に
収容する。それとともに、追加されたメンバの名称とそ
の格納位置をデイレクトリ部に登録する。
When a new member is added to a divided sequential file, the member is stored in the member entity in the order of creation after the last member among the existing members with reference to the directory part. At the same time, the name of the added member and its storage position are registered in the directory section.

【0006】既存のメンバの内容を更新する場合には、
先ず、内容が更新されたメンバをデイレクトリ部を参照
して既存のメンバの中の最後のメンバの次からメンバ実
体部に収容し、その収容位置に基ずいて、デイレクトリ
部にある対応するメンバ名に記録してある旧格納位置を
新格納位置に変更する。メンバ名は変更しない。このた
め、メンバ実体部の旧格納位置にある更新前の旧メンバ
実体は、2度と読み出されることがない無効データとな
ったままフアイル内に残存することとなる。
When updating the contents of an existing member,
First, the member whose contents have been updated is stored in the member entity from the next member after the last member among the existing members with reference to the directory, and the corresponding member name in the directory is determined based on the storing position. The old storage position recorded in the new storage position is changed to the new storage position. Do not change the member name. For this reason, the old member entity before update at the old storage position of the member entity part remains in the file as invalid data that is never read again.

【0007】既存のメンバの削除に際しては、デイレク
トリ部のメンバ名とその格納位置とを削除するのみで、
メンバ実体部にある削除対象のメンバ実体については、
上述の更新対象となった旧メンバ実体と同様、2度と読
み出されることがない無効データとなったままフアイル
内に残存することとなる。
When deleting an existing member, only the member name of the directory part and its storage position are deleted.
For the member entity to be deleted in the member entity part,
As in the case of the old member entity to be updated, the invalid data remains in the file as invalid data that is never read again.

【0008】このように分割型順編成のフアイルのメン
バの更新および削除に際しては、以前に登録されていた
メンバ実体は無効となり、そのメンバ領域はガベージと
して残存することとなりメモリの有効活用をすることが
できないという問題があった。
[0008] As described above, when updating or deleting a member of a divided sequential file, the previously registered member entity becomes invalid, the member area remains as garbage, and the memory is effectively used. There was a problem that can not be.

【0009】そこで、従来はメンバの追加、更新の都
度、この分割型順編成のフアイルのガベージをユーザが
意識して不都合が起らないように、必要に応じて削除し
ているのが常であった。
Therefore, conventionally, every time a member is added or updated, the garbage of the divided sequential file is usually deleted as necessary so that the user is not aware of the garbage. there were.

【0010】また、このユーザの負担を解決するため
に、メンバの更新に際しては、更新対象のメンバを先ず
消去し、次いで、フアイルに残存するメンバをコンデン
ス(メンバ実体部の先頭から詰め直す)してガベージを
削除し、その後、これらに内容が更新されたメンバを追
加するという方式が特開昭58−163054号公報に
開示されている。
In order to solve the burden on the user, when updating a member, the member to be updated is first deleted, and then the remaining members in the file are condensed (repacked from the head of the member substantial part). Japanese Patent Application Laid-Open No. 58-163054 discloses a method in which garbage is deleted by adding a member whose contents have been updated.

【0011】[0011]

【発明が解決しようとする課題】上述した従来の分割型
順編成フアイルシステムのユーザが意識して行なうガベ
ージ削除方式では、常にユーザは分割型順編成フアイル
システムのガベージの状態を把握しておかなければなら
ず、ユーザに対して多大の負担を強いるという欠点があ
る。
In the above-described garbage deletion system which is performed by the user of the conventional divided type sequential file system, the user must always know the garbage state of the divided type sequential file system. However, there is a disadvantage that a great burden is imposed on the user.

【0012】また、特開昭58−163054号公報記
載の更新の都度行なう分割型順編成フアイルシステムガ
ベージ削除方式では、メンバ追加時にメンバ削除により
生じたガベージによる不都合は避けられず、このため、
メンバ追加時にも、フアイルメンバのコンデンス作業を
行なわなければならず、メンバ更新、追加時の処理の性
能が劣化するという問題点がある。
Further, in the divided type sequential file system garbage deletion system described in Japanese Patent Application Laid-Open No. 58-163054, which is performed every time updating, the inconvenience caused by garbage caused by member deletion when a member is added cannot be avoided.
When a member is added, the file member must be condensed, which degrades the performance of updating and adding members.

【0013】本発明の目的はメンバの更新および削除処
理を行なったフアイルを記憶しておき、一定時間ごとに
これらのフアイルについてガベージ削除処理を行なうこ
とにより、メモリの効率的活用ができる分割型順編成フ
アイル装置を提供することにある。
An object of the present invention is to store files in which members have been updated and deleted, and to perform garbage deletion on these files at regular intervals, so that the memory can be efficiently used in a divided type order. An object of the present invention is to provide a knitting file device.

【0014】[0014]

【課題を解決するための手段】第1の発明の分割型順編
成フアイル装置は、分割型順編成フアイルを複数格納す
るフアイル格納手段と、前記フアイル格納手段に格納さ
れている分割型順編成フアイルを構成するメンバの更新
削除および追加を行なうフアイル編集処理手段と、前記
フアイル編集処理手段によりメンバの更新または削除が
行なわれてガベージを有するフアイルの識別子を記憶す
るガベージフアイル記憶手段と、前記ガベージフアイル
記憶手段に記憶されているフアイル識別子に対応するフ
アイルのガベージを定期的に削除するガベージ削除手段
とを含んで構成されている。
According to a first aspect of the present invention, there is provided a split-type sequential knitting file apparatus which stores a plurality of split-type sequential knitting files, and a split-type sequential knitting file stored in the file storing means. File editing processing means for updating and deleting and adding members constituting the file, garbage file storing means for storing an identifier of a file having a garbage by updating or deleting members by the file editing processing means, and the garbage file Garbage deleting means for periodically deleting the garbage of the file corresponding to the file identifier stored in the storage means.

【0015】第2の発明の分割型順編成フアイル装置
は、第1の発明の分割型順編成フアイル装置において、
ガベージフアイル記憶手段はメンバの更新または削除が
行なわれてガベージを有するフアイルの識別子を待ち行
列として記憶することを特徴としている。
According to a second aspect of the present invention, there is provided the split type sequential knitting file device according to the first aspect of the invention.
The garbage file storage means is characterized in that members are updated or deleted, and the identifier of a file having garbage is stored as a queue.

【0016】[0016]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0017】図1は本発明の分割型順編成フアイル装置
の一実施の形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a split type sequential knitting file apparatus according to the present invention.

【0018】本実施の形態の分割型順編成フアイル装置
は、図1に示すように、分割型順編成フアイル(Par
titioned Access Method Fi
le、以下PAMフアイルと略す)の追加、更新および
削除処理を行なうPAMフアイル編集処理部1−1と、
一定期間ごとに無効になったメンバ、すなわち、ガベー
ジの削除処理を行なうガベージ削除部1−2と、メンバ
の更新および削除処理が行なわれたフアイル、すなわ
ち、ガベージのあるフアイルを記憶するガベージフアイ
ル・キュー部1−3と、複数のPAMフアイル部1−4
とを含んで構成されている。
As shown in FIG. 1, the split type sequential knitting file apparatus according to the present embodiment has a split type sequential knitting file (Par).
titrated Access Method Fi
le, abbreviated as PAM file), a PAM file edit processing unit 1-1 for adding, updating, and deleting processes;
A garbage deletion unit 1-2 that performs garbage deletion processing, ie, a garbage deletion unit 1-2 that performs garbage deletion processing, and a garbage file that stores a file that has undergone member update and deletion processing, that is, a file with garbage. Queue section 1-3 and a plurality of PAM file sections 1-4
It is comprised including.

【0019】PAMフアイル部1−4は、このフアイル
に格納されているメンバの実体を格納しているメンバ実
体部1−4−2と、格納されているメンバの名称とそれ
が格納されているメンバ実体部1−4−2の先頭アドレ
スSと最終アドレスEとを格納しているデイレクトリ部
1−4−1とを含んで構成されている。
The PAM file section 1-4 stores a member entity section 1-4-2 storing the substance of the members stored in this file, the names of the stored members, and the member names. It is configured to include a directory section 1-4-1 that stores the start address S and end address E of the member entity section 1-4-2.

【0020】PAMフアイル編集処理部1−1のPAM
フアイル部1−4に対するメンバの追加、更新および削
除について説明する。
PAM of PAM file edit processing section 1-1
The addition, update, and deletion of members to the file unit 1-4 will be described.

【0021】PAMフアイル部1−4に対する新しいメ
ンバの追加は、デイレクトリ部1−4−1を参照して、
既存のメンバの中の最後のメンバの次から作成順にメン
バ実体部1−4−2に収容する。それとともに、追加さ
れたメンバの名称とその格納位置を示すSおよびEをデ
イレクトリ部1−4−1に登録する。
To add a new member to the PAM file section 1-4, refer to the directory section 1-4-1.
The members are stored in the member entity part 1-4-2 in the order of creation from the last member of the existing members. At the same time, S and E indicating the name of the added member and its storage position are registered in the directory section 1-4-1.

【0022】既存のメンバの内容を更新する場合には、
先ず、内容が更新されたメンバをデイレクトリ部1−4
−1を参照して既存のメンバの中の最後のメンバの次か
らメンバ実体部1−4−2に収容し、その収容位置に基
ずいて、デイレクトリ部1−4−1にある対応するメン
バ名に記録してある旧格納位置を新格納位置に変更す
る。メンバ名は変更しない。このため、メンバ実体部1
−4−2の旧格納位置にある更新前の旧メンバ実体は、
2度と読み出されることがない無効データとなったまま
フアイル内に残存することとなる。なお、メンバが更新
されたフアイル名はガベージフアイル・キュー部1−3
に送出されキューイングされる。
When updating the contents of an existing member,
First, the members whose contents have been updated are stored in the directory section 1-4.
-1 is stored in the member entity section 1-4-2 from the end of the last member among the existing members, and the corresponding member in the directory section 1-4-1 is stored based on the storing position. Change the old storage location recorded in the name to the new storage location. Do not change the member name. Therefore, the member entity 1
The old member entity before update at the old storage location of -4-2 is
The invalid data that is never read out remains in the file. The file name whose member has been updated is stored in the garbage file queue section 1-3.
And are queued.

【0023】既存のメンバの削除に際しては、デイレク
トリ部1−4−1のメンバ名とその格納位置とを削除す
るのみで、メンバ実体部1−4−2にある削除対象のメ
ンバ実体については、上述の更新対象となった旧メンバ
実体と同様、2度と読み出されることがない無効データ
となったままフアイル内に残存することとなる。なお、
メンバが削除されたフアイル名はガベージフアイル・キ
ュー部1−3に送出されキューイングされる。
When deleting an existing member, only the member name of the directory section 1-4-1 and its storage position are deleted. For the member entity to be deleted in the member entity section 1-4-2, As in the case of the old member entity to be updated, the invalid data remains in the file as invalid data that is never read again. In addition,
The file name from which the member has been deleted is sent to the garbage file queue section 1-3 and queued.

【0024】ガベージフアイル・キュー部1−3はPA
Mフアイル編集処理部1−1から供給されたメンバが更
新または削除されたフアイル名をキューイングし、ガベ
ージの削除されたフアイル名をキューから外す。
The garbage file queue section 1-3 is a PA
The member supplied from the M-file editing unit 1-1 queues the updated or deleted file name, and removes the garbage-deleted file name from the queue.

【0025】ガベージ削除部1−2は一定期間ごとに起
動され、ガベージフアイル・キュー部1−3を参照して
これに記憶されているフアイル名に対応するPAMフア
イル部1−4のデイレクトリ部1−4−1を参照して、
メンバの詰直しを行ないガベージを削除する。
The garbage deletion unit 1-2 is activated at regular intervals, refers to the garbage file queue unit 1-3, and refers to the directory unit 1 of the PAM file unit 1-4 corresponding to the file name stored therein. -4-1,
Repack members and remove garbage.

【0026】図2はPAMフアイル編集処理部1−1の
編集処理の動作を示す流れ図、図3はガベージ削除部1
−2のガベージ削除処理の動作を示す流れ図である。
FIG. 2 is a flowchart showing the editing processing operation of the PAM file editing processing section 1-1, and FIG. 3 is a garbage deleting section 1.
13 is a flowchart showing the operation of a garbage deletion process of -2.

【0027】図1〜図3を参照して本実施の形態の更新
処理動作およびガベージ削除処理動作について説明す
る。
The update processing operation and the garbage deletion processing operation of the present embodiment will be described with reference to FIGS.

【0028】図1を参照して、先ず、本実施の形態の概
要動作を説明する。
Referring to FIG. 1, first, the general operation of the present embodiment will be described.

【0029】ユーザの指示に従って、PAMフアイル編
集処理部1−1はユーザが指示したフアイルを格納して
いるPAMフアイル部1−4にあるフアイルへのメンバ
の追加、更新および削除等の編集処理を行ない、メンバ
の更新および削除の場合にはこれらの処理が行なわれた
フアイル名をガベージフアイル・キュー部1−3にキュ
ーイングする。
In accordance with the user's instruction, the PAM file editing processing section 1-1 performs editing processing such as adding, updating, and deleting members to the file in the PAM file section 1-4 that stores the file specified by the user. In the case of updating and deleting members, the file names subjected to these processes are queued in the garbage file queue section 1-3.

【0030】一定時間間隔ごとに、ガベージ削除部1−
2はガベージフアイル・キュー部1−3を参照してこれ
にキューイングされているフアイル名に対応するPAM
フアイル部1−4に対し、ガベージの削除処理を行な
う。このようにして、PAMフアイル部1−4は定期的
にかつ、キューイングされているフアイルについてのみ
ガベージの削除処理を行なうことにより、ユーザに負担
を強いることなく、かつ、従来よりも短時間でガベージ
の削除処理を行なうことができ、PAMフアイル部1−
4を格納するメモリの効率的活用ができることとなる。
At regular time intervals, the garbage deleting unit 1-
Reference numeral 2 denotes a PAM corresponding to the file name queued in the garbage file queue section 1-3 with reference to the garbage file queue section 1-3.
The garbage is deleted from the file section 1-4. In this manner, the PAM file section 1-4 performs the garbage deletion process periodically and only for the queued file, thereby not burdening the user and in a shorter time than before. The garbage can be deleted, and the PAM file unit 1-
4 can be efficiently used.

【0031】PAMフアイル部1−4は当初、図2に示
すように、メンバ実体部1−4−2にはメンバ名がメン
バ1からメンバnのn個のメンバ実体をガベージ領域が
存在しないように詰めて格納しており、それぞれの格納
位置は、それぞれのメンバ名に対応してその格納位置の
先頭アドレスSと最終アドレスEとが格納されているデ
イレクトリ部1−4−1により知ることができる。
Initially, as shown in FIG. 2, the PAM file section 1-4 stores n member entities having member names 1 to n in the member entity section 1-4-2 so that no garbage area exists. Each storage location can be known by the directory section 1-4-1 in which the start address S and the end address E of the storage location are stored corresponding to each member name. it can.

【0032】次に、PAMフアイル編集処理部1−1の
編集処理動作中のメンバの更新処理動作について図2を
参照して詳述する。
Next, the member update processing operation of the PAM file editing processing section 1-1 during the editing processing operation will be described in detail with reference to FIG.

【0033】PAMフアイル編集処理部1−1はユーザ
の指示したフアイルを格納するPAMフアイル部1−4
の更新依頼により起動される(ステップ1)。更新依頼
の例としてフアイルaのメンバ3をその内容を更新した
新メンバ3に更新する依頼について説明する。
The PAM file edit processing section 1-1 stores a file specified by the user in a PAM file section 1-4.
(Step 1). As an example of the update request, a request for updating the member 3 of the file a to the new member 3 whose contents have been updated will be described.

【0034】次いで、PAMフアイル編集処理部1−1
はデイレクトリ部1−4−1の各メンバの最終アドレス
を参照してその最も大きいアドレス値を有するメンバ
(この場合はメンバn)の次から更新された内容の新メ
ンバ3をメンバ実体部1−4−2の2重枠の位置に格納
する(ステップ2)。
Next, the PAM file editing processing section 1-1
Refers to the last address of each member of the directory section 1-4-1 and adds a new member 3 having the updated content after the member having the highest address value (in this case, member n) to the member entity section 1-. 4-2 is stored at the position of the double frame (step 2).

【0035】次に、デイレクトリ部1−4−1にあるメ
ンバ3に対応する格納位置をステップ2で格納した新メ
ンバ3の格納位置である先頭アドレスSおよび最終アド
レスEに書き換える(旧アドレスに対応する位置は点線
矢印で、新アドレスに対応する位置は太線矢印で示され
ている)(ステップ3)。
Next, the storage position corresponding to the member 3 in the directory section 1-4-1 is rewritten to the start address S and the end address E which are the storage positions of the new member 3 stored in step 2 (corresponding to the old address). The position of the new address is indicated by a dotted arrow, and the position corresponding to the new address is indicated by a thick arrow (step 3).

【0036】かくすることにより以前に格納されていた
メンバ3の実体は2度と読み出されることがない無効デ
ータ、すなわち、ガベージとなってフアイルaに残存す
ることとなる(このことをその領域をハッチングするこ
とにより示している)。
By doing so, the entity of the member 3 previously stored will be invalid data that cannot be read out again, that is, will be garbage and will remain in the file a. This is indicated by hatching).

【0037】次いで、PAMフアイル編集処理部1−1
は、更新処理を行なったフアイル名aをガベージフアイ
ル・キュー部1−3にキューイングしてガベージ削除処
理の対象フアイルになったことを記憶してメンバの更新
処理動作を終了する(ステップ4)。このとき、同一フ
アイル名が既にキューイングされている場合にはそのフ
アイル名のキューイングは行なわない。
Next, the PAM file editing processing section 1-1
Queues the updated file name a in the garbage file queue section 1-3, stores the fact that the file becomes the target file for the garbage deletion processing, and ends the member update processing operation (step 4). . At this time, if the same file name has already been queued, the file name is not queued.

【0038】次に、ガベージ削除部1−2のガベージ削
除処理動作について図3を参照して詳述する。
Next, the garbage deletion processing operation of the garbage deletion unit 1-2 will be described in detail with reference to FIG.

【0039】ガベージ削除処理動作の例として、前述の
フアイルaのメンバ3が更新されて生じたガベージを削
除する場合について説明する。削除処理前のPAMフア
イル部1−4を図3の下部左側に(ガベージ領域をハッ
チングにより示す)、削除処理後のPAMフアイル部1
−4を図3の下部右側に示す。
As an example of the garbage deletion processing operation, a case will be described in which the garbage generated by updating the member 3 of the file a is deleted. The PAM file section 1-4 before the deletion processing is shown on the lower left side of FIG. 3 (the garbage area is indicated by hatching), and the PAM file section 1 after the deletion processing is shown.
-4 is shown on the lower right side of FIG.

【0040】ガベージ削除部1−2は内蔵するタイマに
より定期的に起動されて以下に述べるガベージ削除処理
動作を行ない、このガベージ削除処理動作終了に応じて
タイマを始動する。
The garbage deleting unit 1-2 is periodically started by a built-in timer, performs a garbage deleting process described below, and starts the timer when the garbage deleting process ends.

【0041】タイマは始動後一定時間経過後にガベージ
削除部1−2のガベージ削除処理動作の起動が行なわれ
る(ステップ21)。
The timer starts the garbage deletion processing operation of the garbage deletion unit 1-2 after a predetermined time has elapsed after the start (step 21).

【0042】ガベージ削除部1−2はガベージフアイル
・キュー部1−3にキューイングされているフアイル
(メンバの更新または削除処理がおこなわれたフアイ
ル)名を次々と読み出し(ステップ22)、以下に述べ
るガベージ削除処理動作を行なう。
The garbage deletion unit 1-2 successively reads the names of the files queued in the garbage file queuing unit 1-3 (files in which member update or deletion processing has been performed) (step 22). The garbage deletion processing operation described below is performed.

【0043】ガベージ削除部1−2はPAMフアイル部
1−4のデイレクトリ部1−4−1を調べ、ガベージ領
域の先頭アドレス、すなわち、図3のメンバ2の最終ア
ドレスEより得て、ガベージ領域より後のメンバ実体
(2重枠の領域、メンバ4〜n、およびメンバ3の実
体)をガベージ領域の先頭アドレスからコピーする(ス
テップ23)。
The garbage deleting section 1-2 checks the directory section 1-4-1 of the PAM file section 1-4 and obtains the garbage area from the start address of the garbage area, that is, the last address E of the member 2 in FIG. Subsequent member entities (the entities of the double frame, members 4 to n, and member 3) are copied from the start address of the garbage area (step 23).

【0044】次に、デイレクトリ部1−4−1の各メン
バの先頭アドレスSと最終アドレスEとをステップ23
で行なったコピー結果の各メンバの実体の先頭アドレス
Sと最終アドレスEとに書き換える(ステップ24)。
Next, the start address S and the end address E of each member of the directory section 1-4-1 are stored in step 23.
Is rewritten to the start address S and end address E of the entity of each member as a result of the copy performed in step (step 24).

【0045】これで、ガベージは削除されたので、ガベ
ージ削除処理動作を終了して、タイマを始動し、次のガ
ベージ削除処理動作に備える(ステップ25)。
Since the garbage has been deleted, the garbage deletion processing operation is completed, the timer is started, and the garbage deletion processing operation is prepared (step 25).

【0046】ここで、ガベージ領域が数個所、アドレス
が連続しないで存在したときには、ステップ23と24
のガベージ削除処理を当該数個所のガベージ領域毎に繰
り返して行なう。
If there are several garbage areas and the addresses are not continuous, steps 23 and 24 are executed.
Is repeatedly performed for each of the several garbage areas.

【0047】以上説明したように、本実施の形態の分割
型順編成フアイル装置は、定期的にガベージのあるフア
イルのガベージ削除処理を行なうことにより、ユーザは
意識してガベージを削除する必要がなくなりユーザの負
担を格段に軽減できる。
As described above, the divided sequential knitting file device according to the present embodiment periodically performs garbage deletion processing of a file having garbage, so that the user does not need to consciously delete the garbage. The burden on the user can be significantly reduced.

【0048】更に、メンバの更新および削除が行なわれ
たフアイルのフアイル名を記憶し、これを参照してこれ
らのフアイルに対してのみガベージ削除処理を行なうこ
とにより、ガベージ削除処理が効率的に短時間で行なえ
る。
Further, by storing the file names of the files whose members have been updated and deleted, and referring to the file names to perform garbage deletion processing only on those files, the garbage deletion processing can be shortened efficiently. Can be done in time.

【0049】また、定期的にガベージ削除処理を行なっ
ているので、通常動作であるフアイルの更新処理等の性
能に影響を与えることはない。
Since the garbage deletion process is performed periodically, the performance of the normal operation such as the file update process is not affected.

【0050】[0050]

【発明の効果】以上説明したように、本発明の分割型順
編成フアイル装置は、定期的にガベージのあるフアイル
のガベージ削除処理を行なうことにより、ユーザは意識
してガベージを削除する必要がなくなりユーザの負担を
格段に軽減できるという効果を有している。
As described above, the divided sequential knitting file device of the present invention periodically deletes garbage of a file having garbage, so that the user does not need to consciously delete garbage. This has the effect that the burden on the user can be significantly reduced.

【0051】更に、メンバの更新および削除が行なわれ
たフアイルのフアイル名を記憶し、これを参照してこれ
らのフアイルに対してのみガベージ削除処理を行なうこ
とにより、ガベージ削除処理が効率的に短時間で行なえ
るという効果を有する。
Further, by storing the file names of the files whose members have been updated and deleted, and referring to the file names to perform garbage deletion processing only on those files, the garbage deletion processing can be shortened efficiently. It has the effect that it can be done in time.

【0052】また、定期的にガベージ削除処理を行なっ
ているので、通常動作であるフアイルの更新処理等の性
能に影響を与えることはないという効果を有している。
Further, since the garbage deletion processing is performed periodically, there is an effect that the performance of the file update processing which is a normal operation is not affected.

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

【図1】本発明の分割型順編成フアイル装置の一実施の
形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a split type sequential knitting file device according to the present invention.

【図2】本実施の形態の分割型順編成フアイル装置にお
けるPAMフアイル編集処理部1−1の動作の一例を示
す流れ図である。
FIG. 2 is a flowchart showing an example of an operation of a PAM file editing processing unit 1-1 in the division type sequential composition file device of the present embodiment.

【図3】本実施の形態の分割型順編成フアイル装置にお
けるガベージ削除部1−2の動作の一例を示す流れ図で
ある。
FIG. 3 is a flowchart showing an example of the operation of the garbage deleting unit 1-2 in the divided sequential knitting file device of the present embodiment.

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

1−1 PAMフアイル編集処理部 1−2 ガベージ削除部 1−3 ガベージフアイル・キュー部 1−4 PAMフアイル部 1−4−1 デイレクトリ部 1−4−2 メンバ実体部 1-1 PAM file edit processing unit 1-2 Garbage deletion unit 1-3 Garbage file queue unit 1-4 PAM file unit 1-4-1 Directory unit 1-4-2 Member entity unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平1−226049(JP,A) 特開 平4−148247(JP,A) 特開 平5−324419(JP,A) 特開 平5−35552(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-1-226049 (JP, A) JP-A-4-148247 (JP, A) JP-A-5-324419 (JP, A) JP-A-5-324419 35552 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 12/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 分割型順編成フアイルを複数格納するフ
アイル格納手段と、前記フアイル格納手段に格納されて
いる分割型順編成フアイルを構成するメンバの更新削除
および追加を行なうフアイル編集処理手段と、前記フア
イル編集処理手段によりメンバの更新または削除が行な
われてガベージを有するフアイルの識別子を記憶するガ
ベージフアイル記憶手段と、前記ガベージフアイル記憶
手段に記憶されているフアイル識別子に対応するフアイ
ルのガベージを定期的に削除するガベージ削除手段とを
含むことを特徴とする分割型順編成フアイル装置。
1. A file storing means for storing a plurality of divided sequential files, a file editing processing means for updating, deleting and adding members constituting the divided sequential files stored in the file storing means. A garbage file storage means for storing an identifier of a file having a garbage in which members are updated or deleted by the file editing processing means, and a garbage of a file corresponding to a file identifier stored in the garbage file storage means is periodically updated. And a garbage deleting means for sequentially deleting.
【請求項2】 ガベージフアイル記憶手段はメンバの更
新または削除が行なわれてガベージを有するフアイルの
識別子を待ち行列として記憶することを特徴とする請求
項1記載の分割型順編成フアイル装置。
2. A divided sequential knitting file apparatus according to claim 1, wherein said garbage file storage means stores, as a queue, an identifier of a file having garbage by updating or deleting a member.
JP7235098A 1995-09-13 1995-09-13 Split type sequential knitting file device Expired - Fee Related JP3037113B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7235098A JP3037113B2 (en) 1995-09-13 1995-09-13 Split type sequential knitting file device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7235098A JP3037113B2 (en) 1995-09-13 1995-09-13 Split type sequential knitting file device

Publications (2)

Publication Number Publication Date
JPH0981423A JPH0981423A (en) 1997-03-28
JP3037113B2 true JP3037113B2 (en) 2000-04-24

Family

ID=16981034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7235098A Expired - Fee Related JP3037113B2 (en) 1995-09-13 1995-09-13 Split type sequential knitting file device

Country Status (1)

Country Link
JP (1) JP3037113B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01226049A (en) * 1988-03-04 1989-09-08 Nec Corp Garbage system for disk volume
JPH04148247A (en) * 1990-10-08 1992-05-21 Nec Corp Automatic file optimization processing system for random-accessible storage device

Also Published As

Publication number Publication date
JPH0981423A (en) 1997-03-28

Similar Documents

Publication Publication Date Title
US6247024B1 (en) Method and system for performing deferred file removal in a file system
JP4237354B2 (en) Transaction processing method and transaction processing system
JP2000259468A (en) Method and device for buffer cache in file system
JP3037113B2 (en) Split type sequential knitting file device
JP3636773B2 (en) Information processing device for database check
US5978810A (en) Data management system and method for storing a long record in a set of shorter keyed records
JPH07334397A (en) Deleted file managing system
JP3759676B2 (en) Application device and method having work redo and undo function and automatic saving function
JPH0398110A (en) Multiplex data reading system
JPH1165895A (en) System and method for managing logging file
JPH08328929A (en) Database split management system
JP3178671B2 (en) File system and its file recovery method
JP3398672B2 (en) Intermediate data storage device
JPH05151037A (en) Reorganization processing system for database in business processing
JP2546528B2 (en) Variable-length block storage system for fixed-length sector disk
JPH11212838A (en) System and method for change record history management by table split
JP2650504B2 (en) File reconstruction device
JP3858648B2 (en) Data storage area management method and apparatus
JPH01119839A (en) File constitution control system
JP3189804B2 (en) Data backup method and device
JP2818538B2 (en) Journal file division management method and journal file division management method
JPS63213042A (en) Method for extending file area
JPH1027117A (en) File managing device and its method
JPH04188339A (en) Control system for deleted record
JPS63239540A (en) Data management system in memory medium

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000208

LAPS Cancellation because of no payment of annual fees