JPS6226488B2 - - Google Patents

Info

Publication number
JPS6226488B2
JPS6226488B2 JP56048542A JP4854281A JPS6226488B2 JP S6226488 B2 JPS6226488 B2 JP S6226488B2 JP 56048542 A JP56048542 A JP 56048542A JP 4854281 A JP4854281 A JP 4854281A JP S6226488 B2 JPS6226488 B2 JP S6226488B2
Authority
JP
Japan
Prior art keywords
data
area
written
track
prime
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
Application number
JP56048542A
Other languages
Japanese (ja)
Other versions
JPS57162053A (en
Inventor
Masahiro Tanabe
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP56048542A priority Critical patent/JPS57162053A/en
Publication of JPS57162053A publication Critical patent/JPS57162053A/en
Publication of JPS6226488B2 publication Critical patent/JPS6226488B2/ja
Granted 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

Description

【発明の詳細な説明】 本発明は電子計算機における補助記憶装置の索
引順編成データセツトにおけるデータ書き込み方
式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data writing method in an index sequential data set of an auxiliary storage device in an electronic computer.

電子計算機の外部記憶装置には各種のものがあ
るが、第1図に示した100はその中の索引順編
成セツトにおける大容量記憶装置を模式的に描い
たものであつて、この大容量記憶装置100の内
容について以下に述べる。
There are various types of external storage devices for electronic computers, and 100 shown in Figure 1 is a schematic depiction of a large-capacity storage device in an index sequential organization set. The contents of the device 100 will be described below.

01として示した管理領域中の30,31,3
2………で示したものはデータ領域02,03,
04………なる各領域(第1図ではA,B,C,
………として示した部分)を管理する領域であ
る。
30, 31, 3 in the management area indicated as 01
2...... indicates data areas 02, 03,
04... Each area (A, B, C, in Figure 1)
This is an area for managing the parts shown as …….

ところで上記領域01,02,03,………の
各々は第2図に示したような構成になつていて各
トラツクには1つずつのヘツド101,102,
103,104,105………が対応しており各
ヘツドは中央処理装置(以下CPUと称する)1
11につながつている。
By the way, each of the above areas 01, 02, 03, . . . has a configuration as shown in FIG. 2, and each track has one head 101, 102,
103, 104, 105...... each head corresponds to a central processing unit (hereinafter referred to as CPU) 1
It is connected to 11.

この第2図の最上段のトラツクはインデツクス
領域と呼ばれ、第2、第3、第4………の各段す
なわちプライム領域の各トラツク12,13,1
4に書き込まれた最後のデータ、すなわち21と
して示したデータ9,22として示したデータ2
0,23として示したデータ33………はキイと
呼ばれ、インデツクス領域中に21′,22′,2
3′………として示したように登録されている。
The topmost track in FIG. 2 is called the index area, and each of the second, third, fourth, etc.
The last data written in 4, i.e. data 9 shown as 21, data 2 shown as 22
Data 33 shown as 0, 23 is called a key, and 21', 22', 2 are shown in the index area.
It is registered as shown as 3'......

プライム領域の各トラツク中に配列されるデー
タは第2図に1,2,3,4………と示したよう
に小さなものから順に大きなものへと配列される
という規約がある。したがつて例えば13という
データがどこに入つているかを調べようと思え
ば、この13なるデータと20および9なるキイ
データを互いに比較すれば、13は9よりも大き
く20よりも小さいから第3段目のトラツク13
中に入つていることが直ちに判明する。
There is a convention that the data arranged in each track of the prime area is arranged in order from smallest to largest as shown in FIG. 2 as 1, 2, 3, 4, . . . . Therefore, for example, if you want to find out where the data 13 is stored, if you compare the data 13 with the key data 20 and 9, you will find that 13 is larger than 9 and smaller than 20, so it is in the third row. track 13
It is immediately obvious that something is inside.

ところでこのプライム領域中の例えば12とし
て示したトラツクの中において、第2図に示した
ように、例えば6および7なるデータが抜けてい
るとする。この場合上記6および7なるデータを
上記トラツク12中に書き込むには、該トラツク
12中の各データをヘツド101を介して一度
CPU中の主メモリに読み出し、そして該CPU中
で各データを再編成して再び各データをトラツク
12中に書き込まねばならないが、この場合例え
ばデータ6をトラツク12中に書き込むならば、
上記トラツク中には余裕がないために6以外の他
のデータ、例えばデータ7があふれることになる
ので上記CPUからヘツド102を介して他のデ
ータ1,2,3,4,5,6,7,8,9をトラ
ツク12に書き込んだ後に、上記のあふれたデー
タ7をヘツド105を介してオーバ領域の例えば
16として示した部分に書き込むということがな
される。
Now, suppose that, as shown in FIG. 2, data 6 and 7, for example, are missing in the track shown as 12 in this prime area. In this case, in order to write the data 6 and 7 into the track 12, each data in the track 12 must be written once through the head 101.
Each data must be read to the main memory in the CPU, reorganized in the CPU, and then written to the track 12 again. In this case, for example, if data 6 is written to the track 12,
Since there is no room in the track, other data other than 6, such as data 7, will overflow, so other data 1, 2, 3, 4, 5, 6, 7 will be sent from the CPU via the head 102. .

しかるにこのデータ7がまだCPU111中の
メモリに保たれている期間中に例えば停電などの
システムダウンが発生すると、該データ7は消滅
してしまう。従つて、特に再編後にあふれ出すデ
ータが元のプライム領域にあつたデータであるよ
うな場合、これがプライム領域への再編成データ
の書込み後、オーバ領域への書込み前に消滅する
ようなことになると、所期設定をはじめからやり
直さなければならないという欠点があつた。
However, if a system failure such as a power outage occurs while this data 7 is still being held in the memory of the CPU 111, the data 7 will be lost. Therefore, especially if the data that overflows after reorganization is data that was in the original prime area, this will disappear after the reorganization data is written to the prime area but before it is written to the overflow area. However, the disadvantage was that the initial settings had to be made all over again.

本発明はこうした欠点に鑑みてなされたもの
で、インデツクス領域と複数のトラツクからなる
プライム領域およびオーバ領域を主体とする補助
記憶装置を含んだ電子計算機の当該補助記憶装置
に、追加データを書き込む際、上記電子計算機の
主メモリ上で追加のデータと上記トラツク上デー
タの再編成を行なつた後、プライム領域中への追
加データの書き込みによつて、当該プライム領域
からあふれるデータをあらかじめオーバ領域に書
き込み、しかる後、上記再編成されたデータをプ
ライム領域に再書き込みするようにしたデータ書
き込み方式を提供せんとするもので以下その方式
について述べる。
The present invention has been made in view of these drawbacks, and is intended to be used when writing additional data to an auxiliary storage device of a computer that includes an auxiliary storage device mainly consisting of an index area, a prime area consisting of a plurality of tracks, and an over area. After reorganizing the additional data and the data on the track in the main memory of the computer, the data overflowing from the prime area is written in the prime area in advance to the overflow area. The purpose is to provide a data writing method in which the data is written and then the reorganized data is rewritten in the prime area, and this method will be described below.

トラツク12中に6および7なるデータのどち
らかが書き込めそうにないということはCPUに
よつてデータ再編成の際に判断される。このよう
にあらかじめ例えばデータ7がトラツク12中に
書き込めそうにない時はCPU内でのデータの再
編成が終つた時点であふれ出したデータ7をまず
CPU111から出力し、ヘツド105を介して
オーバ領域の前記16として示した部分に書き込
んでおく。そしてその後再編成された上記のデー
タ7を除く他のデータを、CPU111からヘツ
ド102を介してプライム領域中のトラツク12
中に再書き込みする。
It is determined by the CPU during data reorganization that either data 6 or 7 is unlikely to be written into track 12. In this way, for example, if it is unlikely that data 7 can be written to track 12, the overflowing data 7 will be written first when the data reorganization in the CPU is completed.
The data is output from the CPU 111 and written via the head 105 into the portion shown as 16 in the over area. After that, the reorganized data other than the above data 7 are transferred from the CPU 111 to the track 12 in the prime area via the head 102.
Rewrite inside.

このようにすれば例えば前記したような停電な
どによる電子計算機のシステムダウンが起こつて
も、あふれ出たデータ7はオーバ領域に書き込ま
れた後であるから、前記データ7が消滅すること
は起こらず、したがつて、少なくとも追加前の元
のプライム領域にあつたデータ内容は常に記憶装
置の上に残された形となり、前記索引順編成デー
タセツトにおける再編成データの書き込みを安定
して行うことができる。
In this way, even if the electronic computer system goes down due to a power outage as described above, the overflowing data 7 will be written to the overflow area, so the data 7 will not be lost. Therefore, at least the data contents in the original prime area before addition are always left on the storage device, making it possible to stably write reorganized data in the index sequential data set. can.

なお、上記の例ではデータ7があふれ出た場合
であるが、例えばデータ9があふれ出た場合には
オーバ領域に書き込まれるべきものはこのデータ
9となる。この場合、トラツク12中のキイはデ
ータ8に変更されることになるから、このデータ
8をヘツド102とCPU111を介してインデ
ツクス領域中の21′として示した部分に書き込
むことを行う。
Note that in the above example, data 7 overflows, but for example, if data 9 overflows, it is this data 9 that should be written to the overflow area. In this case, the key in track 12 will be changed to data 8, so data 8 is written via head 102 and CPU 111 to the portion shown as 21' in the index area.

以上に述べた本発明に係るデータ書き込み方式
によればシステムダウンに対してデータフアイル
の破壊を防ぐことができるために、実用上多大の
効果が期待できる。
According to the data writing method according to the present invention described above, it is possible to prevent data files from being destroyed in the event of a system failure, and therefore, great practical effects can be expected.

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

第1図は索引順編成セツトにおける大容量記憶
装置を模式的に いた図、第2図は上記大容量記
憶装置のうちの1つのデータ領域の内容を示した
図である。 図において、01は管理領域、02,03,0
4………はデータ領域、1〜9,11〜20,3
3はデータ、21はデータ9、22はデータ2
0、23はデータ33、101,102,10
3,104,105はヘツド、100は大容量記
憶装置、111はCPUである。
FIG. 1 is a diagram schematically showing a mass storage device in an index sequential organization set, and FIG. 2 is a diagram showing the contents of a data area of one of the mass storage devices. In the figure, 01 is the management area, 02, 03, 0
4...... is the data area, 1 to 9, 11 to 20, 3
3 is data, 21 is data 9, 22 is data 2
0, 23 are data 33, 101, 102, 10
3, 104, and 105 are heads, 100 is a mass storage device, and 111 is a CPU.

Claims (1)

【特許請求の範囲】[Claims] 1 インデツクス領域と複数のトラツクからなる
プライム領域およびオーバ領域を主体とする補助
記憶装置を含んだ電子計算機の当該補助記憶装置
に、追加データを書き込む際、上記電子計算機の
主メモリ上で追加のデータと、上記トラツク上デ
ータの再編成を行なつた後、プライム領域中への
追加データの書き込みによつて当該プライム領域
からあふれるデータを、あらかじめオーバ領域に
書き込み、しかる後、上記再遍成されたデータを
プライム領域に再書き込みするようにしたことを
特徴とするデータ書き込み方式。
1. When writing additional data to the auxiliary storage device of a computer that includes an auxiliary storage device mainly consisting of an index area, a prime area consisting of multiple tracks, and an over area, the additional data is written in the main memory of the computer. Then, after reorganizing the data on the track mentioned above, by writing additional data into the prime area, the data overflowing from the prime area is written in advance to the overflow area, and then the above regenerated data is reorganized. A data writing method characterized by rewriting data to a prime area.
JP56048542A 1981-03-31 1981-03-31 Data write system Granted JPS57162053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56048542A JPS57162053A (en) 1981-03-31 1981-03-31 Data write system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56048542A JPS57162053A (en) 1981-03-31 1981-03-31 Data write system

Publications (2)

Publication Number Publication Date
JPS57162053A JPS57162053A (en) 1982-10-05
JPS6226488B2 true JPS6226488B2 (en) 1987-06-09

Family

ID=12806250

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56048542A Granted JPS57162053A (en) 1981-03-31 1981-03-31 Data write system

Country Status (1)

Country Link
JP (1) JPS57162053A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0689561B2 (en) * 1990-04-06 1994-11-09 大吉 末松 Rainwater infiltration structure

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0164578B1 (en) * 1984-05-16 1992-04-29 Siemens Aktiengesellschaft Storage method for grouped communications switching data
JPH03288944A (en) * 1990-04-06 1991-12-19 Shinnitsutetsu Joho Tsushin Syst Kk Method and device for reconstituting data base under use
JP3378594B2 (en) * 1992-09-25 2003-02-17 富士通株式会社 Processing unit that performs database relocation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0689561B2 (en) * 1990-04-06 1994-11-09 大吉 末松 Rainwater infiltration structure

Also Published As

Publication number Publication date
JPS57162053A (en) 1982-10-05

Similar Documents

Publication Publication Date Title
US10466907B2 (en) Method to efficiently store object data of an object storage service on a magnetic disk drive and magnetic SMR disk drive
CN1493026B (en) Memory device and record regenerator using it
US8806154B1 (en) Thin provisioning row snapshot with reference count map
US8224877B2 (en) Apparatus and method for hardware-based file system
KR0130008B1 (en) A file system for a plurality of storage classes
US5535381A (en) Apparatus and method for copying and restoring disk files
US7174420B2 (en) Transaction-safe FAT file system
US6463573B1 (en) Data processor storage systems with dynamic resynchronization of mirrored logical data volumes subsequent to a storage system failure
JPH0261733A (en) Method of conducting access to page in storage space
US9990150B2 (en) Method to provide transactional semantics for updates to data structures stored in a non-volatile memory
KR100224524B1 (en) Method for incrementally archiving primary storage to archive storage by utlizing both a partition archive status array and a partition map
US8086580B2 (en) Handling access requests to a page while copying an updated page of data to storage
JPS6226488B2 (en)
JPH0277949A (en) File producing method
JPH0158533B2 (en)
JPH1063436A (en) Method and device for storing data
KR100449419B1 (en) Method for managing a spatial database selectively according to data size
JP2822869B2 (en) Library file management device
JPH0635780A (en) File controlling method of large capacity storage device
JP2587417B2 (en) File backup and restoration method
JPH08202595A (en) File system
JPH01255028A (en) Method for making access to external storage device
JP3614886B2 (en) File system
JPH054697B2 (en)
JPS63163642A (en) File managing system