JP4571609B2 - リソース割当方法、リソース割当プログラム、および、管理コンピュータ - Google Patents
リソース割当方法、リソース割当プログラム、および、管理コンピュータ Download PDFInfo
- Publication number
- JP4571609B2 JP4571609B2 JP2006303057A JP2006303057A JP4571609B2 JP 4571609 B2 JP4571609 B2 JP 4571609B2 JP 2006303057 A JP2006303057 A JP 2006303057A JP 2006303057 A JP2006303057 A JP 2006303057A JP 4571609 B2 JP4571609 B2 JP 4571609B2
- Authority
- JP
- Japan
- Prior art keywords
- computer
- resource
- logical
- server
- cost
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- 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
- G06F16/24532—Query optimisation of parallel queries
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
- G06F9/5077—Logical partitioning of resources; Management or configuration of virtualized resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5083—Techniques for rebalancing the load in a distributed system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5017—Task decomposition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5022—Workload threshold
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/506—Constraint
Description
Joel L. Wolf、John Turek、 Ming-Syan Chen and Philip S. Yu著、"A Hierarchical Approach to Parallel Multiquery Scheduling"、IEEE Transactions on Parallel and Distributed Systems、 6(6):578--590、 June 1995.
・T1〜T4のスキャン:「T1,T2,T3,T4」から
・T1の条件評価:「T1.C1=’DB’」から
・T3の条件評価:「T3.C1<>’AP’」から
・T1,T2の結合:「T1.C1=T2.C1」から
・T3,T4の結合:「T3.C1=T4.C1」から
・T1,T2とT3,T4の結合:「T1,T2,T3,T4」から
SELECT T2.C1 FROM T2 ORDER BY T2.C2…(式1)
select T1.C1 from T1,T2 where T1.C1=T2.C1…(式2)
49 サーバリソース管理部
50 SQL解析部
52 サーバ仮想化部
55 リソースコスト計算部
56 SQL実行部
60 データベース格納領域
70 管理サーバ
710 サーバリソース管理テーブル
720 処理フェーズ管理テーブル
730 コストマスタテーブル
Claims (8)
- 物理的なコンピュータ上でプログラムとして実行されることにより構成される複数の論理的なコンピュータが、ストレージに格納されるデータベースに対する問い合わせ要求を実行するときに使用する前記物理的なコンピュータのリソースを割り当てる管理コンピュータによるリソース割当方法であって、
入力された問い合わせ要求を、並列に実行することができる単位である処理フェーズに分け、
前記処理フェーズのフェーズ種別ごとに、前記論理的なコンピュータの処理内容、および、その処理内容を実行するのに要するリソースコストを示すコストマスタ情報を格納する記憶手段を参照して、前記入力された問い合わせ要求の前記処理フェーズを実行するために要するリソースコストを計算し、
前記論理的なコンピュータの前記データベースへのアクセス権をもとに、各前記論理的なコンピュータに割り当てられた前記処理フェーズのリソースコストを各前記論理的なコンピュータから受信して記憶手段に格納し、
前記記憶手段に格納されたリソースコストを参照し、各前記論理的なコンピュータに割り当てられた前記処理フェーズのリソースコストを、全ての前記論理的なコンピュータに割り当てられた前記処理フェーズのリソースコストの総和で除算することで、各前記論理的なコンピュータのリソース割当率を計算し、
前記各論理的なコンピュータに割り当てられている前記物理的なコンピュータのリソースを、前記計算されたリソース割当率に応じて変更すること
を特徴とするリソース割当方法。 - 前記管理コンピュータは、前記各論理的なコンピュータに割り当てられている前記物理的なコンピュータのCPUを、前記計算されたリソース割当率に応じて変更することを特徴とする請求項1に記載のリソース割当方法。
- 前記管理コンピュータは、前記各論理的なコンピュータに割り当てられている前記物理的なコンピュータのメモリを、前記計算されたリソース割当率に応じて変更することを特徴とする請求項1に記載のリソース割当方法。
- 前記管理コンピュータは、1つの前記論理的なコンピュータが、1つの前記データベースに対して占有的にアクセスできるシェアードナッシング方式の前記データベースへのアクセス権に応じて、各前記論理的なコンピュータに前記処理フェーズを割り当てることを特徴とする請求項1ないし請求項3のいずれか1項に記載のリソース割当方法。
- 前記管理コンピュータは、1つの前記論理的なコンピュータが、全ての前記データベースに対して共用的にアクセスできるシェアードディスク方式の前記データベースへのアクセス権に応じて、各前記論理的なコンピュータに前記処理フェーズを割り当てることを特徴とする請求項1ないし請求項3のいずれか1項に記載のリソース割当方法。
- 前記管理コンピュータは、前記処理フェーズを早期に完了した前記論理的なコンピュータのリソース割当率を0に減少し、減少分のリソース割当率を他の前記論理的なコンピュータに再割当することで、前記各論理的なコンピュータに割り当てられている前記物理的なコンピュータのリソースを、前記再割当されたリソース割当率に応じて変更することを特徴とする請求項1ないし請求項5のいずれか1項に記載のリソース割当方法。
- 請求項1ないし請求項6のいずれか1項に記載のリソース割当方法を、コンピュータに実行させるためのリソース割当プログラム。
- 物理的なコンピュータ上でプログラムとして実行されることにより構成される複数の論理的なコンピュータが、ストレージに格納されるデータベースに対する問い合わせ要求を実行するときに使用する前記物理的なコンピュータのリソースを割り当てる管理コンピュータであって、
入力された問い合わせ要求を、並列に実行することができる単位である処理フェーズに分ける問い合わせ要求解析部と、
前記処理フェーズのフェーズ種別ごとに、前記論理的なコンピュータの処理内容、および、その処理内容を実行するのに要するリソースコストを示すコストマスタ情報を格納する記憶手段を参照して、前記入力された問い合わせ要求の前記処理フェーズを実行するために要するリソースコストを計算するリソースコスト計算部と、
前記論理的なコンピュータの前記データベースへのアクセス権をもとに、各前記論理的なコンピュータに割り当てられた前記処理フェーズのリソースコストを各前記論理的なコンピュータから受信して記憶手段に格納するリソースコスト集計部と、
前記記憶手段に格納されたリソースコストを参照し、各前記論理的なコンピュータに割り当てられた前記処理フェーズのリソースコストを、全ての前記論理的なコンピュータに割り当てられた前記処理フェーズのリソースコストの総和で除算することで、各前記論理的なコンピュータのリソース割当率を計算し、
前記各論理的なコンピュータに割り当てられている前記物理的なコンピュータのリソースを、前記計算されたリソース割当率に応じて変更するコンピュータリソース管理部と、
を有することを特徴とする管理コンピュータ。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006303057A JP4571609B2 (ja) | 2006-11-08 | 2006-11-08 | リソース割当方法、リソース割当プログラム、および、管理コンピュータ |
US11/847,651 US8051422B2 (en) | 2006-11-08 | 2007-08-30 | Resource assignment method for query partioning based on processing cost of each partition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006303057A JP4571609B2 (ja) | 2006-11-08 | 2006-11-08 | リソース割当方法、リソース割当プログラム、および、管理コンピュータ |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008123040A JP2008123040A (ja) | 2008-05-29 |
JP4571609B2 true JP4571609B2 (ja) | 2010-10-27 |
Family
ID=39361139
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006303057A Expired - Fee Related JP4571609B2 (ja) | 2006-11-08 | 2006-11-08 | リソース割当方法、リソース割当プログラム、および、管理コンピュータ |
Country Status (2)
Country | Link |
---|---|
US (1) | US8051422B2 (ja) |
JP (1) | JP4571609B2 (ja) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9772798B2 (en) * | 2008-09-19 | 2017-09-26 | Oracle International Corporation | Method and system for implementing workload management by monitoring disk utilizations |
US8407238B2 (en) * | 2009-10-28 | 2013-03-26 | Yahoo! Inc. | System and methods for enabling arbitrary developer code consumption of web-based data |
US8700752B2 (en) * | 2009-11-03 | 2014-04-15 | International Business Machines Corporation | Optimized efficient LPAR capacity consolidation |
KR101608495B1 (ko) * | 2009-12-11 | 2016-04-01 | 삼성전자주식회사 | 데이터 스트림 처리 장치 및 방법 |
JP5800720B2 (ja) * | 2012-01-24 | 2015-10-28 | 三菱電機株式会社 | 情報処理装置及び情報処理方法及びプログラム |
US9213735B1 (en) * | 2012-01-25 | 2015-12-15 | Google Inc. | Flow control in very large query result sets using a release message to confirm that a client computer is ready to receive the data associated with a data collection operation |
JP5904082B2 (ja) * | 2012-10-05 | 2016-04-13 | 富士ゼロックス株式会社 | 関連検索システム、検索窓口装置、データベース及びプログラム |
US9239727B1 (en) * | 2012-10-17 | 2016-01-19 | Amazon Technologies, Inc. | Configurable virtual machines |
US9836330B2 (en) | 2013-07-16 | 2017-12-05 | Hitachi, Ltd. | Virtual resource management tool for cloud computing service |
US10019478B2 (en) * | 2013-09-05 | 2018-07-10 | Futurewei Technologies, Inc. | Mechanism for optimizing parallel execution of queries on symmetric resources |
US20150081400A1 (en) * | 2013-09-19 | 2015-03-19 | Infosys Limited | Watching ARM |
US9875279B2 (en) * | 2013-12-17 | 2018-01-23 | Huawei Technologies Co., Ltd. | Data scanning method and apparatus |
US9665633B2 (en) * | 2014-02-19 | 2017-05-30 | Snowflake Computing, Inc. | Data management systems and methods |
US9430663B2 (en) | 2014-06-11 | 2016-08-30 | Live Nation Entertainment, Inc. | Dynamic filtering and precision alteration of query responses responsive to request load |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS642145A (en) * | 1987-06-25 | 1989-01-06 | Fujitsu Ltd | Resource control system for virtual computer system |
JPH1139340A (ja) * | 1997-07-24 | 1999-02-12 | N T T Data:Kk | データベース検索システム、マルチプロセッサシステム及びデータベース検索方法 |
JP2001331463A (ja) * | 2000-05-23 | 2001-11-30 | Nec Corp | データベース構築方法及びそのプログラムを記録した記録媒体 |
JP2003157177A (ja) * | 2001-11-22 | 2003-05-30 | Hitachi Ltd | 仮想計算機システム及びプログラム |
WO2004063928A1 (ja) * | 2003-01-14 | 2004-07-29 | Accelia, Inc. | データベース負荷軽減システムおよび負荷軽減プログラム |
JP2005196602A (ja) * | 2004-01-09 | 2005-07-21 | Hitachi Ltd | 無共有型データベース管理システムにおけるシステム構成変更方法 |
JP2005309644A (ja) * | 2004-04-20 | 2005-11-04 | Hitachi Ltd | リソース制御方法及びそのシステム |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6009265A (en) * | 1994-02-25 | 1999-12-28 | International Business Machines Corporation | Program product for optimizing parallel processing of database queries |
US6507834B1 (en) * | 1999-12-22 | 2003-01-14 | Ncr Corporation | Method and apparatus for parallel execution of SQL from stored procedures |
JP2002202959A (ja) * | 2000-12-28 | 2002-07-19 | Hitachi Ltd | 動的な資源分配をする仮想計算機システム |
US7277897B2 (en) * | 2003-08-01 | 2007-10-02 | Oracle International Corporation | Dynamic reassignment of data ownership |
US20050081210A1 (en) * | 2003-09-25 | 2005-04-14 | International Business Machines Corporation | Dynamic adjustment of system resource allocation during query execution in a database management system |
US7574424B2 (en) * | 2004-10-13 | 2009-08-11 | Sybase, Inc. | Database system with methodology for parallel schedule generation in a query optimizer |
US7383247B2 (en) * | 2005-08-29 | 2008-06-03 | International Business Machines Corporation | Query routing of federated information systems for fast response time, load balance, availability, and reliability |
-
2006
- 2006-11-08 JP JP2006303057A patent/JP4571609B2/ja not_active Expired - Fee Related
-
2007
- 2007-08-30 US US11/847,651 patent/US8051422B2/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS642145A (en) * | 1987-06-25 | 1989-01-06 | Fujitsu Ltd | Resource control system for virtual computer system |
JPH1139340A (ja) * | 1997-07-24 | 1999-02-12 | N T T Data:Kk | データベース検索システム、マルチプロセッサシステム及びデータベース検索方法 |
JP2001331463A (ja) * | 2000-05-23 | 2001-11-30 | Nec Corp | データベース構築方法及びそのプログラムを記録した記録媒体 |
JP2003157177A (ja) * | 2001-11-22 | 2003-05-30 | Hitachi Ltd | 仮想計算機システム及びプログラム |
WO2004063928A1 (ja) * | 2003-01-14 | 2004-07-29 | Accelia, Inc. | データベース負荷軽減システムおよび負荷軽減プログラム |
JP2005196602A (ja) * | 2004-01-09 | 2005-07-21 | Hitachi Ltd | 無共有型データベース管理システムにおけるシステム構成変更方法 |
JP2005309644A (ja) * | 2004-04-20 | 2005-11-04 | Hitachi Ltd | リソース制御方法及びそのシステム |
Also Published As
Publication number | Publication date |
---|---|
JP2008123040A (ja) | 2008-05-29 |
US8051422B2 (en) | 2011-11-01 |
US20080109813A1 (en) | 2008-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4571609B2 (ja) | リソース割当方法、リソース割当プログラム、および、管理コンピュータ | |
US6505187B1 (en) | Computing multiple order-based functions in a parallel processing database system | |
US20190205291A1 (en) | Scalable index build techniques for column stores | |
JP5011006B2 (ja) | リソース割当方法、リソース割当プログラム、および、リソース割当装置 | |
US8799267B2 (en) | Optimizing storage allocation | |
JPH06214843A (ja) | データベース管理システムおよび問合せの処理方法 | |
CN111581234B (zh) | Rac多节点数据库查询方法、装置及系统 | |
US10810174B2 (en) | Database management system, database server, and database management method | |
US20070174248A1 (en) | Method and system for data processing with load balance | |
US6564221B1 (en) | Random sampling of rows in a parallel processing database system | |
US20210149903A1 (en) | Successive database record filtering on disparate database types | |
JP6823626B2 (ja) | データベース管理システム及び方法 | |
US9298769B1 (en) | Method and apparatus to facilitate discrete-device accelertaion of queries on structured data | |
JP2009037369A (ja) | データベースサーバへのリソース割当て方法 | |
WO2016092604A1 (ja) | データ処理システムおよびデータアクセス方法 | |
US20100017429A1 (en) | Method and apparatus of distributing data in partioned databases operating on a shared-nothing architecture | |
JP5043166B2 (ja) | 計算機システム、データ検索方法及びデータベース管理計算機 | |
JPH06309284A (ja) | 問合せ処理負荷分散方法 | |
US20140379691A1 (en) | Database query processing with reduce function configuration | |
JPH0991257A (ja) | Cpu管理方式 | |
JP4422697B2 (ja) | データベース管理システムおよび問合せの処理方法 | |
JP3538322B2 (ja) | データベース管理システムおよび問合せの処理方法 | |
US11868352B2 (en) | Systems and methods for spilling data for hash joins | |
JP3668243B2 (ja) | データベース管理システム | |
US20240086386A1 (en) | Multihost database host removal shortcut |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090107 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100629 |
|
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: 20100810 |
|
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: 20100812 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130820 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |