JP2001101233A - Data base processor - Google Patents

Data base processor

Info

Publication number
JP2001101233A
JP2001101233A JP28278399A JP28278399A JP2001101233A JP 2001101233 A JP2001101233 A JP 2001101233A JP 28278399 A JP28278399 A JP 28278399A JP 28278399 A JP28278399 A JP 28278399A JP 2001101233 A JP2001101233 A JP 2001101233A
Authority
JP
Japan
Prior art keywords
view
index
row
lines
column
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.)
Withdrawn
Application number
JP28278399A
Other languages
Japanese (ja)
Other versions
JP2001101233A5 (en
Inventor
Hideaki Nakayama
秀明 中山
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP28278399A priority Critical patent/JP2001101233A/en
Publication of JP2001101233A publication Critical patent/JP2001101233A/en
Publication of JP2001101233A5 publication Critical patent/JP2001101233A5/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide a data base processor capable of retrieving a data base and modifying the data base by using a view. SOLUTION: For the retrieval of a view to be defined by coupling of plural tables 11a, 11b, a pointer from the lines of one list to the ones of the other list to be coupled with an index to columns of the list on the view is included as a key 13a. When the retrieval by specifying a condition of a value for the columns of the view is performed, a set of pointers of lines is obtained by referring to the index and the lines of the view are selected by integrating the lines to be pointed by the pointers as one line. When lines are inserted into the tables 11a, 11b to constitute the view, the lines of the other table to satisfy a coupling condition with the lines are searched and inserting operation is performed to the index. In addition, when the lines are deleted, the lines of the other table to satisfy the coupling condition with the lines are searched and deletion to the index is performed by values of the columns and the pointers of the lines in which the obtained index is defined.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データベース処理
装置に関し、より詳細には、ビューを用いたデータベー
スの検索及びそのデータベースの変更を行うことが可能
なデータベース処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database processing apparatus, and more particularly, to a database processing apparatus capable of searching a database using a view and changing the database.

【0002】[0002]

【従来の技術】関係データベースにおいては、表によっ
て現実の世界が表現される。図5は、表の例として5列
3行からなる表を示す図で、ここに表とは、値の列とし
て作られる行の集合のことである。関係データベースに
よるデータベースシステムにおいては、データの整合性
を保つために表の正規化という操作が行われ、この結
果、現実の世界では一つの表であるものが、データベー
スシステムの中では複数の表に分割されて表現される現
象が発生する。このため、問い合わせ時には現実の世界
の表を分割してできる表から復元するために、複数の表
を結合操作によってどのように組み合わせるべきかを憶
えておく必要があるが、ユーザーが憶えていなくてはい
けないという煩雑さを無くすために、ビューによって複
数の表の結合方法をデータベースシステム内に定義して
おくことが一般に行われている。表の結合方法のこのよ
うな定義は「ビューの定義」と呼ばれる。
2. Description of the Related Art In a relational database, a table represents the real world. FIG. 5 is a diagram showing a table composed of 5 columns and 3 rows as an example of the table. Here, the table is a set of rows created as columns of values. In a database system using a relational database, an operation called table normalization is performed to maintain data consistency. As a result, one table in the real world is converted into multiple tables in the database system. A phenomenon that is divided and expressed occurs. For this reason, at the time of inquiry, it is necessary to remember how multiple tables should be combined by a join operation in order to restore the real world table from the divided table, but the user does not remember In order to eliminate the complexity of not being able to do so, it is common practice to define a method of joining a plurality of tables by a view in a database system. Such a definition of how tables are joined is called a "view definition".

【0003】ビューとは、データベースシステムに格納
されている複数の表から、現実の世界に一つの表を復元
するためのものであるから、ビューの定義は、結合操
作、すなわち、直積を取る表は何かということと、直積
によって得られる行の集合から行を選択するための条件
とからなる。
Since a view is used to restore a single table in the real world from a plurality of tables stored in a database system, the definition of a view is defined as a join operation, that is, a table that takes a direct product. Consists of what is and the conditions for selecting rows from the set of rows obtained by the direct product.

【0004】図3は、ビューが表す表の構成方法と、ビ
ューの行をビューを構成する各表の行へ分割する例を示
す図である。以下では、直積を取るべき表(図3中、表
L(11a)及び表R(11b))のことを、ビューを
構成する表と呼び、直積の行の集合21から行を選択す
るための条件を結合条件と呼ぶ。また、直積から選択さ
れたそれぞれの行22は、ビューを構成する表11a,
11bの行を連接したものである。そこで、直積から選
択されたそれぞれの行22は、ビューを構成する各表1
1a,11bの行に分割することが可能であって、それ
ぞれの分割された行を、結合条件で関連付けられた行と
呼ぶことにする。
FIG. 3 is a diagram showing a method of constructing a table represented by a view and an example of dividing a row of the view into rows of each table constituting the view. In the following, the tables to be subjected to the direct product (tables L (11a) and R (11b) in FIG. 3) are referred to as tables constituting views, and are used to select rows from a set 21 of rows of the direct product. The condition is called a join condition. Also, each row 22 selected from the direct product is a table 11a,
11b are connected. Therefore, each row 22 selected from the direct product is a table 1
It is possible to divide into rows 1a and 11b, and each of the divided rows will be referred to as a row associated with a join condition.

【0005】ビューに関してはその定義をデータベース
システムに記憶しておけば十分であり、ビューの行とい
うものはデータベースシステムに永続的に記憶されな
い。つまり、ビューは定義だけがデータベースシステム
に登録された表であり、仮想的なものである。そこで、
ビューのことを「仮想表」、内容である行がデータベー
スシステムに永続的に記憶されている表のことを「実体
表」と呼ぶことがある。
[0005] For a view, it is sufficient to store its definition in the database system, and the rows of the view are not permanently stored in the database system. In other words, the view is a table in which only the definition is registered in the database system, and is a virtual one. Therefore,
A view may be called a "virtual table", and a table whose contents are stored permanently in a database system may be called an "entity table".

【0006】ところで、データベースに対する検索の大
部分は、表の列の値に対する条件から、その条件を満た
す表の行を取り出すことである。実体表に対するこのよ
うな検索を高速に行うために、表の列の値から、その値
を列として持つ行のポインタを高速に得る手段、つま
り、索引が用いられている。ここで注意しなくてはいけ
ないのは、行のポインタが得られるためにはその行は永
続的なものでなくてはならないので、索引を用いること
ができる表とは、実体表であるという点である。
[0006] By the way, most of the search for the database is to extract a row of the table satisfying the condition from the condition of the value of the column of the table. In order to perform such a search for the entity table at high speed, a means for quickly obtaining a pointer of a row having the value as a column from the value of the column of the table, that is, an index is used. It should be noted here that a row must be permanent in order to obtain a pointer to the row, so a table that can be indexed is an entity table. It is.

【0007】図2は、表の列に対する索引を説明するた
めの図で、表L(11a)の2番目の列に対する索引を
表した図である。索引は通常、B−木と呼ばれるデータ
構造によって実現され、キーの値からそれに対応する値
(以後、対応する値を「バリュー」と呼ぶことにする)
を高速に得ることが可能である。B−木を索引として使
用する際には、キーを特定の列の値として、バリューを
行へのポインタとすることになる。B−木の特徴として
は、キーを複数の値の組にすることが可能であり、その
複数の値からバリューを高速に得ることが可能であるこ
とはもちろん、キーの組の最初の部分からその最初の部
分を含む組、及び、バリューを高速に得ることが可能で
ある。例えば、キーが(a1,a2,a3,a4)とい
う組である場合に、a1,a2の値を指定することによ
り、a1,a2としてその指定された値を持つ(a1,
a2,a3,a4)及び、バリューを得ることができ
る。
FIG. 2 is a diagram for explaining an index for a column of the table, and is a diagram showing an index for the second column of the table L (11a). The index is usually realized by a data structure called a B-tree, and a key value is converted to a corresponding value (hereinafter, the corresponding value is referred to as “value”).
Can be obtained at high speed. When a B-tree is used as an index, the key is the value of a particular column and the value is a pointer to a row. As a feature of the B-tree, a key can be a set of a plurality of values, and a value can be quickly obtained from the plurality of values. It is possible to obtain the set including the first part and the value at high speed. For example, when the key is a set of (a1, a2, a3, a4), by specifying the values of a1 and a2, the keys having the specified values as a1 and a2 (a1, a2)
a2, a3, a4) and value.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、ビュー
は定義だけがデータベースシステムに記憶され、ビュー
の行は永続的に記憶されないため、実体表のように索引
を付けることはできない。このため、ビューの列に対し
て値の条件を指定して検索を行う場合は、ビューを構成
する表の直積を計算し、結合条件を満たす行の中から、
指定された列の条件を満たすものを探すか、ビューの列
に対応する実体表の列に対して索引が定義されているな
らば、その索引で実体表の中の条件を満たす行を得て、
その行と結合条件を満たす関係にある他の表の行を探す
必要があり、いずれの方法によっても、非常に時間がか
かる操作となる。また、この問題を解決するために考案
したビューに対する索引は、ビューを構成する表の変更
操作に伴って変更されなければならない。
However, views cannot be indexed like entity tables because only the definitions are stored in the database system and the view rows are not stored permanently. Therefore, when performing a search by specifying a value condition for a column of a view, the direct product of the tables that make up the view is calculated, and the rows that satisfy the join condition are
Search for a column that satisfies the specified column condition, or, if an index is defined on the entity table column corresponding to the view column, obtain a row that satisfies the condition in the entity table at that index. ,
It is necessary to find a row in another table that satisfies the join condition with the row, and any of these methods is a very time-consuming operation. Also, an index for a view devised to solve this problem must be changed in accordance with a change operation of a table constituting the view.

【0009】本発明は、上述のごとき実情に鑑みてなさ
れたものであり、複数の実体表の結合によって定義され
るビューを用いてデータベースの問い合わせ処理を行う
データベース処理装置を提供することをその目的とす
る。さらに、ビューに対する索引を変更するためのビュ
ーを構成する表の変更操作を高速に行うことが可能なデ
ータベース処理装置を提供することをその目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide a database processing apparatus for performing a database inquiry process using a view defined by joining a plurality of entity tables. And It is still another object of the present invention to provide a database processing apparatus capable of performing a high-speed operation of changing a table constituting a view for changing an index for the view.

【0010】[0010]

【課題を解決するための手段】複数の表の結合によって
定義されるビューの検索のために、表の列に対する索引
にビュー上で結合される他の表の行へのポインタをキー
として含める。実体表に対する索引は、列の値をキーと
し、バリューを列へのポインタと構成しているが、これ
を変更し、バリューを無くして、キーとして、列の値
と、その値を持つ行へのポインタ、バリューをキー部分
の行へのポインタで指し示される行と結合条件を満たす
行のポインタの組とする。
SUMMARY OF THE INVENTION In order to retrieve a view defined by a join of a plurality of tables, an index to a column of a table includes, as a key, a pointer to a row of another table to be joined on the view. An index on an entity table uses a column value as a key and a value as a pointer to a column, but this is changed to eliminate the value, and as a key, a column value and a row with that value are used as a key. Is a pair of the row indicated by the pointer to the row of the key part and the pointer of the row satisfying the joining condition.

【0011】ビューの列に対して値の条件を指定した検
索を行う場合は、この索引を参照することにより、行の
ポインタの組が得られ、これらのポインタで指し示され
る行を一つの行にまとめることにより、ビューの行が選
られる。
When performing a search in which a value condition is specified for a column of a view, a set of pointers of a row is obtained by referring to the index, and a row indicated by these pointers is converted into one row. The rows of the view are selected.

【0012】ビューを構成する表に対して行が挿入され
た場合は、その行と結合条件を満たす他の表の行を探
し、索引に挿入操作を行う。また、ビューを構成する表
から行が削除された場合、その削除された行と結合条件
を満たす他の表の行を探し、その結果、索引の定義され
ている列の値、行のポインタが得られるので、索引を参
照し、索引に対する削除を行う。
When a row is inserted into a table constituting a view, a row of another table which satisfies the join condition with the row is searched for, and an insertion operation is performed on an index. Also, when a row is deleted from a table that composes a view, a search is made for a row in another table that satisfies the join condition with the deleted row, and as a result, the value of the column defined by the index and the pointer of the row are changed. Then, the index is referred to and the index is deleted.

【0013】そして、各請求項の発明は、以下の技術手
段により構成される。請求項1の発明は、複数の表の結
合によって定義されるビューの列に対する検索のため
に、前記ビューの索引のデータに前記ビュー上で結合さ
れる他の表の行へのポインタを付加することにより作ら
れる、ビューに対する索引を備えたことを特徴としたも
のである。
The invention of each claim is constituted by the following technical means. According to the first aspect of the present invention, a pointer to a row of another table to be joined on the view is added to data of an index of the view for a search on a column of a view defined by joining of a plurality of tables. An index for a view, which is created as a result, is provided.

【0014】請求項2の発明は、請求項1の発明におい
て、前記索引をキー部分だけにすることによって、ビュ
ーを構成する表に対する変更操作が行われたときに、前
記索引を変更することを特徴としたものである。
According to a second aspect of the present invention, in the first aspect of the present invention, the index is changed when a change operation is performed on a table constituting a view by using only the key portion as the index. It is a characteristic.

【0015】[0015]

【発明の実施の形態】図1は、本発明の実施形態におけ
るデータベース処理装置の概要を示す図で、本実施形態
のデータベース処理装置は、CPU(中央演算処理装
置),ディスプレー,キーボードを含む端末装置5と磁
気ディスク1から成り、磁気ディスク1には、実体表デ
ータ11,索引データ12,データ辞書情報13が永続
的に記録される。実体表データ11,索引データ12
は、それぞれ、図2の表L(11a),索引データ12
aに示すような構造のデータとなっている。データ辞書
情報13としては、実体表の列の数や行の数、各列のデ
ータタイプ、索引がどの実体表のどの列に対して行への
ポインタを格納しているのかということ、また、ビュー
の定義が永続的に記録される。これらの磁気ディスク1
に記録されたデータの読み書きのために、二次記憶アク
セス制御部2、データ辞書の参照や操作のためのデータ
辞書処理部3、及び、データ辞書を参照しながらデータ
ベースに対する問い合わせやデータの操作を行うための
処理部4がプログラムとして実装される。
FIG. 1 is a diagram showing an outline of a database processing apparatus according to an embodiment of the present invention. The database processing apparatus according to this embodiment is a terminal including a CPU (central processing unit), a display, and a keyboard. The magnetic disk 1 includes an apparatus 5 and a magnetic disk 1, on which permanent table data 11, index data 12, and data dictionary information 13 are permanently recorded. Entity table data 11, index data 12
Are the table L (11a) and the index data 12 in FIG.
The data has a structure as shown in FIG. As the data dictionary information 13, the number of columns and the number of rows of the entity table, the data type of each column, the index of which column of which entity table stores a row pointer, and View definitions are permanently recorded. These magnetic disks 1
In order to read and write data recorded in the database, a secondary storage access control unit 2, a data dictionary processing unit 3 for referencing and operating a data dictionary, and an inquiry to a database and an operation of data while referring to the data dictionary. The processing unit 4 for performing the processing is implemented as a program.

【0016】本実施形態においては、複数の表の結合に
よって定義されるビューの検索のために、表の列に対す
る索引にビュー上で結合される他の表の行へのポインタ
をキーとして含める。実体表に対する索引は、列の値を
キーとし、バリューを列へのポインタと構成している
が、これを変更し、バリューを無くして、キーとして、
列の値と、その値を持つ行へのポインタ、キー部分の行
へのポインタで指し示される行と結合条件を満たす行の
ポインタの組とする。
In the present embodiment, in order to retrieve a view defined by joining a plurality of tables, a pointer to a row of another table to be joined on the view is included as a key in an index for a column of the table. The index for the entity table uses the values of the columns as keys and the values as pointers to the columns, but by changing this, eliminating the values,
A set of a column value, a pointer to a row having the value, a row indicated by a pointer to a key part row, and a pointer to a row satisfying a join condition.

【0017】図4は、図3に示されたビューに対する索
引の例を示す図で、この例は、図3に示したビュー22
の2番目の列の値に対して表L(11a)と表R(11
b)との行へのポインタをキーとする索引の例である。
このような索引の定義情報、すなわち、索引がどのビュ
ーに対する索引であり、キーはどの表のどの列か、どの
表の行へのポインタかという事項は、磁気ディスク1に
データ辞書情報13aとして記録される。なお、図2で
例示した索引のデータは、同じく磁気ディスク1に索引
データ12として記録される。
FIG. 4 is a diagram showing an example of an index for the view shown in FIG. 3, which is an example of the view 22 shown in FIG.
Table L (11a) and Table R (11
13B is an example of an index using a pointer to the row of b) as a key.
The definition information of such an index, that is, the information about which index is an index for which view, which key is which column of which table, and which table is a pointer to a row of the table are recorded on the magnetic disk 1 as data dictionary information 13a. Is done. The index data illustrated in FIG. 2 is also recorded on the magnetic disk 1 as index data 12.

【0018】ビューの列に対して値の条件を指定した検
索を行う場合は、この索引を参照することにより、行の
ポインタの組が得られ、これらのポインタで指し示され
る行を一つの行にまとめることにより、ビューの行が選
られる。
When performing a search in which a value condition is specified for a column of a view, a set of pointers to rows is obtained by referring to this index, and the row indicated by these pointers is converted into one row. The rows of the view are selected.

【0019】ビューに対する問い合わせであって、表L
の2番目の列に対する値の条件が指定された問い合わせ
がユーザーから入力された場合は、問い合わせ処理部4
は、データ辞書処理部3を通じてビューに対する索引が
存在することを認識し、ビューに対する索引が二次記憶
アクセス制御部2を通じて参照され、必要な情報が得ら
れる。例えば、表L(11a)の2番目の列の値が1で
あるビュー22の列を得る場合には、ビューに対する索
引を参照し、一番左のキーの値が1になっているデータ
を得て、表L(11a)の2番目の行と表R(11b)
の2番目の行へのポインタを得る。そして、それぞれの
ポインタから表L(11a)と表R(11b)の行のデ
ータを二次記憶から取り出し、目的の行を構成し、問い
合わせに対する検索結果とする。
An inquiry for a view, the table L
When the user inputs a query in which the value condition for the second column is specified, the query processing unit 4
Recognizes that there is an index for the view through the data dictionary processing unit 3, refers to the index for the view through the secondary storage access control unit 2, and obtains necessary information. For example, when obtaining the column of the view 22 in which the value of the second column of the table L (11a) is 1, the index of the view is referred to, and the data whose leftmost key value is 1 is referred to. Then, the second row of the table L (11a) and the table R (11b)
Get a pointer to the second row of Then, the data of the row of the table L (11a) and the row of the table R (11b) are fetched from the secondary storage from the respective pointers, and the target row is formed, which is set as the search result for the inquiry.

【0020】ビューを構成する表に対して行が挿入され
た場合は、その行と結合条件を満たす他の表の行を探
し、索引に挿入操作を行う。ビューを構成する表に行を
追加する場合については、例えば、図4の表L(11
a)に行が追加される場合は、表R(11b)の行の中
から、表L(11a)に追加される行とビューの結合条
件で関連付けられる行を通常の問い合わせ処理によって
探し出し、ビューに対する索引に表L(11a)の列の
値、追加される行へのポインタ、及び、追加される行と
結合条件で関連付けられる行へのポインタを索引に追加
する。表R(11b)に行を追加する場合も同様であ
る。
When a row is inserted into a table constituting a view, a row of another table that satisfies the row and the joining condition is searched, and an insert operation is performed on an index. In the case where a row is added to a table constituting a view, for example, a table L (11
When a row is added to a), a row associated with the row to be added to the table L (11a) and a view join condition is searched from the rows of the table R (11b) by ordinary query processing, and Is added to the index for the column value of the table L (11a), a pointer to the row to be added, and a pointer to the row associated with the row to be added by the join condition. The same applies when a row is added to the table R (11b).

【0021】また、ビューを構成する表から行が削除さ
れた場合、その削除された行と結合条件を満たす他の表
の行を探し、その結果、索引の定義されている列の値、
行のポインタが得られるので、索引を参照し、索引に対
する削除を行う。ビューを構成する表から行が削除され
る場合については、例えば、図4の表L(11a)から
行が削除される場合は、追加の時と同様に表R(11
b)の行の中から、表L(11a)から削除される行と
ビューの結合条件で関連付けられる行を通常の問い合わ
せ処理によって探し出し、以上の操作によって、索引の
キーを構成する値が得られるので、索引を参照すること
により索引から削除すべきデータが高速に得られ、削除
を行うことができる。
When a row is deleted from a table constituting a view, a row of another table that satisfies the deleted row and a join condition is searched, and as a result, a value of a column defined by an index,
Since the pointer of the row is obtained, the index is referred to and the index is deleted. When a row is deleted from a table forming a view, for example, when a row is deleted from the table L (11a) in FIG.
From the row b), a row associated with the row to be deleted from the table L (11a) and the view join condition is searched by a normal query process, and the values constituting the index key are obtained by the above operation. Therefore, by referring to the index, data to be deleted from the index can be obtained at high speed, and the data can be deleted.

【0022】[0022]

【発明の効果】本発明のデータベース処理装置では、表
の列に対する条件によって得られる行に対してビュー上
で結合されている他の表の行へのポインタが索引の参照
のみで選られ、ビューに対する検索及び実体表に対する
削除に伴う索引の変更操作が効率よく行える。
According to the database processing apparatus of the present invention, a pointer to a row of another table joined on a view to a row obtained by a condition for a column of a table is selected only by referring to an index, , And an index change operation accompanying deletion of an entity table can be performed efficiently.

【0023】すなわち、ビューの列の値に対する条件が
指定された問い合わせにおいて、索引を参照するだけで
条件を満たすビューの行を構成する実体表の行へのポイ
ンタが得られるので、極めて高速に問い合わせが処理で
きる。また、ビューを構成する表から行が削除される場
合も、それに応じた索引に対する変更操作が高速に行う
ことが可能となる。
That is, in a query in which a condition for a value of a column of a view is specified, a pointer to a row of an entity table constituting a row of the view that satisfies the condition can be obtained only by referring to the index. Can be processed. Also, when a row is deleted from a table constituting a view, a change operation on the index corresponding to the row can be performed at high speed.

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

【図1】 本発明の実施形態におけるデータベース処理
装置の概要を示す図である。
FIG. 1 is a diagram illustrating an outline of a database processing apparatus according to an embodiment of the present invention.

【図2】 表の列に対する索引を説明するための図でFIG. 2 is a diagram for explaining an index for a column of a table.

【図3】 ビューが表す表の構成方法と、ビューの行の
ビューを構成する各表の行への分割の例を示す図であ
る。
FIG. 3 is a diagram illustrating an example of a method of configuring a table represented by a view and an example of dividing a row of the view into rows of each table configuring the view.

【図4】 図3に示されたビューに対する索引の例を示
す図である。
FIG. 4 is a diagram illustrating an example of an index for the view illustrated in FIG. 3;

【図5】 表の例として5列3行からなる表を示す図で
ある。
FIG. 5 is a diagram showing a table including five columns and three rows as an example of the table.

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

1…磁気ディスク、2…二次記憶アクセス制御部、3…
データ辞書処理部、4…問い合わせ及びデータ操作処理
部、5…端末装置、11…実体表データ、11a,11
b…ビューを構成する表、12,12a…索引データ、
13…データ辞書情報、13a…ビューでの検索に対す
る索引データ、21…直積の行の集合、22…ビュー
(直積から選択された行)。
DESCRIPTION OF SYMBOLS 1 ... Magnetic disk, 2 ... Secondary storage access control part, 3 ...
Data dictionary processing unit, 4 ... inquiry and data operation processing unit, 5 ... terminal device, 11 ... entity table data, 11a, 11
b: table constituting the view, 12, 12a: index data,
13: Data dictionary information, 13a: Index data for search in view, 21: Set of rows of direct product, 22: View (row selected from direct product).

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の表の結合によって定義されるビュ
ーの列に対する検索のために、前記ビューの索引のデー
タに前記ビュー上で結合される他の表の行へのポインタ
を付加することにより作られる、ビューに対する索引を
備えたことを特徴とするデータベース処理装置。
1. For a search on a column of a view defined by a join of a plurality of tables, by appending a pointer to the data of the index of the view to a row of another table to be joined on the view. A database processing device comprising an index for a view to be created.
【請求項2】 請求項1に記載のデータベース処理装置
において、前記索引をキー部分だけにすることによっ
て、ビューを構成する表に対する変更操作が行われたと
きに、前記索引を変更することを特徴とするデータベー
ス処理装置。
2. The database processing apparatus according to claim 1, wherein the index is changed only when a change operation is performed on a table constituting a view by using only the key portion as the index. And a database processing device.
JP28278399A 1999-10-04 1999-10-04 Data base processor Withdrawn JP2001101233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28278399A JP2001101233A (en) 1999-10-04 1999-10-04 Data base processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28278399A JP2001101233A (en) 1999-10-04 1999-10-04 Data base processor

Publications (2)

Publication Number Publication Date
JP2001101233A true JP2001101233A (en) 2001-04-13
JP2001101233A5 JP2001101233A5 (en) 2005-11-04

Family

ID=17657034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28278399A Withdrawn JP2001101233A (en) 1999-10-04 1999-10-04 Data base processor

Country Status (1)

Country Link
JP (1) JP2001101233A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006075667A1 (en) * 2005-01-12 2006-07-20 Masatsugu Noda Information processing device, file data merging method, file naming method, and file data output method
JP2006221616A (en) * 2005-01-12 2006-08-24 Masatsugu Noda Information processing device, file data merging method, and file naming method
JP2014048741A (en) * 2012-08-29 2014-03-17 Fujitsu Ltd Data search program, database device, and information processing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006075667A1 (en) * 2005-01-12 2006-07-20 Masatsugu Noda Information processing device, file data merging method, file naming method, and file data output method
JP2006221616A (en) * 2005-01-12 2006-08-24 Masatsugu Noda Information processing device, file data merging method, and file naming method
JP2014048741A (en) * 2012-08-29 2014-03-17 Fujitsu Ltd Data search program, database device, and information processing system

Similar Documents

Publication Publication Date Title
US9195738B2 (en) Tokenization platform
JP2001075969A (en) Method and device for image management retrieval and storage medium
US7184996B2 (en) Method for concatenating table-format data
WO2005043409A1 (en) Table-formatted data connection method, connection device, and program
JP3994188B2 (en) Multimedia data search system, multimedia search method, and program for realizing the search method
JP2001101233A (en) Data base processor
JPH10307835A (en) Information processor and its method
JPH0736756A (en) Object management system
JPH08190571A (en) Document retrieval method
JP3260706B2 (en) A search system that searches for files stored on the hard disk of a personal computer
JPH04340163A (en) Keyword retrieval system
JP2000222434A (en) Combination retrieval method
JPH10240741A (en) Managing method for tree structure type data
JPH0193843A (en) System for coupling table
JPH1091644A (en) Method and device for processing data base query
JP2002041567A (en) Database managing method, device for executing the same, and recording medium on which processing program therefor is recorded
JP3570082B2 (en) Database device and database search method
JPH041855A (en) Document/drawing control system
JP2003006214A (en) Document retrieval processing method, system, and storage medium
JPH1011338A (en) Relational database system, method for storing and reading data in it and recording medium for recording program for it
JPH04250568A (en) Record retrieval device
JPH07121548A (en) Information managing device
JPH05314183A (en) Automatic result correction and retrieval system
JPH11143749A (en) Relational database management system and data management method
JPH05151286A (en) Data display system in cad system

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20050613

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050630

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050630

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050803

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050908

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20080312