JP2836093B2 - Database search device - Google Patents

Database search device

Info

Publication number
JP2836093B2
JP2836093B2 JP1102481A JP10248189A JP2836093B2 JP 2836093 B2 JP2836093 B2 JP 2836093B2 JP 1102481 A JP1102481 A JP 1102481A JP 10248189 A JP10248189 A JP 10248189A JP 2836093 B2 JP2836093 B2 JP 2836093B2
Authority
JP
Japan
Prior art keywords
file
search
physical
real image
field
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.)
Expired - Fee Related
Application number
JP1102481A
Other languages
Japanese (ja)
Other versions
JPH02280275A (en
Inventor
保 牧野
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
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP1102481A priority Critical patent/JP2836093B2/en
Publication of JPH02280275A publication Critical patent/JPH02280275A/en
Application granted granted Critical
Publication of JP2836093B2 publication Critical patent/JP2836093B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータベース検索装置、特に複数の物理ファ
イルからフィールドを抽出して結合操作により作成され
た仮想ファイルの条件検索を行なうリレーショナル型の
データベース検索装置にかする。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database search apparatus, in particular, a relational database search for extracting a field from a plurality of physical files and performing a conditional search of a virtual file created by a joining operation. Drain the device.

〔従来の技術〕[Conventional technology]

従来、この種のデータベース検索装置は、第3図に示
すように、第1の物理ファイルと第2の物理ファアルと
から結合操作によって仮想ファイルの実イメージファイ
ルの物理ファイルを生成し、その物理ファイルに対して
条件検索を行なうようになっている。
Conventionally, this type of database search apparatus generates a physical file of a real image file of a virtual file from a first physical file and a second physical file by a combining operation as shown in FIG. Is searched for.

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

上述した従来のデータベース検索装置では、仮想ファ
イルの実イメージの物理ファイルを生成しているため
に、この物理ファイルの容量が膨大になることがある。
この物理ファイルの容量が大きい場合には、格納するた
めの補助記憶領域も大量に必要となる欠点を有してい
る。また、条件検索処理もこの生成した物理ファイルを
アクセスして実行するので、容量が大きければそれだけ
条件検索処理時間を要するという欠点がある。
In the above-described conventional database search device, since the physical file of the real image of the virtual file is generated, the capacity of the physical file may become enormous.
When the capacity of the physical file is large, there is a disadvantage that a large amount of auxiliary storage area for storing is required. In addition, since the condition search process is executed by accessing the generated physical file, there is a disadvantage that the time required for the condition search process increases as the capacity increases.

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

本発明のデータベース検索装置は、複数の物理ファイ
ルからフィールドを抽出し、結合操作により作成される
仮想ファイルに対して、条件検索を行なうことができる
リレーショナル型のデータベース検索装置において、検
索条件の指定を行なうフィールドの設定を行なう検索条
件指定フィールド設定手段と、仮想ファイルのうちの前
記検索条件指定フィールド設定手段で設定されたフィー
ルドのイメージと仮想ファイルのレコードに対応する物
理ファイルのレコードの位置情報とからなる仮想ファイ
ルの実イメージの物理ファイルを生成する実イメージフ
ァイル生成手段と、この実イメージファイル生成手段に
より生成された物理ファイルをアクセスして条件検索を
行なう検索処理手段とを有することにより構成される。
The relational database search device according to the present invention is capable of extracting a field from a plurality of physical files and performing a condition search on a virtual file created by a combining operation. A search condition specification field setting means for setting a field to be set, and an image of a field set by the search condition specification field setting means in the virtual file and position information of a record of a physical file corresponding to a record of the virtual file. A real image file generating means for generating a physical file of a real image of a virtual file, and a search processing means for performing a conditional search by accessing the physical file generated by the real image file generating means. .

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明す
る。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例の構成図で、第1物理ファ
イル31と第2物理ファイル32とに対して結合操作が行な
われ、それぞれのフィールドを抽出して作成された仮想
ファイル51に対して条件検索処理を行なう場合を示して
いる。第1図は検索条件指定フィールド設定機構1,実イ
メージファイル生成機構2および検索処理機構3を有し
ていて、条件検索処理を行なう場合、処理に先立って先
ず、検索条件指定フィールド設定機構1は、仮想ファイ
ル51のどのフィールドに対して検索条件を指定するかの
検索条件指定フィールド11を利用者に設定させ、記憶装
置内に検索条件指定フィード設定情報21を格納する。次
に、実イメージファイル生成機構2は第1物理ファイル
31と第2物理ファイル32とをアクセスして、仮想ファイ
ル51のレコードのうち検索条件指定フィールド設定情報
21で示されるフィールドのフイールドイメージと、仮想
ファイル51のレコードに対応する第1物理ファイル31お
よび第2物理ファイル32のレコードの位置情報とからな
る実イメージファイル41を補助記憶装置上に生成する。
次いで検索処理機構3は、利用者から検索条件12を受取
り実イメージファイル41をアクセスして検索処理を行な
い、検索結果情報22を記憶装置または補助記憶装置に格
納する。なお、この検索の結果、別のフィールドの情報
を必要とするときはレコード位置情報から第1および第
2物理ファイル31および32が参照される。
FIG. 1 is a block diagram of an embodiment of the present invention, in which a combining operation is performed on a first physical file 31 and a second physical file 32, and respective fields are extracted into a virtual file 51 created. 14 shows a case where a condition search process is performed. FIG. 1 has a search condition specification field setting mechanism 1, an actual image file generation mechanism 2 and a search processing mechanism 3, and when performing a condition search process, first, prior to the processing, the search condition specification field setting mechanism 1 Then, the user is caused to set a search condition specification field 11 for which field of the virtual file 51 to specify the search condition, and the search condition specification feed setting information 21 is stored in the storage device. Next, the real image file generation mechanism 2 executes the first physical file
31 and the second physical file 32 are accessed, and the search condition specification field setting information in the record of the virtual file 51
A real image file 41 including a field image of a field indicated by 21 and positional information of records of the first physical file 31 and the second physical file 32 corresponding to the record of the virtual file 51 is generated on the auxiliary storage device.
Next, the search processing mechanism 3 receives the search condition 12 from the user, accesses the real image file 41, performs a search process, and stores the search result information 22 in the storage device or the auxiliary storage device. As a result of this search, when information of another field is required, the first and second physical files 31 and 32 are referred to from the record position information.

第2図は第1図における実イメージファイルの一例
で、検索条件指定フィーレドとして、第1物理ファイル
31のフィールド11と第2物理ファイル32のフィールド22
とを設定した場合を示している。この例で示すように、
実イメージファイル41に格納されるフィールドのイメー
ジは検索条件指定フィールドとして設定たれたフィール
ドのイメージと対応する物理ファイルのレコード番号と
だけであり、実イメージファイルの大きさは、第3図で
示した実イメージファイルに比べて小さくて済む。検索
処理は実イメージファイルをアクセスすることにより行
われるので、実イメージファイルが小さくなる本発明の
場合の方が従来の場合に比べて速く行なえる。
FIG. 2 is an example of a real image file in FIG. 1 and a first physical file as a search condition designating field.
Field 11 of 31 and field 22 of the second physical file 32
This shows a case where is set. As shown in this example,
The image of the field stored in the real image file 41 is only the image of the field set as the search condition specification field and the record number of the corresponding physical file, and the size of the real image file is shown in FIG. Smaller than real image files. Since the search process is performed by accessing the real image file, the present invention, in which the real image file is small, can be performed faster than the conventional case.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、複数の物理ファイルか
らフィールドを抽出して結合操作を行なって作成した仮
想ファイルの条件検索を行なうことができるリレーショ
ナル型のベータベース検索処理装置において、検索条件
の指定をするフィールドの設定を行う検索条件指定フィ
ールド設定機構と、仮想ファイルのレコードのうち検索
条件指定を行なうフィールドとして設定されたフィール
ドのイメージと仮想ファイルのレコードと対応する物理
ファイルのレコードの位置情報とからなる仮想ファイル
の実イメージの物理ファイルを作成する実イメージファ
イル生成機構と、検索処理を行う検索処理機構とを有す
ることにより、検索処理を行う実イメージファイルの大
きさを従来の方式の場合よりも小さくできて、補助記憶
装置の使用量を軽減でき、更に検索処理を高速に行なう
ことができる効果がある。
As described above, the present invention provides a relational beta-based search processing apparatus capable of performing a conditional search of a virtual file created by extracting fields from a plurality of physical files and performing a joining operation. A search condition specification field setting mechanism for setting a field to be set, an image of a field set as a field for specifying a search condition among records of the virtual file, position information of a record of the physical file corresponding to the record of the virtual file, and By having a real image file generating mechanism for creating a physical file of a real image of a virtual file consisting of a virtual file and a search processing mechanism for performing a search process, the size of the real image file for performing the search process is made larger than in the conventional method. Can be made smaller, reducing the amount of auxiliary storage used. Come, there is an effect that can further perform a search processing at high speed.

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

第1図は本発明の一実施例の構成図、第2図は第1図の
実イメージファイルの一例の形式図、第3図は従来のデ
ータベース検索装置において生成される実イメージファ
イルの一例の形式図である。 1……検索条件指定フィールド設定機構、2……実イメ
ージファイル生成機構、3……検索処理機構、31……第
1物理ファイル、32……第2物理ファイル、41……実イ
メージファイル、51……仮想ファイル。
FIG. 1 is a configuration diagram of one embodiment of the present invention, FIG. 2 is a format diagram of an example of a real image file of FIG. 1, and FIG. 3 is an example of a real image file generated by a conventional database search device. FIG. 1 ... search condition specification field setting mechanism, 2 ... real image file generation mechanism, 3 ... search processing mechanism, 31 ... first physical file, 32 ... second physical file, 41 ... real image file, 51 … Virtual files.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 17/30 JICST科学技術文献ファイル──────────────────────────────────────────────────続 き Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 17/30 JICST scientific and technical literature file

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の物理ファイルからフィールドを抽出
し、結合操作により作成される仮想ファイルに対して、
条件検索を行なうことができるリレーショナル型のデー
タベース検索装置において、検索条件の指定を行なうフ
ィールドの設定を行なう検索条件指定フィールド設定手
段と、仮想ファイルのうちの前記検索条件指定フィール
ド設定手段で設定されたフィールドのイメージと仮想フ
ァイルのレコードに対応する物理ファイルのレコードの
位置情報とからなる仮想ファイルの実イメージの物理フ
ァイルを生成する実イメージファイル生成手段と、この
実イメージファイル生成手段により生成された物理ファ
イルをアクセスして条件検索を行なう検索処理手段とを
有することを特徴とするデータベース検索装置。
1. A virtual file created by combining fields by extracting fields from a plurality of physical files.
In a relational database search apparatus capable of performing a condition search, a search condition specification field setting means for setting a field for specifying a search condition, and a search condition specification field setting means of a virtual file. Real image file generating means for generating a physical file of a real image of a virtual file comprising field image and position information of a record of a physical file corresponding to a record of the virtual file; and a physical file generated by the real image file generating means. A database search device comprising: search processing means for performing a condition search by accessing a file.
JP1102481A 1989-04-21 1989-04-21 Database search device Expired - Fee Related JP2836093B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1102481A JP2836093B2 (en) 1989-04-21 1989-04-21 Database search device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1102481A JP2836093B2 (en) 1989-04-21 1989-04-21 Database search device

Publications (2)

Publication Number Publication Date
JPH02280275A JPH02280275A (en) 1990-11-16
JP2836093B2 true JP2836093B2 (en) 1998-12-14

Family

ID=14328647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1102481A Expired - Fee Related JP2836093B2 (en) 1989-04-21 1989-04-21 Database search device

Country Status (1)

Country Link
JP (1) JP2836093B2 (en)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
中村,板倉,芳西,黒岩,「データベースプロセッサRINDAの最適化方式」,情報処理学会第37回(昭和63年後期)全国大会講演論文集(1),p385−386(昭63−9−12)
日経エレクトロニクス 1987.2.9 (No.414)p.185−205

Also Published As

Publication number Publication date
JPH02280275A (en) 1990-11-16

Similar Documents

Publication Publication Date Title
JPH07200312A (en) Digital data processing system and error processing method
JP2836093B2 (en) Database search device
JPH06168276A (en) Electronic filing system
JPS63156477A (en) Image file device
JPH07249032A (en) Electronic filing device
JPH02116936A (en) Reorganizing system
JP3328995B2 (en) Information retrieval system
JP2741923B2 (en) Dictionary search device
JP2570853B2 (en) Database processing system
JP2621591B2 (en) Data transfer method of database system
JPS62121532A (en) Data retrieving method
JP3022402B2 (en) Drawing data management method and system, and recording medium
JP2787945B2 (en) Information processing apparatus and method
JPH0744426A (en) File management method for file system
JPH05158666A (en) System constitution control system
JPH0476744A (en) Computer system with shared memory table recovering function
JP2616203B2 (en) Management method of name table in translation system
Easton A streamlined statistical system for the medical computer center (SPUD)
JPH05274196A (en) Secondary storage managing method by multiple file
JPS63150724A (en) Data access processing system
JPH04250568A (en) Record retrieval device
JPH02220151A (en) Variable length data access system
JPH03141426A (en) Record delivering system for data base system
JPS59139757A (en) Traffic data producing system
JPH01128127A (en) Access processing method for dictionary file

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees