[go: up one dir, main page]

JPS62281038A - Data base constituting method - Google Patents

Data base constituting method

Info

Publication number
JPS62281038A
JPS62281038A JP61123732A JP12373286A JPS62281038A JP S62281038 A JPS62281038 A JP S62281038A JP 61123732 A JP61123732 A JP 61123732A JP 12373286 A JP12373286 A JP 12373286A JP S62281038 A JPS62281038 A JP S62281038A
Authority
JP
Japan
Prior art keywords
data
external storage
storage device
section
speed external
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
JP61123732A
Other languages
Japanese (ja)
Inventor
Tetsuyuki Takeshiya
武舎 哲之
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 JP61123732A priority Critical patent/JPS62281038A/en
Publication of JPS62281038A publication Critical patent/JPS62281038A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔概 要〕 データベース構成方法であって、高速と低速の外部記憶
装置を組み合わせアクセス頻度の高いデータを高速外部
記憶装置に格納することにより計算機システム全体のア
クセス所要時間を短縮しようとするものである。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Summary] A database configuration method that combines high-speed and low-speed external storage devices and stores frequently accessed data in the high-speed external storage device. The aim is to shorten the time required to access the entire system.

〔産業上の利用分野〕[Industrial application field]

本発明は、データベース構成方法に関する。データを蓄
積するにはファイルとデータベースの2通りの方式があ
る。
The present invention relates to a database configuration method. There are two methods for storing data: files and databases.

一般に、ファイルとはレコードの集合であってデータ管
理により維持されかつファイルへのアクセスはレコード
単位である。
Generally, a file is a collection of records that is maintained by data management, and access to the file is in units of records.

これに対し、データベースとは、一般に、少なくとも1
つのファイルからなるデータの集合であって与えられた
データ処理システムを満足するものをいう。
A database, on the other hand, generally has at least one
A collection of data consisting of two files that satisfies a given data processing system.

このデータベースはDBMS(Data Ba5e M
anagementSys tem)により維持されか
つそのアクセスではレコード間の関係やレコード内のフ
ィールドに論理演算を行うことができるように、幾通り
ものアクセスが可能である。
This database is a DBMS (Data Ba5e M
managementSystem) and allows a number of accesses such that logical operations can be performed on relationships between records and fields within records.

データベースは、従来から膨大な量のデータがファイル
としては管理が十分行き届かないことに鑑みてデータを
集中管理する必要から考え出されたものである。
Databases were developed out of the need to centrally manage data in view of the fact that huge amounts of data cannot be managed properly as files.

この集中管理の一環として、データベースでは膨大なデ
ータを高速に処理する必要がある。
As part of this centralized management, databases need to process huge amounts of data at high speed.

本発明は、かかるデータベースの構成方法に関する。The present invention relates to a method for configuring such a database.

〔従来の技術〕[Conventional technology]

従来、計算システムにおいてデータベースを構成する場
合は、外部記憶装置即ち中央処理装置が入出力チャネル
を介してデータの読み書きができる記憶装置、特にその
うちでもアクセス時間の短い高速外部記憶装置が使用さ
れていた。
Traditionally, when configuring a database in a computing system, an external storage device, that is, a storage device in which the central processing unit can read and write data via an input/output channel, was used, especially a high-speed external storage device with short access time. .

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来は、上述したように主として高速外部記憶装置が使
用されていた。
Conventionally, as mentioned above, high-speed external storage devices have mainly been used.

しかし、データ量が多くなると、高速外部記憶装置では
その容量に自ずと限界があるため、データベースの規模
を縮小せざるを得ない。
However, when the amount of data increases, there is a limit to the capacity of high-speed external storage devices, so the scale of the database must be reduced.

これを解決する方策として、大容量であって膨大な量の
データを格納できる低速外部記憶装置を使用することが
提案された。
As a solution to this problem, it has been proposed to use a low-speed external storage device that has a large capacity and can store an enormous amount of data.

しかし、この低速外部記憶装置はアクセス時間が長いの
で計算機システムのデータ処理効率が低下するという問
題点があった。
However, this low-speed external storage device has a problem that the data processing efficiency of the computer system decreases because the access time is long.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明の目的は、」1記問題点を解決しデータベースに
おけるアクセス時間を短縮することによりデータの処理
効率を向上させることにある。
An object of the present invention is to improve data processing efficiency by solving problem 1 and shortening access time in a database.

そのための手段は、第1図に示すように、計算機システ
ムに高速外部記憶装置1と低速外部記憶装置2を設ける
と共に、高速外部記憶装置1をアクセス頻度の高いデー
タを格納する活性データ部11をもって、低速外部記憶
装置2をアクセス頻度の低いデータを格納する不活性デ
ータ部21をもって、それぞれ構成し、先ず活性データ
部11をアクセスして(■)データが存在すればそれを
更新し、データがなければ不活性データ部21をアクセ
スしく■)その不活性データを活性データとして活性デ
ータ部11へ格納するものである(■)。
As shown in FIG. 1, the means for this purpose is to provide the computer system with a high-speed external storage device 1 and a low-speed external storage device 2, and to provide the high-speed external storage device 1 with an active data section 11 that stores frequently accessed data. , the low-speed external storage device 2 is configured with an inactive data section 21 that stores data that is accessed infrequently, and the active data section 11 is first accessed (■), and if data exists, it is updated; If not, the inactive data section 21 is accessed (■) The inactive data is stored in the active data section 11 as active data (■).

〔作 用〕[For production]

上記のとおり、本発明によれば、データが一般にはアク
セス頻度の高い活性データとアクセス頻度の低い不活性
データに大別されることに着眼し、アクセス動作期間中
に活性データを高速外部記憶装置に、不活性データを低
速外部記憶装置に振り分けることができる。
As described above, the present invention focuses on the fact that data is generally divided into active data that is accessed frequently and inactive data that is accessed infrequently. Additionally, inactive data can be routed to slower external storage.

従って計算システム全体のアクセス時間を可能な限り短
縮できてデータ処理効率が向上するようになった。
Therefore, the access time of the entire computing system can be reduced as much as possible, and data processing efficiency has improved.

〔実施例〕〔Example〕

以下、本発明を、実施例により添付図面を参照して、説
明する。
The invention will now be explained by way of example with reference to the accompanying drawings.

第2図は、本発明の実施例を示す図である。FIG. 2 is a diagram showing an embodiment of the present invention.

第2図の実施例は、高速外部記憶装置1、例えば半導体
メモリ、低速外部記憶装置2、例えば磁気ディスクから
成り、前者は活性データ部11と不活性データ部12、
後者は不活性データ部21により、それぞれ構成されて
いる。
The embodiment of FIG. 2 consists of a high-speed external storage device 1, such as a semiconductor memory, and a low-speed external storage device 2, such as a magnetic disk, the former comprising an active data section 11, an inactive data section 12,
The latter are each constituted by an inactive data section 21.

高速外部記憶装置1の活性データ部11はアクセス頻度
の高いデータを格納し、インデックス部111 とデー
タ部112から成る。
The active data section 11 of the high-speed external storage device 1 stores frequently accessed data and consists of an index section 111 and a data section 112.

インデックス部111には活性データをアクセスする場
合の基準情報が格納され、データ部112には活性デー
タそのものが格納されている。
The index section 111 stores reference information when accessing active data, and the data section 112 stores the active data itself.

もう一方の不活性データ部12は、低速外部記憶装置2
に格納すべき不活性データのインデックス部121のみ
から構成されている。
The other inactive data section 12 is a low-speed external storage device 2.
It consists only of an index section 121 for inactive data to be stored in the index section 121.

他方、低速外部記憶装置の不活性データ部212は、不
活性データそのものを格納するデータ部211のみから
構成されている。
On the other hand, the inactive data section 212 of the low-speed external storage device consists only of the data section 211 that stores inactive data itself.

以下、上記構成を有するデータベースの構成力法の動作
を、説明する。
Hereinafter, the operation of the configuration method of the database having the above configuration will be explained.

(1)アクセス動作と同時に行う処理 ■ 先ず、高速外部記憶装置1の活性データ部11のイ
ンデックス部111 をアクセスする(■)。
(1) Processing performed simultaneously with access operation (■) First, the index section 111 of the active data section 11 of the high-speed external storage device 1 is accessed (■).

■ インデックスを参照して活性データが存在ずればデ
ータ部112においてそのデータを参照し、所定の読み
出し書き込み動作をし、かつインデックス部111のア
クセス日を更新する(■)。
(2) If active data exists by referring to the index, the data is referred to in the data section 112, a predetermined read/write operation is performed, and the access date in the index section 111 is updated (■).

■ 活性データ部11のデータ部112にデータが存在
しないならば、不活性データ部12のインデックス部1
.21をアクセスする(■)。
■ If no data exists in the data section 112 of the active data section 11, the index section 1 of the inactive data section 12
.. Access 21 (■).

■ このインデックス部1.21を参照して低速外部記
憶装置2の不活性データ部21のデータ部211におい
て所定の不活性データをアクセスしてこれを参照する(
■)。
(2) Access and refer to predetermined inactive data in the data section 211 of the inactive data section 21 of the low-speed external storage device 2 by referring to this index section 1.21 (
■).

■ このアクセスした不活性データを活性データとして
高速外部記憶装置1のデータ部112に格納すると共に
新たな活性データとしてのインデックス部111を、例
えばアクセス日を更新する。
(2) The accessed inactive data is stored as active data in the data section 112 of the high-speed external storage device 1, and the index section 111 is updated with, for example, the access date as new active data.

■ この結果、新たに活性データとして格納さく7) れたので、もとのそのインデックス部121 の情報は
不要となるのでこれを削除する(■)。
■ As a result, new data is stored as active data7), so the original information in the index section 121 is no longer needed, so it is deleted (■).

(2)アクセス動作とは独立に定期的に行う処理■ 上
述したように活性データとして新たに高速外部記憶装置
に格納されたもとの不活性データは不要となる。従って
高速外部記憶装置1のインデックス部121 と低速外
部記憶装置2のデータ部211とを照合し、インデック
ス部121 に存在しない不活性データをデータ部21
1から削除する(■)。
(2) Processing performed periodically independent of access operations ■ As mentioned above, the original inactive data newly stored in the high-speed external storage device as active data is no longer needed. Therefore, the index section 121 of the high-speed external storage device 1 is compared with the data section 211 of the low-speed external storage device 2, and inactive data that does not exist in the index section 121 is removed from the data section 21.
Delete from 1 (■).

■ また、活性データ部11のデータ部112に格納さ
れているデータもそのインデックス部111を参照する
ことによりアクセス日が古いものは、不活性データとし
てデータ自身を低速外部記憶装置2のデータ部211に
、そのインデックス部は高速外部記憶装置1のインデッ
クス部121に、それぞれ格納する(■)。
■ Also, by referring to the index section 111 of the data stored in the data section 112 of the active data section 11, if the access date is old, the data itself is transferred to the data section 212 of the low-speed external storage device 2 as inactive data. Then, the index sections are stored in the index section 121 of the high-speed external storage device 1 (■).

〔発明の効果〕〔Effect of the invention〕

上記のとおり、本発明によれば、データが一般にはアク
セス頻度の高い活性データとアクセス頻度の低い不活性
データに大別されることに着眼し、アクセス動作期間中
に活性データを高速外部記憶装置に、不活性データを低
速外部記憶装置に振り分けることができる。
As described above, the present invention focuses on the fact that data is generally divided into active data that is accessed frequently and inactive data that is accessed infrequently. Additionally, inactive data can be routed to slower external storage.

従って計算システム全体のアクセス時間を可能な限り短
縮できてデータ処理効率が向上するようになった。
Therefore, the access time of the entire computing system can be reduced as much as possible, and data processing efficiency has improved.

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

第1図は本発明の原理図、第2図は本発明の実施例を示
す図である。 1・・・高速外部記憶装置、2・・・低速外部記憶装置
、11・・・活性データ部、 12・・・不活性データ
部、21・・・不活性データ部、111・・・インデッ
クス部、112・・・データ部、   121 ・・・
インデックス部、211・・・データ部。 本発明の原理図 第1図 1・・・高速外部記憶装置 2°°°低運外部記憶装置 11°°°活性デ一タ部 21・・・不活性データ部
FIG. 1 is a diagram showing the principle of the present invention, and FIG. 2 is a diagram showing an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... High-speed external storage device, 2... Low-speed external storage device, 11... Active data section, 12... Inactive data section, 21... Inactive data section, 111... Index section , 112...data section, 121...
Index section, 211...data section. Principle diagram of the present invention Fig. 1 1...High speed external storage device 2°°°Low luck external storage device 11°°Active data section 21...Inactive data section

Claims (1)

【特許請求の範囲】 高速外部記憶装置内にアクセス頻度の高い活性データを
格納する活性データ部を、低速外部記憶装置内にアクセ
ス頻度の少ない不活性データを格納する不活性データ部
を、それぞれ設け、 先ず上記高速外部記憶装置の活性データ部をアクセスし
て活性データが存在する場合はその活性データに対し所
定の読み書き動作を行い、 次に、活性データが存在しない場合は上記低速外部記憶
装置の不活性データ部をアクセスして不活性データに対
し所定の読み書き動作を行うと共にその不活性データを
活性データとして上記高速外部記憶装置の活性データ部
に格納することを特徴とするデータベース構成方法。
[Scope of Claims] An active data section for storing frequently accessed active data in a high-speed external storage device and an inactive data section for storing inactive data for infrequently accessed in a low-speed external storage device are respectively provided. , First, the active data section of the high-speed external storage device is accessed, and if active data exists, a predetermined read/write operation is performed on the active data, and then, if no active data exists, the active data section of the low-speed external storage device is accessed. A database configuration method, comprising: accessing an inactive data section, performing predetermined read/write operations on the inactive data, and storing the inactive data as active data in the active data section of the high-speed external storage device.
JP61123732A 1986-05-30 1986-05-30 Data base constituting method Pending JPS62281038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61123732A JPS62281038A (en) 1986-05-30 1986-05-30 Data base constituting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61123732A JPS62281038A (en) 1986-05-30 1986-05-30 Data base constituting method

Publications (1)

Publication Number Publication Date
JPS62281038A true JPS62281038A (en) 1987-12-05

Family

ID=14867974

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61123732A Pending JPS62281038A (en) 1986-05-30 1986-05-30 Data base constituting method

Country Status (1)

Country Link
JP (1) JPS62281038A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7613744B2 (en) 2005-08-17 2009-11-03 International Business Machines Corporation Maintaining active-only copy storage pools
US7634516B2 (en) 2005-08-17 2009-12-15 International Business Machines Corporation Maintaining an aggregate including active files in a storage pool in a random access medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7613744B2 (en) 2005-08-17 2009-11-03 International Business Machines Corporation Maintaining active-only copy storage pools
US7634516B2 (en) 2005-08-17 2009-12-15 International Business Machines Corporation Maintaining an aggregate including active files in a storage pool in a random access medium
US7657577B2 (en) 2005-08-17 2010-02-02 International Business Machines Corporation Maintaining active-only storage pools
US7660834B2 (en) 2005-08-17 2010-02-09 International Business Machines Corporation Maintaining an aggregate including active files in a storage pool

Similar Documents

Publication Publication Date Title
CN115221131A (en) High-speed data reading and writing method and device for time sequence database
JPS59220853A (en) Disc cache system
JPS62281038A (en) Data base constituting method
JPH07334402A (en) Main memory database
US20170357691A1 (en) Managing Data Obsolescence in Relational Databases
JPH06103128A (en) Storage device
JPS63138442A (en) Deleted file restoration processing method
JPS62131349A (en) Database processing method
JP2679761B2 (en) Data management system
JPH0239225A (en) file system
JPH03201045A (en) Data control system
JP2615046B2 (en) Record addition processing method
JP2721034B2 (en) Clustering control system
JPH03174654A (en) Filing method and its device
mouli Yalamanchili Technical Insights into the zOS file system and datasets
JPH0423143A (en) Data storing system
JPS62177642A (en) File management system for postscript filing device
JPS62296226A (en) Index processing system for index sequence arranging file
CN119669217A (en) A modeless data storage system based on hybrid storage structure supporting asynchronous changes
JPH04148249A (en) File management system
JPS63136216A (en) Vtoc accessing system
JPH03103915A (en) Access system for auxiliary storage device
JPH03105534A (en) File control method
JPH06348572A (en) Multi-mechanism disk system
JPH0228846A (en) Data storing system