JPH0488532A - Key definition storing system for data base - Google Patents

Key definition storing system for data base

Info

Publication number
JPH0488532A
JPH0488532A JP2202403A JP20240390A JPH0488532A JP H0488532 A JPH0488532 A JP H0488532A JP 2202403 A JP2202403 A JP 2202403A JP 20240390 A JP20240390 A JP 20240390A JP H0488532 A JPH0488532 A JP H0488532A
Authority
JP
Japan
Prior art keywords
column
dictionary
key
definition
definition information
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
JP2202403A
Other languages
Japanese (ja)
Inventor
Yasushi Tamayama
玉山 恭
Nobuhiro Kurashiki
倉敷 信宏
Yoshitomo Tahira
田平 良知
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.)
Hitachi Systems Ltd
Original Assignee
Hitachi Information Systems 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 Hitachi Information Systems Ltd filed Critical Hitachi Information Systems Ltd
Priority to JP2202403A priority Critical patent/JPH0488532A/en
Publication of JPH0488532A publication Critical patent/JPH0488532A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

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

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、データベース管理方式(DBMS)に係り、
特に、一つ以上の列のシーケンスを複合キーとして定義
するデータベースのキー定義格納方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a database management system (DBMS),
In particular, it relates to a database key definition storage method that defines a sequence of one or more columns as a composite key.

[従来の技術] データベース管理方式に関する従来技術として、例えば
、C1J、Date著 「データベース・システム概論
」 (丸善株式会社、1984)等に記載された、複数
の列のシーケンスから構成される複合キーの定義方法に
関する技術が知られている。
[Prior Art] As a conventional technology related to a database management system, for example, there is a method of using a composite key consisting of a sequence of multiple columns, as described in "Database System Overview" by C1J, Date (Maruzen Co., Ltd., 1984). Techniques regarding definition methods are known.

一方、従来のディクショナリによりデータベース(DB
)が扱うデータを管理するDBMSに関する他の従来技
術として、例えば、Be1kis  W、Leong−
Hong他共著 「データディクショナリ/ディレクト
リシステム」 (オーム出版、1986)にに記載され
た技術が知られている。
On the other hand, the conventional dictionary
), for example, Belkis W, Leong-
A technique described in "Data Dictionary/Directory System" (Ohm Publishing, 1986) co-authored by Hong et al. is known.

この従来技術は、列またはキーのデータ型、構造等に関
するメタデータ(以下、定義情報という)を、前記ディ
クショナリに格納して管理しているが、この技術では、
列とキーとの定義情報を記述するためのフォーマットが
異なっているため、列及びキーの定義情報を、それぞれ
専用のディクショナリに格納して管理している。
This conventional technology stores and manages metadata (hereinafter referred to as definition information) regarding data types, structures, etc. of columns or keys in the dictionary.
Since the formats for describing definition information for columns and keys are different, the definition information for columns and keys is stored and managed in dedicated dictionaries, respectively.

以下、この種の従来技術によるデータベース管理方式の
一例を図面により説明する。
Hereinafter, an example of a database management method according to this type of conventional technology will be explained with reference to the drawings.

第4図は従来技術によるDBMSにおけるディクショナ
リとそれを管理するためのシステムの一例を示すブロッ
ク図、第5図は表、列、及びキーの定義情報を格納する
ディクショナリの構造を説明する図である。第4図、第
5図において、400は定義処理部、41.0は制御部
、420は表定義処理部、430は列定義処理部、44
0はキー定義処理部、500はディクショナ1ハ 51
Qは表ディクショナリ、520は列ディクショナリ、5
30はキーディクショナリである。
FIG. 4 is a block diagram showing an example of a dictionary in a conventional DBMS and a system for managing it, and FIG. 5 is a diagram explaining the structure of a dictionary that stores definition information of tables, columns, and keys. . 4 and 5, 400 is a definition processing section, 41.0 is a control section, 420 is a table definition processing section, 430 is a column definition processing section, 44
0 is the key definition processing section, 500 is the dictionary 1H 51
Q is the table dictionary, 520 is the column dictionary, 5
30 is a key dictionary.

従来技術によるDBMSは、第4図に示すように定義処
理部400と、ディクショナリ500とにより構成され
、ディクショナリ500は、表、列及びキーの定義情報
を格納するために、それぞれ専用のディクショナリ51
0,520、及び530を備えて構成されている。また
、定義処理部400は、これらのディクショナリ510
〜530に対する処理を行う定義処理部420〜440
と、全体の制御を行う制御部410とを備えて構成され
ている。
As shown in FIG. 4, the DBMS according to the prior art is composed of a definition processing unit 400 and a dictionary 500, and the dictionary 500 has a dedicated dictionary 51 for storing definition information of tables, columns, and keys.
0, 520, and 530. In addition, the definition processing unit 400 stores these dictionaries 510
Definition processing units 420 to 440 that perform processing for ~530
and a control section 410 that performs overall control.

表、列、及びキーの定義情報を格納するディクショナリ
510,520、及び530には、第5図に示すように
、それぞれ、表、列、及びキーの属性を定義するために
必要な情報が格納されている。すなわち、表ディクショ
ナリ510には、表の名称が、例えば、「名簿」と定義
されており、列ディクショナリ520には、表の列名5
22、データ型523等が定義されている。
Dictionaries 510, 520, and 530 that store definition information of tables, columns, and keys store information necessary to define attributes of tables, columns, and keys, respectively, as shown in FIG. has been done. That is, in the table dictionary 510, the name of the table is defined as, for example, "name list", and in the column dictionary 520, the column name of the table 5 is defined.
22, data type 523, etc. are defined.

しかし、前述のディクショナリにおいて、例えば、キー
ディクショナリ530中の列である構成要素533.5
34、または、535には、列を特定するための列ディ
クショナリ520中の列である列名522の値が格納さ
れるというように、それぞれのディクショナリは、お互
いに参照関係がある。
However, in the aforementioned dictionary, for example, component 533.5 is a column in key dictionary 530.
34 or 535 stores the value of the column name 522, which is a column in the column dictionary 520 for specifying the column, and the respective dictionaries have a reference relationship with each other.

[発明が解決しようとする課題] 従来技術によるDBMSは、前述したように、キーの定
義情報を専用のキーディクショナリ530に格納し、列
の定義情報を専用の列のディクショナリ520に格納し
て管理している。そして、キーの定義情報は、一つ以上
の列のシーケンスを特定しているため、前記二つのディ
クショナリ相互間には、参照関係があることになる。
[Problems to be Solved by the Invention] As described above, a DBMS according to the prior art stores key definition information in a dedicated key dictionary 530 and stores column definition information in a dedicated column dictionary 520 for management. are doing. Since the key definition information specifies a sequence of one or more columns, there is a reference relationship between the two dictionaries.

このため、例えば、列ディクショナリ520の中の行5
24の列名522の値を″氏名“がら″姓名″に修正し
ようとすると、この修正に伴って、キーディクショナリ
530の中の行536の構成要素lの値も″氏名″から
″姓名″に修正する必要がある。この処理は、ディクシ
ョナリ間の参照関係に整合性を保持させることが必要な
ために、必ず行わなければならない。
So, for example, row 5 in column dictionary 520
When attempting to modify the value of the column name 522 of 24 from "full name" to "last name", the value of component l in row 536 in the key dictionary 530 also changes from "full name" to "last name". Needs to be fixed. This process must be performed because it is necessary to maintain consistency in the reference relationships between dictionaries.

このための処理は、一般に複雑かつ処理量が大きくなる
ため、列及びキーの定義変更の頻度が高いシステムにお
いては、システム全体の処理性能を低下させる。
Processing for this purpose is generally complex and requires a large amount of processing, so in systems where column and key definitions are frequently changed, the processing performance of the entire system is degraded.

