JPH11203288A - Database reference device - Google Patents
Database reference deviceInfo
- Publication number
- JPH11203288A JPH11203288A JP10003053A JP305398A JPH11203288A JP H11203288 A JPH11203288 A JP H11203288A JP 10003053 A JP10003053 A JP 10003053A JP 305398 A JP305398 A JP 305398A JP H11203288 A JPH11203288 A JP H11203288A
- Authority
- JP
- Japan
- Prior art keywords
- search
- data
- search time
- input
- database
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【課題】 複数のデータテーブルを持つコンピュータ
(サーバー)と、検索・表示用のコンピュータ(クライ
アント)とからなるデータベース参照装置において、検
索実行前に最低の検索時間を知ることができるように
し、業務効率を向上させる。
【解決手段】 入出力表示部1より検索条件を入力し、
データ授受部2よりデータベース用コンピュータ(サー
バー)4へ検索条件に該当するデータの件数を検索する
命令を出し、その件数の情報を受け取る。そして、検索
時間予想部3により検索すべきデータテーブルの一件の
データ量とデータ件数に基づいて最低の検索時間を予想
し、その時間を入出力表示部1にて表示し、その後デー
タを受け取り、その検索データを表示する。
(57) [Summary] [PROBLEMS] To find the minimum search time before executing a search in a database reference device including a computer (server) having a plurality of data tables and a search / display computer (client). And improve operational efficiency. SOLUTION: A search condition is input from an input / output display unit 1,
The data transfer unit 2 issues a command to the database computer (server) 4 to search for the number of data items corresponding to the search condition, and receives information on the number of data items. Then, the search time estimating unit 3 estimates the minimum search time based on the data amount and number of data in one data table to be searched, displays the time on the input / output display unit 1, and thereafter receives the data. , To display the search data.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、クライアント/サ
ーバーシステムにおけるデータベース参照装置に関する
ものである。[0001] 1. Field of the Invention [0002] The present invention relates to a database reference device in a client / server system.
【0002】[0002]
【従来の技術】従来、複数のデータテーブルを持つデー
タベース用コンピュータ(サーバー)とデータ検索・表
示用コンピュータ(クライアント)からなるデータベー
ス参照装置において、データベースを検索する場合はま
ず検索条件を入力する。この検索条件を入力すると検索
を開始し、検索が終了するとその検索結果のデータが表
示されるようになっている。2. Description of the Related Art Conventionally, when searching a database in a database reference device comprising a database computer (server) having a plurality of data tables and a data search / display computer (client), search conditions are first input. When this search condition is input, the search starts, and when the search ends, the data of the search result is displayed.
【0003】[0003]
【発明が解決しようとする課題】ところで、上記のよう
な従来のデータベース参照装置にあっては、検索にどれ
だけの時間がかかるかわからないため、ユーザーは検索
が終了してデータが表示されるまで、例えばその場を離
れて別の仕事をすることができず、業務効率が低下する
という問題点があった。However, in the above-described conventional database reference apparatus, since it is not known how long the search will take, the user must wait until the search is completed and the data is displayed. For example, there has been a problem that the user cannot leave the place to do another job and work efficiency is reduced.
【0004】本発明は、上記のような問題点に着目して
なされたもので、検索条件の入力後に検索時間を知るこ
とができ、検索実行中にその場を離れて別の仕事をする
ことができ、業務効率の向上したデータベース参照装置
を提供することを目的としている。[0004] The present invention has been made in view of the above-mentioned problems, and it is possible to know a search time after inputting a search condition, and to leave the place and perform another job during execution of the search. It is an object of the present invention to provide a database reference device with improved operational efficiency.
【0005】[0005]
【課題を解決するための手段】本発明に係るデータベー
ス参照装置は、複数のデータテーブルを持つデータベー
ス用処理装置と、データ検索・表示用処理装置とからな
るデータベース参照装置であって、検索条件を入力して
データを出力する入出力部と、データ授受部と、入力し
た検索条件から検索時間を予想する検索時間予想部を有
し、任意のデータテーブルを検索する際に、前記検索時
間予想部により予想した検索時間を表示した後にデータ
を表示するように構成したものである。A database reference device according to the present invention is a database reference device comprising a database processing device having a plurality of data tables and a data search / display processing device. An input / output unit for inputting and outputting data, a data transfer unit, and a search time estimating unit for estimating a search time from the input search conditions, and when searching an arbitrary data table, the search time estimating unit , The data is displayed after the predicted search time is displayed.
【0006】また、上記検索時間予想部はデータ量とデ
ータ件数に対応した予想検索時間のチャートを有し、該
チャートから得られる最低の検索時間を表示するように
したものである。The search time estimating section has a chart of an expected search time corresponding to the data amount and the number of data, and displays the minimum search time obtained from the chart.
【0007】また、検索時間を測定する測定手段と、前
回の検索時間を記憶する記憶手段を有し、検索時間予想
部は該記憶手段に記憶されている検索時間に基づいて最
低の検索時間を予想するようにしたものである。Further, there is provided a measuring means for measuring a search time, and a storage means for storing a previous search time, and a search time estimating section determines a minimum search time based on the search time stored in the storage means. It is as expected.
【0008】[0008]
【発明の実施の形態】以下、本発明の詳細を図面に従っ
て説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The details of the present invention will be described below with reference to the drawings.
【0009】(実施例)図1は本発明の一実施例の全体
構成を示すブロック図である。同図において、1はデー
タの検索条件を入力して検索データを出力する入出力表
示部、2は検索条件を発行し、件数を検索し、検索デー
タを受け取るデータ授受部、3は予想検索時間のチャー
トを有しテーブルの一件のデータ量とデータ件数により
検索時間を予想する検索時間予想部、4は検索用データ
を蓄積するデータベース用コンピュータ(サーバー)、
5はネットワーク、6はデータ検索・表示用コンピュー
タ(クライアント)である。(Embodiment) FIG. 1 is a block diagram showing an entire configuration of an embodiment of the present invention. In the figure, 1 is an input / output display unit for inputting data search conditions and outputting search data, 2 is a data transfer unit for issuing search conditions, searching the number of cases, and receiving search data, and 3 is an expected search time. A search time estimating unit for estimating a search time based on a data amount and the number of data in one table having a chart of 4; a computer for a database (server) for storing search data;
Reference numeral 5 denotes a network, and reference numeral 6 denotes a data search / display computer (client).
【0010】上記構成のシステムは、複数のデータテー
ブルを持つデータベース用コンピュータ(処理装置)4
と、データ検索・表示用コンピュータ(処理装置)6と
からなるデータベース参照装置のシステムであり、任意
のデータテーブルを検索する際に、検索時間予想部3に
より予想した最低の検索時間を入出力表示部1にて表示
した後に検索を実行してデータを表示(出力)するよう
にしている。[0010] The system having the above-mentioned configuration is a database computer (processing device) 4 having a plurality of data tables.
And a computer (processing device) 6 for searching and displaying data. This system is used to input / output the minimum search time predicted by the search time prediction unit 3 when searching an arbitrary data table. After the data is displayed by the section 1, a search is executed to display (output) the data.
【0011】図2は本実施例における検索時間予想方法
の概略を含む検索・表示処理手順の全体を示すフローチ
ャートである。FIG. 2 is a flowchart showing an entire search / display processing procedure including an outline of a search time estimation method in the present embodiment.
【0012】まず、ステップ101で、図4に示す入出
力表示部1の表示画面より検索条件を入力する。First, in step 101, search conditions are input from the display screen of the input / output display unit 1 shown in FIG.
【0013】次に、ステップ102で、図1のデータ授
受部2は、検索条件を受け取り、データベース用コンピ
ュータ(サーバー)4へ検索条件に当てはまるデータの
件数を検索する命令を出す。Next, in step 102, the data transfer section 2 of FIG. 1 receives the search condition and issues a command to the database computer (server) 4 to search for the number of data items satisfying the search condition.
【0014】次に、ステップ103で、データ授受部2
は、上記の件数情報を受け取る。Next, in step 103, the data transfer unit 2
Receives the above number information.
【0015】次に、ステップ104で、データ授受部2
は、検索するデータテーブルの一件のデータ量と件数を
検索時間予想部3へ送る。Next, at step 104, the data transfer unit 2
Sends the data amount and number of one data table to be searched to the search time estimating unit 3.
【0016】次に、ステップ105で、検索時間予想部
3は、該テーブルの一件のデータ量とデータの件数よ
り、図5に示す予想検索時間のチャートを用いて検索時
間を予想する。この時間を予想される最低の検索時間と
する。Next, in step 105, the search time estimating unit 3 estimates the search time from the data amount and the number of data in one table in the table using the estimated search time chart shown in FIG. Let this time be the minimum expected search time.
【0017】次に、ステップ106で、検索時間予想部
3は、予想した検索時間を入出力表示部1へ送る。Next, in step 106, the search time estimating unit 3 sends the estimated search time to the input / output display unit 1.
【0018】次に、ステップ107で、入出力表示部1
は、予想した検索時間を表示する。Next, at step 107, the input / output display unit 1
Displays the expected search time.
【0019】次に、ステップ108で、データ授受部2
は、再度データベース用コンピュータ(サーバー)4へ
検索命令を出す。Next, at step 108, the data transfer section 2
Issues a search command to the database computer (server) 4 again.
【0020】次に、ステップ109で、データ授受部2
は、検索条件に当てはまるデータを受け取る。Next, at step 109, the data transfer section 2
Receives data that meets the search conditions.
【0021】次に、ステップ110で、データ授受部2
は、検索したデータを入出力表示部1へ送る。Next, in step 110, the data transfer unit 2
Sends the retrieved data to the input / output display unit 1.
【0022】最後に、ステップ111で、入出力表示部
1は、検索したデータを表示する。Finally, in step 111, the input / output display unit 1 displays the searched data.
【0023】次に、本実施例の主要構成要素である図1
の各部1〜3での処理について、具体的に図3〜図5を
用いて説明する。Next, FIG. 1 which is a main component of this embodiment is shown.
The processing in each of the units 1 to 3 will be specifically described with reference to FIGS.
【0024】例えば、ある装置の時間毎に測定される温
度,圧力のデータを、図3に示すようなデータベース用
コンピュータ(サーバー)4内のデータテーブルに蓄積
し、測定時間(カラムa)をキーにして測定時刻(カラ
ムa),温度(カラムb)、及び圧力(カラムc)を検
索するデータベース参照装置において、図4に示す入出
力表示画面より検索条件(測定時刻)として95/10
/21 12:00:00〜95/12/21 12:
00:00を入力すると、データ授受部2はデータベー
ス用コンピュータ(サーバー)4のデータテーブルへ検
索命令を出し、件数を得る。このとき、上記検索条件に
当てはまるデータが1500件あったとする。また、こ
のデータテーブルの一件のデータ量は25byteであ
るとする。For example, temperature and pressure data measured for each time of a certain apparatus are stored in a data table in a database computer (server) 4 as shown in FIG. 3, and the measurement time (column a) is used as a key. In the database reference device for searching for the measurement time (column a), temperature (column b), and pressure (column c), the search condition (measurement time) is set to 95/10 from the input / output display screen shown in FIG.
/ 21 12:00:00 to 95/12/21 12:
When 00:00 is input, the data transfer unit 2 issues a search command to the data table of the database computer (server) 4 to obtain the number of records. At this time, it is assumed that there are 1500 data that satisfy the search condition. Further, it is assumed that the data amount of one data table is 25 bytes.
【0025】次に、データ授受部2は、一件のデータ量
(25byte)と件数(1500件)を検索時間予想
部3へ送る。検索時間予想部3は、検索するデータテー
ブルの一件のデータ量と件数をもとに、図5に示す予想
検索時間のチャートを用いて、検索時間を予想する。Next, the data transfer unit 2 sends the data amount (25 bytes) and the number of cases (1500) to the search time estimating unit 3. The search time estimating unit 3 estimates the search time based on the data amount and the number of one data table to be searched, using the estimated search time chart shown in FIG.
【0026】ここで、本実施例の予想検索時間のチャー
トは、一件のデータ量として、1byte,10byt
eから100byteまで10byte毎にとり、件数
として1,10から100まで10件毎、100から1
000まで100件毎、1000から10000まで1
000件毎にとっており、各々の場合の検索時間をあら
かじめ測定して、予測検索時間のチャートにしている。Here, the chart of the estimated search time of the present embodiment is 1 byte, 10 bytes as one data amount.
e every 100 bytes from e to 100 bytes, the number of cases from 1,10 to 100 every 10 cases, 100 to 1
Every 100 cases up to 000, 1 from 1000 to 10,000
For every 000 items, the search time in each case is measured in advance, and a chart of the estimated search time is made.
【0027】そして、検索時間予想部3は、一件のデー
タ量が25byte、件数が1500件の場合、データ
量を繰り上げて30byte、件数を繰り上げて200
0件とし、図5の予想検索時間のチャートより予想され
る最低の検索時間として600秒を得る。When the data amount of one case is 25 bytes and the number of cases is 1500, the search time estimating unit 3 increments the data amount by 30 bytes and increases the number of cases by 200
Assuming that the search time is 0, 600 seconds is obtained as the minimum search time expected from the expected search time chart of FIG.
【0028】次に、検索時間予想部3は、上記で得られ
た予想検索時間(600秒)を入出力表示部1へ送る。
入出力表示部1は、図4に示すように検索時間予想部3
から受け取った時間を予想される最低の検索時間として
表示する。Next, the search time estimating section 3 sends the estimated search time (600 seconds) obtained above to the input / output display section 1.
As shown in FIG. 4, the input / output display unit 1 includes a search time
Displays the time received from as the lowest expected search time.
【0029】次に、データ授受部2は、再びデータベー
ス用コンピュータ(サーバー)4内のデータテーブルへ
検索命令を出す。データベース用コンピュータ(サーバ
ー)4は、データ授受部2より検索条件を受け取り、図
3に示すデータベース用コンピュータ(サーバー)4内
のデータテーブルより測定時刻(カラムa)が95/1
0/21 12:00:00〜95/12/21 1
2:00:00までのデータを検索する。Next, the data transfer section 2 issues a search command to the data table in the database computer (server) 4 again. The database computer (server) 4 receives the search condition from the data transfer unit 2, and the measurement time (column a) is 95/1 from the data table in the database computer (server) 4 shown in FIG.
0/21 12:00: 00 to 95/12/21 1
The data up to 2: 00: 0 is searched.
【0030】次に、データベース用コンピュータ(サー
バー)4は、検索条件に合致したデータをデータ授受部
2へ送る。データ授受部2は、検索したデータを受け取
ると、その検索したデータを入出力表示部1へ送り、最
後に入出力表示部1は、図4に示すように検索したデー
タを表示する。Next, the database computer (server) 4 sends data matching the search condition to the data transfer unit 2. Upon receiving the searched data, the data transfer unit 2 sends the searched data to the input / output display unit 1, and finally, the input / output display unit 1 displays the searched data as shown in FIG.
【0031】このように、ユーザーが検索を実行する前
に予想される最低の検索時間を知ることができるので、
検索実行中にユーザーはその場を離れて別の仕事をする
ことができ、業務効率が向上する。As described above, since the user can know the minimum expected search time before executing the search,
During the search, the user can leave the place to do another job, thereby improving work efficiency.
【0032】(他の実施例)上述の実施例では、検索し
たデータテーブルの一件のデータ量と検索条件に当ては
まる件数により検索時間を予想、表示しているが、他の
実施例として、検索時間を測定する測定手段と前回の検
索時間を記憶する記憶手段を設け、検索条件が入力され
た際に、まず記憶手段に格納されている前回の検索時間
を予想検索時間として表示するようにしてもよい。(Other Embodiments) In the above-described embodiment, the search time is predicted and displayed based on the data amount of one searched data table and the number of cases that satisfy the search condition. Providing a measuring means for measuring time and a storage means for storing the previous search time, and when a search condition is input, first, the previous search time stored in the storage means is displayed as an expected search time. Is also good.
【0033】[0033]
【発明の効果】以上説明したように、本発明によれば、
検索条件入力後にあらかじめ検索時間を知ることがで
き、検索実行中にユーザーがその場を離れて別の仕事を
することができ、業務効率が向上するという効果があ
る。As described above, according to the present invention,
It is possible to know the search time in advance after inputting the search condition, and the user can leave the place and perform another job during the execution of the search, thereby improving the work efficiency.
【図1】 本発明の実施例の全体構成を示すブロック図FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention.
【図2】 実施例における検索、表示処理手順の全体を
示すフローチャートFIG. 2 is a flowchart showing the entire search and display processing procedure in the embodiment.
【図3】 実施例におけるデータベース用コンピュータ
(サーバー)内のデータテーブルを示す図FIG. 3 is a diagram showing a data table in a database computer (server) in the embodiment.
【図4】 実施例における入出力表示画面を示す図FIG. 4 is a diagram showing an input / output display screen in the embodiment.
【図5】 実施例において用いられる予想検索時間のチ
ャートを示す図FIG. 5 is a diagram showing a chart of expected search time used in the embodiment.
1 入出力表示部 2 データ授受部 3 検索時間予想部 4 データベース用コンピュータ(サーバー) 5 ネットワーク 6 データ検索・表示用コンピュータ(クライアント) DESCRIPTION OF REFERENCE NUMERALS 1 input / output display unit 2 data transfer unit 3 search time estimation unit 4 database computer (server) 5 network 6 data search / display computer (client)
Claims (3)
ス用処理装置と、データ検索・表示用処理装置とからな
るデータベース参照装置であって、検索条件を入力して
データを出力する入出力部と、データ授受部と、入力し
た検索条件から検索時間を予想する検索時間予想部を有
し、任意のデータテーブルを検索する際に、前記検索時
間予想部により予想した検索時間を表示した後にデータ
を表示することを特徴とするデータベース参照装置。An input / output unit for inputting search conditions and outputting data, comprising: a database processing device having a plurality of data tables; and a data search / display processing device. It has a sending and receiving unit and a search time estimating unit for estimating a search time from input search conditions, and when searching an arbitrary data table, displays data after displaying the search time estimated by the search time estimating unit. A database reference device, characterized in that:
に対応した予想検索時間のチャートを有し、該チャート
から得られる最低の検索時間を表示することを特徴とす
る請求項1記載のデータベース参照装置。2. The database according to claim 1, wherein the search time estimating unit has a chart of an expected search time corresponding to the data amount and the number of data, and displays a minimum search time obtained from the chart. Reference device.
検索時間を記憶する記憶手段を有し、検索時間予想部は
該記憶手段に記憶されている検索時間に基づいて最低の
検索時間を予想することを特徴とするデータベース参照
装置。3. A search means for measuring a search time, and a storage means for storing a previous search time, wherein a search time estimating unit determines a minimum search time based on the search time stored in the storage means. A database reference device characterized by anticipation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10003053A JPH11203288A (en) | 1998-01-09 | 1998-01-09 | Database reference device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10003053A JPH11203288A (en) | 1998-01-09 | 1998-01-09 | Database reference device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH11203288A true JPH11203288A (en) | 1999-07-30 |
Family
ID=11546592
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10003053A Withdrawn JPH11203288A (en) | 1998-01-09 | 1998-01-09 | Database reference device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH11203288A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6330552B1 (en) * | 1998-09-28 | 2001-12-11 | Compaq | Database query cost model optimizer |
JP2006350770A (en) * | 2005-06-17 | 2006-12-28 | Hitachi Ltd | Information search apparatus and information search method |
JP2008305175A (en) * | 2007-06-07 | 2008-12-18 | Hitachi Ltd | Document search method |
-
1998
- 1998-01-09 JP JP10003053A patent/JPH11203288A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6330552B1 (en) * | 1998-09-28 | 2001-12-11 | Compaq | Database query cost model optimizer |
JP2006350770A (en) * | 2005-06-17 | 2006-12-28 | Hitachi Ltd | Information search apparatus and information search method |
JP2008305175A (en) * | 2007-06-07 | 2008-12-18 | Hitachi Ltd | Document search method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8830247B2 (en) | Image displaying device having image cache memory | |
US20030163478A1 (en) | Apparatus and method for generating graphic presentation of estimated time of completion of a server request | |
US6816861B2 (en) | CAD information management system and CAD information management method | |
US20080091644A1 (en) | Correlation of Resource Usage in a Database Tier to Software Instructions Executing in Other Tiers of a Multi Tier Application | |
JPH11203288A (en) | Database reference device | |
JP3022447B2 (en) | Machine readable recording medium recording cost estimation device and program | |
CN104503980B (en) | Determining comprehensive search information and determining candidate search sequences to be pushed according to comprehensive search information | |
JP2609814B2 (en) | Method of displaying additional information on symbol and method of displaying additional information on symbol | |
JP2000268055A (en) | Method and system for transferring image | |
CN110765377A (en) | Data loading method and device | |
JP2001273254A (en) | Information processing device and storage medium | |
JP3760281B2 (en) | Network congestion status display system, display method, and display program | |
JPH04175875A (en) | Image data retrieval system | |
JPH1185635A (en) | Information provision device | |
JPH10320339A (en) | Cleint/server system | |
JPH10214283A (en) | Accident car repair cost estimate system | |
JPH11203301A (en) | Database reference device | |
JP2000200302A (en) | Progress management system and progress management method | |
JP2001051983A (en) | Document management system and document registration method | |
JP2001160055A (en) | Common part management system and recording medium with program for managing common part recorded thereon | |
JPH09245101A (en) | Customer information usage method in reservation / ticketing system | |
JP5315959B2 (en) | HSP number estimation program, HSP number estimation device, and HSP number estimation method | |
CN117909358A (en) | Data analysis method and device, storage medium and electronic equipment | |
JPH04336339A (en) | System area calculation device | |
JPH1069407A (en) | Data conversion processing device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20050405 |