JP2000267903A - Device for storing data divided into plural properties - Google Patents

Device for storing data divided into plural properties

Info

Publication number
JP2000267903A
JP2000267903A JP11069423A JP6942399A JP2000267903A JP 2000267903 A JP2000267903 A JP 2000267903A JP 11069423 A JP11069423 A JP 11069423A JP 6942399 A JP6942399 A JP 6942399A JP 2000267903 A JP2000267903 A JP 2000267903A
Authority
JP
Japan
Prior art keywords
data
property
properties
storage device
medium
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
JP11069423A
Other languages
Japanese (ja)
Inventor
Yasuhiro Nakada
康広 中田
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 Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP11069423A priority Critical patent/JP2000267903A/en
Publication of JP2000267903A publication Critical patent/JP2000267903A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To store data in a suitable medium in accordance with its property. SOLUTION: The storage device is provided with a property-divided storage means 2 for storing data suitably for their properties, a totalization means 23 for totalizing the application frequency of data, a distribution means 25 for distributing the application frequency in each property, and a reference setting means 26 for setting up reference application frequency in each property. It is especially preferable to prepare a moving means for moving data to a medium A or B to be a storage part suitable for the data when its property already stored in the means 2 is changed in accordance with application history. Since data are stored suitably for respective properties, a memory can be more effectively and suitably utilized.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数性質別データ
格納装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data storage device for a plurality of properties.

【0002】[0002]

【従来の技術】多様なデータが、データベースに格納さ
れる。その利用頻度に係わらず、全てのデータは、同じ
機能、性能を持った同じ媒体に格納されている。滅多に
利用されないデータが高価格・高性能の媒体に格納さ
れ、頻繁に利用されるデータが低価格・低性能の媒体に
格納されることがしばしばあり、システムのコストを不
用意に上げ、利用者に不便を強いることがしばしば起こ
っている。
2. Description of the Related Art Various data are stored in a database. Regardless of the frequency of use, all data is stored in the same medium having the same function and performance. Data that is rarely used is stored on high-priced, high-performance media, and frequently used data is often stored on low-cost, low-performance media. It often happens that people are inconvenienced.

【0003】データは相応しい媒体に格納されることが
望まれる。このような要望を受けて、データをその性質
に相応しい媒体に格納するための技術が、多く知られて
いる。そのうちの代表的な特開平5−12077号は、
アクセス頻度が高いかそれが低いかに基づいて、そのデ
ータについて相応しい格納媒体を選択する技術である。
アクセス頻度は、データの性質を示さない。アクセス頻
度が高くても、データ量が少ないデータは、低速媒体に
格納することが好ましいことが(多い)あり得る。
It is desired that the data be stored on a suitable medium. In response to such demands, many techniques for storing data on a medium suitable for its properties are known. Among them, a representative Japanese Patent Application Laid-Open No. 5-12077,
This is a technique for selecting an appropriate storage medium for the data based on whether the access frequency is high or low.
The access frequency does not indicate the nature of the data. Even if the access frequency is high, data with a small amount of data may preferably (preferably) be stored on a low-speed medium.

【0004】データの異なる性質に従って、相応しい格
納媒体を見出すことが望ましい。
[0004] It is desirable to find a suitable storage medium according to the different nature of the data.

【0005】[0005]

【発明が解決しようとする課題】本発明の課題は、デー
タがその性質に対応して相応しい媒体に格納される複数
性質別データ格納装置を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a data storage device for a plurality of properties in which data is stored in a medium suitable for the property.

【0006】[0006]

【課題を解決するための手段】その課題を解決するため
の手段が、下記のように表現される。その表現中の請求
項対応の技術的事項には、括弧()つきで、番号、記号
等が添記されている。その番号、記号等は、請求項対応
の技術的事項と実施の複数・形態のうちの少なくとも1
つの形態の技術的事項との一致・対応関係を明白にして
いるが、その請求項対応の技術的事項が実施の形態の技
術的事項に限定されることを示すためのものではない。
Means for solving the problem are described as follows. The technical matters corresponding to the claims in the expression are appended with numbers, symbols, etc. in parentheses (). The number, the symbol, etc. are at least one of the technical matters corresponding to the claims and the plurality of embodiments.
Although the agreement / correspondence with the technical matters of the two forms is clarified, it is not intended to show that the technical matters corresponding to the claims are limited to the technical matters of the embodiment.

【0007】本発明による複数性質別データ格納装置
は、データをその複数・性質に相応しく格納するための
性質別格納手段(2)からなる。データをその複数・性
質に相応しく格納することにより、メモリーをより有効
に且つ適正に利用することができる。更に、性質別にデ
ータが利用される利用頻度を集計するための集計手段
(23)が設けられることが好ましい。
The data storage device for plural characteristics according to the present invention comprises a characteristic storing means (2) for storing data in accordance with the plural characteristics. By storing data according to the plurality and properties thereof, the memory can be used more effectively and properly. Furthermore, it is preferable to provide a counting means (23) for counting the frequency of use of data for each property.

【0008】更に、利用頻度を性質別に振り分けるため
の振分手段(25)、基準利用頻度を性質別に設定する
ための基準設定手段(26)が設けられることが好まし
い。既に格納されているデータの性質が、その利用履歴
により変更された時には、そのデータに相応しい格納部
分の媒体(A,B)に移動させるための移動手段が設け
られることは特に好ましい。基準利用頻度を設定する複
数・性質は、リード・リライトであり、又は、データ数
の多少であり、データの高速性・低速性である。
[0008] Further, it is preferable to provide a distributing means (25) for distributing the use frequency for each property and a reference setting means (26) for setting the reference use frequency for each property. It is particularly preferable to provide a moving means for moving the stored data to the storage medium (A, B) suitable for the data when the property of the already stored data is changed by the use history. The plurality of characteristics for setting the reference use frequency are read / write and / or the number of data, and are high speed and low speed of data.

【0009】[0009]

【発明の実施の形態】図に一致対応して、本発明による
複数性質別データ格納装置の実施の形態は、データベー
ス1が複数・媒体A,Bとともに設けられている。デー
タベース1には、データ部2とインデックス部3が従来
通りに設けられている。データベース1には、更に、利
用履歴部4が設けられている。複数・媒体A,Bは、デ
ータベース1に含まれている。複数・媒体A,Bには、
性質が異なるデータが選別され振り分けられて格納され
ていくことになる。媒体Aと媒体Bとの間には、データ
が移動し得るデータ移動機能を持つデータ移動関係があ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Corresponding to the drawings, in an embodiment of a data storage device according to the present invention, a database 1 is provided together with a plurality of media A and B. FIG. The data part 2 and the index part 3 are provided in the database 1 as usual. The database 1 is further provided with a usage history section 4. The plurality of mediums A and B are included in the database 1. Multiple / Medium A, B
Data having different properties are sorted, sorted, and stored. There is a data movement relationship between the medium A and the medium B that has a data movement function in which data can be moved.

【0010】インデックス部3は、各データが媒体Aと
媒体Bのうちのどの媒体に格納されているかに関して管
理機能を有している。利用履歴部4は、各データに関し
てその履歴情報を管理している。媒体A,Bに格納され
ている各データには、キー値が属している。利用履歴部
4が出力する履歴情報には、共通のキー値、履歴順次番
号、媒体識別子A,B、そのデータの性質である利用形
態が含まれている。
The index section 3 has a management function as to which of the medium A and the medium B each data is stored in. The usage history unit 4 manages history information on each data. A key value belongs to each data stored in the media A and B. The history information output by the usage history unit 4 includes a common key value, a history sequential number, medium identifiers A and B, and a usage form which is a property of the data.

【0011】利用形態は、複数性質の中から特定された
各データに固有の性質である。性質は、ペアになる複数
・性質の1つである。ペアである複数・性質は、リード
(リライトよりもリードが優勢である性質であり、その
リード頻度に相当する)とリライト(リードよりもリラ
イトが優勢であり、そのリライト頻度に相当する)、デ
ータ数が多いこととデータ数が少ないこと、高速性と低
速性、のようなペアであり、反対性質を持つ組合せであ
ることが多い。媒体Aと媒体Bとのペアは、このような
組合せの種類に応じて、その数が増加する。
The use mode is a property unique to each data specified from a plurality of properties. The property is one of a plurality of properties that form a pair. Pairs of plural / characteristics include read (characteristics in which read predominates over rewrite and correspond to the read frequency), rewrite (rewrite superiority than read, and correspond to the rewrite frequency), data It is a pair of a large number, a small number of data, high speed and low speed, and is often a combination having the opposite property. The number of pairs of the medium A and the medium B increases according to the type of such a combination.

【0012】当該複数性質別データ格納装置には、更
に、統計情報DB23が設けられている。インデックス
部3から出力されるインデックス情報21と利用履歴部
4から出力される履歴情報22とは、統計情報DB23
に入力される。統計情報DB23が持つ集計機能は、イ
ンデックス情報21と履歴情報22とから、統計情報2
4を作成する機能である。
[0012] The data storage device for plural properties is further provided with a statistical information DB 23. The index information 21 output from the index unit 3 and the history information 22 output from the usage history unit 4 are a statistical information DB 23
Is input to The tallying function of the statistical information DB 23 is based on the index information 21 and the history information 22,
4 is a function for creating the same.

【0013】当該複数性質別データ格納装置には、更
に、基準DB25が設けられている。基準DB25は、
判定基準情報26を有する。判定基準情報26は、媒体
識別子と判定基準(数等)を含んでいる。基準DB25
は、振分機能を有する。その振分機能による振り分け
は、統計情報DB23から出力される統計情報24と判
定基準情報26とに基づいて、そのデータが媒体Aに相
応しいか媒体Bに相応しいか、いずれかの判定を実行す
る。
[0013] The data storage device according to the plurality of properties is further provided with a reference DB 25. The reference DB 25 is
It has criterion information 26. The criterion information 26 includes a medium identifier and a criterion (such as a number). Reference DB25
Has a distribution function. In the distribution by the distribution function, based on the statistical information 24 output from the statistical information DB 23 and the determination criterion information 26, it is determined whether the data is suitable for the medium A or the medium B.

【0014】当該複数性質別データ格納装置には、更
に、移動情報DB27が設けられている。移動情報DB
27は、移動情報28を有している。移動情報28は、
共通キー値と異動先を含んでいる。移動情報DB27が
持つデータ移動機能は、移動情報28と振分機能による
結果情報に基づいて、移動させないか、移動先を具体的
に決定する。
[0014] The data storage device for a plurality of properties is further provided with a movement information DB 27. Movement information DB
27 has movement information 28. The movement information 28
Includes common key values and destinations. The data movement function of the movement information DB 27 determines, based on the movement information 28 and the result information obtained by the distribution function, whether or not to move the data, or specifically determines the destination.

【0015】図2は、集計機能を具体的に示している。
インデックス部3は、多くのデータに関して、共通キー
値0001,0002,0003,0004,・・・
と、ポインタ001,002,003,004,・・・
と、媒体識別子A,Bとを有している。利用履歴部4
は、履歴の順次番号0011,0012,0013,0
014,・・・と、共通キー値0001,0002,0
003,0004,・・・と、利用形態を有している。
利用形態としては、ディリート(delite)、ライ
ト(write)、リライト(rewrite)、リー
ド(read)とを有している。
FIG. 2 specifically shows the counting function.
The index unit 3 has a common key value of 0001, 0002, 0003, 0004,.
And pointers 001, 002, 003, 004,.
And medium identifiers A and B. Usage history section 4
Is the sequential number of the history 0011, 0012, 0013, 0
014,... And the common key value 0001, 0002, 0
003, 0004,...
Usage forms include a delete (delete), a write (write), a rewrite (rewrite), and a read (read).

【0016】統計情報DB23は、このようなインデッ
クス情報21と履歴情報22とから、その集計機能によ
り、統計情報24を作成する。統計情報24として、共
通キー値0001に関して例示されている。データ00
01については、履歴情報22は、リードが2回であ
り、リライトが1回であることをそれぞれに示してい
る。媒体識別子は、その共通キー値からAであることが
判定される。
The statistical information DB 23 creates the statistical information 24 from the index information 21 and the history information 22 by using its totalizing function. The statistical information 24 is illustrated with respect to the common key value 0001. Data 00
For 01, the history information 22 indicates that read is performed twice and rewrite is performed once. The medium identifier is determined to be A from the common key value.

【0017】図3は、振分機能を詳しく示している。統
計情報DB23は、複数データについて統計情報22を
示している。基準DB25は、その具体値を示してい
る。媒体Bに関しては、リード回数が5に設定され、リ
ライト回数が5に設定されている。基準DB25は、リ
ード回数が5より大きいか、又は、リライト回数が5よ
り大きい場合には、そのデータは媒体Aに格納されるべ
きであることを示している。それらが5以下であれば、
そのデータは媒体Bに格納されることになる。
FIG. 3 shows the distribution function in detail. The statistical information DB 23 indicates the statistical information 22 for a plurality of data. The reference DB 25 indicates the specific value. For the medium B, the number of reads is set to 5, and the number of rewrites is set to 5. The reference DB 25 indicates that the data should be stored in the medium A when the read count is larger than 5 or the rewrite count is larger than 5. If they are 5 or less,
The data will be stored on the medium B.

【0018】このような基準値の設定によれば、共通キ
ー値0001のデータの格納媒体はBが相応しく従って
その移動が実行されることが相応しく、共通キー値00
02のデータの格納媒体はAが相応しく従ってその移動
が実行されることが相応しく、共通キー値0003のデ
ータの格納媒体はBが相応しく従ってその移動が実行さ
れることが相応しく、共通キー値0004のデータの格
納媒体はAが相応しく従ってその移動が実行されないこ
とが相応しい、とそれぞれに判定される。このような振
分判定に基づいて、移動情報DB27は移動先を指定
し、その異動先への移動がデータ移動機能により実行さ
れる。
According to the setting of such a reference value, the storage medium for the data of the common key value 0001 is suitable for B and therefore it is appropriate that the movement is executed.
02 is suitable for the transfer of the common key value 0003, and the storage medium for the data of the common key value 0003 is suitable for the transfer of the common key value 0004. It is respectively determined that the data storage medium is suitable for A and therefore the movement is not executed. Based on such a distribution determination, the movement information DB 27 specifies a movement destination, and movement to the transfer destination is executed by the data movement function.

【0019】[0019]

【発明の効果】本発明による複数性質別データ格納装置
は、データがその性質に対応して相応しい媒体に格納さ
れ、データ格納のためのメモリの使用の適正化が達成さ
れる。
In the data storage device according to the present invention, data is stored in an appropriate medium corresponding to the characteristics, and the use of the memory for storing data is optimized.

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

【図1】図1は、本発明による複数性質別データ格納装
置の実施の形態を示すシステムブロック図である。
FIG. 1 is a system block diagram showing an embodiment of a data storage device for plural properties according to the present invention.

【図2】図2は、本発明による複数性質別データ格納装
置の実施の形態を示すシステムフロー図である。
FIG. 2 is a system flow diagram showing an embodiment of a data storage device for plural properties according to the present invention.

【図3】図3は、本発明による複数性質別データ格納装
置の実施の他の形態を示すシステムフロー図である。
FIG. 3 is a system flow diagram showing another embodiment of the data storage device for plural properties according to the present invention.

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

