JPH04287140A - File managing system for dividing into plural physical files - Google Patents

File managing system for dividing into plural physical files

Info

Publication number
JPH04287140A
JPH04287140A JP3074342A JP7434291A JPH04287140A JP H04287140 A JPH04287140 A JP H04287140A JP 3074342 A JP3074342 A JP 3074342A JP 7434291 A JP7434291 A JP 7434291A JP H04287140 A JPH04287140 A JP H04287140A
Authority
JP
Japan
Prior art keywords
file
physical files
plural
records
logical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3074342A
Other languages
Japanese (ja)
Inventor
Hiroshi Honma
洋 本間
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP3074342A priority Critical patent/JPH04287140A/en
Publication of JPH04287140A publication Critical patent/JPH04287140A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prevent a data from being missed and processing speed from being lowered by dividing one logical file into plural physical files and distributing them to plural volumes. CONSTITUTION:This system is composed of a file generation part 1, record addition part 2, record retrieval part 3, file exclusion part 4, file management part 5, file management information file 6 and file control information file 7. One logical file is generated and in the case of additionally writing a record, the one generated logical file is divided into the plural physical files corresponding to the number of records to be added. Further the plural divided physical files are allocated to the plural volumes, the one generated logical file is made correspondent to the plural physical files and in the system of retrieving the record of the one logical file, the records corresponding to the plural divided physical files are retrieved.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、レコードの追加書き込
みに関し、一論理ファイルを複数物理ファイルに分割す
るための管理方式、分割した複数物理ファイルを複数の
ボリュームへ割り付けるための管理方式、生成した一論
理ファイルと分割した複数物理ファイルを対応付けるた
めの管理方式及び一論理ファイルのレコードを検索する
形式にて分割した複数物理ファイルの対応するレコード
を検索するための管理方式に関する。
[Industrial Application Field] The present invention relates to additional writing of records, and relates to a management method for dividing one logical file into multiple physical files, a management method for allocating the divided multiple physical files to multiple volumes, and a generated system. The present invention relates to a management method for associating one logical file with a plurality of divided physical files, and a management method for searching for corresponding records of a plurality of divided physical files in a format that searches records of one logical file.

【0002】0002

【従来の技術】従来、この種の管理方式は、一論理ファ
イルを生成してレコードを追加書き込みを行う場合にお
いて、一論理ファイルは一物理ファイルとして単一ボリ
ューム上に作成されるため、ファイルを生成したボリュ
ーム容量のMAXまでのレコード追加しかできなかった
。又、生成した一論理ファイルが一物理ファイルとなる
ため、追加書き込みと検索とを同時に実施する必要があ
る場合は、処理速度に与える影響が大きかった。
[Prior Art] Conventionally, this type of management system has been used to generate a logical file and write additional records, since a logical file is created as a physical file on a single volume. It was only possible to add records up to the maximum capacity of the generated volume. Furthermore, since one generated logical file becomes one physical file, if additional writing and searching need to be performed simultaneously, the processing speed will be greatly affected.

【0003】0003

【発明が解決しようとする課題】上述した従来の管理方
式は、一論理ファイルを生成してレコードを追加書き込
みを行う場合において、一論理ファイルは一物理ファイ
ルとして単一ボリューム上に作成されるため、ボリュー
ムの容量のMAXまでのレコード追加ができなかった。 そのため、追加書き込み中にボリューム容量の制限によ
りデータに欠落が生じるという欠点がある。又、生成し
た一論理ファイルが一物理ファイルとなるため、追加書
き込みと検索とを同時に実施する必要がある場合は、処
理速度が遅くなるという欠点がある。
[Problem to be Solved by the Invention] In the conventional management method described above, when one logical file is generated and additional records are written, one logical file is created as one physical file on a single volume. , it was not possible to add records up to the maximum capacity of the volume. Therefore, there is a drawback that data may be lost due to volume capacity limitations during additional writing. Furthermore, since one generated logical file becomes one physical file, there is a drawback that the processing speed becomes slow if additional writing and searching need to be performed simultaneously.

【0004】0004

【課題を解決するための手段】本発明のファイル管理方
式は、一論理ファイルを生成し、レコードを追加書き込
みを行う場合において生成した一論理ファイルをレコー
ド追加数に応じて複数物理ファイルに分割する手段と、
複数に分割した物理ファイルを複数ボリュームに割り付
ける手段と、生成した一論理ファイルと分割した複数物
理ファイルを対応付ける手段と、一論理ファイルのレコ
ードを検索する形式にて分割した複数物理ファイルの対
応するレコードを検索する手段とを有している。
[Means for Solving the Problems] The file management method of the present invention generates one logical file, and when writing additional records, divides the generated logical file into multiple physical files according to the number of added records. means and
A method for allocating a physical file divided into multiple volumes to multiple volumes, a means for associating one generated logical file with the multiple divided physical files, and corresponding records of the multiple physical files divided in a format that searches records of one logical file. and a means for searching.

【0005】[0005]

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

【0006】図1は本発明の一実施例であり、ファイル
生成部1、レコード追加部2、レコード検索部3、ファ
イル削除部4、ファイル管理部5、ファイル管理情報フ
ァイル6、ファイル制御情報ファイル7から構成される
FIG. 1 shows an embodiment of the present invention, which includes a file generation section 1, a record addition section 2, a record search section 3, a file deletion section 4, a file management section 5, a file management information file 6, and a file control information file. Consists of 7.

【0007】図2は、動作の基本的な流れを示したもの
である。
FIG. 2 shows the basic flow of operation.

【0008】■  対象となるシステムの構成に基づき
、ファイルを生成可能なボリューム及び一ファイルに割
り当てるレコード数の情報並びに生成したファイルと分
割したファイルの対応情報を格納するためのレコードを
ファイル管理情報ファイルとして生成する。
[0008] Based on the configuration of the target system, a file management information file is used to store records for storing information on volumes on which files can be generated, the number of records to be allocated to one file, and correspondence information between generated files and divided files. Generate as.

【0009】■  システムを立ち上げる際に、ファイ
ル管理部がファイル管理情報ファイルをメモリ上にテー
ブルとして展開する。
[0009] When starting up the system, the file management section expands the file management information file as a table on memory.

【0010】■  ファイルを生成する場合は、利用者
がファイル生成部に対して生成を要求する。ファイル生
成部は、ファイル管理情報を更新し、ファイル制御情報
ファイル及び要求ファイルを生成する。
[0010] When generating a file, the user requests the file generation unit to generate the file. The file generation unit updates file management information and generates a file control information file and a request file.

【0011】■  レコードを追加する場合は、利用者
がレコード追加部に対して追加を要求する。
[0011] When adding a record, the user requests the record addition unit to add the record.

【0012】■  レコード追加の際、一ファイル内に
おけるレコード数のMAXに達した場合は、ファイル管
理部からファイル管理部に対してファイルの分割を要求
する。ファイル管理部はファイル管理情報を更新し、フ
ァイル制御情報ファイル及び要求ファイルを生成する。
[0012] When adding records, if the maximum number of records in one file is reached, the file management section requests the file management section to divide the file. The file management unit updates file management information and generates a file control information file and a request file.

【0013】■  レコードを検索する場合は、利用者
がレコード検索部に対して検索を要求する。
[0013] When searching for a record, the user requests the record search unit to perform a search.

【0014】■  ファイルを削除する場合は、利用者
がファイル削除部に対して削除を要求する。ファイル削
除部は、要求ファイル及びファイル制御情報ファイルを
削除し、ファイル管理情報をクリアする。
[0014] When deleting a file, the user requests the file deletion unit to delete it. The file deletion unit deletes the request file and the file control information file, and clears the file management information.

【0015】[0015]

【発明の効果】以上説明したように本発明は、ファイル
の利用者に意識させずに一論理ファイルを複数物理ファ
イルに分割し、複数ボリュームへ分散することにより、
追加書き込み中の論理ファイルに対する検索を行う必要
がある場合においても、実際は分割された複数ファイル
の一つに対するアクセスとなるので影響を少なくするこ
とができる。又、レコード追加数の限界を、システム内
の全ボリュームまで拡張することができるため、レコー
ド追加中に容量オーバーによる中断の可能性が低くなる
効果がある。
[Effects of the Invention] As explained above, the present invention divides one logical file into multiple physical files and distributes them to multiple volumes without the user of the file being aware of it.
Even when it is necessary to search for a logical file that is being additionally written, the impact can be reduced because the access is actually to one of the multiple divided files. Furthermore, since the limit on the number of records to be added can be extended to all volumes in the system, there is an effect that the possibility of interruption due to capacity overflow during record addition is reduced.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例を示す図である。FIG. 1 is a diagram showing an embodiment of the present invention.

【図2】動作の基本的な流れを示したものである。FIG. 2 shows the basic flow of operation.

