JPH03248237A - Data base management system constructing system - Google Patents

Data base management system constructing system

Info

Publication number
JPH03248237A
JPH03248237A JP2046664A JP4666490A JPH03248237A JP H03248237 A JPH03248237 A JP H03248237A JP 2046664 A JP2046664 A JP 2046664A JP 4666490 A JP4666490 A JP 4666490A JP H03248237 A JPH03248237 A JP H03248237A
Authority
JP
Japan
Prior art keywords
database
component
management component
manages
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
JP2046664A
Other languages
Japanese (ja)
Inventor
Teruhisa Houchin
輝尚 寶珍
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2046664A priority Critical patent/JPH03248237A/en
Publication of JPH03248237A publication Critical patent/JPH03248237A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

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

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データベース管理システム構築システムに関
し、特に、特定の利用分野のために専用化したデータベ
ースの利用分野に応じて、データベース管理システムを
容易に構築できるデータベース管理システム構築システ
ムに関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a database management system construction system, and in particular, the present invention relates to a database management system construction system, and in particular, to facilitate the database management system according to the usage field of a database specialized for a specific usage field. It is related to a database management system construction system that can be constructed.

〔従来の技術〕[Conventional technology]

データベース管理システムは、データベースの管理を行
うために、概略的には次のような機能を有するソフトウ
ェアの集合体である。
A database management system is a collection of software that generally has the following functions for managing a database.

(1)データ相互間の関連や、データの記録媒体への蓄
積の管理機能。
(1) A function to manage relationships between data and storage of data on recording media.

(2)利用者が要求に従って、記憶媒体上のデータをア
クセスし情報の検索を可能とする機能。
(2) A function that allows users to access data on storage media and search for information according to their requests.

(3)データが正しい状態に保たれるための制御機能。(3) Control function to maintain data in correct state.

このようなデータベース管理システムは、あるデータモ
デルによってデータ表現を実現し、データの独立性を保
証する機構を持つ部品(ソフトウェア)の集合体となっ
ている。このようなデータベース管理システムを構成す
る基本データベース処理部品は、データベース管理シス
テムにおいて使用するデータ、該データを管理する部品
群から構成されている。
Such a database management system is a collection of components (software) that have a mechanism that realizes data representation using a certain data model and guarantees data independence. The basic database processing components that constitute such a database management system are composed of data used in the database management system and a group of components that manage the data.

データベースの利用分野は、文献検索、銀行業務から事
務処理2機械設計等の分野に拡大している。特に、技術
革新の激しい分野では、性能および機能の向上のために
、利用分野に専用化した、しかも迅速な、データベース
管理システムの構築が必要となっている。
The field of use of databases has expanded from literature searches and banking to areas such as office processing and machine design. In particular, in fields of rapid technological innovation, it is necessary to build database management systems specialized for the field of use and quickly in order to improve performance and functionality.

データベース管理システムは、利用者からのコマンド列
を解釈し、データベース中のデータに対する操作を行い
、その結果を利用者に返却する部品群から構成される。
A database management system consists of a group of components that interpret a command string from a user, perform operations on data in a database, and return the results to the user.

このようなデータベース管理システムの例を説明する。An example of such a database management system will be explained.

第3図は、従来のデータベース管理システムの構成の一
例を示す図である。
FIG. 3 is a diagram showing an example of the configuration of a conventional database management system.

データベース管理システムは、例えば、第3図に示すよ
うな部品から構成される。データベース70とは、ファ
イル中に格納されているデータの集まりであり、データ
ベース管理システムは、利用者のコマンド列51に基づ
き、このデータベース70の中のデータに対し、利用者
のコマンド列51で指示された操作を行い、利用者に対
して最終的な結果56を返却する。
The database management system is composed of components as shown in FIG. 3, for example. The database 70 is a collection of data stored in files, and the database management system specifies the data in the database 70 based on the user's command string 51. The user performs the specified operation and returns the final result 56 to the user.

この場合、利用者のコマンド列51は、構文解析部品4
1により字句、構文が検査され、構文木A52とされる
。構文木A52は、意味解析部品42に入力される。意
味解析部品42は、入力された構文木A52に対して、
スキーマ管理部品46を用いてデータの定義情報に合致
しているか検査し、構文木B53を作成する。構文木B
53は、最適化部品43に入力される。最適化部品43
は、構文木B53を入力し、データアクセス時のコスト
を評価し、最適なアクセス経路を決定して、構文木C5
4を作成する。構文木C54はプラン生成部品44に入
力され、プラン生成部品44によって、プラン実行部品
45が解釈できるプラン木55の形式に変換される。プ
ラン実行部品45は、プラン木55を入力し、プラン木
55に対応する命令を実行する。この命令は、スキーマ
管理部品46.データ処理部品47.資源管理部品48
およびカーソル管理部品50を使用して処理を行う。
In this case, the user's command string 51 is the syntax analysis component 4
1, the lexical and syntax are checked and a syntax tree A52 is obtained. The syntax tree A52 is input to the semantic analysis component 42. The semantic analysis component 42 performs the following on the input syntax tree A52:
The schema management component 46 is used to check whether data matches the definition information, and a syntax tree B53 is created. Syntax tree B
53 is input to the optimization component 43. Optimized parts 43
inputs the syntax tree B53, evaluates the cost during data access, determines the optimal access route, and creates the syntax tree C5.
Create 4. The syntax tree C54 is input to the plan generation component 44, and is converted by the plan generation component 44 into a plan tree 55 format that can be interpreted by the plan execution component 45. The plan execution component 45 inputs the plan tree 55 and executes instructions corresponding to the plan tree 55. This command is executed by the schema management component 46. Data processing component 47. Resource management parts 48
Processing is performed using the cursor management component 50.

また、スキーマ管理部品46.データ処理部品47゜資
源管理部品48.および障害管理部品49の各部品は、
ファイル/メモリ管理部品69を用いて、データベース
70、またはデータベースの資源を表現し。
Also, schema management component 46. Data processing component 47° Resource management component 48. and each component of the fault management component 49,
The file/memory management component 69 is used to express the database 70 or the resources of the database.

管理しているディレクトリ7エにアクセスする。Access the managed directory 7e.

また、スキーマ管理部品46は、データ処理部品47を
用いて、データの定義情報(スキーマ)をデータベース
70中のデータとして管理する。
Furthermore, the schema management component 46 uses the data processing component 47 to manage data definition information (schema) as data in the database 70 .

プラン木55に対応する一連の処理の結果として、結果
56が利用者に返却される。データベース管理システム
制御部品40は、このような一連の処理の制御を行う。
As a result of a series of processes corresponding to the plan tree 55, a result 56 is returned to the user. The database management system control component 40 controls this series of processing.

このような一連の処理を行うために、構文解析部品41
では、字句構文情報57と構文木A定義情報58を保持
している。意味解析部品42では、構文木A定義情報5
9と構文木C定義情報60を保持しており、最適化部品
43では、構文木B定義情報61.アクセスコスト情報
62.および構文木C定義情報63を保持している。プ
ラン生成部品44では、構文木C定義情報64とプラン
木定義情報65を保持しており、プラン実行部品45で
は、プラン木定義情報66とプラン木に対応する命令列
67を保持している。
In order to perform such a series of processing, the syntax analysis component 41
, lexical syntax information 57 and syntax tree A definition information 58 are held. In the semantic analysis component 42, the syntax tree A definition information 5
9 and syntax tree C definition information 60, and the optimization component 43 holds syntax tree B definition information 61. Access cost information 62. and syntax tree C definition information 63. The plan generation component 44 holds syntax tree C definition information 64 and plan tree definition information 65, and the plan execution component 45 holds plan tree definition information 66 and an instruction sequence 67 corresponding to the plan tree.

また、スキーマ管理部品46においては、データの定義
情報(スキーマ)をデータベース70中のデータとして
格納している。
Furthermore, in the schema management component 46, data definition information (schema) is stored as data in the database 70.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

このように構築されたデータベース管理システムにおい
ては、例えば、既に構築されたデータベース管理システ
ムでは扱えなかった図形データの格納および操作を行お
うとすると、図形データのための格納構造が必要となり
、データ処理部品47を修正する必要が生じる。また、
新しい格納構造に対応するデータ型とそのデータ型に応
じた操作命令が必要となる。これらの変更は、スキーマ
管理部品46.構文解析部品41.意味解析部品42.
最適化部品43.プラン生成部品44およびプラン実行
部品45と、これらを管理している各情報57〜67の
修正が必要となる。しかも、これらの修正にあたっては
、既存箇所と修正箇所に矛盾が発生しないように考慮す
る必要がある。このような要求を満足するため、既存の
データベース管理システムの修正では対処不可能である
場合、データベース管理システムを新たに作成し直さな
ければならない。
In a database management system constructed in this way, for example, if you try to store and manipulate graphic data that cannot be handled by an already constructed database management system, a storage structure for the graphic data is required, and a data processing component is required. 47 will need to be modified. Also,
A data type corresponding to the new storage structure and an operation instruction corresponding to that data type are required. These changes are made in the schema management component 46. Syntax analysis component 41. Semantic analysis component 42.
Optimized parts 43. It is necessary to modify the plan generation component 44, the plan execution component 45, and each piece of information 57 to 67 that manages them. Moreover, when making these corrections, it is necessary to take care to avoid inconsistencies between the existing parts and the revised parts. In order to satisfy such demands, if it is not possible to respond by modifying an existing database management system, a new database management system must be created.

したがって、データベースの利用分野に応じたデータベ
ース管理システムを構築する場合に、データベースの利
用分野に応じてデータベース管理システムが容易に構築
できるデータベース管理システム構築手法が所望される
Therefore, when constructing a database management system according to the field of use of a database, a method of constructing a database management system that can easily construct a database management system according to the field of use of the database is desired.

本発明の目的は、データベースの利用分野のために専用
化したデータベース管理システムを作成する場合に、デ
ータベース管理システムを最初から設計することなく、
容易に所望するデータベース管理システムを構築できる
データベース管理システム構築システムを提供すること
にある。
An object of the present invention is to create a database management system specialized for a field of database use without designing the database management system from scratch.
An object of the present invention is to provide a database management system construction system that can easily construct a desired database management system.

〔課題を解決するための手段〕[Means to solve the problem]

前記目的を達成するために、本発明のデータベース管理
システム構築システムは、特定の利用分野のために専用
化したデータベース管理システムを構築するデータベー
ス管理システム構築システムであって、データベース言
語の字句を管理する字句管理部品と、構文木定義情報と
構文木を管理する構文木管理部品と、データ定義情報を
管理するスキーマ管理部品と、データベースからデータ
を取り出すコストを管理するアクセスコスト管理部品と
、データベース処理を表現するプラン木定義情報とプラ
ン木に対応する命令列とプラン木とを管理するプラン管
理部品と、複数の検索データ中の現在指示子を管理する
カーソル管理部品と、データベース管理システムの処理
部品の情報を管理するモジュール管理部品と、モジュー
ル間のインタフェースデータの定義情報とインタフェー
スデータとを管理するインタフェース管理部品と、デー
タベース中にデータを格納するためのデータ型定義情報
とデータ型対応処理部品を管理するデータ型管理部品と
、データベースへのデータアクセスを実際に行うデータ
処理部品と、データベース処理中に障害が発生した場合
に動作する障害管理部品と、データベースとして使用で
きる計算機資源を管理する資源管理部品と、データベー
ス資源を表現するディレクトリの管理を行うディレクト
リ管理部品と、ファイルとメモリに関する処理を行うフ
ァイル/メモリ管理部品とを備えたことを特徴とする。
In order to achieve the above object, the database management system construction system of the present invention is a database management system construction system that constructs a database management system specialized for a specific field of use, and which manages the vocabulary of a database language. A lexical management component, a syntax tree management component that manages syntax tree definition information and syntax trees, a schema management component that manages data definition information, an access cost management component that manages the cost of retrieving data from the database, and a database processing component. A plan management component that manages the plan tree definition information to be expressed, an instruction sequence corresponding to the plan tree, and the plan tree, a cursor management component that manages the current indicator in multiple search data, and a processing component of the database management system. Manages module management components that manage information, interface management components that manage interface data definition information and interface data between modules, and data type definition information and data type compatible processing components that are used to store data in the database. a data type management component that actually accesses data to the database, a failure management component that operates when a failure occurs during database processing, and a resource management component that manages computer resources that can be used as a database. , a directory management component that manages directories expressing database resources, and a file/memory management component that performs processing related to files and memory.

〔作用〕[Effect]

データベース管理システムの構築には、データベース処
理を行う各々の部品群を作成することになる。このため
、データベース管理システム構築システムには、字句管
理部品と、構文木管理部品と、スキーマ管理部品と、ア
クセスコスト管理部品と、プラン管理部品と、カーソル
管理部品と、モジュール管理部品と、インタフェース管
理部品と、データ型管理部品と、データ処理部品と、障
害管理部品と、資源管理部品と、ディレクトリ管理部品
と、ファイルとメモリに関する処理を行うファイル/メ
モリ管理部品とが備えられる。
To construct a database management system, each component group that performs database processing must be created. Therefore, a database management system construction system includes lexical management components, syntax tree management components, schema management components, access cost management components, plan management components, cursor management components, module management components, and interface management components. A component, a data type management component, a data processing component, a fault management component, a resource management component, a directory management component, and a file/memory management component that performs processing related to files and memory.

字句管理部品は、データベース言語の字句を管理する部
品である。構文本管理部品は、構文木定義情報と構文木
を管理する部品である。スキーマ管理部品は、データベ
ースを構造を定義するスキーマであるデータ定義情報を
管理する部品である。
The lexical management component is a component that manages the lexical elements of the database language. The syntax book management component is a component that manages syntax tree definition information and syntax trees. The schema management component is a component that manages data definition information, which is a schema that defines the structure of a database.

アクセスコスト管理部品はデータベースからデータを取
り出すコストを管理する部品である。プラン管理部品は
、データベース処理を表現するプラン木定義情報とプラ
ン木に対応する命令列とプラン木とを管理する部品であ
る。カーソル管理部品は、複数の検索データ中の現在指
示子を管理する部品である。モジュール管理部品は、デ
ータベース管理システムの処理部品の情報を管理する部
品である。インタフェース管理部品は、モジュール間の
インタフェースデータの定義情報とインタフェースデー
タとを管理する部品である。データ型管理部品は、デー
タベース中にデータを格納するためのデータ型定義情報
とデータ型対応処理部品を管理する部品である。データ
処理部品は、データベースへのデータアクセスを実際に
行うデータベース処理中に障害が発生した場合に動作す
る部品である部品である。資源管理部品は、データベー
スとして使用できる計算機資源を管理する部品であり、
ディレクトリ管理部品は、データベース資源を表現する
ディレクトリの管理を行う部品である。また、ファイル
/メモリ管理部品は、ファイルとメモリに関する処理を
行う部品である。これらの各々の部品から構成される基
本データベース処理部品により、データベース管理シス
テムの基本要素部品となる構文解析文品、意味解析部品
The access cost management component is a component that manages the cost of retrieving data from the database. The plan management component is a component that manages plan tree definition information expressing database processing, an instruction sequence corresponding to the plan tree, and the plan tree. The cursor management component is a component that manages current indicators in a plurality of search data. The module management component is a component that manages information on processing components of the database management system. The interface management component is a component that manages definition information and interface data of interface data between modules. The data type management component is a component that manages data type definition information and data type compatible processing components for storing data in a database. The data processing component is a component that operates when a failure occurs during database processing that actually accesses data to the database. The resource management component is a component that manages computer resources that can be used as a database.
The directory management component is a component that manages directories representing database resources. Further, the file/memory management component is a component that performs processing related to files and memory. The basic database processing components made up of each of these components provide syntactic analysis and semantic analysis components, which are the basic components of a database management system.

最適化部品、プラン生成部品、およびプラン実行部品を
生成し、データベース管理システムを構築する。
Generate optimization parts, plan generation parts, and plan execution parts and build a database management system.

このようなシステムの構築方法により、データベースの
利用分野に応じて、専用的なデータベース管理システム
が容易に構築できる。この場合には、特に、データベー
ス管理システムとして共通的に必要な部品群の設計は行
わずにすみ、データベース管理システムを容易に構築す
ることが可能となる。
By using such a system construction method, a dedicated database management system can be easily constructed depending on the field of use of the database. In this case, there is no need to particularly design a group of commonly required parts for a database management system, and the database management system can be easily constructed.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面を用いて具体的に説明す
る。
Hereinafter, one embodiment of the present invention will be specifically described using the drawings.

第1図は、本発明の一実施例にかかるデータベース管理
システム構築システムの構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a database management system construction system according to an embodiment of the present invention.

第1図において、1は基本データベース処理部品である
。基本データベース処理部品1は、字句管理部品2.構
文木管理部品3.スキーマ管理部品4.アクセスコスト
管理部品5゜プラン管理部品6.カーソル管理部品7.
モジュール管理部品8.インタフェース管理部品9.デ
ータ型管理部品10.データ処理部品11.障害管理部
品12.資源管理部品13.ディレクトリ管理部品14
およびファイル/メモリ管理部品15から構成される。
In FIG. 1, 1 is a basic database processing component. The basic database processing component 1 is the lexical management component 2. Syntax tree management component 3. Schema management component 4. Access cost management parts 5゜Plan management parts 6. Cursor management component 7.
Module management parts 8. Interface management component 9. Data type management component 10. Data processing parts 11. Fault management component 12. Resource management parts 13. Directory management component 14
and a file/memory management component 15.

字句情報16は、入力されるコマンド列51の中に出現
する字句の情報であり、この字句情報16は。
The lexical information 16 is information on lexical words that appear in the input command string 51;

字句管理部品2により管理される。また、コマンド列5
1の解析に使用される構文木A18.構文木B19、構
文木C20は、構文木管理部品3により、構文木定義情
報17と共に管理される。スキーマ管理部品4は、デー
タ定義情報(スキーマ)を管理する部品である。
It is managed by the lexical management component 2. Also, command string 5
Syntax tree A18.1 used for analysis of A18.1. The syntax tree B19 and the syntax tree C20 are managed together with the syntax tree definition information 17 by the syntax tree management component 3. The schema management component 4 is a component that manages data definition information (schema).

アクセスコスト情報21は、データベースからデータを
取り出す場合のコスト(アクセスコスト)を表現してい
る情報である。アクセスコスト管理部品5が、アクセス
コスト情報21を管理する。
The access cost information 21 is information expressing the cost (access cost) when retrieving data from the database. The access cost management component 5 manages access cost information 21.

プラン木23は、コマンド列51に対応したデータベー
ス処理を表現するプラン木であり、命令列24は、プラ
ン木23に対応する命令列であり、また、プラン木定義
情報22は、プラン木23の定義情報である。プラン管
理部品6が、これらのプラン木定義情報22.命令列2
4およびプラン木23の管理を行う。また、カーソル管
理部品7は、複数の検索データ中の現在指示子(カーソ
ル)を管理する。
The plan tree 23 is a plan tree expressing database processing corresponding to the command sequence 51, the instruction sequence 24 is an instruction sequence corresponding to the plan tree 23, and the plan tree definition information 22 is a plan tree expressing database processing corresponding to the command sequence 51. This is definition information. The plan management component 6 stores these plan tree definition information 22. Instruction sequence 2
4 and the plan tree 23. Further, the cursor management component 7 manages the current indicator (cursor) in a plurality of search data.

モジュール管理情報25は、データベース管理システム
の処理部品(モジュール)に関する情報であり、モジュ
ール管理部品8が、このモジュール管理情報25を管理
する6 インタフェースデータ26は、モジュール間のインタフ
ェースデータであり、また、インタフェース定義情報2
7は、インタフェースデータ26を定義する情報である
。インタフェース管理部品9が。
The module management information 25 is information regarding processing components (modules) of the database management system, and the module management component 8 manages this module management information 25. The interface data 26 is interface data between modules, and Interface definition information 2
7 is information that defines the interface data 26. Interface management component 9.

これらのインタフェースデータ26とインタフェース定
義情報27とを管理する。
These interface data 26 and interface definition information 27 are managed.

データ型管理情報28は、データベース30中にデータ
を格納するためのデータ型の定義情報であり。
The data type management information 28 is data type definition information for storing data in the database 30.

る。データ型対応処理部品29は、データ型に対する処
理を行う部品群である。データ型管理部品10が、デー
タ型管理情報28とデータ型対応処理部品29とを管理
する。
Ru. The data type compatible processing components 29 are a group of components that perform processing on data types. The data type management component 10 manages data type management information 28 and data type compatible processing components 29.

データ処理部品11が、データベース30へのデータア
クセスを実際に行うデータベース処理部品である。障害
管理部品12は、データベース処理中に障害が発生した
場合に動作し、障害の復旧を行う障害管理を行う部品で
ある。また、資源管理部品13は、データベース30と
して使用できる計算機資源を管理する部品であり、ディ
レクトリ管理部品14は、データベース資源を表現する
ディレクトリ31の管理を行う部品である。そして、フ
ァイル/メモリ管理部品15が、ファイルとメモリに関
する処理を行う。
The data processing component 11 is a database processing component that actually accesses data to the database 30. The fault management component 12 is a fault management component that operates when a fault occurs during database processing and performs fault recovery. Further, the resource management component 13 is a component that manages computer resources that can be used as a database 30, and the directory management component 14 is a component that manages a directory 31 that represents database resources. Then, the file/memory management component 15 performs processing related to files and memory.

次に、このように各部品の集合から構成されている基本
データベース処理部品の動作を説明する。
Next, the operation of the basic database processing component constructed from a set of components as described above will be explained.

字句管理部品2は、コマンド列51中の字句情報16の
管理を行い、構文木管理部品3は、構文木定義情報17
を管理し、コマンド列51の解析に使用される各々の構
文木18〜21の管理を行う。アクセスコスト管理部品
5は、データベースからデータを取り出す場合のアクセ
スコスト情報21を管理する。
The lexical management component 2 manages the lexical information 16 in the command string 51, and the syntax tree management component 3 manages the syntax tree definition information 17.
and manages each of the syntax trees 18 to 21 used to analyze the command string 51. The access cost management component 5 manages access cost information 21 when data is retrieved from the database.

プラン管理部品6は、データベース処理を表現するプラ
ン木定義情報22.プラン木に対応する命令列24.お
よびコマンド列51に対応するプラン木23の管理を行
う。
The plan management component 6 includes plan tree definition information 22. Instruction sequence 24 corresponding to the plan tree. and manages the plan tree 23 corresponding to the command sequence 51.

カーソル管理部品7は、複数の検索データ中の現在指示
子を管理する。モジュール管理部品8は、データベース
管理システムの各々の処理部品となるモジュールを管理
する。インタフェース管理部品9は、各々のモジュール
間のインタフェースデータ26とインタフェース定義情
報27を管理する。
The cursor management component 7 manages current indicators in a plurality of search data. The module management component 8 manages modules that are each processing component of the database management system. The interface management component 9 manages interface data 26 and interface definition information 27 between each module.

データ型管理部品10は、データベース30中にデータ
を格納するためのデータ型の定義情報28とデータ型に
対する処理部品29を管理し、また、データ処理部品1
1は、データベース30へのデータアクセスを実際に行
う。ディレクトリ管理部品14は、データベース資源を
表現するディレクトリ31の管理を行う。障害管理部品
12は、データベース処理中に障害が発生した場合に動
作し、障害の復旧を行う。
The data type management component 10 manages data type definition information 28 for storing data in the database 30 and processing components 29 for data types.
1 actually accesses data to the database 30. The directory management component 14 manages a directory 31 representing database resources. The fault management component 12 operates when a fault occurs during database processing and performs fault recovery.

このような各々の部品(2,3,5〜12)は、各情報
を格納する場合にファイル/メモリ管理部品15を使用
する。ファイル/メモリ管理部品15は、ファイルとメ
モリに関する処理を行う。
Each of these components (2, 3, 5 to 12) uses the file/memory management component 15 when storing each piece of information. The file/memory management component 15 performs processing related to files and memory.

なお、スキーマ管理部品4は、データ処理部品11を用
いて、データベースの構造を規定するデータ定義情報(
スキーマ)を管理する。資源管理部品13は、データベ
ース30として使用できる計算機資源をディレクトリ管
理部品14を用いて管理する。
Note that the schema management component 4 uses the data processing component 11 to create data definition information (
schema). The resource management component 13 manages computer resources that can be used as the database 30 using the directory management component 14 .

次に、このように構成されているデータベース管理シス
テム構築システムを用いて、データベース管理システム
を構築する場合の処理例を具体的に説明する。
Next, an example of processing for constructing a database management system using the database management system construction system configured as described above will be specifically explained.

第2図は、第1図で示した基本データベース処理部品1
を使用して、データベース管理システムを構築する場合
の構築例を説明するブロック図である。
Figure 2 shows the basic database processing component 1 shown in Figure 1.
FIG. 2 is a block diagram illustrating an example of constructing a database management system using the following.

第2図において、構文解析部品32は、利用者からコマ
ンド列38の字句、構文を検査する部品である。この際
、構文解析部品32は、字句の検査を字句管理部品2に
依頼する。さらに、構文木管理部品3を使用して、構文
木A1Bを作成する。次に、意味解析部品33では、構
文木A18から構文木管理部品3を使用して情報を獲得
し、スキーマ管理部品4を用いてデータの定義情報に合
致しているか検査する。続いて、その後、構文木管理部
品3を使用して、構文木B19を作成する。最適化部品
34は、作成した構文木B19から構文木管理部品3を
使用して情報を獲得し、アクセスコスト管理部品5を使
用して、データアクセス時のコストを評価し、最適なア
クセス経路を決定する。そして、再び構文木管理部品3
を使用して、構文木C20を作成する。プラン生成部品
35は1作成した構文木C20から構文木管理部品3を
使用して情報を獲得し、次に、プラン管理部品6を使用
してプラン木23を作成する。プラン実行部品36は、
プラン管理部品6を使用して、プラン木23を入力し、
プラン管理部品6にプラン木23に対応する命令列24
の実行を依頼する。命令列24の実行では、データ処理
部品11を用いてデータベース30からデータを取り出
し、データ型管理部品10にデータ型に対応するデータ
型対応処理部品29の実行を依頼する。また、命令列2
4は、資源管理部品13を使用して、データベース資源
の管理を行う。命令列24の実行の処理結果として、結
果39が利用者に返却される。データベース管理システ
ム制御部品37は、これらの処理部品の構文解析部品3
2.意味解析部品33.最適化部品34.プラン生成部
品35.プラン実行部品36の各々の制御を行う。
In FIG. 2, a syntax analysis component 32 is a component that inspects the lexical and syntax of a command string 38 from the user. At this time, the syntactic analysis component 32 requests the lexical management component 2 to inspect the lexical phrase. Furthermore, using the syntax tree management component 3, a syntax tree A1B is created. Next, the semantic analysis component 33 uses the syntax tree management component 3 to acquire information from the syntax tree A 18, and uses the schema management component 4 to check whether the information matches the definition information of the data. Subsequently, the syntax tree management component 3 is used to create a syntax tree B19. The optimization component 34 uses the syntax tree management component 3 to acquire information from the created syntax tree B19, uses the access cost management component 5 to evaluate the cost at the time of data access, and determines the optimal access route. decide. And again, syntax tree management component 3
Create a syntax tree C20 using The plan generation component 35 acquires information from the created syntax tree C20 using the syntax tree management component 3, and then creates the plan tree 23 using the plan management component 6. The plan execution component 36 is
Using the plan management component 6, input the plan tree 23,
Instruction sequence 24 corresponding to the plan tree 23 in the plan management component 6
request execution. To execute the instruction sequence 24, the data processing component 11 is used to retrieve data from the database 30, and the data type management component 10 is requested to execute the data type compatible processing component 29 corresponding to the data type. Also, instruction string 2
4 uses the resource management component 13 to manage database resources. A result 39 is returned to the user as a processing result of the execution of the instruction sequence 24. The database management system control component 37 is a syntax analysis component 3 of these processing components.
2. Semantic analysis component 33. Optimized parts 34. Plan generation component 35. Each of the plan execution components 36 is controlled.

また、スキーマ管理部品4は、データ型管理部品10を
用いてデータ型の検査を行い、データ処理部品を用いて
データの定義情報の操作を行う。データ処理部品11は
、障害管理部品12.資源管理部品13を用いてデータ
ベース30のアクセスを行う。
Further, the schema management component 4 uses the data type management component 10 to check data types, and uses the data processing component to manipulate data definition information. The data processing component 11 includes the fault management component 12. The database 30 is accessed using the resource management component 13.

これらのデータ処理部品11.障害管理部品12および
資源管理部品13は、必要に応じてデータベースの資源
を表現するディレクトリ31に対し、ディレクトリ管理
部品14を用いてアクセスする。障害管理部品12は、
データベース処理中に何等かの障害が発生した場合、デ
ータベース30中のデータの修復を行う。インタフェー
ス管理部品9は、各々の部品の間のデータの授受の仲介
を行う。モジュール管理部品8は、部品への制御の受渡
しを行う。
These data processing components 11. The fault management component 12 and the resource management component 13 use the directory management component 14 to access the directory 31 representing database resources as necessary. The fault management component 12 is
If some kind of failure occurs during database processing, the data in the database 30 is repaired. The interface management component 9 mediates the exchange of data between each component. The module management component 8 transfers control to components.

これらの部品2〜14は、また、ファイル/メモリ管理
部品15を使用して、ファイルまたはメモリの領域確保
を行う。
These components 2 to 14 also use the file/memory management component 15 to secure a file or memory area.

したがって、応用分野に応じたデータベース管理システ
ムを作成するには、これらの処理部品の構文解析部品3
2.意味解析部品33.最適化部品34゜プラン生成部
品35.プラン実行部品36.およびデータベース管理
システム制御部品37の各々の部品を、基本データベー
ス処理部品1を利用して作成することにより行う。この
ようなシステムの構築方法により、データベースの利用
分野に応じて、専用的なデータベース管理システムが容
易に構築できる。また、データベース管理システムとし
て共通的に必要な部品群の設計は行わずにすみ、データ
ベース管理システムを容易に構築することが可能となる
Therefore, in order to create a database management system according to the application field, it is necessary to use the syntax analysis component 3 of these processing components.
2. Semantic analysis component 33. Optimization part 34° Plan generation part 35. Plan execution component 36. This is done by creating each component of the database management system control component 37 using the basic database processing component 1. By using such a system construction method, a dedicated database management system can be easily constructed depending on the field of use of the database. Further, it is not necessary to design a group of parts commonly required for a database management system, and it becomes possible to easily construct a database management system.

以上、本発明を実施例にもとづき具体的に説明したが、
本発明は、前記実施例に限定されるものではなく、その
要旨を逸脱しない範囲において種々変更可能であること
は言うまでもない。
The present invention has been specifically explained above based on examples, but
It goes without saying that the present invention is not limited to the embodiments described above, and can be modified in various ways without departing from the spirit thereof.

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

以上の説明から明らかなように、本発明によれば、デー
タベース管理システムの核となる部品をもとにしてデー
タベース管理システムを構築することが可能となり、デ
ータベース管理システムの容易な作成が可能となるとい
う効果がある。
As is clear from the above description, according to the present invention, it is possible to construct a database management system based on the core parts of the database management system, and it is possible to easily create the database management system. There is an effect.

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

第1図は、本発明の一実施例にかかるデータベース管理
システム構築システムの構成を示すブロック図、 第2図は、第1図で示した基本データベース処理部品を
使用して、データベース管理システムを構築する場合の
構築例を説明するブロック図、第3図は、従来のデータ
ベース管理システムの構成の一例を示す図である。 図中、1・・・基本データベース処理部品、2・・・字
句管理部品、3・・・構文木管理部品、4,46・・・
スキーマ管理部品、S =−アクセスコスト管理部品、
6・・・プラン管理部品、7.50・・・カーソル管理
部品、8・・・モジュール管理部品、9・・・インタフ
ェース管理部品、10・・・データ型管理部品、11.
47・・・データ処理部品、12.49・・・障害管理
部品、13.48・・・資源管理部品、14・・・ディ
レクトリ管理部品、15・・・ファイル/メモリ管理部
品、16.57・・・字句情報、17・・・構文木定義
情報、18.52・・・構文木A、19.53・・・構
文木B、20.54・・・構文木C121,62・・・
アクセスコスト情報、22・・・プラン木定義情報、2
3.55・・・プラン木、24・・・命令列、25・・
・モジュール管理情報、26・・・インタフェースデー
タ、27・・・インタフェース定義情報、28・・・デ
ータ型管理情報、29・・・データ型対応処理部品、3
0.70・・・データベース、31.71・・・ディレ
クトリ、32.41・・・構文解析部品、33.42・
・・意味解析部品、34.43・・・最適化部品、 3
5.44・・・プラン生成部品、36.45・・・プラ
ン実行部品、37.40・・・データベース管理システ
ム制御部品、38.51・・・コマンド列、39.56
・・・結果+ 58.59・・・構文木A定義情報、6
0.61・・・構文木B定義情報、63.64・・・構
文木C定義情報、65.66・・・プラン木定義情報、
68・・・メモリ管理部品。
FIG. 1 is a block diagram showing the configuration of a database management system construction system according to an embodiment of the present invention, and FIG. 2 shows a database management system constructed using the basic database processing components shown in FIG. 1. FIG. 3 is a block diagram illustrating an example of the construction of a conventional database management system. In the figure, 1... basic database processing component, 2... lexical management component, 3... syntax tree management component, 4, 46...
Schema management component, S=-access cost management component,
6... Plan management component, 7.50... Cursor management component, 8... Module management component, 9... Interface management component, 10... Data type management component, 11.
47...Data processing component, 12.49...Fault management component, 13.48...Resource management component, 14...Directory management component, 15...File/memory management component, 16.57. ... Lexical information, 17... Syntax tree definition information, 18.52... Syntax tree A, 19.53... Syntax tree B, 20.54... Syntax tree C121, 62...
Access cost information, 22...Plan tree definition information, 2
3.55...Plan tree, 24...Instruction sequence, 25...
- Module management information, 26... Interface data, 27... Interface definition information, 28... Data type management information, 29... Data type compatible processing component, 3
0.70...Database, 31.71...Directory, 32.41...Syntax analysis component, 33.42.
...Semantic analysis component, 34.43...Optimization component, 3
5.44...Plan generation component, 36.45...Plan execution component, 37.40...Database management system control component, 38.51...Command string, 39.56
... Result + 58.59 ... Syntax tree A definition information, 6
0.61...Syntax tree B definition information, 63.64...Syntax tree C definition information, 65.66...Plan tree definition information,
68...Memory management component.

Claims (1)