2…性質別格納手段 23…集計手段(統計情報DB) 25…振分手段(基準DB) 26…基準設定手段(判定基準情報) A,B…媒体 2 ... Property storage means 23 ... Aggregating means (statistical information DB) 25 ... Distributing means (reference DB) 26 ... Reference setting means (judgment reference information) A, B ... Medium

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】データをその複数・性質に相応しく格納す
るための性質別格納手段からなる複数性質別データ格納
装置。
An apparatus for storing data according to a plurality of properties, comprising storage means according to properties for storing data according to the plurality and properties thereof.
【請求項2】請求項1において、 更に、性質別に前記データが利用される利用頻度を集計
するための集計手段からなることを特徴とする複数性質
別データ格納装置。
2. The data storage device according to claim 1, further comprising a totaling unit for totalizing a use frequency of using said data for each property.
【請求項3】請求項2において、 更に、前記利用頻度を前記性質別に振り分けるための振
分手段からなることを特徴とする複数性質別データ格納
装置。
3. The data storage device according to claim 2, further comprising a distribution unit for distributing the use frequency according to the property.
【請求項4】請求項3において、 更に、前記振り分け手段による振分けにより性質が変更
された前記データを前記性質別格納手段の中で前記デー
タの性質に相応しい部分に移動させるための移動手段か
らなることを特徴とする複数性質別データ格納装置。
4. The moving means according to claim 3, further comprising a moving means for moving the data whose properties have been changed by the distribution by said distributing means to a portion of said property-specific storage means suitable for said data. A data storage device according to a plurality of properties, characterized in that:
【請求項5】請求項3において、 更に、基準利用頻度を性質別に設定するための基準設定
手段からなる複数性質別データ格納装置。
5. The data storage device according to claim 3, further comprising: reference setting means for setting a reference use frequency for each property.
【請求項6】請求項3において、 前記基準利用頻度を設定する複数・性質は、リードとリ
ライトであることを特徴とする複数性質別データ格納装
置。
6. The data storage device according to claim 3, wherein the plurality of properties for setting the reference use frequency are read and rewrite.
【請求項7】請求項5において、 前記基準利用頻度を設定する複数・性質は、データ数が
多いこととデータ数が少ないこととであることを特徴と
する複数性質別データ格納装置。
7. The data storage device according to claim 5, wherein the plurality of characteristics for setting the reference use frequency include a large number of data and a small number of data.
【請求項8】請求項5において、 前記基準利用頻度を設定する複数・性質は、高速性と低
速性とであることを特徴とする複数性質別データ格納装
置。
8. The data storage device according to claim 5, wherein the plurality of characteristics for setting the reference use frequency are high speed and low speed.
JP11069423A 1999-03-16 1999-03-16 Device for storing data divided into plural properties Pending JP2000267903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11069423A JP2000267903A (en) 1999-03-16 1999-03-16 Device for storing data divided into plural properties

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11069423A JP2000267903A (en) 1999-03-16 1999-03-16 Device for storing data divided into plural properties

Publications (1)

Publication Number Publication Date
JP2000267903A true JP2000267903A (en) 2000-09-29

Family

ID=13402206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11069423A Pending JP2000267903A (en) 1999-03-16 1999-03-16 Device for storing data divided into plural properties

Country Status (1)

Country Link
JP (1) JP2000267903A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006134164A (en) * 2004-11-08 2006-05-25 Hitachi Ltd Management method for storage system
JP2018041322A (en) * 2016-09-08 2018-03-15 日本電信電話株式会社 Heterogeneous databases management device, method, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006134164A (en) * 2004-11-08 2006-05-25 Hitachi Ltd Management method for storage system
JP4596889B2 (en) * 2004-11-08 2010-12-15 株式会社日立製作所 Storage system management method
JP2018041322A (en) * 2016-09-08 2018-03-15 日本電信電話株式会社 Heterogeneous databases management device, method, and program

Similar Documents

Publication Publication Date Title
CN102112967B (en) Multiprocessor system, management device for multiprocessor system and method
CN104156380B (en) A kind of distributed memory hash indexing method and system
CN102033924B (en) Data storage method and system
CN104834484B (en) Data processing system based on embedded programmable logic array and processing method
JPH10340276A (en) Intensive operation executing method, and computer system therefor
CN110263014A (en) Block chain storage system and method towards timing type data
CN102867071A (en) Management method for massive network management historical data
CN107729558A (en) Method, system, device and the computer-readable storage medium that file system fragmentation arranges
US11567999B2 (en) Using a B-tree to store graph information in a database
US11151138B2 (en) Computer program for processing a pivot query
CN104298736A (en) Method and device for aggregating and connecting data as well as database system
CN102622434A (en) Data storage method, data searching method and device
JPH1097544A (en) Database processing system
Nodine et al. Greed sort: Optimal deterministic sorting on parallel disks
JP3598522B2 (en) Distributed database management device
Li et al. A variable length counting Bloom filter
JP2000267903A (en) Device for storing data divided into plural properties
CN103605482A (en) High-performance storage method of hard disk data
CN112783644A (en) Distributed inclined stream processing method and system based on high-frequency key value counting
AU2019100888A4 (en) A novel blockchain system for the high speed and low cost storage, retrieval, and manipulation of IOT data, database data, and sensor data.
US20090190597A1 (en) Data item interval identifier lookup method and system
JP2006092503A (en) Multi-instance in-memory database
CN101763313B (en) Server and method of access volume thereof
CN110262758A (en) A kind of data storage and management method, system and relevant device
CN102591792A (en) Storage method for memory data

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030520