JP4906968B1 - データベース問合せ端末 - Google Patents
データベース問合せ端末 Download PDFInfo
- Publication number
- JP4906968B1 JP4906968B1 JP2011114249A JP2011114249A JP4906968B1 JP 4906968 B1 JP4906968 B1 JP 4906968B1 JP 2011114249 A JP2011114249 A JP 2011114249A JP 2011114249 A JP2011114249 A JP 2011114249A JP 4906968 B1 JP4906968 B1 JP 4906968B1
- Authority
- JP
- Japan
- Prior art keywords
- query
- input
- database server
- amount
- unit
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2453—Query optimisation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
【解決手段】本発明の一実施形態として、データベースサーバの格納するデータベースに対する問合せを入力する入力部と、前記入力部が入力した問合せを前記データベースサーバにおいて処理するために必要な資源の量を予測する予測部と、前記予測部により予測された資源の量が許容されると判断すると、前記入力部に入力された問合せを前記データベースサーバに送信して前記問合せの結果を受信し、前記予測部より予測された資源の量が許容されないと判断すると、前記入力部に入力された問合せを前記データベースサーバに送信しない送受信部とを備える端末装置を提供する。
【選択図】図1
Description
図1は、本発明の一実施形態に係るデータベースシステムの機能ブロック図を示す。データベースシステム100は、データベースサーバ101と端末102とを有する。データベースサーバ101と端末102とはネットワークによって通信が可能である。図1においては、データベースサーバ101と端末102とをそれぞれ1台ずつ示しているが、それぞれ任意の数とすることができる。
SELECT * FROM tableA WHERE bgid=:butengroupid;
というSELECT文を文字列として生成することにより、:butengroupidの部分がバインド変数butengroupidの値に置換されたSELECT文をデータベースサーバで実行させることができる。
本発明の実施形態2として、資源予測部104が、問合せに資源の量を関連付けるテーブルを用いて、必要な資源を予測する実施形態について説明する。
本発明の実施形態3として、問合せを実際にデータベースサーバ101で処理させ、その処理において必要となった資源の量を図4(a)のテーブルに格納する実施形態について説明する。
本発明の各実施形態においては、端末が問合せを送信する前に必要な資源の量を予測する場合について主に説明した。ただし、本発明は、これらの実施形態に限定されることはなく、例えばデータベースサーバが問合せの処理を実行する前に必要な資源の量を予測し、必要な資源の量が許容されないと判断すれば、問合せを実行しないようにすることもできる。また、端末とデータベースサーバとの通信を中継する装置が、端末より問合せを受信し、問合せをデータベースサーバにおいて処理するのに必要な資源の量を予測し、許容されないと判断すれば、データベースサーバに問合せを送信しないようにすることもできる。
Claims (10)
- 検索条件を入力するグラフィカルユーザインターフェースと、
データベースサーバの格納するデータベースに対する変数を含む問合せを入力する入力部と、
前記入力部により入力された変数を含む問合せを前記データベースサーバにおいて処理するために必要なハードウェア資源の量を、変数を含む問合せと前記変数と前記変数の値とに、その変数を含む問合せを前記データベースサーバにおいて処理するのに必要となるハードウェア資源の量を関連付けるテーブルを参照し、前記入力部に入力された変数を含む問合せと前記グラフィカルユーザインターフェースへの検索条件に対応する変数と前記検索条件にマッチする問合せに関連付けられているハードウェア資源の量を取得して予測する予測部と、
前記予測部により予測されたハードウェア資源の量が許容されると判断すると、前記入力部に入力された問合せを前記データベースサーバに送信して前記問合せの結果を受信し、前記予測部より予測されたハードウェア資源の量が許容されないと判断すると、前記入力部に入力された問合せを前記データベースサーバに送信しない送受信部と
を備える端末装置。 - 前記送受信部により送信された問合せの結果が受信されると、前記送受信部により送信された問合せを前記データベースサーバにおいて処理するために必要であったハードウェア資源の量を算出し、前記テーブルを更新する更新部を有する請求項1に記載の端末装置。
- 前記テーブルをクリアするクリア部を有する請求項2に記載の端末装置。
- 前記送受信部は、前記予測部により予測されたハードウェア資源の量を考慮せずに、前記入力部に入力された問合せを前記データベースサーバに送信して前記問合せの結果を受信するモードを有することを特徴とする請求項1から3のいずれかに記載の端末装置。
- 前記送受信部は、前記データベースサーバにおいて処理が許容される問合せを記憶する許容問合せテーブルを参照し、前記予測部が前記入力部に入力された問合せを前記データベースサーバにおいて処理するのに必要なハードウェア資源の量が許容されなくても、前記入力部に入力された問合せが前記許容問合せテーブルに記憶されていれば、前記入力部に入力された問合せを前記データベースサーバに送信することを特徴とする請求項1から4のいずれかに記載の端末装置。
- 前記許容問合せテーブルは、問合せを入力することが許容されるユーザ識別情報、問合せを入力されることが許容される端末装置の識別情報、問合せを入力することが許容される時間帯および問合せを入力することが許容される前記データベースサーバの負荷量のいずれかを含む情報を問合せに関連付けることを特徴とする請求項5に記載の端末装置。
- 前記ハードウェア資源の量は、データベースサーバにおいて問合せを処理するのに必要である読み込まれるデータベースのページ数を含むことを特徴とする請求項1から6のいずれかに記載の端末装置。
- 前記問合せは、動的SQL文とバインド変数の値との組み合わせであることを特徴とする請求項1から7のいずかに記載の端末装置。
- 前記問合せは、GUI画面に入力された検索条件から生成されることを特徴とする請求項1から8のいずれかに記載の端末装置。
- 検索条件を入力するグラフィカルユーザインターフェースを用いる計算機の動作方法であって、
データベースサーバの格納するデータベースに対する変数を含む問合せが入力されると、入力された前記問合せを前記データベースサーバにおいて処理するために必要なハードウェア資源の量を、変数を含む問合せと前記変数と前記変数の値とに、その変数を含む問合せを前記データベースサーバにおいて処理するのに必要となるハードウェア資源の量を関連付けるテーブルを参照し、前記入力部に入力された変数を含む問合せと前記グラフィカルユーザインターフェースへの検索条件に対応する変数と前記検索条件にマッチする問合せに関連付けられているハードウェア資源の量を取得して予測し、
予測された前記ハードウェア資源の量が許容されると判断すれば、入力された前記問合せを前記データベースサーバに送信し、予測された前記ハードウェア資源の量が許容されないと判断すれば、入力された前記問合せを前記データベースサーバに送信しないことを含む計算機の動作方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011114249A JP4906968B1 (ja) | 2011-05-22 | 2011-05-22 | データベース問合せ端末 |
US13/213,551 US20120296936A1 (en) | 2011-05-22 | 2011-08-19 | Terminal device for executing a query to a database |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011114249A JP4906968B1 (ja) | 2011-05-22 | 2011-05-22 | データベース問合せ端末 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012000989A Division JP5256355B2 (ja) | 2012-01-06 | 2012-01-06 | データベース問合せ端末 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP4906968B1 true JP4906968B1 (ja) | 2012-03-28 |
JP2012243170A JP2012243170A (ja) | 2012-12-10 |
Family
ID=46060770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011114249A Expired - Fee Related JP4906968B1 (ja) | 2011-05-22 | 2011-05-22 | データベース問合せ端末 |
Country Status (2)
Country | Link |
---|---|
US (1) | US20120296936A1 (ja) |
JP (1) | JP4906968B1 (ja) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6350071B2 (ja) * | 2014-07-25 | 2018-07-04 | 沖電気工業株式会社 | データベースクライアント装置、データベースクライアントプログラム、及びデータベースシステム |
US10664473B2 (en) | 2017-01-30 | 2020-05-26 | International Business Machines Corporation | Database optimization based on forecasting hardware statistics using data mining techniques |
US11176128B2 (en) * | 2018-05-15 | 2021-11-16 | International Business Machines Corporation | Multiple access path selection by machine learning |
US11645283B2 (en) * | 2021-04-26 | 2023-05-09 | International Business Machined Corporation | Predictive query processing |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS608969A (ja) * | 1983-06-29 | 1985-01-17 | Fujitsu Ltd | 処理時間表示方式 |
JPH04279972A (ja) * | 1991-03-07 | 1992-10-06 | Nec Corp | 条件検索制御システム |
JP2000112951A (ja) * | 1998-09-30 | 2000-04-21 | Fujitsu Ltd | デ−タ抽出システムおよびそのためのコンピュ−タ読み取り可能な記録媒体 |
JP2000222426A (ja) * | 1999-02-02 | 2000-08-11 | Nippon Steel Corp | データベースシステム及び記録媒体 |
JP2001142898A (ja) * | 1999-11-16 | 2001-05-25 | Hitachi Ltd | 問合せ処理の実行可否判定方法 |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6195653B1 (en) * | 1997-10-14 | 2001-02-27 | International Business Machines Corporation | System and method for selectively preparing customized reports of query explain data |
US7783625B2 (en) * | 1999-12-22 | 2010-08-24 | International Business Machines Corporation | Using data in materialized query tables as a source for query optimization statistics |
US7139749B2 (en) * | 2002-03-19 | 2006-11-21 | International Business Machines Corporation | Method, system, and program for performance tuning a database query |
US7107262B2 (en) * | 2003-02-20 | 2006-09-12 | International Business Machines Corporation | Incremental data query performance feedback model |
US20060004786A1 (en) * | 2004-06-07 | 2006-01-05 | Taiwan Semiconductor Manufacturing Company Ltd. | Design mechanism for semiconductor fab-wide data warehouse application |
US7877373B2 (en) * | 2006-06-30 | 2011-01-25 | Oracle International Corporation | Executing alternative plans for a SQL statement |
US7548905B2 (en) * | 2006-10-30 | 2009-06-16 | Teradata Us, Inc. | Refreshing an execution plan for a query |
US7853584B2 (en) * | 2006-12-05 | 2010-12-14 | International Business Machines Corporation | Multi-partition query governor in a computer database system |
US8135702B2 (en) * | 2008-10-27 | 2012-03-13 | Teradata Us, Inc. | Eliminating unnecessary statistics collections for query optimization |
US8930344B2 (en) * | 2011-02-04 | 2015-01-06 | Hewlett-Packard Development Company, L.P. | Systems and methods for holding a query |
-
2011
- 2011-05-22 JP JP2011114249A patent/JP4906968B1/ja not_active Expired - Fee Related
- 2011-08-19 US US13/213,551 patent/US20120296936A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS608969A (ja) * | 1983-06-29 | 1985-01-17 | Fujitsu Ltd | 処理時間表示方式 |
JPH04279972A (ja) * | 1991-03-07 | 1992-10-06 | Nec Corp | 条件検索制御システム |
JP2000112951A (ja) * | 1998-09-30 | 2000-04-21 | Fujitsu Ltd | デ−タ抽出システムおよびそのためのコンピュ−タ読み取り可能な記録媒体 |
JP2000222426A (ja) * | 1999-02-02 | 2000-08-11 | Nippon Steel Corp | データベースシステム及び記録媒体 |
JP2001142898A (ja) * | 1999-11-16 | 2001-05-25 | Hitachi Ltd | 問合せ処理の実行可否判定方法 |
Also Published As
Publication number | Publication date |
---|---|
US20120296936A1 (en) | 2012-11-22 |
JP2012243170A (ja) | 2012-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10885032B2 (en) | Query execution pipelining with shared states for query operators | |
US7908299B2 (en) | Method and apparatus for pseudo-conversion of table objects | |
US8868595B2 (en) | Enhanced control to users to populate a cache in a database system | |
US20050033779A1 (en) | Database management program, a database managing method and an apparatus therefor | |
EP2811792A1 (en) | A method for operating a mobile telecommunication device | |
US20080281782A1 (en) | Query processing client-server database system | |
US20130346453A1 (en) | System and method for end-to-end exposure of exported representations of native data types to third-party applications | |
JP2005115514A (ja) | データベース検索システム及びその検索方法並びにプログラム | |
JP2017500664A (ja) | 多ディメンション・データー構造に対する実行のためのクエリー構築 | |
US20070162362A1 (en) | Financial information analysis supporting method and system | |
JP4906968B1 (ja) | データベース問合せ端末 | |
US11934397B2 (en) | Query plan overrides | |
US6985894B2 (en) | Document management method and computer-readable storage medium storing program code for executing the same | |
US7707211B2 (en) | Information management system and method | |
JP2012064129A (ja) | 複数アプリケーションのgui統合方法 | |
US8156091B2 (en) | Method to retain an inherent and indelible item value in a relational database management system | |
US9330372B2 (en) | Generating an improved development infrastructure | |
JP5256355B2 (ja) | データベース問合せ端末 | |
US20040205059A1 (en) | Information searching method, information search system, and search server | |
US11157506B2 (en) | Multiform persistence abstraction | |
JP7068210B2 (ja) | データベース管理システム、端末装置及び方法 | |
US10198493B2 (en) | Routing replicated data based on the content of the data | |
KR20140104544A (ko) | 의미 데이터 구축을 위한 시스템 및 방법 | |
JP2019101829A (ja) | ソフトウェア部品管理システム、計算機および方法 | |
US8510274B2 (en) | Method for verifying conversion, apparatus and program of the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20111213 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120110 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150120 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4906968 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |