JPH11143749A - Relational database management system and data management method - Google Patents

Relational database management system and data management method

Info

Publication number
JPH11143749A
JPH11143749A JP9304062A JP30406297A JPH11143749A JP H11143749 A JPH11143749 A JP H11143749A JP 9304062 A JP9304062 A JP 9304062A JP 30406297 A JP30406297 A JP 30406297A JP H11143749 A JPH11143749 A JP H11143749A
Authority
JP
Japan
Prior art keywords
item
similar
relational database
group
data
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
JP9304062A
Other languages
Japanese (ja)
Inventor
Hidefumi Yamada
英史 山田
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 Miyagi Ltd
Original Assignee
NEC Miyagi 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 Miyagi Ltd filed Critical NEC Miyagi Ltd
Priority to JP9304062A priority Critical patent/JPH11143749A/en
Publication of JPH11143749A publication Critical patent/JPH11143749A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve the performance of retrieval or a file outputting processing, and to reduce the amounts of a memory-in use in a data managing method of a relational database management system. SOLUTION: A item A group 14 sharing the item of an item B group 13 related with an item A9 is defined as an item similar to the item A9, and a similar number column 8 capable of identification of the similar item is added to a data structure. A similar number stored in the similar number column 8 is automatically identified and registered at the time of data registration. Then, retrieval or file outputting is operated by using the similar number stored in the similar number column 8 as a key.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、リレーショナル
データベースマネジメントシステムのデータ管理方法に
関し、特にm対n関係情報を保有するデータ管理でm側
と関係付けられたn側のアイテム群を共有するm側のア
イテム群を識別するための仕組みを構築するデータ管理
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data management method for a relational database management system, and more particularly to an m-side that shares an n-side item group associated with the m-side in data management having m-to-n relationship information. The present invention relates to a data management method for constructing a mechanism for identifying a group of items.

【0002】[0002]

【従来の技術】図3は、従来のデータ管理方法の構成を
説明する図である。従来は、2系統の情報をデータ構造
に格納する場合、アイテムAテーブル31にアイテムA
列34と管理番号A列35を設定し、アイテムBテーブ
ル32にアイテムB列36と管理番号B列37を設定し
て各々の値を格納していた。m対n関係付けの場合に
は、対応関係テーブル33を設け、アイテムAテーブル
31とアイテムBテーブル32の管理番号列を保有し、
対応関係を構築していた。
2. Description of the Related Art FIG. 3 is a diagram for explaining the configuration of a conventional data management method. Conventionally, when information of two systems is stored in the data structure, the item A
A column 34 and a management number A column 35 are set, and an item B column 36 and a management number B column 37 are set in the item B table 32 to store respective values. In the case of the m-to-n relationship, a correspondence table 33 is provided, and the management number columns of the item A table 31 and the item B table 32 are held.
A correspondence was being built.

【0003】このデータ構造では、類似するアイテム
(アイテムA39と関係付けらたアイテムB群43のア
イテムを共有するアイテムA群44)を識別し、検索す
るには、下記の手順が必要となる。
In this data structure, the following procedure is required to identify and search for similar items (item A group 44 sharing items of item B group 43 associated with item A39).

【0004】図4は、従来の類似するアイテムの検索処
理工程と展開データを示している。従来は、類似するア
イテムを検索する場合には、第1処理として検索キーと
なるアイテムA50と対応関係にあるアイテムB群51
を検索し、第2処理として第1処理の検索結果のアイテ
ムB群51をキーに対応関係となるアイテムA群52を
検索し、第3処理として第2処理の検索結果のアイテム
A群52をキーにその個数をカウントし、最終処理とし
て第3処理の検索結果から第1処理の検索キーであるア
イテムA50の個数53と同数のアイテムA群54を抽
出する処理が必要であった。
FIG. 4 shows a conventional similar item search processing step and expanded data. Conventionally, when searching for a similar item, as a first process, an item B group 51 corresponding to an item A50 that is
As a second process, an item A group 52 corresponding to the item B group 51 of the search result of the first process as a key, and an item A group 52 of the search result of the second process as a third process. It is necessary to count the number of keys as keys and extract the same number of item A groups 54 as the number 53 of item A50, which is the search key of the first processing, from the search result of the third processing as the final processing.

【0005】[0005]

【発明が解決しようとする課題】従来のデータ構造で
は、アイテムAテーブル内に存在する類似するアイテム
をキーとした処理を行うには、キーとなるアイテムをデ
ータ構成から作成し、処理する必要があるため処理時間
がかかり、また特に全データの処理では、処理中の大量
データがメモリまたはデータベース領域上に確保される
ので、アクセス効率、メモリ効率の面で性能の低下を招
くことになる。
In the conventional data structure, in order to perform a process using a similar item existing in the item A table as a key, it is necessary to create and process a key item from a data structure. Therefore, it takes a long processing time, and particularly in the processing of all data, a large amount of data being processed is secured in a memory or a database area, so that performance is lowered in terms of access efficiency and memory efficiency.

【0006】この発明の目的は、リレーショナルデータ
ベースマネジメントシステムにおけるm対n関係のデー
タ管理方法において、m側のアイテムと関係付けられた
n側のアイテム群を共有するm側のアイテムが存在した
場合に、検索やファイル出力処理の性能を向上させ、メ
モリの使用量の低減を図るデータ管理方法を提供するも
のである。
An object of the present invention is to provide a data management method for an m-to-n relationship in a relational database management system, in which an m-side item sharing an n-side item group associated with an m-side item exists. Another object of the present invention is to provide a data management method for improving the performance of search and file output processing and reducing the amount of memory used.

【0007】[0007]

【課題を解決するための手段】本発明は、m対n関係情
報を管理するリレーショナルデータベースのデータ管理
方法において、m側のアイテム群に類似性の識別子とな
る類似番号列を追加し、m側のアイテムと関係付けらた
n側のアイテム群を共有するm側のアイテム群を、前記
類似番号列に格納された類似番号をキーとして検索する
ことを特徴とする。
According to the present invention, in a data management method of a relational database for managing m-to-n relation information, a similar number sequence serving as a similarity identifier is added to an m-side item group, and a m-side item group is added. The m-side item group that shares the n-side item group associated with the item is searched using the similarity number stored in the similarity number sequence as a key.

【0008】本発明は、類以性の識別子をデータ構造に
保有し、この識別子をキーとして検索を行うことにより
処理性能の向上を図ることができる。より具体的には、
類似性の識別子となる類似番号列をデータ構造に追加
し、検索時には、類似番号列に格納された類似番号をキ
ーとして検索可能となる。
According to the present invention, the processing performance can be improved by holding a similar identifier in a data structure and performing a search using the identifier as a key. More specifically,
A similarity number sequence serving as a similarity identifier is added to the data structure, and a search can be performed using the similarity number stored in the similarity number sequence as a key during a search.

【0009】[0009]

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

【0010】図1は、この発明の実施の形態のデータ管
理方法を示す図であり、図2は、図1の実施の形態の検
索処理工程と展開データを示す図である。図1に示すデ
ータ管理方法は、構成として、アイテムAテーブル1に
類似番号列8を追加した点、および動作として、登録段
階で類似番号を自動付加し、この類似番号をキーとして
検索やファイル出力が可能となる点が従来と異なってい
る。
FIG. 1 is a diagram showing a data management method according to an embodiment of the present invention, and FIG. 2 is a diagram showing search processing steps and expanded data in the embodiment of FIG. The data management method shown in FIG. 1 is configured such that a similarity number column 8 is added to the item A table 1 and, as an operation, a similarity number is automatically added at the registration stage, and a search or file output is performed using the similarity number as a key. Is different from the conventional one.

【0011】以下、類似アイテムの識別子への情報登録
および検索処理について図1および図2を参照して説明
する。
Hereinafter, information registration and search processing for an identifier of a similar item will be described with reference to FIGS.

【0012】アイテムAテーブル1には、アイテムA列
4と管理番号A列5と類似番号列8が設定されており、
アイテムBテーブル2には、アイテムB列6と管理番号
B列7が設定されている。対応関係テーブル3は、アイ
テムAテーブル1とアイテムBテーブル2の管理番号列
を保有し、対応関係を構築している。
In the item A table 1, an item A column 4, a management number A column 5, and a similar number column 8 are set.
In the item B table 2, an item B column 6 and a management number B column 7 are set. The correspondence table 3 holds the management number strings of the item A table 1 and the item B table 2 and establishes a correspondence.

【0013】登録アイテムA9と登録アイテムB10を
関係付け登録後に、登録アイテムA9の類似するアイテ
ムA群の有無を確認する。類似するアイテムA群14が
存在した場合には、類似するアイテムA群14の任意の
アイテムの類似番号11を抽出して、アイテムA9の類
似番号列に格納する。類似するアイテムが存在しない場
合には、アイテムB10を登録した際の管理番号B12
をアイテムA9の類似番号列に格納する。
After associating and registering the registered item A9 and the registered item B10, it is checked whether or not there is an item A group similar to the registered item A9. If there is a similar item A group 14, the similar number 11 of any item of the similar item A group 14 is extracted and stored in the similar number column of the item A9. If there is no similar item, the management number B12 when the item B10 was registered
Is stored in the similar number sequence of the item A9.

【0014】検索時には、アイテムA20をキーとして
検索する場合、アイテムA20の類似番号21を抽出
し、次に類似番号21をキーに検索することで、類似す
るアイテムA群24が検索可能となる。
At the time of retrieval, when the retrieval is performed using the item A20 as a key, the similar number 21 of the item A20 is extracted, and then the retrieval is performed using the similar number 21 as a key, whereby the similar item A group 24 can be retrieved.

【0015】この発明では、アイテムAテーブル1に類
似番号列8をデータ構造内に保有し、データ登録時に類
似番号列8にデータを自動識別し登録している。このた
め、類似性の識別を対応関係テーブル3およびアイテム
Bテーブル2にアクセスして判断する必要がない。
According to the present invention, the similar number column 8 is held in the data structure in the item A table 1, and data is automatically identified and registered in the similar number column 8 at the time of data registration. Therefore, there is no need to access the correspondence table 3 and the item B table 2 to determine the similarity.

【0016】以上のように、このデータ管理方法では、
m対nの対応関係の識別子として類似番号を設け、既存
の管理番号を類似番号の値として利用することで類似性
を識別可能としており、類似性のあるアイテムをキーと
した処理の高速化を図ることができる。
As described above, in this data management method,
A similarity number is provided as an identifier of the m-to-n correspondence, and similarity can be identified by using an existing management number as a value of the similarity number. Can be planned.

【0017】なお、アイテムAテーブル1およびアイテ
ムBテーブル2は記憶媒体に格納さすることができるも
のとする。
The item A table 1 and the item B table 2 can be stored in a storage medium.

【0018】[0018]

【発明の効果】以上説明したように、この発明のデータ
管理方法は、類似アイテム識別子をデータ登録処理時に
自動的に判別し、付加する仕組みを構築することによ
り、類似するアイテムをキーとした検索やファイル出力
の処理性能を向上させることが可能となる。また、類似
するアイテムをキーとした全データに対する一括処理に
おいても、アクセスするデータ数が少ないためメモリの
使用量を低減することができる。
As described above, the data management method of the present invention automatically searches for similar item identifiers at the time of data registration processing, and constructs a mechanism for adding the similar item identifiers. And file output processing performance can be improved. Further, even in batch processing of all data using similar items as keys, the amount of memory used can be reduced because the number of data to be accessed is small.

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

【図1】この発明の実施の形態のデータ管理方法を示す
図である。
FIG. 1 is a diagram showing a data management method according to an embodiment of the present invention.

【図2】この発明の類似するアイテムの検索処理工程と
展開データを示す図である。
FIG. 2 is a diagram showing a similar item search processing step and expanded data according to the present invention.

【図3】従来のデータ管理方法を示す図である。FIG. 3 is a diagram showing a conventional data management method.

【図4】従来の類似するアイテムの検索処理工程と展開
データを示す図である。
FIG. 4 is a diagram showing a conventional similar item search processing step and expanded data.

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

