JPS62229344A - Data storing system - Google Patents
Data storing systemInfo
- Publication number
- JPS62229344A JPS62229344A JP61071778A JP7177886A JPS62229344A JP S62229344 A JPS62229344 A JP S62229344A JP 61071778 A JP61071778 A JP 61071778A JP 7177886 A JP7177886 A JP 7177886A JP S62229344 A JPS62229344 A JP S62229344A
- Authority
- JP
- Japan
- Prior art keywords
- data
- stored
- file
- gap
- storage device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000013500 data storage Methods 0.000 claims description 8
- 238000000034 method Methods 0.000 claims description 6
- 238000003780 insertion Methods 0.000 description 5
- 230000037431 insertion Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はデータ格納方式に関し、特に記憶装置内にデー
タが連続的な物理位置に格納されている順編成ファイル
におけるデータ格納方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data storage system, and more particularly to a data storage system in a sequential file in which data is stored in consecutive physical locations within a storage device.
従来、この種のデータ格納方式では、データ(レコード
)の格納は順次に(供給された順番に)書込まれている
ので、ファイル途中へのデータの挿入はファイル全体の
再構成(一旦挿入直前のファイル中のデータを別ファイ
ルに複写し、挿入データをその後に追加後、残ったファ
イルデータをその後に追加する等の手段)が必要となで
いた。Conventionally, in this type of data storage method, data (records) are written sequentially (in the order in which they are supplied), so inserting data in the middle of a file means reorganizing the entire file (once immediately before inserting data). It is necessary to copy the data in the file to another file, add the inserted data after that, and then add the remaining file data after that.
上述した従来のデータ格納方式は、記憶装置内にデータ
が連続的な物理位置に格納されているため、追加するデ
ータの挿入ができないという欠点がある。The conventional data storage method described above has the disadvantage that additional data cannot be inserted because the data is stored in consecutive physical locations within the storage device.
本発明の目的は、追加データの挿入が可能なデータ格納
方式を提供することにある。An object of the present invention is to provide a data storage method that allows insertion of additional data.
本発明のデータ格納方式は、順編成ファイルへのデータ
格納時、該データが格納される記憶装置の物理的な位置
にすき間を設け、該すき間に追加されるデータを挿入す
るように構成される。The data storage method of the present invention is configured such that when data is stored in a sequential file, a gap is provided at the physical location of the storage device where the data is stored, and additional data is inserted into the gap. .
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例による記憶装置のデータ配置
図である。FIG. 1 is a data layout diagram of a storage device according to an embodiment of the present invention.
第1図において、A 、 、 A 2− ・−ANは供
給された順番に記憶装置り内の順編成ファイルFに格納
された格納データ(レコード)であり、格納データA、
、A2 ・・・・・ANの格納時にそれぞれの格納デ
ータの後に予め物理的なすき間B s 、 B 2 −
・−BNを確保しておく。In FIG. 1, A, , A2-, -AN are stored data (records) stored in the sequential file F in the storage device in the order in which they were supplied;
, A2 . . . When storing AN, there is a physical gap B s , B 2 − in advance after each stored data.
-Secure BN.
挿入要求データA ’ I A ’ 2−・・A’N
が発生したときは、それらの挿入要求データに対応する
すき間B、、B2 ・−−BNにそれぞれデータを書込
むことにより、データの追加挿入が可能となる。Insertion request data A' I A'2-...A'N
When this occurs, additional data can be inserted by writing data into the gaps B, , B2, . . . , BN corresponding to the insertion request data.
以上説明したように本発明のデータ格納方式は、格納時
に予め物理的なすき間を確保しておくことにより、後か
らのデータ挿入が可能となるので、追加挿入を必要とす
るデータの発生頻度が高い場合には、従来の方式と異な
りファイル全体の再構成を必要としないので、高い処理
効率が得られるという効果がある。As explained above, the data storage method of the present invention makes it possible to insert data later by securing a physical gap in advance during storage, thereby reducing the frequency of occurrence of data that requires additional insertion. If it is high, unlike the conventional method, it is not necessary to reconstruct the entire file, so there is an effect that high processing efficiency can be obtained.
又、時系列的にある周期で繰り返されるようなデータを
記録する時、後から発生した同一位相のデータを記憶装
置内で物理的な近傍に配置することが可能となるので、
同一位相データ比較時に高いアクセス効率が得られると
いう効果がある。Furthermore, when recording data that is repeated at a certain period in time, it is possible to place later data of the same phase in the storage device in the physical vicinity.
This has the effect that high access efficiency can be obtained when comparing data of the same phase.
更に、後からデータ長が増加するようなデータの再書込
みが可能となるという副次的効果らある。Furthermore, there is a side effect that it becomes possible to rewrite data such that the data length increases later.
第1図は本発明の一実施例による記憶装置におけるデー
タ配置図である。
A H、A 2 −・−・AN・・・格納データ、A
’ I、 A ’2−・・・・・−A’N・・・挿入要
求データ、Bl、B2 ・・・BN・・・すき間、D
・・・記憶装置、F・・・順編成ファイル。
i′−1\
代理人 弁理士 内 原 晋1−
・、直・・=、ノFIG. 1 is a data layout diagram in a storage device according to an embodiment of the present invention. A H, A 2 ---AN...Stored data, A
'I, A '2-...-A'N...Insertion request data, Bl, B2...BN...Gap, D
...Storage device, F...Sequential file. i'-1\ Agent Patent Attorney Susumu Uchihara 1- ・、Nao・=、ノ
Claims (1)
る記憶装置の物理的な位置にすき間を設け、該すき間に
追加されるデータを挿入することを特徴とするデータ格
納方式。A data storage method characterized in that when data is stored in a sequential file, a gap is provided at a physical location in a storage device where the data is stored, and additional data is inserted into the gap.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61071778A JPS62229344A (en) | 1986-03-28 | 1986-03-28 | Data storing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61071778A JPS62229344A (en) | 1986-03-28 | 1986-03-28 | Data storing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62229344A true JPS62229344A (en) | 1987-10-08 |
Family
ID=13470365
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61071778A Pending JPS62229344A (en) | 1986-03-28 | 1986-03-28 | Data storing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62229344A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0277949A (en) * | 1988-09-14 | 1990-03-19 | Fuji Xerox Co Ltd | File producing method |
-
1986
- 1986-03-28 JP JP61071778A patent/JPS62229344A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0277949A (en) * | 1988-09-14 | 1990-03-19 | Fuji Xerox Co Ltd | File producing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR920001347A (en) | How and where to optimize undo log usage | |
JPH06250906A (en) | Backup/recovery system for data developed in main storage device | |
JPS62229344A (en) | Data storing system | |
JP3022011B2 (en) | Data backup system | |
JPS63301337A (en) | Data file managing system | |
JPS5851392A (en) | File copying system | |
JPH04336638A (en) | Disk exchange system in system working mode | |
JPS63213042A (en) | Method for extending file area | |
JPH04209044A (en) | Data base control system | |
JPH04350741A (en) | Access speed increasing method for indexed sequential file | |
JPH01119839A (en) | File constitution control system | |
JPS5916066A (en) | Data transfer system | |
JPH03260746A (en) | Data updating method | |
JPH01163848A (en) | Double updating preventing system for disk file | |
JPS63255732A (en) | High speed picture display device | |
JPS63293667A (en) | Multi-processor constituting device | |
JPH0346033A (en) | Data transfer control method for inter-job | |
JPH02118823A (en) | Data file saving and restoring device | |
JPH04256024A (en) | Dividing and loading system for program | |
Brown et al. | Study of the NASTRAN Input/Output Subsystems | |
JPH05241972A (en) | Restoring method for storage device and storage content | |
JPS62113231A (en) | Virtual disk control system for extended storage device | |
JPH03127115A (en) | Floppy disk write data securing system | |
JPS62143150A (en) | Program execution control system | |
JPH04364546A (en) | Space reconstitution system at disk data saving time |