JPH06324919A - Performance evaluation method - Google Patents
Performance evaluation methodInfo
- Publication number
- JPH06324919A JPH06324919A JP5108252A JP10825293A JPH06324919A JP H06324919 A JPH06324919 A JP H06324919A JP 5108252 A JP5108252 A JP 5108252A JP 10825293 A JP10825293 A JP 10825293A JP H06324919 A JPH06324919 A JP H06324919A
- Authority
- JP
- Japan
- Prior art keywords
- database
- performance
- application program
- resource
- storage structure
- 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.)
- Pending
Links
- 238000011156 evaluation Methods 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 abstract description 7
- 239000000872 buffer Substances 0.000 description 21
- 238000010586 diagram Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【目的】 アプリケーションプログラムが効率良く動作
する条件を見い出すために、種々の条件下においてシス
テムの性能を評価する方法に関し、システムの運用を停
止することなく、格納構造及び資源の定義の種々の条件
下における性能情報の評価が可能な性能評価方法を提供
する。
【構成】 動作中のアプリケーションプログラムが発行
したテーブルアクセス命令の履歴を記憶し(ステップ
a)、疑似的に変更した格納構造又は資源の定義のデー
タを入力し(ステップb)、それらから性能パラメータ
を演算し(ステップc)、出力する(ステップd)。
(57) [Abstract] [Purpose] A method for evaluating system performance under various conditions in order to find conditions under which an application program operates efficiently. A performance evaluation method capable of evaluating performance information under various conditions defined. [Structure] A history of table access instructions issued by an operating application program is stored (step a), pseudo-changed storage structure or resource definition data is input (step b), and performance parameters are obtained from them. It is calculated (step c) and output (step d).
Description
【0001】[0001]
【産業上の利用分野】本発明は、データベース、データ
ベース管理システム及びアプリケーションプログラムか
らなるシステムにおいて、アプリケーションプログラム
が効率良く動作する条件を見い出すために、種々の条件
下においてシステムの性能を評価する方法に関する。条
件としては、データベース中に格納されるデータの格納
構造及びバッファプール、ログバッファ、テンポラリロ
グ等の資源の定義が含まれる。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of evaluating the system performance under various conditions in order to find the conditions under which an application program operates efficiently in a system consisting of a database, a database management system and an application program. . The conditions include the storage structure of data stored in the database and the definition of resources such as a buffer pool, a log buffer, and a temporary log.
【0002】[0002]
【従来の技術】データベースでは多量のデータへの迅速
なアクセスを可能とするため、ハッシングによる格納構
造、B−tree構造のインデックスが付された格納構
造等の格納構造が採用されている。いずれの手法にも一
長一短があり、アプリケーションプログラムの性質及び
データの性質に応じて最適な格納構造を採用すれば、ア
プリケーションプログラムを効率的に動作させることが
できる。2. Description of the Related Art In a database, a storage structure such as a storage structure by hashing, a storage structure with an index of a B-tree structure, or the like is adopted in order to enable quick access to a large amount of data. Each method has advantages and disadvantages, and the application program can be efficiently operated by adopting an optimum storage structure according to the nature of the application program and the nature of the data.
【0003】また、データベースは通常アクセスの遅い
ディスク等の外部記憶装置に格納されるので、メモリ上
にバッファプールを設け、これを介してデータベースに
アクセスすることにより実効的なアクセス時間を短縮し
ている。また、外部記憶装置上には障害からの復旧を可
能にするためのテンポラリログの領域が設けられてお
り、これへの書き込みのためのログバッファもまたメモ
リ上に設けられている。したがって、これらバッファプ
ール及びログバッファ、テンポラリログ等の資源の個数
及びサイズを、容量が有限のメモリ及びディスク上に最
適に定義することによっても、システムの動作が効率的
になり、ひいては、アプリケーションプログラムを効率
的に動作させることができる。Since the database is usually stored in an external storage device such as a disk which is slow to access, a buffer pool is provided on the memory and the database is accessed through the buffer pool to shorten the effective access time. There is. Further, a temporary log area for enabling recovery from a failure is provided on the external storage device, and a log buffer for writing to this is also provided on the memory. Therefore, by optimally defining the numbers and sizes of these buffer pools, log buffers, temporary logs, and other resources on a memory and a disk with a finite capacity, the operation of the system becomes efficient, and as a result, the application program Can be operated efficiently.
【0004】アプリケーションプログラム及びデータベ
ースシステムの動作が最適か否かはCPU時間、実I/
O回数、バッファの使用効率、デーモンの動作状況等の
性能情報を評価することによって判断することができ
る。最適な格納構造及び資源の定義を見い出すために、
格納構造及び資源の定義を変更しながら性能情報を評価
して、最高の性能情報を与える格納構造及び資源の定義
を決定する過程は“チューニング”と呼ばれる。Whether the operation of the application program and the database system is optimum depends on the CPU time and the actual I / O.
It can be determined by evaluating performance information such as the number of times of O, the use efficiency of the buffer, and the operating status of the daemon. To find the optimal storage structure and resource definition,
The process of evaluating the performance information while changing the storage structure and resource definition and determining the definition of the storage structure and resource that gives the best performance information is called "tuning".
【0005】従来のチューニング過程においては、実際
にアプリケーションプログラムを動作させ、格納構造及
び資源の定義を変更しながら性能情報を評価する手法が
とられていた。In the conventional tuning process, a method of actually operating an application program and evaluating the performance information while changing the storage structure and the definition of the resource has been adopted.
【0006】[0006]
【発明が解決しようとする課題】従来のチューニングに
おいては、実際の運用中にチューニングを行なうとする
と、格納構造及び資源の定義を変更する毎に運用を停止
しなければならないという問題があった。したがって本
発明の目的は、システムの運用を停止することなく、格
納構造及び資源の定義の種々の条件下における性能情報
の評価が可能な性能評価方法を提供することにある。In the conventional tuning, if tuning is performed during actual operation, there is a problem that the operation must be stopped every time the definition of the storage structure and the resource is changed. Therefore, an object of the present invention is to provide a performance evaluation method capable of evaluating performance information under various conditions of storage structure and resource definition without stopping the operation of the system.
【0007】[0007]
【課題を解決するための手段】本発明によれば、所定の
格納構造に従ってデータが格納されたデータベースと、
該データベースを管理するデータベース管理システム
と、所定の定義が与えられた資源と、該データベース管
理システムの管理下において該資源を利用して該データ
ベース内のデータにアクセスする少なくとも1つのアプ
リケーションプログラムとからなるシステムの性能を評
価するための性能評価方法であって、該アプリケーショ
ンプログラムの動作中において該アプリケーションプロ
グラムが該データにアクセスした履歴を記憶し、該格納
構造を疑似的に変更し、該記憶された履歴及び該疑似的
に変更された格納構造に基づき、疑似的に変更された格
納構造におけるシステムの性能を評価することを特徴と
する性能評価方法が提供される。According to the present invention, a database in which data is stored according to a predetermined storage structure,
A database management system for managing the database, a resource given a predetermined definition, and at least one application program for accessing the data in the database using the resource under the control of the database management system. A performance evaluation method for evaluating the performance of a system, wherein a history of access to the data by the application program during operation of the application program is stored, the storage structure is pseudo-modified, and the stored There is provided a performance evaluation method characterized by evaluating the performance of a system in a pseudo modified storage structure based on a history and the pseudo modified storage structure.
【0008】本発明によれば、所定の格納構造に従って
データが格納されたデータベースと、該データベースを
管理するデータベース管理システムと、所定の定義が与
えられた資源と、該データベース管理システムの管理下
において該資源を利用して該データベース内のデータに
アクセスする少なくとも1つのアプリケーションプログ
ラムとからなるシステムの性能を評価するための性能評
価方法であって、該アプリケーションプログラムの動作
中において該アプリケーションプログラムが該データに
アクセスした履歴を記憶し、該資源の定義を疑似的に変
更し、該記憶された履歴及び該疑似的に変更された資源
の定義に基づき、疑似的に変更された資源の定義におけ
るシステムの性能を評価することを特徴とする性能評価
方法もまた提供される。According to the present invention, a database in which data is stored according to a predetermined storage structure, a database management system for managing the database, a resource to which a predetermined definition is given, and a database under the control of the database management system. What is claimed is: 1. A performance evaluation method for evaluating the performance of a system comprising at least one application program for accessing data in the database using the resource, wherein the application program stores the data while the application program is operating. A history of access to the resource, pseudo-modify the definition of the resource, and based on the stored history and the definition of the pseudo-modified resource, A performance evaluation method characterized by evaluating performance is also provided. That.
【0009】[0009]
【作用】アプリケーションプログラムのアクセスの履歴
と疑似的に変更された格納構造又は資源の定義とから性
能が評価されるので、システムの運用を停止することな
く、種々の条件下における性能を評価することができ
る。The performance is evaluated from the access history of the application program and the definition of the pseudo-changed storage structure or resource. Therefore, it is possible to evaluate the performance under various conditions without stopping the operation of the system. You can
【0010】[0010]
【実施例】図1は本発明に係る性能評価部10が設けら
れたデータベースシステムの概念的な構成を表わすブロ
ック図である。ディスク12には、データベース14の
格納領域とともに、障害復帰のためのテンポラリログ1
6の領域が設けられる。メモリ18上にはアプリケーシ
ョンプログラム20からのデータベース14の参照・更
新の時間を短縮するためにバッファプール22の領域が
設けられる。メモリ18上にはさらにテンポラリログ1
6への書き込みのためのログバッファ24が設けられ
る。在庫管理デーモン26はCPUの空き時間を使って
バッファプール22の内容の一部をデータベース14へ
書き込んでバッファプール22に空き領域をつくる働き
をする。ログデーモン28はログバッファ24からテン
ポラリログ16への書き込みを行なう。なお、テンポラ
リログ16は障害から復帰するため、各トランザクショ
ンが終了するまでのデータベース更新命令を不揮発性メ
モリへ格納しておくためのものである。データベース管
理システム30は以上の動作の制御・管理を担当する。
なお、当業者に自明のことであるが、性能評価部10、
アプリケーションプログラム20、デーモン26,2
8、データベース管理システム30はいずれも汎用コン
ピュータ上で並列動作するソフトウェアにより実現され
る。FIG. 1 is a block diagram showing a conceptual configuration of a database system provided with a performance evaluation unit 10 according to the present invention. The disk 12 has a storage area for the database 14 and a temporary log 1 for recovery from a failure.
Six areas are provided. An area of the buffer pool 22 is provided on the memory 18 in order to shorten the time required for the application program 20 to refer to and update the database 14. A temporary log 1 is also stored on the memory 18.
A log buffer 24 is provided for writing to the data. The inventory management daemon 26 functions to write a part of the contents of the buffer pool 22 to the database 14 by using the free time of the CPU to create a free area in the buffer pool 22. The log daemon 28 writes from the log buffer 24 to the temporary log 16. Since the temporary log 16 recovers from the failure, the temporary log 16 is for storing the database update command until the end of each transaction in the non-volatile memory. The database management system 30 is in charge of controlling and managing the above operations.
It is obvious to those skilled in the art that the performance evaluation unit 10,
Application program 20, daemon 26, 2
8. The database management system 30 is realized by software that operates in parallel on a general-purpose computer.
【0011】図2は性能評価部10による性能評価の処
理のフローチャートである。最初に、動作中のアプリケ
ーションプログラム20がデータベース14中のテーブ
ルをアクセスする命令を発行した履歴を所定の時間内に
おいて収集し格納する(ステップa)、次にテーブルの
格納構造又は資源の定義の疑似変更データを入力する
(ステップb)。テーブルの格納構造には、一例として
次の様な種類があり、これらのうちからテーブル毎に1
つ選択して入力する。FIG. 2 is a flowchart of the performance evaluation processing by the performance evaluation unit 10. First, the history of issuing an instruction to access the table in the database 14 by the operating application program 20 is collected and stored within a predetermined time (step a), and then the storage structure of the table or the pseudo definition of the resource definition. Change data is input (step b). The table storage structures include the following types, for example, one for each table
Select one and enter.
【0012】イ)Heap ロ)Hash ハ)B−tree また、資源について定義可能な項目には、一例として次
の様なものがある。 イ)テンポラリログ16(図1)のサイズ ロ)ログバッファ24の個数 ハ)ログバッファ24のサイズ ニ)バッファプール22の個数 ホ)バッファプール22のサイズ 疑似変更データが入力されたら、格納されているテーブ
ルアクセス命令の履歴と疑似的に変更された条件にもと
づき、性能パラメータを計算する(ステップc)。この
場合、疑似的に変更された条件下で履歴に沿ってテーブ
ルアクセス命令を疑似的に実行させて性能パラメータを
得るか、所定の計算式を用いて性能パラメータを代数的
に演算する。得られた性能情報はディスプレイ上に出力
される(ステップd)。B) Heap b) Hash c) B-tree In addition, the items that can be defined for resources are as follows, for example. B) Size of temporary log 16 (Fig. 1) b) Number of log buffer 24 c) Size of log buffer 24 d) Number of buffer pool 22 e) Size of buffer pool 22 Pseudo-changed data is stored The performance parameter is calculated based on the history of the table access instruction present and the condition changed in a pseudo manner (step c). In this case, the table access instruction is pseudo-executed along the history under pseudo changed conditions to obtain the performance parameter, or the performance parameter is algebraically calculated using a predetermined calculation formula. The obtained performance information is output on the display (step d).
【0013】格納情報を変更した場合に出力すべき性能
パラメータ、すなわち、格納構造に関連の探い性能パラ
メータには、一例として次の様なものがある。 イ)アプリケーションプログラム20が要したCPU時
間 ロ)テーブルへのスキャン回数 ハ)バッファプール22の参照回数 ニ)ディスク12への実I/O回数 資源の定義を変更した場合に出力すべき性能パラメー
タ、すなわち、資源の定義に関連の探い性能パラメータ
には、一例として次のようなものがある。The performance parameters to be output when the stored information is changed, that is, the search performance parameters related to the storage structure are as follows. B) CPU time required by the application program b) Number of scans to the table c) Number of references to the buffer pool 22 d) Number of actual I / Os to the disk 12 Performance parameters that should be output when the resource definition is changed, That is, as an example, the search performance parameters related to the definition of resources are as follows.
【0014】イ)バッファプール22の参照回数に対す
るディスク12への実リード回数の割合 ロ)ログバッファ24の個数に対するログバッファ24
の最大使用個数 ハ)テンポラリログ16のサイズに対するテンポラリロ
グ16の最大使用量の割合 ニ)デーモンの動作状況A) Ratio of the number of actual reads to the disk 12 with respect to the number of times the buffer pool 22 is referred to b) The log buffer 24 with respect to the number of log buffers 24
C) The ratio of the maximum usage of the temporary log 16 to the size of the temporary log 16 d) Operation status of the daemon
【0015】[0015]
【発明の効果】以上述べてきたように本発明によれば、
システムの運用を停止することなく格納構造及び/又は
資源の定義を変更したときの性能の評価が可能となり、
効率的なチューニングが可能となる。As described above, according to the present invention,
It is possible to evaluate the performance when changing the storage structure and / or the resource definition without stopping the operation of the system.
Efficient tuning is possible.
【図1】本発明に係る性能評価部10を備えたデータベ
ースシステムの概念的な構成を表わすブロック図であ
る。FIG. 1 is a block diagram showing a conceptual configuration of a database system including a performance evaluation unit 10 according to the present invention.
【図2】性能評価部10の処理を表わすフローチャート
である。FIG. 2 is a flowchart showing a process of a performance evaluation unit 10.
Claims (2)
れたデータベースと、該データベースを管理するデータ
ベース管理システムと、所定の定義が与えられた資源
と、該データベース管理システムの管理下において該資
源を利用して該データベース内のデータにアクセスする
少なくとも1つのアプリケーションプログラムとからな
るシステムの性能を評価するための性能評価方法であっ
て、 該アプリケーションプログラムの動作中において該アプ
リケーションプログラムが該データにアクセスした履歴
を記憶し、 該格納構造を疑似的に変更し、 該記憶された履歴及び該疑似的に変更された格納構造に
基づき、疑似的に変更された格納構造におけるシステム
の性能を評価することを特徴とする性能評価方法。1. A database in which data is stored according to a predetermined storage structure, a database management system for managing the database, a resource to which a predetermined definition is given, and the resource is used under the control of the database management system. A performance evaluation method for evaluating the performance of a system including at least one application program for accessing data in the database, the history of access of the data by the application program during operation of the application program. And pseudo-altering the storage structure, and evaluating the performance of the system in the pseudo-altered storage structure based on the stored history and the pseudo-altered storage structure. And the performance evaluation method.
れたデータベースと、該データベースを管理するデータ
ベース管理システムと、所定の定義が与えられた資源
と、該データベース管理システムの管理下において該資
源を利用して該データベース内のデータにアクセスする
少なくとも1つのアプリケーションプログラムとからな
るシステムの性能を評価するための性能評価方法であっ
て、 該アプリケーションプログラムの動作中において該アプ
リケーションプログラムが該データにアクセスした履歴
を記憶し、 該資源の定義を疑似的に変更し、 該記憶された履歴及び該疑似的に変更された資源の定義
に基づき、疑似的に変更された資源の定義におけるシス
テムの性能を評価することを特徴とする性能評価方法。2. A database in which data is stored according to a predetermined storage structure, a database management system for managing the database, a resource to which a predetermined definition is given, and the resource is used under the control of the database management system. A performance evaluation method for evaluating the performance of a system including at least one application program for accessing data in the database, the history of access of the data by the application program during operation of the application program. And pseudo-modify the definition of the resource, and evaluate the performance of the system in the definition of the pseudo-modified resource based on the stored history and the definition of the pseudo-modified resource. A performance evaluation method characterized by the following.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5108252A JPH06324919A (en) | 1993-05-10 | 1993-05-10 | Performance evaluation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5108252A JPH06324919A (en) | 1993-05-10 | 1993-05-10 | Performance evaluation method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06324919A true JPH06324919A (en) | 1994-11-25 |
Family
ID=14479952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5108252A Pending JPH06324919A (en) | 1993-05-10 | 1993-05-10 | Performance evaluation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06324919A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002093321A2 (en) * | 2001-05-17 | 2002-11-21 | Bay Bridge Decision Technologies, Inc. | System and method for generating forecasts and analysis of contact center behavior for planning purposes |
US8930293B2 (en) | 2010-10-25 | 2015-01-06 | The Bank Of Tokyo-Mitsubishi Ufj, Ltd. | Prediction apparatus, prediction method, and recording medium |
-
1993
- 1993-05-10 JP JP5108252A patent/JPH06324919A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002093321A2 (en) * | 2001-05-17 | 2002-11-21 | Bay Bridge Decision Technologies, Inc. | System and method for generating forecasts and analysis of contact center behavior for planning purposes |
WO2002093321A3 (en) * | 2001-05-17 | 2003-08-14 | Bay Bridge Decision Technologi | System and method for generating forecasts and analysis of contact center behavior for planning purposes |
US7103562B2 (en) | 2001-05-17 | 2006-09-05 | Bay Bridge Decision Technologies, Inc. | System and method for generating forecasts and analysis of contact center behavior for planning purposes |
US8046254B2 (en) | 2001-05-17 | 2011-10-25 | Bay Bridge Decision Technologies, Inc. | System and method for generating forecasts and analysis of contact center behavior for planning purposes |
US8359222B2 (en) | 2001-05-17 | 2013-01-22 | Bay Bridge Technologies, Inc. | System and method for generating forecasts and analysis of contact center behavior for planning purposes |
US8687795B2 (en) | 2001-05-17 | 2014-04-01 | Eric D. Kosiba | System and method for generating forecasts and analysis of contact center behavior for planning purposes |
US9020142B2 (en) | 2001-05-17 | 2015-04-28 | Bay Bridge Decision Technologies, Inc. | System and method for generating forecasts and analysis of contact center behavior for planning purposes |
US8930293B2 (en) | 2010-10-25 | 2015-01-06 | The Bank Of Tokyo-Mitsubishi Ufj, Ltd. | Prediction apparatus, prediction method, and recording medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7194589B2 (en) | Reducing disk IO by full-cache write-merging | |
US10437662B2 (en) | Crash recovery using non-volatile memory | |
US6996821B1 (en) | Data processing systems and method for batching tasks of the same type in an instruction cache | |
JPH0619765A (en) | Method and system for file management in computer system | |
JP6764175B2 (en) | Database management system and database management method | |
JPH06324919A (en) | Performance evaluation method | |
JP2001331463A (en) | Data base construction method and recording medium having the program recorded thereon | |
CN108932111B (en) | Method, medium and device for optimizing data read-write performance | |
JP2843748B2 (en) | Exclusive control method | |
JPS6380349A (en) | High speed page input/output system | |
JPH0682334B2 (en) | Management processing device for management table | |
JPH01300352A (en) | Dump area instruction control method | |
JP2787107B2 (en) | Buffer control system and device | |
JPH06324920A (en) | Automatic tuning system for database system | |
CN119149538A (en) | Thermal data storage method, device, equipment and medium based on LSM hierarchical storage | |
JP2507399B2 (en) | Database equipment | |
JPH02109147A (en) | Memory dump collection system | |
JPH07152574A (en) | Program loading method | |
JPH06119188A (en) | Task management method | |
JP3098501B2 (en) | Source step execution method and apparatus | |
JPH1097562A (en) | Design support system | |
JPH04167152A (en) | Idle memory control system | |
JPH06149647A (en) | Multi-media file managing system | |
JPH054695B2 (en) | ||
JP2004288213A (en) | Data processing system and data processing method |