【図3】ファイル管理情報ファイルのレコードレイアウ
トを示したものである。
FIG. 3 shows a record layout of a file management information file.

【図4】ファイル制御情報ファイルのレコードレイアウ
トを示したものである。
FIG. 4 shows a record layout of a file control information file.

【符号説明】[Code explanation]

1  ファイル生成部 2  レコード追加部 3  レコード検索部 4  ファイル削除部 5  ファイル管理部 6  ファイル管理情報ファイル 7  ファイル制御情報ファイル 1 File generation section 2 Record addition section 3 Record search section 4 File deletion section 5 File management department 6 File management information file 7 File control information file

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  一論理ファイルを生成し、レコードを
追加書き込みを行う場合において、生成した一論理ファ
イルをレコード追加数に応じて複数物理ファイルに分割
する手段と、複数に分割した物理ファイルを複数ボリュ
ームに割り付ける手段と、生成した一論理ファイルと分
割した複数物理ファイルを対応付ける手段と、一論理フ
ァイルのレコードを検索する形式にて分割した複数物理
ファイルの対応するレコードを検索する手段とを有する
ファイル管理方式。
Claim 1: When one logical file is generated and additional records are written, a means for dividing the generated one logical file into a plurality of physical files according to the number of added records, and a method for dividing the generated one logical file into a plurality of physical files, A file that has means for allocating it to a volume, means for associating one generated logical file with multiple divided physical files, and means for searching for corresponding records in multiple divided physical files in a format that searches for records in one logical file. Management method.
JP3074342A 1991-03-15 1991-03-15 File managing system for dividing into plural physical files Pending JPH04287140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3074342A JPH04287140A (en) 1991-03-15 1991-03-15 File managing system for dividing into plural physical files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3074342A JPH04287140A (en) 1991-03-15 1991-03-15 File managing system for dividing into plural physical files

Publications (1)

Publication Number Publication Date
JPH04287140A true JPH04287140A (en) 1992-10-12

Family

ID=13544357

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3074342A Pending JPH04287140A (en) 1991-03-15 1991-03-15 File managing system for dividing into plural physical files

Country Status (1)

Country Link
JP (1) JPH04287140A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999031590A1 (en) * 1997-12-18 1999-06-24 Matsushita Electric Industrial Co., Ltd. File storage method, data storage apparatus, storage media management method, file management method, method of writing received data in storage media, and program storage media
US6643632B1 (en) 1999-02-23 2003-11-04 Fujitsu Limited Data processing system and computer-readable recording medium recorded with a program for causing a computer to process data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999031590A1 (en) * 1997-12-18 1999-06-24 Matsushita Electric Industrial Co., Ltd. File storage method, data storage apparatus, storage media management method, file management method, method of writing received data in storage media, and program storage media
US6643632B1 (en) 1999-02-23 2003-11-04 Fujitsu Limited Data processing system and computer-readable recording medium recorded with a program for causing a computer to process data

Similar Documents

Publication Publication Date Title
US4611272A (en) Key-accessed file organization
KR102031588B1 (en) Method and system for implementing index when saving file
US7681010B2 (en) Apparatus and method for a managing file system
CN103064639A (en) Method and device for storing data
KR920005107A (en) Initial and updated data recording and reading methods and data storage media
US6256644B1 (en) Control system for storing data in accordance with predefined characteristics thereof
CN107391544B (en) Processing method, device and equipment of column type storage data and computer storage medium
CN110968269A (en) SCM and SSD-based key value storage system and read-write request processing method
JP2018181202A (en) Device, method, and program for storage control
KR100907477B1 (en) Apparatus and method for managing index of data stored in flash memory
JPWO2005055064A1 (en) Data processing apparatus and data recording method for information recording medium
JPH04287140A (en) File managing system for dividing into plural physical files
KR101102754B1 (en) Nand flash memory file system and method for accessing file thereof
JPH0322046A (en) Control method for file using draw type storage medium
EP0117906A2 (en) Key-accessed file organization
GB2328531A (en) Storing a long record in a set of shorter keyed records
CN112433673B (en) Method and device for storing data in solid state disk
WO2021017647A1 (en) Method and apparatus for merging data units
KR100939814B1 (en) Method of managing and writing log file for flash memory
JPH0477938A (en) Data storage method
JPH0962696A (en) Data base managing system
JPS61160133A (en) Data input control method
KR100816820B1 (en) Apparatus and method for managing buffer linked with flash memory
JPH0652019A (en) File controller
JPH04287245A (en) System for managing free area of file system