JP2008299672A - 計算機システム及びこれを用いたデータベース管理方法 - Google Patents
計算機システム及びこれを用いたデータベース管理方法 Download PDFInfo
- Publication number
- JP2008299672A JP2008299672A JP2007146168A JP2007146168A JP2008299672A JP 2008299672 A JP2008299672 A JP 2008299672A JP 2007146168 A JP2007146168 A JP 2007146168A JP 2007146168 A JP2007146168 A JP 2007146168A JP 2008299672 A JP2008299672 A JP 2008299672A
- Authority
- JP
- Japan
- Prior art keywords
- prefetch
- data
- information
- storage device
- prefetching
- 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.)
- Granted
Links
Images
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/2455—Query execution
- G06F16/24552—Database cache management
-
- 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/2455—Query execution
- G06F16/24553—Query execution of query operations
- G06F16/24554—Unary operations; Data partitioning operations
- G06F16/24557—Efficient disk access during query execution
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
【解決手段】DBMSが稼動するDBサーバと、DBのデータを記憶するストレージ装置に接続したプリフェッチサーバに、先読み効果の判定に必要となる情報を保持し、先読みI/Oを発行する時点で先読み効果が得られるかどうかの判定処理を実施し、その判定処理で先読み効果が得られると判定した先読みI/Oをストレージ装置に発行する。
【選択図】図6
Description
DBクライアント170は、DBサーバ100やプリフェッチサーバ130と同じく一般的な計算機であり、CPU(制御プロセッサのこと。)172、入出力装置174、メモリ176、ネットワーク190とのインタフェースであるI/F182とを有する。
Claims (10)
- データベース管理プログラムを備える計算機と、
前記データベース管理プログラムがアクセス可能なデータベースを備える、ストレージ装置と、
前記データベース管理プログラムが前記データベースにある目的データにアクセスする前に、前記ストレージ装置が当該目的データを前記データベースから先読みするためのコマンドを生成する第1の回路部と、さらに、
前記コマンドの有効性を判定し、この判定が肯定された当該コマンドを前記ストレージ装置に供給する第2の回路部と、
を備える、計算機システム。 - 前記第2の回路部は、前記データベース管理プログラムが前記目的データにアクセスする前に、前記ストレージ装置が当該目的データを先読みできるか否かを判定する、請求項1記載の計算機システム。
- 前記第2の回路部が、前記データベース管理プログラムが前記目的データにアクセスする前に、前記ストレージ装置が当該目的データを先読みできない場合、前記コマンドを前記ストレージ装置に発行しない、請求項2記載の計算機システム。
- データベース管理プログラムを備える第1の計算機と、
前記データベース管理プログラムがアクセス可能なデータベースを備え、前記第1の計算機と接続されるストレージ装置と、
前記第1の計算機及び前記ストレージ装置に接続される第2の計算機であって、前記データベースのデータを前記データベース管理プログラムよりも先読みする指示を前記ストレージ装置に発行し、このコマンドを受けた前記ストレージ装置が当該先読みしたデータを前記第1の計算機に供給するようにした、第2の計算機と、
を備え、
前記第2の計算機は、
前記データベースのデータに前記第1の計算機がアクセス際に、当該アクセスに関する情報に基づいて、前記ストレージ装置に前記データベースに格納されたデータの先読みを指示する第1の回路部と、
前記先読みを指示する際に、先読みの効果が得られるかどうかを判定し、先読みの効果が得られる場合に当該先読みの指示を前記ストレージ装置に与える第2の回路部と、を備える計算機システム。 - 前記第2の回路部は、前記先読みの対象となるデータの先読みが完了するまでの第1の所要時間と、前記データベース管理プログラムが当該先読み対象となるデータにアクセスするまでの第2所要時間と、を予測し、
前記第1の所要時間と前記第2の所要時間とを比較して、前記先読みの効果を判定する、請求項4記載の計算機システム。 - 前記第2回路部は、前記第1の所要時間が前記第2の所要時間を超える場合、前記第2の計算機は前記先読みの指示を前記ストレージ装置に与えない、請求項5記載の計算機システム。
- 前記第2回路部は、
前記データベース管理プログラムの前記データベースへのアクセス履歴に関する情報と、
前記先読み対象となったデータの現在の状態に関する情報と、
前記先読みが完了するまでの所要時間に関する情報と、を
前記データベース管理プログラムが前記先読み対象となるデータにアクセスするまでの前記第1所要時間の予測に用いる請求項5記載の計算機システム。 - 前記第2の回路部は、
前記先読み対象となったデータの状態に関する情報と、
前記先読みが完了する所要時間に関する情報と、を、
前記先読みの対象となるデータの先読みが完了するまでの前記第2所要時間の予測に用いる、請求項7記載の計算機システム。 - 前記第1の回路部は、前記先読みの対象となったデータを特定した際、 前記データベース管理プログラムがアクセスする順番とは逆順で前記先読みを指示し、
前記第2の回路部は、前記データベース管理プログラムが該当のデータにアクセスしたかどうかで前記先読み効果を判定することを特徴とする請求項4記載の計算機システム。 - データベース管理プログラムを備える計算機と、前記データベース管理プログラムがアクセス可能なデータベースを備える、ストレージ装置と、を備える計算機システムを用いたデータベース管理方法において、
前記データベース管理プログラムが前記データベースにある目的データにアクセスする前に、前記ストレージ装置が当該目的データを前記データベースから先読みするためのコマンドを生成する第1の工程と、
前記コマンドの有効性を判定し、この判定が肯定された当該コマンドを前記ストレージ装置に供給する第2の工程と、
を備える、計算機システムを用いたデータベース管理方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007146168A JP5147296B2 (ja) | 2007-05-31 | 2007-05-31 | 計算機システム、データベース管理方法及びプログラム |
US11/968,681 US7865514B2 (en) | 2007-05-31 | 2008-01-03 | Computer system and database management method using the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007146168A JP5147296B2 (ja) | 2007-05-31 | 2007-05-31 | 計算機システム、データベース管理方法及びプログラム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008299672A true JP2008299672A (ja) | 2008-12-11 |
JP5147296B2 JP5147296B2 (ja) | 2013-02-20 |
Family
ID=40089442
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007146168A Expired - Fee Related JP5147296B2 (ja) | 2007-05-31 | 2007-05-31 | 計算機システム、データベース管理方法及びプログラム |
Country Status (2)
Country | Link |
---|---|
US (1) | US7865514B2 (ja) |
JP (1) | JP5147296B2 (ja) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8533392B2 (en) * | 2009-03-04 | 2013-09-10 | Hewlett-Packard Development Company, L.P. | Cache hit management |
CN102857483B (zh) * | 2011-06-30 | 2016-06-29 | 国际商业机器公司 | 预取数据的方法、设备和装置 |
CN102521260B (zh) | 2011-11-18 | 2014-04-02 | 华为技术有限公司 | 数据预热方法及装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001331793A (ja) * | 2000-05-22 | 2001-11-30 | Fuji Xerox Co Ltd | 画像処理装置及びキャッシュメモリ |
JP2004164144A (ja) * | 2002-11-12 | 2004-06-10 | Hitachi Ltd | ディスク装置 |
JP2004310630A (ja) * | 2003-04-10 | 2004-11-04 | Mitsubishi Electric Corp | キャッシュ制御装置 |
JP2005258735A (ja) * | 2004-03-11 | 2005-09-22 | Hitachi Ltd | Db連携プリフェッチシステム |
JP2006260067A (ja) * | 2005-03-16 | 2006-09-28 | Internatl Business Mach Corp <Ibm> | 先読み装置、先読み方法、および先読みプログラム |
JP2007011523A (ja) * | 2005-06-29 | 2007-01-18 | Hitachi Ltd | データの先読み方法及び計算機システム |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5860142A (en) * | 1996-12-27 | 1999-01-12 | Compaq Computer Corporation | Method and apparatus for mapping the memory system of a computer for maximizing memory usage |
JP4162184B2 (ja) * | 2001-11-14 | 2008-10-08 | 株式会社日立製作所 | データベース管理システムの実行情報を取得する手段を有する記憶装置 |
JP4116413B2 (ja) | 2002-12-11 | 2008-07-09 | 株式会社日立製作所 | プリフェッチアプライアンスサーバ |
US7284014B2 (en) * | 2003-04-07 | 2007-10-16 | Hitachi, Ltd. | Pre-fetch computer system |
US8079031B2 (en) * | 2005-10-21 | 2011-12-13 | Intel Corporation | Method, apparatus, and a system for dynamically configuring a prefetcher based on a thread specific latency metric |
-
2007
- 2007-05-31 JP JP2007146168A patent/JP5147296B2/ja not_active Expired - Fee Related
-
2008
- 2008-01-03 US US11/968,681 patent/US7865514B2/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001331793A (ja) * | 2000-05-22 | 2001-11-30 | Fuji Xerox Co Ltd | 画像処理装置及びキャッシュメモリ |
JP2004164144A (ja) * | 2002-11-12 | 2004-06-10 | Hitachi Ltd | ディスク装置 |
JP2004310630A (ja) * | 2003-04-10 | 2004-11-04 | Mitsubishi Electric Corp | キャッシュ制御装置 |
JP2005258735A (ja) * | 2004-03-11 | 2005-09-22 | Hitachi Ltd | Db連携プリフェッチシステム |
JP2006260067A (ja) * | 2005-03-16 | 2006-09-28 | Internatl Business Mach Corp <Ibm> | 先読み装置、先読み方法、および先読みプログラム |
JP2007011523A (ja) * | 2005-06-29 | 2007-01-18 | Hitachi Ltd | データの先読み方法及び計算機システム |
Also Published As
Publication number | Publication date |
---|---|
JP5147296B2 (ja) | 2013-02-20 |
US20080301151A1 (en) | 2008-12-04 |
US7865514B2 (en) | 2011-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4116413B2 (ja) | プリフェッチアプライアンスサーバ | |
US7827167B2 (en) | Database management system and method including a query executor for generating multiple tasks | |
JP4162184B2 (ja) | データベース管理システムの実行情報を取得する手段を有する記憶装置 | |
US7958316B2 (en) | Dynamic adjustment of prefetch stream priority | |
US8370584B2 (en) | Predictive ownership control of shared memory computing system data | |
JP4288978B2 (ja) | データ先読み方法 | |
US20080120469A1 (en) | Systems and Arrangements for Cache Management | |
EP2541423B1 (en) | Replacement policy for resource container | |
JP2007034414A5 (ja) | ||
US6578065B1 (en) | Multi-threaded processing system and method for scheduling the execution of threads based on data received from a cache memory | |
US9727469B2 (en) | Performance-driven cache line memory access | |
CN103198025A (zh) | 用于近邻数据高速缓存共享的方法和系统 | |
US20080235696A1 (en) | Access control apparatus and access control method | |
US7792819B2 (en) | Priority reduction for fast partitions during query execution | |
JP4219106B2 (ja) | 動的優先順位外部トランザクション・システム | |
CN113641596B (zh) | 缓存管理方法、缓存管理装置、处理器 | |
US20090320022A1 (en) | File System Object Node Management | |
JP5697195B2 (ja) | アクセス予測に基づいてテーブルのミラーリングを制御する管理システム、プログラムおよび方法 | |
JP5147296B2 (ja) | 計算機システム、データベース管理方法及びプログラム | |
JP5261809B2 (ja) | 計算機システム及びデータベース管理システムプログラム | |
US20090157621A1 (en) | Search device, search method and search program | |
US20080189305A1 (en) | Predictive Database Pool Preparation | |
US7284014B2 (en) | Pre-fetch computer system | |
An et al. | Your read is our priority in flash storage | |
JP3793682B2 (ja) | コマンドキューイングの機能を持つ記憶装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20090225 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100122 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120306 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120507 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120703 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120822 |
|
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: 20121030 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121127 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5147296 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151207 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |