JPH03166647A - Function index control system - Google Patents

Function index control system

Info

Publication number
JPH03166647A
JPH03166647A JP1307062A JP30706289A JPH03166647A JP H03166647 A JPH03166647 A JP H03166647A JP 1307062 A JP1307062 A JP 1307062A JP 30706289 A JP30706289 A JP 30706289A JP H03166647 A JPH03166647 A JP H03166647A
Authority
JP
Japan
Prior art keywords
record
function index
index key
function
value
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
JP1307062A
Other languages
Japanese (ja)
Inventor
Kazuyuki Shimazu
嶋津 和行
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP1307062A priority Critical patent/JPH03166647A/en
Publication of JPH03166647A publication Critical patent/JPH03166647A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To retrieve a target record at a high speed by defining a function which sets a value derive secondarily by calculating a value or a constant of an arbitrary field in the record as a function index key value. CONSTITUTION:A function index defining means 1 defines a function for setting a value derived by calculating a value or a constant of an arbitrary field in a record as a function index key value. A record registering means 2 registers the record in a data base, and a function index key value generating means 3 generates a function index key value by calculating the function defined by the function index defining means 1 at the time of registering the record by the record registering means 2. A function index key record retrieving means 5 retrieves a function index key record having the function index key value at the time of retrieving the record, and a record retrieving means 6 retrieves a target record from a pointer value of the function index key record retrieved by the function index key record retrieving means 5. In such a way, the target record can be retrieved at a high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子計算機のデータベースシステムにおける索
引制御方式に関し、特にデータベースシステムにおける
関数索引制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an index control method in a database system of an electronic computer, and more particularly to a function index control method in a database system.

〔従来の技術〕[Conventional technology]

従来、データベースシステムにおける索引は、特定の属
性を所持したレコードを高速に検索するために利用され
ている。この場合における特定の属性とは、レコード内
の任意のフィールドの値であり、フィールドの値が索引
キーレコードの索引キー値として使用される。したがっ
て、レコード内の任意のフィールドの値をそのまま使っ
たレコードの検索は、高速に行うことができる。
Conventionally, indexes in database systems have been used to quickly search for records with specific attributes. The specific attribute in this case is the value of any field within the record, and the value of the field is used as the index key value of the index key record. Therefore, searching for a record using the value of any field within the record can be performed at high speed.

しかしながら、レコード内のフィールドの値あるいは定
数を使用して演算し2次的に求められる値を用いてレコ
ードを検索する場合には、これらの索引を使用すること
はできず、データベース中に含まれる全レコードを人力
し演算した値を判定した結果に基づいて必要なレコード
を検索している. 第6図は、従来の索引制御方式の一例を示す図である.
第6図において、製品レコード61は、製品の属性を示
しており、製品コード62と、製品の製造原価63と、
製品の出荷時における単価64と、出荷数65とからな
る.製造原価63.単価64および出荷数65をそれぞ
れ索引キーレコードとした製造原価索引66,単価索引
67および出荷数索引68が生成されている。
However, these indexes cannot be used when searching for a record using a value that is calculated secondarily using field values or constants in the record; The necessary records are searched based on the results of manually calculating and determining the values of all records. FIG. 6 is a diagram showing an example of a conventional index control method.
In FIG. 6, a product record 61 shows product attributes, including a product code 62, a product manufacturing cost 63,
It consists of the unit price 64 at the time of product shipment and the number of shipments 65. Manufacturing cost 63. A manufacturing cost index 66, a unit price index 67, and a shipment quantity index 68 are generated, each using a unit price 64 and a shipment quantity 65 as index key records.

「製造原価が10.000円以上の製品を検索せよ.」
というような間合せに対しては、製造原価索引66を使
用して、10,000円の製造原価63を持つ索引キー
レコード661を検索し、検索された索引キーレコード
66!からポイントされるレコード611を検索する。
"Search for products whose manufacturing cost is 10,000 yen or more."
For such an arrangement, the manufacturing cost index 66 is used to search for the index key record 661 having the manufacturing cost 63 of 10,000 yen, and the searched index key record 66! Search for the record 611 pointed to by .

次に、索引キーレコード661より大きい製造原価63
を持つ索引キーレコード662を検索し、索引キーレコ
ード662からポイントされるレコード612を検索す
る.これを順次繰り返し、目的のレコードを検索する. ところで、利益は、次の式で求めることができる. 利益一(単価一製造原価)×出荷数 rlo,000円以上の利益をあげている製品を検索せ
よ.」というような間合せに対しては、製造原価索引6
6.単価索引67および出荷数索引68は使用すること
ができず、データベースの全レコードを1件ずつ入力し
、単価64から製造原価63を減算した結果に出荷数6
5を乗算して利益を求め、利益が10.000円を越え
ているかどうかを判定する.これをデータベース中に含
まれる全レコードに対して行い、条件を満足するレコー
ドを検索する. 〔発明が解決しようとする課題〕 上述した従来の索引制御方式では、レコード内の任意の
フィールドの値あるいは定数を使用して演算し2次的に
求められる値を用いてレコードを検索する場合には索引
を使用できずにデータベース中に含まれる全レコードを
人力し演算した値を判定することによって初めて必要な
レコードを検索することができるので、検索に要する処
理時間が非常にかかることになり、目的のレコードを高
速にアクセスすることができないという欠点がある.特
に、検索すべきデータベースの母集団が大きいときには
、検索に要するCPU (中央処理装置)時間およびデ
ータベースファイルの■−0(入出力)回数は莫大なも
のとなり、このような検索は実質的に不可能である. 本発明の目的は、上述の点に鑑み、レコード内の任意の
フィールドの値あるいは定数を演算することによって2
次的に導き出される値を関数索引キー値とする関数を定
義できるようにして、高速に目的のレコードを検索をす
ることができるようにした関数索引制御方式を提供する
ことにある.〔課題を解決するための手段〕 本発明の関数索引制御方式は、データベースシステムに
おいて、レコード内の任意のフィールドの値あるいは定
数を演算することによって導かれる値を関数索引キー値
とする関数を定義する関数索引定義手段と、レコードを
データベースに登録するレコード登録手段と、このレコ
ード登録手段によるレコードの登録時に前記関数索引定
義手段によって定義された関数を演算して関数索引キー
値を生成する関数索引キー値生成手段と、この関数索引
キー値生成手段によって生威された関数索引キー値と前
記レコード登録手段によって登録されたレコードのアド
レスであるポインタ値とからなる関数索引キーレコード
を登録する関数索引キーレコード登録手段と、レコード
の検索時に関数索引キー値を有する関数索引キーレコー
ドを検索する関数索引キーレコード検索手段と、この関
数索引キーレコード検索手段により検索された関数索引
キーレコードのポインタイ直から目的のレコードを検索
するレコード検索手段とを有する。
Next, manufacturing cost 63 larger than index key record 661
Search for the index key record 662 with , and search for the record 612 pointed to by the index key record 662. Repeat this step by step to search for the desired record. By the way, profit can be calculated using the following formula. Search for products that have a profit of 1 (unit price 1 manufacturing cost) x number of shipments rlo, 000 yen or more. ”, manufacturing cost index 6
6. The unit price index 67 and the shipment quantity index 68 cannot be used, so all records in the database are entered one by one, and the result of subtracting the manufacturing cost 63 from the unit price 64 is the shipment quantity 6.
Find the profit by multiplying by 5 and determine whether the profit exceeds 10,000 yen. This is done for all records included in the database to search for records that satisfy the conditions. [Problems to be Solved by the Invention] In the conventional index control method described above, when a record is searched using a value obtained secondary by calculation using the value or constant of an arbitrary field in a record, Since indexes cannot be used, the necessary record can only be retrieved by manually examining all the records in the database and determining the calculated value, so the processing time required for the search is extremely long. The disadvantage is that the desired record cannot be accessed quickly. In particular, when the population of databases to be searched is large, the CPU (central processing unit) time required for the search and the number of input/outputs of the database file become enormous, making such a search virtually unnecessary. It is possible. In view of the above-mentioned points, an object of the present invention is to calculate the value of an arbitrary field or constant in a record.
The purpose of this invention is to provide a functional index control method that allows a function to be defined that uses the next derived value as a functional index key value, thereby enabling high-speed retrieval of a desired record. [Means for Solving the Problems] The functional index control method of the present invention defines, in a database system, a function whose functional index key value is the value of an arbitrary field in a record or a value derived by calculating a constant. a function index definition means for registering a record in a database; and a function index for generating a function index key value by calculating a function defined by the function index definition means when a record is registered by the record registration means. A function index for registering a function index key record consisting of a key value generation means, a function index key value generated by the function index key value generation means, and a pointer value that is the address of the record registered by the record registration means. a key record registration means; a function index key record search means for searching for a function index key record having a function index key value when searching for a record; and a record search means for searching for a target record.

〔作用〕[Effect]

本発明の関数索引制御方式では、関数索引定義手段がレ
コード内の任意のフィールドの値あるいは定数を演算す
ることによって導かれる値を関数索引キー値とする関数
を定義し、レコード登録手段がレコードをデータベース
に登録し、関数索引キー値生成手段がレコード登録手段
によるレコードの登録時に関数索引定義手段によって定
義された関数を演算して関数索引キー値を生威し、関数
索引キーレコード登録手段が関数索引キー値生成手段に
よって生成された関数索引ヰー値とレコード登録手段に
よって登録されたレコードのアドレスであるポインタ値
とからなる関数索引キーレコードを登録し、関数索引キ
ーレコード検索手段がレコードの検索時に関数索引キー
値を有する関数索引キーレコードを検索し、レコード検
索手段が関数索引キーレコード検索手段により検索され
た閲敗索引キーレコードのポインタ値から目的のレコー
ドを検索する. 〔実施例〕 次に、本発明について図面を参照して詳細に説明する。
In the functional index control method of the present invention, the functional index definition means defines a function whose functional index key value is a value derived by calculating the value of an arbitrary field in a record or a constant, and the record registration means registers a record. The function index key value generation means generates the function index key value by calculating the function defined by the function index definition means when the record is registered by the record registration means, and the function index key record registration means generates the function index key value. A function index key record consisting of a function index value generated by the index key value generation means and a pointer value which is the address of the record registered by the record registration means is registered, and when the function index key record search means searches for a record, A functional index key record having a functional index key value is searched, and the record search means searches for a target record from the pointer value of the browsed index key record searched by the functional index key record search means. [Example] Next, the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例に係る関数索引制御方式の
構戒を示すブロック図である.本実施例の関数索引制御
方式は、関数索引定義手段lと、レコード登録手段2と
、関数索引キー値生成手段3と、関数索引キーレコード
登録手段4と、関数索引キーレコード検索手段5と、レ
コード検索千段6と、データベース7とから構威されて
いる.データベース7は、レコード8と、関数索引9と
を含んで構威されている. 関数索引9は、B−tree構造で上位ブロック10と
最下位ブロックl1とを含む複数階層(図示は2階層)
の階層構造を有する。上位ブロック10の上位関数索引
キーレコードl2が最下位ブロック1lをポイントし、
最下位の関数索引キーレコード13がレコード8をポイ
ントする.次に、このように構成された本実施例の関数
索引制御方式の動作について説明する. 関数索引定義手段1は、レコード8内の任意のフィール
ドの値あるいは定数を演算することによって導かれる値
を関数索引キー値とする関数を定義する. レコード登録千段2は、レコード8を格納するデータベ
ース7上のアドレスを決定してレコード8を登録する. 関数索引キー値生成手段3は、レコード登録手段2によ
るデータベース7へのレコード8の登録時に関数索引定
義手段1によって定義された関数を演算して関数索引キ
ー値を生成する.関数索引キーレコード登録手段4は、
関数索引キー値生成手段3によって生威された関数索引
キー値とレコード登録手段2によって登録されたレコー
ド8のアドレスであるポインタ値とからなる関数索引キ
ーレコード13を最下位ブロック11上に登録する.こ
のとき、関数索引キーレコードl3は、最下位ブロック
11上で関数索引キー値の順に格納される. 関数索引キーレコードl3が最下位ブロックll上に一
杯になると、最下位ブロック1l上に含まれる関数索引
キーレコード13の最大の間数索引キー値を関数索引キ
ー値とする上位関数索引キーレコード12を上位ブロッ
クlO上に作成し、ポインタ値に最下位ブロック11の
アドレスを持たせて最下位ブロックl1をポイントする
.レコード8の検索要求は、検索したいレコード8の関
数索引キー値を指定して行われる.関数索引キーレコー
ド検索手段5は、レコード8の検索要求に対して、検索
要求があった関数索引キー値を基に関数索引キーレコー
ド13を検索する.検索は、上位ブロック10を読み、
上位ブロック10内の検索要求があった関数索引キー値
に最も近くて大きい関数索引キー値か等しい関数索引キ
ー値を持つ上位関数索引キーレコード12を検索し、上
位関数索引キーレコードl2のポインタ値(アドレス)
から最下位ブロック11を検索し、検索要求があった関
数索引キー値の関数索引レコード13を検索する。
FIG. 1 is a block diagram showing the structure of a functional index control method according to an embodiment of the present invention. The function index control system of this embodiment includes a function index definition means 1, a record registration means 2, a function index key value generation means 3, a function index key record registration means 4, a function index key record search means 5, It consists of 6 record search stages and 7 databases. The database 7 is structured to include records 8 and a function index 9. The function index 9 has a B-tree structure and has multiple layers (two layers shown) including an upper block 10 and a lowest block l1.
It has a hierarchical structure. The upper function index key record l2 of the upper block 10 points to the lowest block 1l,
The lowest function index key record 13 points to record 8. Next, the operation of the functional index control system of this embodiment configured as described above will be explained. The function index definition means 1 defines a function whose function index key value is a value derived by calculating the value of an arbitrary field in the record 8 or a constant. The record registration step 2 determines the address on the database 7 where the record 8 is to be stored and registers the record 8. The function index key value generation means 3 calculates the function defined by the function index definition means 1 when the record 8 is registered in the database 7 by the record registration means 2, and generates a function index key value. The function index key record registration means 4 is
A function index key record 13 consisting of a function index key value generated by the function index key value generation means 3 and a pointer value which is the address of the record 8 registered by the record registration means 2 is registered on the lowest block 11. .. At this time, the function index key records 13 are stored on the lowest block 11 in the order of the function index key values. When the function index key record l3 is filled on the lowest block ll, the upper function index key record 12 whose function index key value is the maximum interval index key value of the function index key records 13 included on the lowest block 1l is created. is created on the upper block lO, the pointer value has the address of the lowest block 11, and it points to the lowest block l1. A search request for record 8 is made by specifying the function index key value of record 8 to be searched. In response to a search request for record 8, function index key record search means 5 searches function index key record 13 based on the function index key value requested. Search by reading the top 10 blocks,
Search the upper function index key record 12 that has the function index key value closest to and larger than or equal to the function index key value for which the search request was made in the upper block 10, and retrieve the pointer value of the upper function index key record l2. (address)
The lowest block 11 is searched, and the function index record 13 of the function index key value for which the search request was made is searched.

レコード検索手段6は、関数索引キーレコード検索手段
5によって検索された関数索引キーレコ一ドl3のポイ
ンタ{直(アドレス)を基にレコード8を検索する。
The record search means 6 searches for the record 8 based on the pointer {address) of the function index key record l3 searched by the function index key record search means 5.

次に、本実施例の関数索引制御方式の動作を、第2図〜
第5図を参照しながらより具体的に説明する. 第2図は、レコード8の一例としての製品レコード21
を示す図である.製品レコード21は、製品コード22
と、製品の製造原価23と、製品の出荷時における単価
24と、出荷数25とからなる. 製品の利益は、次の式で表すことができる。
Next, the operation of the functional index control method of this embodiment will be explained in Figs.
This will be explained in more detail with reference to Figure 5. FIG. 2 shows a product record 21 as an example of record 8.
This is a diagram showing. Product record 21 has product code 22
, the manufacturing cost 23 of the product, the unit price 24 at the time of product shipment, and the number of shipments 25. Product profit can be expressed by the following formula:

利益一(単価一製造原価〉×出荷数 第3図は、利益を表す利益関数31を示す図である. 関数索引定義手段1は、利益を求める上記利益関数3l
を逆ポーランド表記法で定義する。
Profit (unit price - manufacturing cost) x number of shipments Figure 3 is a diagram showing a profit function 31 representing profit.The function index definition means 1 uses the above profit function 3l for calculating profit.
is defined in reverse Polish notation.

関数索引キー値生成手段3は、レコード登録手段2によ
るデータベース7へのレコード8の登録時に関数索引定
義手段1により定義された利益関数31を演算して関数
索引キー値を生成する.第4図は、製品レコード21の
各フィールドの実際の値を例示し、関数索引キー値生成
手段3によって演算された関数索引キー値の実際の値を
例示している.第4図に示された複数の製品レコード2
lがレコード登録手段2および関数索引キーレコード登
録手段4によって登録されることにより構築されるデー
タベース7は、第5図に示すようになる. ここで、rlO,000円以上の利益をあげている製品
を検索せよ.」という問合せを想定すると、関数索引キ
ーレコード検索手段5は、レコード8の検索要求におい
て検索要求の関数索引キー値を10,000として利益
索引52を検索する.上位ブロンク53上の10,00
0に最も近い関数索引キー値を持った30,000の上
位関数索引キーレコード532を検索し、検索した上位
関数索引キーレコード532を基に最下位ブロック55
を読み、最下位ブロック55内の関数索引キーレコード
551を検索する。レコード検索手段6は、関数索引キ
ーレコード検索手段5により槍索された関数索引キーレ
コード551のポインタ値(アドレス)を基にレコード
513を検索する.次に、関数索引キーレコード検索手
段5は、関数索引キーレコード551よりも大きな関数
索引キー値を持つ関数索引キーレコードが存在している
かどうかをチェックし、関数索引キーレコード552を
検索する.キーレコード検索手段6は、関数索引キーレ
コード552のポインタ値(アドレス)を基にレコード
512を検索する.同様にして、関数索引キーレコード
553のポインタ値(アドレス)からレコード516が
検索される。
The function index key value generation means 3 calculates the profit function 31 defined by the function index definition means 1 when the record 8 is registered in the database 7 by the record registration means 2 to generate a function index key value. FIG. 4 illustrates the actual values of each field of the product record 21, and illustrates the actual values of the function index key values calculated by the function index key value generation means 3. Multiple product records 2 shown in Figure 4
The database 7 constructed by registering ``1'' by the record registration means 2 and the function index key record registration means 4 is shown in FIG. Search here for products that generate profits of rlO,000 yen or more. '', the function index key record search means 5 searches the profit index 52 in the search request for record 8 by setting the function index key value of the search request to 10,000. 10,00 on top bronc 53
The 30,000 higher order function index key records 532 having the function index key value closest to 0 are searched, and the lowest block 55 is searched based on the searched upper function index key records 532.
is read, and the function index key record 551 in the lowest block 55 is searched. The record search means 6 searches for the record 513 based on the pointer value (address) of the function index key record 551 searched by the function index key record search means 5. Next, the function index key record search means 5 checks whether there is a function index key record having a larger function index key value than the function index key record 551, and searches for the function index key record 552. The key record search means 6 searches for the record 512 based on the pointer value (address) of the function index key record 552. Similarly, record 516 is searched from the pointer value (address) of function index key record 553.

検索に要する時間をレコード8をアクセスするまでのブ
ロックの1−0回数で表現すると、従来の場合、レコー
ド8を含む全ブロックのI一〇回数が必要であった.し
かしながら、本実施例の関数索引制御方式では、関数索
引9の階層をたどるr−O回数と、目的のレコード8が
含まれるブロックの■一〇回数とだけで済む。
If the time required for a search is expressed as 1-0 times of blocks until record 8 is accessed, in the conventional case, the entire block including record 8 was needed I10 times. However, in the functional index control method of this embodiment, it is only necessary to trace the hierarchy of the functional index 9 rO times and to trace the block containing the target record 8 10 times.

例えば、100万件のレコード8から検索されるレコー
ド8を1件とした検索で、プロソキングフ1クタを10
とした場合、従来の場合に10万回の1一〇が出される
のに比べて、本実施例の関数索引制御方式では、関数索
引9の階層が3階層であるとすると、階層をたどるI−
0が3回とレコード8を読むI−0が1回とで済む。
For example, in a search where record 8 is searched from 1 million records 8, the prosoking function is 10.
In this case, 110 is issued 100,000 times in the conventional case, but in the function index control method of this embodiment, assuming that the function index 9 has three layers, the I −
Three 0s and one I-0 reading record 8 are sufficient.

このように、本実施例の関数索引制御方式では、レコー
ド8内の任意のフィールドの値あるいは定数を演算する
ことによって2次的に導き出される関数で目的のレコー
ド8を高速に検索することができる. 〔発明の効果〕 以上説明したように本発明は、レコード内の任意のフィ
ールドの値あるいは定数を演算することによって2次的
に導き出される値を関数索引キー値とする関数を定義す
ることにより、関数索引を自動的に作成することができ
、この関数索引を用いて高速に目的のレコードを検索を
することができるという効果がある。
In this way, in the functional index control method of this embodiment, the target record 8 can be searched at high speed using a function that is derived secondarily by calculating the value or constant of any field in the record 8. .. [Effects of the Invention] As explained above, the present invention defines a function whose function index key value is a value derived secondarily by calculating the value of any field in a record or a constant. This has the advantage that a functional index can be automatically created, and a desired record can be searched at high speed using this functional index.

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

第1図は本発明の一実施例に係る関数索引制御方式の構
戒を示すブロック図、 第2図は第1図中のレコードの一例である製品レコード
の内容を示す図、 第3図は第2図の製品レコードに基づいて定義される利
益関数を示す図、 第4図は第2図に示す製品レコードおよび第3図に示す
利益関数の実現値を例示する図、第5図は本実施例の関
数索引制御方弐が適用された製品データヘースの動作例
を示す図、第6図は従来の索引制御方式の動作例を示す
図である。 図において、 1・・・関数索引定義手段、 2・・・レコード登録手段、 3・・・関数索引キー値生成手段、 4・・・関数索引キーレコード登録手段、5・・・関数
索引キーレコード検索手段、6・・・レコード検索手段
、 7・・・データベース、 8・・・レコード、 9・・・関数索引、 10・・上位ブロック、 1l・・最下位ブロック、 l2・・上位関数索引キーレコード、 13・・関数索引キーレコード、 2l・・製品レコード、 22・ ・製品コード、 23・・製造原価、 24・・単価、 25・・出荷数、 31・・利益関数、 52・・関数索引、 53・・上位ブロック、 54.55・最下位ブロンク、 511〜516・レコード、 531.532・上位関数索引キーレコード、541〜
543,551〜553 ・・・関数索引キーレコードである.
FIG. 1 is a block diagram showing the structure of a functional index control method according to an embodiment of the present invention, FIG. 2 is a diagram showing the contents of a product record, which is an example of the record in FIG. 1, and FIG. Figure 4 is a diagram illustrating the product record shown in Figure 2 and the realized value of the profit function shown in Figure 3. Figure 5 is a diagram showing the profit function defined based on the product record in Figure 2. FIG. 6 is a diagram showing an example of the operation of the product data database to which the functional index control method 2 of the embodiment is applied, and FIG. 6 is a diagram showing an example of the operation of the conventional index control method. In the figure, 1...Function index definition means, 2...Record registration means, 3...Function index key value generation means, 4...Function index key record registration means, 5...Function index key record Search means, 6...Record search means, 7...Database, 8...Record, 9...Function index, 10...Upper block, 1l...Lowest block, l2...Upper function index key Record, 13...Function index key record, 2l...Product record, 22...Product code, 23...Manufacturing cost, 24...Unit price, 25...Number of shipments, 31...Profit function, 52...Function index , 53... Upper block, 54.55 Lower bronch, 511-516 Record, 531.532 Upper function index key record, 541-
543,551-553...Function index key record.

Claims (1)

【特許請求の範囲】  データベースシステムにおいて、 レコード内の任意のフィールドの値あるいは定数を演算
することによって導かれる値を関数索引キー値とする関
数を定義する関数索引定義手段と、レコードをデータベ
ースに登録するレコード登録手段と、 このレコード登録手段によるレコードの登録時に前記関
数索引定義手段によって定義された関数を演算して関数
索引キー値を生成する関数索引キー値生成手段と、 この関数索引キー値生成手段によって生成された関数索
引キー値と前記レコード登録手段によって登録されたレ
コードのアドレスであるポインタ値とからなる関数索引
キーレコードを登録する関数索引キーレコード登録手段
と、 レコードの検索時に関数索引キー値を有する関数索引キ
ーレコードを検索する関数索引キーレコード検索手段と
、 この関数索引キーレコード検索手段により検索された関
数索引キーレコードのポインタ値から目的のレコードを
検索するレコード検索手段とを有することを特徴とする
関数索引制御方式。
[Claims] In a database system, a function index definition means for defining a function whose function index key value is a value derived by calculating a value of an arbitrary field in a record or a constant; a record registration means for generating a function index key value by calculating a function defined by the function index definition means when a record is registered by the record registration means; function index key record registration means for registering a function index key record consisting of a function index key value generated by the means and a pointer value that is an address of the record registered by the record registration means; It has a function index key record search means for searching for a function index key record having a value, and a record search means for searching for a target record from the pointer value of the function index key record searched by the function index key record search means. A functional index control method featuring:
JP1307062A 1989-11-27 1989-11-27 Function index control system Pending JPH03166647A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1307062A JPH03166647A (en) 1989-11-27 1989-11-27 Function index control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1307062A JPH03166647A (en) 1989-11-27 1989-11-27 Function index control system

Publications (1)

Publication Number Publication Date
JPH03166647A true JPH03166647A (en) 1991-07-18

Family

ID=17964584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1307062A Pending JPH03166647A (en) 1989-11-27 1989-11-27 Function index control system

Country Status (1)

Country Link
JP (1) JPH03166647A (en)

Similar Documents

Publication Publication Date Title
JP2972928B2 (en) Digital data processing system
Lightstone et al. Physical Database Design: the database professional's guide to exploiting indexes, views, storage, and more
US8898194B2 (en) Searching and displaying data objects residing in data management systems
US6564212B2 (en) Method of processing queries in a database system, and database system and software product for implementing such method
US6381605B1 (en) Heirarchical indexing of multi-attribute data by sorting, dividing and storing subsets
US7925658B2 (en) Methods and apparatus for mapping a hierarchical data structure to a flat data structure for use in generating a report
US6484181B2 (en) Method and system for handling foreign key update in an object-oriented database environment
US20080033976A1 (en) Metadata management for a data abstraction model
US20020095421A1 (en) Methods of organizing data and processing queries in a database system, and database system and software product for implementing such methods
US20040133581A1 (en) Database management system, data structure generating method for database management system, and storage medium therefor
CN106528579A (en) Search method, device and system based on sharding structure databases
JPH0675265B2 (en) Information retrieval method and system
JP2006172446A (en) Complex data access
JPH04124774A (en) Data storage method for hierarchical construction in related data base
JPH0550774B2 (en)
Prasad et al. A microcomputer-based image database management system
EP1482419A1 (en) Data processing system and method for application programs in a data warehouse
JP3552339B2 (en) Database system
KR890016474A (en) Database object analysis method and system
Weber et al. Database Systems
JP2001216307A (en) Relational database management system and storage medium stored with same
JPH03166647A (en) Function index control system
JP2001067369A (en) Information retrieval system, information retrieval method and recording medium recording information retrieval probram
Clemons Database Design for Decision Support
US7171397B1 (en) Method and system for measuring parallelism of a database system execution step