すなわち、前記従来技術は、列及びキーに対応してそれ
ぞれにディクショナリを備え、常にこれらのディクショ
ナリ相互間の参照関係を整合させておかなければならな
いので、ディクショナリ全体のサイズが太き(なり、ま
た、システム全体の処理性能の向上を図ることが困難で
あるという問題点を有している。
That is, in the prior art, dictionaries are provided for each column and key, and the reference relationships between these dictionaries must always be matched, so the size of the entire dictionary becomes large (or small). However, there is a problem in that it is difficult to improve the processing performance of the entire system.

本発明の目的は、前記従来技術の問題点を解決し、列及
びキーの定義情報を専用に格納するディクショナリを併
合し、かつ、ディクショナリの構造を整理して単純化す
ることにより、ディクショナリのサイズを削減すること
ができ、列及びキ−の定義変更時の処理を容易に行うこ
とを可能にして、システム全体の処理性能の向上を図る
ことができるようにしたデータベースのキー定義格納方
式を提供することにある。
An object of the present invention is to solve the problems of the prior art and reduce the size of the dictionary by merging dictionaries that exclusively store column and key definition information, and organizing and simplifying the structure of the dictionaries. Provides a database key definition storage method that can reduce the amount of time required, facilitate processing when changing column and key definitions, and improve overall system processing performance. It's about doing.

[課題を解決するための手段] 本発明によれば前記目的は、一つ以上の列のシーケンス
から構成される複合キーの定義情報をディクショナリに
格納して管理するデータベースにおいて、列の定義情報
を格納するディクショナリ中に、列の属性として、一つ
以上の1表の他の列のシーケンスを特定する情報を格納
する領域と、キーであるか否かを指定する属性を格納す
る領域とを設けることにより、さらに、前記−つ以上の
1表の他の列のシーケンスを特定する情報を格納する領
域を配列型とすることにより達成される。
[Means for Solving the Problems] According to the present invention, the object is to store column definition information in a database that stores and manages composite key definition information consisting of one or more column sequences in a dictionary. In the dictionary to be stored, provide an area for storing information that specifies the sequence of one or more other columns in one table as a column attribute, and an area for storing an attribute that specifies whether it is a key or not. This is further achieved by making the area for storing information specifying the sequence of the other columns of the - or more one table into an array type.

また、前記目的は、前記列の定義情報を格納するディク
ショナリに、列の属性として、自列の定義情報が格納さ
れているディクショナリ中の位置を特定する列識別子を
格納する領域を設け、前記−つ以上の1表の他の列のシ
ーケンスを特定する情報を格納する領域に前記列識別子
を格納するようにすることにより達成される。
Further, the purpose is to provide, as a column attribute, an area for storing a column identifier that specifies the position in the dictionary where the definition information of the column is stored in the dictionary that stores the definition information of the column, and the above-mentioned - This is achieved by storing the column identifier in an area that stores information specifying the sequence of other columns of one or more tables.

[作 用〕 本発明によれば、前記手段を講じることにより、列及び
キーの定義情報を格納するためにそれぞれ専用に必要で
あったディクショナリを併合し、つのディクショナリに
列及びキーの定義情報を格納することが可能となり、異
なるディクショナリ相互間の参照関係の整合をとる必要
をなくし、システム性能の向上を図ることができる。
[Operation] According to the present invention, by taking the above-mentioned means, dictionaries that were required exclusively for storing column and key definition information are merged, and column and key definition information is stored in one dictionary. This eliminates the need to match reference relationships between different dictionaries, and improves system performance.

[実施例] 以下、本発明によるデータベースのキー定義格納方式の
一実施例を図面により詳細に説明する。
[Embodiment] Hereinafter, an embodiment of a database key definition storage method according to the present invention will be described in detail with reference to the drawings.

第1図は本発明一実施例の構成を示すブロック図、第2
図はディクショナリの構造を説明する図、第3図は動作
を説明するフローチャートである。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention, and FIG.
The figure is a diagram explaining the structure of the dictionary, and FIG. 3 is a flowchart explaining the operation.

第1図、第2図において、100は定義処理部、110
は制御部、120は表定義処理部、130は列定義処理
部、140はキー定義処理部、200はディクショナリ
、210は表ディクショナリ、220は列ディクショナ
リである。
In FIGS. 1 and 2, 100 is a definition processing unit, 110
1 is a control unit, 120 is a table definition processing unit, 130 is a column definition processing unit, 140 is a key definition processing unit, 200 is a dictionary, 210 is a table dictionary, and 220 is a column dictionary.

第1図に示す本発明の一実施例は、本発明が適用された
DBMSであり、定義処理部100とディクショナリ2
00とを備えて構成されている。
An embodiment of the present invention shown in FIG. 1 is a DBMS to which the present invention is applied, which includes a definition processing section 100 and a dictionary 2.
00.

ディクショナリ200は、表の定義情報を格納する表デ
ィクショナリ210と、列及びキーの定義情報を格納す
る列ディクショナリ220とにより構成される。
The dictionary 200 includes a table dictionary 210 that stores table definition information, and a column dictionary 220 that stores column and key definition information.

また、定義処理部100は、表ディクショナリ210の
定義情報を処理する表定義処理部120と、列ディクシ
ョナリ220内の列に関する定義情報を処理する列定義
処理部130と、列ディクショナリ220内のキーに関
する定義情報を処理するキー定義処理部140と、これ
ら処理部120〜140を制御する制御部110とによ
り構成される。制御部110は、各ディクショナリの参
照関係の整合性を保持するため、各処理部の起動等の制
御を行う。
The definition processing unit 100 also includes a table definition processing unit 120 that processes definition information of the table dictionary 210, a column definition processing unit 130 that processes definition information about columns in the column dictionary 220, and a column definition processing unit 130 that processes definition information about columns in the column dictionary 220. It is composed of a key definition processing section 140 that processes definition information, and a control section 110 that controls these processing sections 120 to 140. The control unit 110 controls the activation of each processing unit, etc., in order to maintain the consistency of the reference relationships of each dictionary.

次に、第2図を参照して、表ディクショナリ210及び
列ディクショナリ220のデータ構造を説明する。
Next, the data structures of the table dictionary 210 and column dictionary 220 will be explained with reference to FIG.

表ディクショナリ210は、二次元の表形式で表の定義
情報を格納し、その一つの行により、つの表を定義して
いる。
The table dictionary 210 stores table definition information in a two-dimensional table format, and each row defines one table.

また、表ディクショナリ210の列は、表ディクショナ
リ210の中の行を特定する識別子を格納する表識別子
211、及び、表を特定する情報を格納する表名212
等により構成されている。
Further, the columns of the table dictionary 210 include a table identifier 211 that stores an identifier that identifies a row in the table dictionary 210, and a table name 212 that stores information that identifies a table.
It is composed of etc.

列ディクショナリ220は、二次元の表形式で列及びキ
ーの定義情報を格納し、その一つの行により、一つの列
を定義している。
The column dictionary 220 stores column and key definition information in a two-dimensional table format, and each row defines one column.

また、列ディクショナリ220の列は、列ディクショナ
リ220の中の行を特定する識別子を格納する列識別子
221、列を特定する情報を格納する列名223、前記
列が所属する表を特定する情報を格納する表識別子22
2、前記列に格納される値の型を示すデータ型224、
前記列がキーであるか否かを指定する属性を格納するキ
ー属性225、及び、前記列が一つ以上の列のシーケン
スで構成される複合列の場合、前記列のシーケンスを特
定する情報を一次元の配列で格納する配列型の構成要素
226等により構成されている。
The columns of the column dictionary 220 also include a column identifier 221 that stores an identifier that identifies a row in the column dictionary 220, a column name 223 that stores information that identifies the column, and information that identifies the table to which the column belongs. Table identifier to be stored 22
2. a data type 224 indicating the type of value stored in the column;
a key attribute 225 that stores an attribute that specifies whether the column is a key; and, if the column is a composite column consisting of a sequence of one or more columns, information that specifies the sequence of columns. It is composed of array-type components 226 and the like that are stored in a one-dimensional array.

次に、前述のように構成される本発明の一実施例におい
て、列ディクショナリ220を用いてキーの定義操作を
行う処理を第3図に示すフローを参照して説明する。
Next, the process of defining a key using the column dictionary 220 in an embodiment of the present invention configured as described above will be described with reference to the flow shown in FIG.

(1)前記定義操作を行うオペレータは、キーの情報と
して、表名、キー名、及び前記キーの構成要素を特定す
る一つ以上の列名からなる列名リストを入力する(ステ
ップ301)。
(1) The operator who performs the definition operation inputs, as key information, a column name list consisting of a table name, a key name, and one or more column names that specify the constituent elements of the key (step 301).

(2)制御部110は、表定義処理部120を起動し、
前記表名により表ディクショナリ210の検索を行わせ
、表の定義情報を読み込む。この処理処理において、入
力された表名がディクショナリ内に無い場合、異常終了
を実行する(ステップ302.316)。
(2) The control unit 110 starts the table definition processing unit 120,
The table dictionary 210 is searched using the table name, and table definition information is read. In this processing, if the input table name is not in the dictionary, abnormal termination is executed (steps 302 and 316).

(3)ステップ302で、表の定義情報が有り、表の定
義情報が読み込まれた場合、この読み込んだ表の定義情
報の表識別子211と前記キー名により列ディクショナ
リ220を検索し、既存列の定義情報を読み込む。この
処理において、既存列の定義情報がある場合、後述する
ステップ313の処理に移行する(ステップ303)。
(3) In step 302, if there is table definition information and the table definition information is read, the column dictionary 220 is searched using the table identifier 211 of the read table definition information and the key name, and the existing column Load definition information. In this process, if there is definition information for an existing column, the process moves to step 313, which will be described later (step 303).

(4)ステップ303の処理において、既存列の定義情
報が無い場合、新規列の定義情報中の表識別子222に
、ステップ303で読み込んだ表の定義情報の表識別子
211をセットする(ステップ304)。
(4) In the process of step 303, if there is no existing column definition information, set the table identifier 222 in the new column definition information to the table identifier 211 of the table definition information read in step 303 (step 304) .

(5)新規列の定義情報の列名223に前記キー名をセ
ットし、新規列の定義情報のデータ型224に″複合型
″とセットする。さらに、カウンタiにOをセットし、
カウンタを初期化する(ステップ305〜307)。
(5) Set the key name in the column name 223 of the new column definition information, and set "compound type" in the data type 224 of the new column definition information. Furthermore, set O to counter i,
Initialize the counter (steps 305-307).

(6)カウンタlの値に1を加え、ステップ303で読
み込んだ表の定義情報の表識別子211と前記列名リス
ト中の1番目の列名とにより列ディクショナリ220を
検索し、メンバ列の定義情報を読み込む。この処理にお
いて、メンバ列の定義情報が列ディクショナリに無い場
合、異常終了を実行する(ステップ308.309.3
16)。
(6) Add 1 to the value of the counter l, search the column dictionary 220 using the table identifier 211 of the table definition information read in step 303 and the first column name in the column name list, and define the member column. Load information. In this process, if the definition information of the member column is not in the column dictionary, abnormal termination is executed (steps 308.309.3).
16).

(7)ステップ309で、メンバ列の定義情報が列ディ
クショナリにあり、このメンバ列の定義情報を読み込ん
だ場合、新規列の定義情報の1番目の構成要素226に
、ステップ309で読み込んだメンバ列の定義情報の列
識別子221をセットする(ステップ310)。
(7) In step 309, if the definition information of a member column exists in the column dictionary and the definition information of this member column is read, the member column read in step 309 is added to the first component 226 of the new column definition information. The column identifier 221 of the definition information is set (step 310).

(8)次に、カウンタ1の値と前記列リストの構成要素
の個数nとを比較し、lがnより小さい場合はステップ
308からの処理を繰り返し実行し、前記列リストを構
成する列名の個数分だけ、前記の列名を列識別子に変換
する(ステップ311)。
(8) Next, the value of counter 1 is compared with the number n of constituent elements of the column list, and if l is smaller than n, the process from step 308 is repeatedly executed, and the column name forming the column list is The column names are converted into column identifiers by the number of column identifiers (step 311).

(9)ステップ311で、lがnより大きい場合、すな
わち、全ての列名が列識別子に変換された後、列ディク
ショナリ220の管理情報から、新規列の定義情報を格
納する位置を特定する列識別子を取得し、新規列の定義
情報を列識別子221にセットする(ステップ312)
(9) In step 311, if l is greater than n, that is, after all column names have been converted to column identifiers, the column that specifies the position where the new column definition information is stored from the management information of the column dictionary 220. Obtain the identifier and set the new column definition information to the column identifier 221 (step 312)
.

(10)ステップ312でセットされた新規列の定義情
報、または、ステップ303で読み込んだ既存列の定義
情報のキー属性225を” Y E S ”にセットす
る。このステップにより、既存列の定義情報の更新、ま
たは、新規列の定義情報の作成が行われる(ステップ3
I3)。
(10) Set the key attribute 225 of the new column definition information set in step 312 or the existing column definition information read in step 303 to "YES". This step updates the definition information of an existing column or creates the definition information of a new column (Step 3
I3).

(+1)前記新規または既存の列の定義情報の列識別子
221により特定される列ディクショナリ220中の所
定の位置に、前記新規または既存の列の定義情報を書き
込み、キー定義操作の処理を正常に終了する(ステップ
314.315)。
(+1) Write the new or existing column definition information to a predetermined position in the column dictionary 220 specified by the column identifier 221 of the new or existing column definition information, and successfully process the key definition operation. End (steps 314 and 315).

前述した本発明の実施例によれば、従来のキーディクシ
ョナリに格納されていたキーの定義情報を、キーを構成
する列と対応させた形式で列及びキーの定義情報として
編集し、列ディクショナリ220に格納しているので、
キーディクショナリを不要とすることができる。
According to the embodiment of the present invention described above, the key definition information stored in the conventional key dictionary is edited as column and key definition information in a format that corresponds to the columns that constitute the key, and the key definition information is stored in the column dictionary 220. Since it is stored in
A key dictionary can be made unnecessary.

これにより、ディクショナリの構造を整理、単純化し、
ディクショナリのサイズを削減させることができる。ま
た、列またはキーの定義変更時に、参照関係の整合性が
容易に保持することができ、そのための処理量を削減す
ることができる。
This organizes and simplifies the structure of the dictionary,
Dictionary size can be reduced. Further, when changing the definition of a column or key, the consistency of reference relationships can be easily maintained, and the amount of processing required for this purpose can be reduced.

さらに、本発明の実施例によれば、キーの扱いをエンテ
ィティから列の属性とすることにより、列とキーとの対
応付けを単純にし、列及びキーの定義変更に対するシス
テムの操作性及び柔軟性を向上させることができる。
Furthermore, according to the embodiments of the present invention, by changing the handling of keys from entities to column attributes, the correspondence between columns and keys is simplified, and the system becomes more operable and flexible with respect to changes in column and key definitions. can be improved.

[発明の効果] 以上説明したように本発明によれば、ディクショナリの
構造を整理、単純化して、ディクショナリのサイズを削
減することができ、列及びキーの定義の参照関係の整合
性を容易に保持でき、その処理量を削減することができ
、さらに、列及びキーの定義変更に対するシステムの操
作性及び柔軟性を向上させることができる。
[Effects of the Invention] As explained above, according to the present invention, the structure of the dictionary can be organized and simplified, the size of the dictionary can be reduced, and the consistency of reference relationships between column and key definitions can be easily maintained. can be maintained, the amount of processing can be reduced, and the operability and flexibility of the system with respect to changes in column and key definitions can be improved.

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

第1図は本発明一実施例の構成を示すブロック図、第2
図はディクショナリの構造を説明する図、第3図は動作
を説明するフローチャート、第4図は従来技術によるD
BMSにおけるディクショナリとそれを管理するための
システムの一例を示すブロック図、第5図は表、列、及
びキーの定義情報を格納するディクショナリの構造を説
明する図である。 100・・・・・・定義処理部、110・・・・・・制
御部、120・・・・表定義処理部、130・・・・・
列定義処理部、140・・・・・・キー定義処理部、2
00・・・・・・ディクショナリ、210・・・・・・
表ディクショナリ、220・・・・・・列ディクショナ
リ。 第1図 第2図 100:定義処理部 200:ディクショナリ 第 図 500:ディクショナリ 第 図
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention, and FIG.
The figure is a diagram explaining the structure of the dictionary, Figure 3 is a flowchart explaining the operation, and Figure 4 is a diagram explaining the structure of the dictionary.
FIG. 5 is a block diagram showing an example of a dictionary in a BMS and a system for managing it. FIG. 5 is a diagram illustrating the structure of a dictionary that stores definition information of tables, columns, and keys. 100...Definition processing unit, 110...Control unit, 120...Table definition processing unit, 130...
Column definition processing unit, 140...Key definition processing unit, 2
00...Dictionary, 210...
Table dictionary, 220... Column dictionary. Figure 1 Figure 2 100: Definition processing unit 200: Dictionary diagram 500: Dictionary diagram

Claims (1)

【特許請求の範囲】 1、一つ以上の列のシーケンスから構成される複合キー
の定義情報をディクショナリに格納して管理するデータ
ベースにおいて、列の定義情報を格納するディクショナ
リの中に、列の属性として、一つ以上の自表の他の列の
シーケンスを特定する情報を格納する領域と、列の属性
として、キーであるか否かを指定する属性を格納する領
域とを備えることを特徴とするデータベースのキー定義
格納方式。 2、前記一つ以上の自表の他の列のシーケンスを特定す
る情報を格納する領域が、配列型であることを特徴とす
る特許請求の範囲第1記載のデータベースのキー定義格
納方式。 3、前記列の定義情報を格納するディクショナリは、列
の属性として、自列の定義情報が格納されているディク
ショナリ中の位置を特定する列識別子を格納する領域を
備え、前記一つ以上の自表の他の列のシーケンスを特定
する情報を格納する領域に、前記列識別子を格納するこ
とを特徴とする特許請求の範囲第1項または第2項記載
のデータベースのキー定義格納方式。
[Claims] 1. In a database that stores and manages definition information of a composite key consisting of a sequence of one or more columns in a dictionary, in a dictionary that stores column definition information, column attributes are stored. The column is characterized by comprising an area for storing information specifying the sequence of other columns of one or more self-tables, and an area for storing an attribute specifying whether the column is a key or not as an attribute of the column. Key definition storage method for the database. 2. The key definition storage method for a database according to claim 1, wherein the area for storing information specifying the sequence of other columns of the one or more self-tables is of an array type. 3. The dictionary that stores the definition information of the column has, as a column attribute, an area that stores a column identifier that specifies the position in the dictionary where the definition information of the column itself is stored; 3. The key definition storage method for a database according to claim 1, wherein the column identifier is stored in an area that stores information specifying sequences of other columns in a table.
JP2202403A 1990-08-01 1990-08-01 Key definition storing system for data base Pending JPH0488532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2202403A JPH0488532A (en) 1990-08-01 1990-08-01 Key definition storing system for data base

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2202403A JPH0488532A (en) 1990-08-01 1990-08-01 Key definition storing system for data base

Publications (1)

Publication Number Publication Date
JPH0488532A true JPH0488532A (en) 1992-03-23

Family

ID=16456931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2202403A Pending JPH0488532A (en) 1990-08-01 1990-08-01 Key definition storing system for data base

Country Status (1)

Country Link
JP (1) JPH0488532A (en)

Similar Documents

Publication Publication Date Title
AU695765B2 (en) Method and apparatus for data storage and retrieval
US5745904A (en) Buffered table user index
EP1696346B1 (en) File system represented inside a database
WO2003012689A1 (en) Method for fast searching and analyzing inter-relations between patents from a patent database
US20030177117A1 (en) Metadata system for managing data mining environments
JPH0728833A (en) Information retrieval device
JPH0488532A (en) Key definition storing system for data base
JP4056622B2 (en) Database management device
JPH0193843A (en) System for coupling table
JPH0267682A (en) database system
JP2003157249A (en) Document compression storage method
JPS62131349A (en) Data base processing system
JPH01280831A (en) In-program data name standardization support method
JPS61103275A (en) Part list control system
JPH0820989B2 (en) How to manage data structure definitions
JP4661297B2 (en) Drawing management system and drawing management method
JPS63231527A (en) Time series search method
JP2647044B2 (en) History management method
JP2001101233A (en) Database processing unit
JP3555542B2 (en) Group number setting device and group number setting method
JP2922536B2 (en) Logic circuit diagram processing apparatus and logic circuit diagram display method
JPH01248233A (en) Data base retrieving device
JPH01154222A (en) Name control system for data base
JPS63301324A (en) System for improving data editing response
JPS62282372A (en) Library management system