【特許請求の範囲】[Claims] (1)特定の利用分野のために専用化したデータベース
管理システムを構築するデータベース管理システム構築
システムであって、データベース言語の字句を管理する
字句管理部品と、構文木定義情報と構文木を管理する構
文木管理部品と、データ定義情報を管理するスキーマ管
理部品と、データベースからデータを取り出すコストを
管理するアクセスコスト管理部品と、データベース処理
を表現するプラン木定義情報とプラン木に対応する命令
列とプラン木とを管理するプラン管理部品と、複数の検
索データ中の現在指示子を管理するカーソル管理部品と
、データベース管理システムの処理部品の情報を管理す
るモジュール管理部品と、モジュール間のインタフェー
スデータの定義情報とインタフェースデータとを管理す
るインタフェース管理部品と、データベース中にデータ
を格納するためのデータ型定義情報とデータ型対応処理
部品を管理するデータ型管理部品と、データベースへの
データアクセスを実際に行うデータ処理部品と、データ
ベース処理中に障害が発生した場合に動作する障害管理
部品と、データベースとして使用できる計算機資源を管
理する資源管理部品と、データベース資源を表現するデ
ィレクトリの管理を行うディレクトリ管理部品と、ファ
イルとメモリに関する処理を行うファイル/メモリ管理
部品とを備えたことを特徴とするデータベース管理シス
テム構築システム。
(1) A database management system construction system that constructs a database management system specialized for a specific field of use, which includes a lexical management component that manages the lexical of a database language, and manages syntax tree definition information and syntax trees. A syntax tree management component, a schema management component that manages data definition information, an access cost management component that manages the cost of retrieving data from the database, plan tree definition information that expresses database processing, and an instruction sequence corresponding to the plan tree. A plan management component that manages plan trees, a cursor management component that manages current indicators in multiple search data, a module management component that manages information on processing components of a database management system, and a module management component that manages interface data between modules. An interface management component that manages definition information and interface data, a data type management component that manages data type definition information and data type compatible processing components for storing data in the database, and a data type management component that manages data access to the database. a fault management component that operates when a failure occurs during database processing, a resource management component that manages computer resources that can be used as a database, and a directory management component that manages directories that represent database resources. A database management system construction system comprising: and a file/memory management component that performs processing related to files and memory.
JP2046664A 1990-02-26 1990-02-26 Data base management system constructing system Pending JPH03248237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2046664A JPH03248237A (en) 1990-02-26 1990-02-26 Data base management system constructing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2046664A JPH03248237A (en) 1990-02-26 1990-02-26 Data base management system constructing system

Publications (1)

Publication Number Publication Date
JPH03248237A true JPH03248237A (en) 1991-11-06

Family

ID=12753615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2046664A Pending JPH03248237A (en) 1990-02-26 1990-02-26 Data base management system constructing system

Country Status (1)

Country Link
JP (1) JPH03248237A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6035343A (en) * 1993-06-11 2000-03-07 Fujitsu Limited Method for executing software formed of software components and a system for executing such software
US10606014B2 (en) 2008-08-29 2020-03-31 Corning Optical Communications LLC Independently translatable modules and fiber optic equipment trays in fiber optic equipment
JP2020510247A (en) * 2018-02-05 2020-04-02 ▲鄭▼州大学 Technological innovation method based on innovation dimensions and innovation rules

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6035343A (en) * 1993-06-11 2000-03-07 Fujitsu Limited Method for executing software formed of software components and a system for executing such software
US10606014B2 (en) 2008-08-29 2020-03-31 Corning Optical Communications LLC Independently translatable modules and fiber optic equipment trays in fiber optic equipment
JP2020510247A (en) * 2018-02-05 2020-04-02 ▲鄭▼州大学 Technological innovation method based on innovation dimensions and innovation rules

Similar Documents

Publication Publication Date Title
US11593369B2 (en) Managing data queries
JP3437849B2 (en) Database management system and method for supporting object-oriented programming
US6349305B1 (en) Method and system for database processing by invoking a function related to index type definition, generating an execution plan based on index type name
US6148296A (en) Automatic generation of database queries
JP2644728B2 (en) Data dictionary directory system
US10782935B2 (en) Method and system to provide a generalized framework for dynamic creation of module analytic applications
JPH04172542A (en) Function extension system for data base management system
JP2001034618A (en) XML data search processing method and search processing system
JP2009169902A (en) Database management method, database management apparatus, database management program, and database system
EP1909170B1 (en) Method and system for automatically generating a communication interface
CN112835638B (en) Configuration information management method and device based on embedded application program
US20030097545A1 (en) Adaptive data architecture for information management systems
CN109753533A (en) A kind of multi-source relevant database client development approach and device
JPH03248237A (en) Data base management system constructing system
US7225196B2 (en) Data conversion method and computer system therefor
US12086128B2 (en) Mechanisms for serializing triples of a database store
US20240012803A1 (en) Mechanisms for deleting triples of a database store
CN120030051B (en) Database hardware acceleration method, electronic device and storage medium
US11681705B2 (en) Trie data structure with subtrie data structures
JP2000163446A (en) Extendable inquiry processor
JPH03226837A (en) Generation of repository
JPS62115533A (en) Intelligence processing system
JP2004302840A (en) Database access method
JPH0350632A (en) Heredity method in large scale knowledge data base system
JP2001325133A (en) Hybrid database system