1,31 アイテムAテーブル 2,32 アイテムBテーブル 3,33 対応関係テーブル 4,34,50 アイテムA列 5,15,35,45 管理番号A列 6,36 アイテムB列 7,17,37,47 管理番号B列 8 類似番号列 9,20,39 アイテムA 10 アイテムB 11,21 類似番号 12 管理番号 13,43,51 アイテムB群 14,24,44,52,54 アイテムA群 53 個数 1,31 Item A table 2,32 Item B table 3,33 Correspondence table 4,34,50 Item A column 5,15,35,45 Management number A column 6,36 Item B column 7,17,37,47 Management number B column 8 Similar number column 9, 20, 39 Item A 10 Item B 11, 21, Similar number 12 Management number 13, 43, 51 Item B group 14, 24, 44, 52, 54 Item A group 53 Number

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】2系統のアイテムを対応関係テーブルを用
いて管理するリレーショナルデータベースマネジメント
システムにおいて、 第1のアイテムと関係付けた第2のアイテム群のアイテ
ムを共有する第1のアイテム群を、第1のアイテムと類
似するアイテムと定義し、前記類似するアイテムを識別
可能とする類似番号列をデータ構造に保有することを特
徴とするリレーショナルデータベースマネジメントシス
テム。
1. A relational database management system for managing two types of items using a correspondence table, wherein a first item group that shares an item of a second item group associated with a first item is stored in a first item group. A relational database management system, wherein the relational database management system is defined as an item similar to the first item, and has a similar number sequence for identifying the similar item in a data structure.
【請求項2】前記類似番号列に類似番号をデータ登録段
階で自動識別し登録することを特徴とする請求項1記載
のリレーショナルデータベースマネジメントシステム。
2. The relational database management system according to claim 1, wherein a similar number is automatically identified and registered in the similar number sequence at a data registration stage.
【請求項3】m対n関係情報を管理するリレーショナル
データベースのデータ管理方法において、 m側のアイテム群に類似性の識別子となる類似番号列を
追加し、m側のアイテムと関係付けらたn側のアイテム
群を共有するm側のアイテム群を、前記類似番号列に格
納された類似番号をキーとして検索することを特徴とす
るリレーショナルデータベースのデータ管理方法。
3. A data management method for a relational database that manages m-to-n relationship information, wherein a similarity number sequence serving as a similarity identifier is added to the m-side item group, and n is associated with the m-side item. A data management method for a relational database, comprising: searching for an m-side item group that shares a side item group with a similarity number stored in the similarity number string as a key.
【請求項4】前記類似番号をキーとしてファイル出力す
ることを特徴とする請求項3記載のリレーショナルデー
タベースのデータ管理方法。
4. The data management method for a relational database according to claim 3, wherein a file is output using the similar number as a key.
【請求項5】前記類似番号を登録段階で自動付加するこ
とを特徴とする請求項3または4記載のリレーショナル
データベースのデータ管理方法。
5. The data management method for a relational database according to claim 3, wherein said similar number is automatically added at a registration stage.
【請求項6】2系統のアイテムを対応関係テーブルを用
いて管理する場合に、第1のアイテムと関係付けた第2
のアイテム群のアイテムを共有する第1のアイテム群
を、第1のアイテムと類似するアイテムと定義し、前記
類似するアイテムを識別可能とする類似番号列をデータ
構造に有することを特徴とするコンピュータ読取り可能
な記録媒体。
6. When two items are managed using a correspondence table, a second item associated with the first item is managed.
A computer, characterized in that a first item group sharing an item of the first item group is defined as an item similar to the first item, and a similar number sequence for identifying the similar item is provided in a data structure. A readable recording medium.
JP9304062A 1997-11-06 1997-11-06 Relational database management system and data management method Pending JPH11143749A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9304062A JPH11143749A (en) 1997-11-06 1997-11-06 Relational database management system and data management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9304062A JPH11143749A (en) 1997-11-06 1997-11-06 Relational database management system and data management method

Publications (1)

Publication Number Publication Date
JPH11143749A true JPH11143749A (en) 1999-05-28

Family

ID=17928584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9304062A Pending JPH11143749A (en) 1997-11-06 1997-11-06 Relational database management system and data management method

Country Status (1)

Country Link
JP (1) JPH11143749A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008003974A (en) * 2006-06-26 2008-01-10 Tokyo Electric Power Co Inc:The Data structure for database, retrieval method and device, and database structuring method and device
US8554582B2 (en) 2004-10-13 2013-10-08 Nissay Information Technology Co., Ltd. Data management apparatus and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8554582B2 (en) 2004-10-13 2013-10-08 Nissay Information Technology Co., Ltd. Data management apparatus and method thereof
US8694344B2 (en) 2004-10-13 2014-04-08 Nissay Information Technology Co., Ltd. Data management apparatus and method thereof
JP2008003974A (en) * 2006-06-26 2008-01-10 Tokyo Electric Power Co Inc:The Data structure for database, retrieval method and device, and database structuring method and device

Similar Documents

Publication Publication Date Title
JP5328808B2 (en) Data clustering method, system, apparatus, and computer program for applying the method
WO2020047317A1 (en) System and method for facilitating efficient indexing in a database system
CN108984626B (en) Data processing method and device and server
EP3282372A1 (en) Method and apparatus for storing data
JPH11143749A (en) Relational database management system and data management method
CN101609462B (en) Task recognition system in spatial environment of personal data and method
JP2002140218A (en) Data processing method, computer-readable recording medium and data processing device
JPH0644309A (en) Data base managing system
JPH081642B2 (en) Keyword search method
JP3478558B2 (en) Object storage search method in database
JPH10240741A (en) Managing method for tree structure type data
JPH09293076A (en) Data grouping method
JP2001265783A (en) Star schemer retrieving system and program recording medium therefor
JP2596332B2 (en) Data combination extraction method and apparatus
JPH1173353A (en) Transaction retrieval processor based on specified time
JP2001101233A (en) Data base processor
JPH05165891A (en) Data registration/retrieval system of data base
JP3008500B2 (en) Update record reading mechanism
JPH07160559A (en) Saving medium merge system
JPH04148373A (en) Data retrieving system
JPH05313971A (en) Key word managing system in relational data base
CN111352933A (en) Index system is swiftly established to big data database in high in clouds
JPH09330322A (en) Data retrieval device
JPH0452967A (en) And operation processing system for set file
JPH04342070A (en) Method for retrieving repetition data in distributed type relation data base