JP5718256B2 - System performance analysis apparatus, system performance analysis method, and system performance analysis program - Google Patents

System performance analysis apparatus, system performance analysis method, and system performance analysis program Download PDF

Info

Publication number
JP5718256B2
JP5718256B2 JP2012000245A JP2012000245A JP5718256B2 JP 5718256 B2 JP5718256 B2 JP 5718256B2 JP 2012000245 A JP2012000245 A JP 2012000245A JP 2012000245 A JP2012000245 A JP 2012000245A JP 5718256 B2 JP5718256 B2 JP 5718256B2
Authority
JP
Japan
Prior art keywords
transaction
session
function
performance analysis
log
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.)
Active
Application number
JP2012000245A
Other languages
Japanese (ja)
Other versions
JP2013140488A (en
Inventor
靖之 斎藤
靖之 斎藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2012000245A priority Critical patent/JP5718256B2/en
Publication of JP2013140488A publication Critical patent/JP2013140488A/en
Application granted granted Critical
Publication of JP5718256B2 publication Critical patent/JP5718256B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、システム性能解析装置、システム性能解析方法、およびシステム性能解析プログラムに関するものであり、具体的には、複数トランザクションを含むセッション毎の、システムにおける機能に関する効率的な性能解析を可能とする技術に関する。   The present invention relates to a system performance analysis apparatus, a system performance analysis method, and a system performance analysis program. Specifically, it enables efficient performance analysis of functions in a system for each session including a plurality of transactions. Regarding technology.

システムを構成するコンピュータ間で電文授受を伴って提供されるサービスに関し、そのサービス提供時におけるシステムの性能解析を実行し、所定の性能要件を満たしているか調査することが必ず行われる。こうした性能解析の従来技術としては、例えば、トランザクションモデルを事前に作成することなく、システム内のサーバの稼働状況を簡易的に分析することを目的とし、コンピュータ装置間(すなわちハードウェアのレイヤ)で受け渡しがあったメッセージデータ群を使用してシステム性能の分析を行うシステム分析プログラム(特許文献1参照)などが提案されている。   With respect to services provided by sending and receiving messages between computers constituting the system, it is always necessary to perform a performance analysis of the system at the time of providing the service and investigate whether or not a predetermined performance requirement is satisfied. As a prior art of such performance analysis, for example, the purpose is to easily analyze the operating status of servers in a system without creating a transaction model in advance, and between computer devices (ie, hardware layers). A system analysis program (see Patent Document 1) that analyzes system performance using a message data group that has been transferred has been proposed.

特開2010−44742号公報JP 2010-44742 A

上述の性能解析を行うにあたっては、システムから出力されるログ情報、すなわちシステムログを利用することになる。このシステムログからは、トランザクション(1画面遷移:以下トランザクション)単位でターンアラウンドタイム、トランザクションの内部保留時間の各値を得ることができる。一方、機能(例:所定の業務処理に対応したサービスを提供するもの)の観点で性能解析を行うためには、上述のシステムログのデータに加え、各業務処理の監視プログラム等が出力する機能ログのデータも合わせて解析する必要があるが、システムログと機能ログを互いに組み合わせて自動的に性能解析を行う技術は提案されていない。   In performing the performance analysis described above, log information output from the system, that is, the system log is used. From this system log, it is possible to obtain values of turnaround time and transaction internal hold time for each transaction (transition of one screen: hereinafter referred to as transaction). On the other hand, in order to perform performance analysis in terms of functions (for example, those that provide services corresponding to predetermined business processes), in addition to the system log data described above, functions that are output by monitoring programs for each business process Although it is necessary to analyze log data as well, no technology has been proposed for automatically performing performance analysis by combining system logs and function logs.

また、同じ機能であってもセッション毎に画面遷移(複数のトランザクション)のパターンは複数存在するため、例えば各セッションでの画面遷移のパターンを特定し、パターン別に性能解析を行う必要がある。しかしながら、そうした画面遷移のパターンは多岐にわたるものであり、様々な機能に関して生じうる全てのパターンを事前に定義しておいて性能解析に備えることは現実的に難しく、性能解析の処理時間や手間を増大させる原因となっていた。   Further, since there are a plurality of screen transition patterns (multiple transactions) for each session even with the same function, it is necessary to identify the screen transition pattern in each session and perform performance analysis for each pattern, for example. However, such screen transition patterns are diverse, and it is practically difficult to prepare for performance analysis by predefining all patterns that can occur for various functions. It was the cause of the increase.

そこで本発明の目的は、複数トランザクションを含むセッション毎の、システムにおける機能に関する効率的な性能解析を可能とする技術を提供することにある。   Accordingly, an object of the present invention is to provide a technique that enables efficient performance analysis regarding functions in a system for each session including a plurality of transactions.

上記課題を解決する本発明のシステム性能解析装置は、複数のトランザクションを含むセッション毎に、システムにおける機能に関する性能解析を実行する情報処理装置であって、データを格納するための記憶部と、解析対象のシステムより機能ログを読み出し、該機能ログから、各トランザクションが果たしている機能および所属するセッションの各識別情報を取得して記憶部のデータベースに格納する処理と、解析対象のシステムよりシステムログを読み出し、該システムログと前記データベースとの間で、トランザクションの識別情報が互いに一致するレコードをそれぞれ特定し、該特定したシステムログのレコードに、該特定した前記データベースのレコードが含む機能およびセッションの各識別情報を付加してファイルを生成し、記憶部に格納する処理と、記憶部よりセッションおよび機能の識別情報が共通するファイルを複数読み出し、該ファイルらが含むシステムログのデータに基づいて該当機能の各セッションごとの性能解析を行う処理とを実行する演算部と、を備えることを特徴とする。   A system performance analysis apparatus of the present invention that solves the above problems is an information processing apparatus that performs performance analysis on functions in the system for each session including a plurality of transactions, and includes a storage unit for storing data, and an analysis The function log is read from the target system, and the function that each transaction performs and the identification information of the session to which it belongs are acquired and stored in the database of the storage unit, and the system log is read from the analysis target system. Read, identify records whose transaction identification information matches each other between the system log and the database, and record each function and session included in the identified system log record in the identified system log record Generate a file with identification information, A process of storing in the storage unit, a process of reading a plurality of files having common session and function identification information from the storage unit, and performing a performance analysis for each session of the corresponding function based on the system log data included in the files And an arithmetic unit that executes the following.

また、本発明のシステム性能解析方法は、複数のトランザクションを含むセッション毎に、システムにおける機能に関する性能解析を実行する情報処理装置が、解析対象のシステムより機能ログを読み出し、該機能ログから、各トランザクションが果たしている機能および所属するセッションの各識別情報を取得して記憶部のデータベースに格納する処理と、解析対象のシステムよりシステムログを読み出し、該システムログと前記データベースとの間で、トランザクションの識別情報が互いに一致するレコードをそれぞれ特定し、該特定したシステムログのレコードに、該特定した前記データベースのレコードが含む機能およびセッションの各識別情報を付加してファイルを生成し、記憶部に格納する処理と、記憶部よりセッションおよび機能の識別情報が共通するファイルを複数読み出し、該ファイルらが含むシステムログのデータに基づいて該当機能の各セッションごとの性能解析を行う処理と、を実行することを特徴とする。   Further, in the system performance analysis method of the present invention, an information processing apparatus that performs a performance analysis related to a function in a system for each session including a plurality of transactions reads a function log from the analysis target system, The process of acquiring the identification information of the function fulfilled by the transaction and the session to which it belongs and storing it in the database of the storage unit, reading the system log from the system to be analyzed, and the transaction log between the system log and the database Identify each record whose identification information matches each other, add the function and session identification information included in the identified database record to the identified system log record, generate a file, and store it in the storage unit Process, and session and storage from the storage unit Reading a plurality of files identification information of ability is common, and executes a a process for performance analysis for each session of the corresponding function on the basis of the data in the system log to which the file et contains.

また、本発明のシステム性能解析プログラムは、複数のトランザクションを含むセッション毎に、システムにおける機能に関する性能解析を実行する情報処理装置に、解析対象のシステムより機能ログを読み出し、該機能ログから、各トランザクションが果たしている機能および所属するセッションの各識別情報を取得して記憶部のデータベースに格納する処理と、解析対象のシステムよりシステムログを読み出し、該システムログと前記データベースとの間で、トランザクションの識別情報が互いに一致するレコードをそれぞれ特定し、該特定したシステムログのレコードに、該特定した前記データベースのレコードが含む機能およびセッションの各識別情報を付加してファイルを生成し、記憶部に格納する処理と、記憶部よりセッションおよび機能の識別情報が共通するファイルを複数読み出し、該ファイルらが含むシステムログのデータに基づいて該当機能の各セッションごとの性能解析を行う処理と、を実行させることを特徴とする。   Further, the system performance analysis program of the present invention reads the function log from the analysis target system to the information processing apparatus that executes the performance analysis related to the function in the system for each session including a plurality of transactions, The process of acquiring the identification information of the function fulfilled by the transaction and the session to which it belongs and storing it in the database of the storage unit, reading the system log from the system to be analyzed, and the transaction log between the system log and the database Identify each record whose identification information matches each other, add the function and session identification information included in the identified database record to the identified system log record, generate a file, and store it in the storage unit Process and session from memory Reading a plurality of files identification information of the spare features common, characterized in that to execute a process of performing performance analysis for each session of the corresponding function on the basis of the data in the system log to which the file et contains.

本発明によれば、複数トランザクションを含むセッション毎の、システムにおける機能に関する効率的な性能解析が可能となる。   According to the present invention, efficient performance analysis regarding functions in the system can be performed for each session including a plurality of transactions.

本実施形態のシステム性能解析装置の構成図である。It is a block diagram of the system performance analysis apparatus of this embodiment. 本実施形態におけるシステム性能解析方法のメインフローを示す図である。It is a figure which shows the main flow of the system performance analysis method in this embodiment. 本実施形態におけるシステム性能解析方法の処理手順例1を示す図である。It is a figure which shows process sequence example 1 of the system performance analysis method in this embodiment. 本実施形態におけるシステム性能解析方法の処理手順例2を示す図である。It is a figure which shows the process procedure example 2 of the system performance analysis method in this embodiment. 本実施形態におけるシステム性能解析方法の処理手順例3を示す図である。It is a figure which shows the process sequence example 3 of the system performance analysis method in this embodiment. 本実施形態における機能ログの構成例を示す図である。It is a figure which shows the structural example of the function log in this embodiment. 本実施形態におけるトランザクション管理DBの構成例を示す図である。It is a figure which shows the structural example of transaction management DB in this embodiment. 本実施形態におけるシステムログの構成例を示す図である。It is a figure which shows the structural example of the system log in this embodiment. 本実施形態におけるトランザクション分類ファイルの例を示す図である。It is a figure which shows the example of the transaction classification file in this embodiment. 本実施形態におけるトランザクション分類のイメージを示す図である。It is a figure which shows the image of the transaction classification | category in this embodiment. 本実施形態におけるパターン管理DBの構成例を示す図である。It is a figure which shows the structural example of pattern management DB in this embodiment. 本実施形態における解析結果ファイルの出力例を示す図である。It is a figure which shows the example of an output of the analysis result file in this embodiment.

−−−装置の構成例−−−
以下に本発明の実施形態について図面を用いて詳細に説明する。図1は、本実施形態のシステム性能解析装置10の構成図である。図1に示すシステム性能解析装置10(以下、装置10)は、複数トランザクションを含むセッション毎の、システムにおける機能に関する効率的な性能解析を可能とするコンピュータシステムである。
--- Example of device configuration ---
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration diagram of a system performance analysis apparatus 10 according to the present embodiment. A system performance analysis apparatus 10 (hereinafter, apparatus 10) shown in FIG. 1 is a computer system that enables efficient performance analysis regarding functions in the system for each session including a plurality of transactions.

本実施形態では、装置10が性能解析の対象とするシステムは、装置10自身が含まれるコンピュータシステムであるとして説明を行うが、勿論、ネットワークを介してデータ通信可能に接続される他のコンピュータシステムを性能解析の対象としてもよい。また、装置10が解析対象システムの記憶部、すなわち装置10の記憶部11より読み出すシステムログ、機能ログは、それぞれのログを記録するため、所定のプログラムやハードウェアで生じるイベントを監視するログプログラムが発生イベントの情報をログとして記憶部11に記録したものとなる。また、こうして記憶部11に記録されるシステムログ、機能ログは、対応するトランザクションの識別情報をそれぞれ有している。   In the present embodiment, the system that is the target of performance analysis of the device 10 will be described as a computer system that includes the device 10 itself, but of course, other computer systems that are connected to be able to perform data communication via a network. May be subject to performance analysis. In addition, the system log and the function log that the device 10 reads from the storage unit of the analysis target system, that is, the storage unit 11 of the device 10 is a log program for monitoring events generated in a predetermined program or hardware in order to record each log. Is recorded in the storage unit 11 as information on the occurrence event. In addition, the system log and the function log recorded in the storage unit 11 in this way have corresponding transaction identification information.

また、前記装置10のハードウェア構成は以下の如くとなる。前記装置10は、ハードディスクドライブなど適宜な不揮発性記憶装置で構成される記憶部11、RAMなど揮発性記憶装置で構成されるメモリ13、前記記憶部11に保持されるプログラム12をメモリ13に読み出すなどして実行し装置自体の統括制御を行なうとともに各種判定、演算及び制御処理を行なうCPUなどの演算部14、ユーザからのキー入力や音声入力を受け付ける入力部15、処理データの表示を行うディスプレイ等の出力部16、ネットワークと接続し他装置(例:解析対象となる他のコンピュータシステム)との通信処理を担う通信部17、を備える。   The hardware configuration of the apparatus 10 is as follows. The device 10 reads out a storage unit 11 composed of an appropriate non-volatile storage device such as a hard disk drive, a memory 13 composed of a volatile storage device such as a RAM, and a program 12 held in the storage unit 11 into the memory 13. The control unit 14 such as a CPU for performing overall control of the apparatus itself and performing various determinations, calculations and control processing, the input unit 15 for receiving key input and voice input from the user, and a display for displaying processing data And an output unit 16 and the like, and a communication unit 17 connected to a network and responsible for communication processing with other devices (for example, other computer systems to be analyzed).

なお、記憶部11には、プログラム12の他、定義ファイル1(104)、機能ログ105、トランザクション管理データベース106、定義ファイル2(107)、システムログ108、トランザクション分類ファイル109、パターン管理データベース110、および解析結果ファイル111が格納されている。これらの詳細については後述する。   In addition to the program 12, the storage unit 11 includes a definition file 1 (104), a function log 105, a transaction management database 106, a definition file 2 (107), a system log 108, a transaction classification file 109, a pattern management database 110, In addition, an analysis result file 111 is stored. Details of these will be described later.

続いて、本実施形態のシステム性能解析装置10が備える機能について説明する。上述したように、以下に説明する機能は、例えば装置10が備えるプログラム12を実行することで実装される機能と言える。なお、ここで示す「機能」は、解析対象のシステムにおけるトランザクションで実現される機能とは異なる。   Subsequently, functions provided in the system performance analysis apparatus 10 of the present embodiment will be described. As described above, the functions described below can be said to be functions implemented by executing the program 12 included in the apparatus 10, for example. The “function” shown here is different from the function realized by the transaction in the system to be analyzed.

この場合、装置10は、解析対象のシステムより機能ログ105を読み出し、該機能ログ105から、各トランザクションが果たしている機能および所属するセッションの各識別情報を取得して記憶部11のトランザクション管理データベース106に格納する機能を有している。   In this case, the apparatus 10 reads the function log 105 from the system to be analyzed, acquires the function played by each transaction and the identification information of the session to which it belongs from the function log 105, and acquires the transaction management database 106 in the storage unit 11. It has a function to store.

また、装置10は、解析対象のシステムよりシステムログ108を読み出し、該システムログ108とトランザクション管理データベース106との間で、トランザクションの識別情報が互いに一致するレコードをそれぞれ特定し、該特定したシステムログ108のレコードに、該特定したトランザクション管理データベース106のレコードが含む機能およびセッションの各識別情報を付加してトランザクション分類ファイル109を生成し、記憶部11に格納する機能を有している。   In addition, the apparatus 10 reads the system log 108 from the system to be analyzed, identifies records whose transaction identification information matches each other between the system log 108 and the transaction management database 106, and identifies the identified system log. The transaction classification file 109 is generated by adding the identification information of the function and the session included in the record 108 of the identified transaction management database 106 to the record 108 and storing it in the storage unit 11.

また、前記装置10は、記憶部11よりセッションおよび機能の識別情報が共通するトランザクション分類ファイル109を複数読み出し、該トランザクション分類ファイル109らが含むシステムログ108のデータに基づいて該当機能の各セッションごとの性能解析を行う機能を有している。   Further, the device 10 reads a plurality of transaction classification files 109 having common session and function identification information from the storage unit 11, and for each session of the corresponding function based on the data of the system log 108 included in the transaction classification files 109 and the like. It has a function to perform performance analysis.

なお、装置10は、性能解析の処理を行うにあたり、前記読み出した複数のトランザクション分類ファイル109より、該トランザクション分類ファイル109らが含むシステムログ108におけるメッセージIDを読み取り、少なくともセッションの開始および終端を示す各メッセージIDによって該当セッションにおける開始から終端に至る各トランザクションを特定することでトランザクションの遷移パターンを特定し、該特定したパターンごとに性能解析を実行するとすれば好適である。   In performing the performance analysis process, the device 10 reads the message IDs in the system log 108 included in the transaction classification files 109 from the read transaction classification files 109, and indicates at least the start and end of the session. It is preferable that the transaction transition pattern is specified by specifying each transaction from the start to the end in the corresponding session by each message ID, and the performance analysis is executed for each specified pattern.

なお、装置10は、解析対象のシステムより機能ログ105を読み出し、該機能ログ105から、各トランザクションが果たしている機能、所属するセッション、および処理時に出力する画面の各識別情報を取得して記憶部11のトランザクション管理データベース106に格納するとしてもよい。   The apparatus 10 reads the function log 105 from the system to be analyzed, acquires from the function log 105 the function performed by each transaction, the session to which the transaction belongs, and each identification information of the screen output at the time of processing. 11 transaction management database 106.

この場合、装置10は、解析対象のシステムよりシステムログ108を読み出し、該システムログ108とトランザクション管理データベース106との間で、トランザクションの識別情報が互いに一致するレコードをそれぞれ特定し、該特定したシステムログ108のレコードに、該特定したトランザクション管理データベース106のレコードが含む機能、セッション、および画面の各識別情報を付加してトランザクション分類ファイル109を生成し、記憶部11に格納する。   In this case, the apparatus 10 reads the system log 108 from the system to be analyzed, identifies records whose transaction identification information matches each other between the system log 108 and the transaction management database 106, and identifies the identified system. The transaction classification file 109 is generated by adding the identification information of the function, session, and screen included in the record of the identified transaction management database 106 to the record of the log 108 and stored in the storage unit 11.

また、装置10は、性能解析の処理を行うにあたり、前記読み出した複数のトランザクション分類ファイル109より、該トランザクション分類ファイル109らが含むシステムログ108におけるメッセージIDを読み取り、少なくともセッションの開始および終端を示す各メッセージIDによって該当セッションにおける開始から終端に至る各トランザクションを特定することでトランザクションの遷移パターンを特定し、該特定した遷移パターンを構成するトランザクションの画面毎に、該当トランザクション分類ファイル109の含むシステムログ108のデータからレスポンスタイムを特定し、このレスポンスタイムを該当遷移パターンで集計した総レスポンスタイムを算定し、レスポンスタイムないし総レスポンスタイムのデータを含む解析結果を、解析結果ファイル111として該当遷移パターンに対応付けて記憶部11に格納するものとする。   Further, when performing the performance analysis process, the apparatus 10 reads the message IDs in the system log 108 included in the transaction classification files 109 from the plurality of read transaction classification files 109, and indicates at least the start and end of the session. By identifying each transaction from the start to the end in the corresponding session by each message ID, the transition pattern of the transaction is specified, and the system log included in the corresponding transaction classification file 109 for each transaction screen constituting the specified transition pattern The response time is identified from the 108 data, and the total response time is calculated by summing up the response time with the corresponding transition pattern. The analysis results including, in association with the appropriate transition pattern shall be stored in the storage unit 11 as the analysis result file 111.

ここで、装置10は、上記で特定したトランザクションの遷移パターンに関して、該遷移パターンを構成する各トランザクションの画面の識別情報らをつなげて文字列を生成し、該文字列をハッシュ関数に適用するなど所定規則に沿った短縮化を実行してキーを生成し、このキーを記憶部11のパターン管理データベース110に格納する機能を有しているとすれば好適である。   Here, with respect to the transition pattern of the transaction specified above, the device 10 generates a character string by connecting the identification information of the screens of each transaction constituting the transition pattern, and applies the character string to the hash function. It is preferable to have a function of generating a key by executing shortening according to a predetermined rule and storing the key in the pattern management database 110 of the storage unit 11.

この時、装置10は、性能解析の処理を行うにあたり、前記特定した遷移パターンに関して生成した前記キーを記憶部11のパターン管理データベース110に照合し、該当キーと一致するキーが記憶部11のパターン管理データベース110にて検索できた場合、該当キーに対応付けて、当該性能解析の処理により得られた今回の解析結果(を含む解析結果ファイル111)を記憶部11に格納し、該当キーと一致するキーが記憶部11のパターン管理データベース110にて検索できなかった場合、該当キーを記憶部11のパターン管理データベース110に格納し、該当キーに対応付けて、当該性能解析の処理により得られた今回の解析結果(を含む解析結果ファイル111)を記憶部11に格納する、とすれば好適である。   At this time, when performing the performance analysis process, the apparatus 10 collates the generated key with respect to the specified transition pattern against the pattern management database 110 of the storage unit 11, and the key that matches the corresponding key is the pattern of the storage unit 11. If the management database 110 can search, the current analysis result (including the analysis result file 111) obtained by the performance analysis process is stored in the storage unit 11 in association with the corresponding key, and matches the corresponding key. If the key to be searched cannot be searched in the pattern management database 110 of the storage unit 11, the corresponding key is stored in the pattern management database 110 of the storage unit 11, and is obtained by the performance analysis process in association with the corresponding key. The present analysis result (including the analysis result file 111) is preferably stored in the storage unit 11.

−−−メインフロー−−−
以下、本実施形態におけるシステム性能解析方法の実際手順について図に基づき説明する。以下で説明するシステム性能解析方法に対応する各種動作は、前記装置10がメモリ13に読み出して実行するプログラム12によって実現される。そして、このプログラム12は、以下に説明される各種の動作を行うためのコードから構成されている。
---- Main flow ---
Hereinafter, the actual procedure of the system performance analysis method in the present embodiment will be described with reference to the drawings. Various operations corresponding to the system performance analysis method described below are realized by a program 12 that the apparatus 10 reads into the memory 13 and executes. And this program 12 is comprised from the code | cord | chord for performing various operation | movement demonstrated below.

図2は、本実施形態におけるシステム性能解析方法のメインフロー例を示す図である。ここではまず、システム性能解析方法の大きな流れについて概説しておく。この場合、装置10は、記憶部11の機能ログ105から、各トランザクションごとの機能名(あるいはID)、セッション名、そして画面名(あるいはID)を取得し、トランザクション管理データベース106に格納する(ステップ101)。   FIG. 2 is a diagram illustrating a main flow example of the system performance analysis method according to the present embodiment. First, an overview of the major flow of system performance analysis methods will be given. In this case, the apparatus 10 acquires the function name (or ID), session name, and screen name (or ID) for each transaction from the function log 105 of the storage unit 11, and stores them in the transaction management database 106 (step 101).

機能ログ105の形式は、定義ファイル1(104)で予め定めておいたものに沿ったものとなっており、装置10は定義ファイル1(104)を参照すれば、機能ログ105より所望の項目、すなわち上記した機能名、セッション名、画面名に関するデータを特定して抽出することができる。形式別に定義ファイル1(104)を用意しておくか、形式を跨った共通の定義ファイル1(104)を用意しておけば、様々な形式の機能ログ105に対応して処理を実行可能となる。   The format of the function log 105 is in accordance with that previously defined in the definition file 1 (104), and the device 10 refers to the definition file 1 (104), and the desired item from the function log 105 is obtained. That is, it is possible to specify and extract data related to the function name, session name, and screen name. If the definition file 1 (104) is prepared for each format, or if a common definition file 1 (104) across formats is prepared, processing can be executed corresponding to the function log 105 of various formats. Become.

続いて装置10は、前記ステップ101で機能ログ105に由来するデータを格納したトランザクション管理データベース106と、記憶部11のシステムログ108との間で、トランザクションの識別情報が互いに一致するレコードをそれぞれ特定し、該特定したシステムログ108のレコードに、該特定したトランザクション管理データベース106のレコードが含む機能、セッション、画面の各識別情報を含む機能情報(機能名、セッション名、そして画面名)を付加してトランザクション分類ファイル109を生成し、記憶部11に格納する(ステップ102)。ここで、機能ログ105とシステムログ108の各レコードのうち同じトランザクションに関するものであれば、機能ログ105とシステムログ108の各レコード間で同一のトランザクションIDが付与されているものとする。   Subsequently, the apparatus 10 specifies records whose transaction identification information matches each other between the transaction management database 106 storing the data derived from the function log 105 in step 101 and the system log 108 of the storage unit 11. Then, function information (function name, session name, and screen name) including identification information of the function, session, and screen included in the record of the specified transaction management database 106 is added to the record of the specified system log 108. The transaction classification file 109 is generated and stored in the storage unit 11 (step 102). Here, if the records of the function log 105 and the system log 108 relate to the same transaction, it is assumed that the same transaction ID is assigned between the records of the function log 105 and the system log 108.

なお、定義ファイル1(104)と同様、システムログ108の形式は、定義ファイル2(107)で予め定めておいたものに沿ったものとなっており、装置10は定義ファイル2(107)を参照すれば、システムログ108における所望の項目にデータを追加するなど各種処理を行うことができる。   Similar to the definition file 1 (104), the format of the system log 108 is in accordance with the format previously defined in the definition file 2 (107), and the apparatus 10 stores the definition file 2 (107). If referred to, various processes such as adding data to a desired item in the system log 108 can be performed.

次に装置10は、記憶部11よりセッションおよび機能の識別情報が共通するトランザクション分類ファイル109を複数読み出し、該トランザクション分類ファイル109らが含むシステムログ108のデータに基づいて該当機能の各セッションごとの性能解析を行う(ステップ103)。より具体的に、装置10は、各セッションにおけるトランザクションの遷移パターンを特定し、この遷移パターンを構成するトランザクションの画面毎のレスポンスタイム、該当遷移パターンのレスポンスタイムを算定し、これらのデータを含む解析結果を解析結果ファイル111として該当遷移パターンに対応付けて記憶部11に格納する。
上述の各ステップ101〜103については以下でその詳細を説明する。
Next, the apparatus 10 reads a plurality of transaction classification files 109 having common session and function identification information from the storage unit 11, and based on the data of the system log 108 included in the transaction classification files 109 and the like, for each session of the corresponding function. A performance analysis is performed (step 103). More specifically, the apparatus 10 identifies a transition pattern of a transaction in each session, calculates a response time for each screen of a transaction constituting the transition pattern, a response time of the corresponding transition pattern, and an analysis including these data The result is stored in the storage unit 11 as an analysis result file 111 in association with the corresponding transition pattern.
Details of each of the above-described steps 101 to 103 will be described below.

−−−処理手順例1−−−
次に、上述のステップ101の詳細について図に基づき説明する。図3は、本実施形態におけるシステム性能解析方法の処理手順例1を示すフロー図である。また、図6に機能ログ105のデータ構成例を、図7にトランザクション管理データベース106の構成例を示す。
--- Example of processing procedure 1 ---
Next, details of step 101 described above will be described with reference to the drawings. FIG. 3 is a flowchart showing a processing procedure example 1 of the system performance analysis method in the present embodiment. 6 shows a data configuration example of the function log 105, and FIG. 7 shows a configuration example of the transaction management database 106.

この場合、装置10は、まず機能ログ105のフォーマットが定義されている定義ファイル1(104)を記憶部11から読み込み、機能ログ105において、「時間」、「トランザクションID」、「セッション名」、「画面名」などの情報が何カラム目に出力されているのか、どのような形式なのか、各カラム間の区切り子はなにか、などを把握する(ステップ201)。   In this case, the apparatus 10 first reads the definition file 1 (104) in which the format of the function log 105 is defined from the storage unit 11, and in the function log 105, “time”, “transaction ID”, “session name”, It is ascertained in what column the information such as “screen name” is output, what format it is in, what separator is between each column (step 201).

装置10は、このように特定された定義ファイル1(104)の内容に基づいて、記憶部11から機能ログ105を一行読み込む(ステップ202)。ここで読み込んだ機能ログ105において「EOF」の値を検出した場合(ステップ203:Yes)、機能ログ105の読み込みを中止して以降の処理を終了する。   The apparatus 10 reads one line of the function log 105 from the storage unit 11 based on the contents of the definition file 1 (104) specified in this way (step 202). When the value of “EOF” is detected in the function log 105 read here (step 203: Yes), reading of the function log 105 is stopped and the subsequent processing is terminated.

他方、前記ステップ203において、「EOF」の値が機能ログ105から検出されなかった場合(ステップ203:No)、該当機能ログ105に出力されている、時間501、トランザクションID502、機能名503、セッション名504、画面名505、その他506、の各値を読み取る(ステップ204)。   On the other hand, when the value of “EOF” is not detected from the function log 105 in step 203 (step 203: No), the time 501, transaction ID 502, function name 503, session output to the corresponding function log 105. Each value of name 504, screen name 505, and other 506 is read (step 204).

なお、上記値を読み取る過程で得たトランザクションIDが、図7に示すトランザクション管理データベース106に記録されていない未知のトランザクションID601の場合(ステップ205:No)、新規レコードとしてトランザクションID601、機能名602、セッション名603、画面名604の各値(前記ステップ204で読み取った値)を追加する(ステップ206)。こうして追加されるレコードは、各トランザクションIDが、どの機能、どのセッション、どの画面のものかを示すことになる。   If the transaction ID obtained in the process of reading the value is an unknown transaction ID 601 that is not recorded in the transaction management database 106 shown in FIG. 7 (step 205: No), a transaction ID 601, function name 602, Each value of session name 603 and screen name 604 (value read in step 204) is added (step 206). The record added in this way indicates which function, which session, and which screen each transaction ID has.

他方、上記のステップ205において、上記値を読み取る過程で得たトランザクションIDが、トランザクション管理データベース106に記録されていた既知のトランザクションID601の場合(ステップ205:Yes)、ステップ202で読み込んだ機能ログ105の当該行を飛ばし、ステップ202を再実行し、記憶部11より次行の機能ログ105を読み込んで、上記同様、ステップ203〜206の処理を機能ログ105にて「EOF」の値を検出するまで行う(ステップ207:Yes→ステップ202)。こうして、トランザクション管理データベース106が生成されることとなる。   On the other hand, when the transaction ID obtained in the process of reading the value in step 205 is the known transaction ID 601 recorded in the transaction management database 106 (step 205: Yes), the function log 105 read in step 202 is read. Is skipped, step 202 is re-executed, the function log 105 of the next line is read from the storage unit 11, and the processing of steps 203 to 206 is detected in the function log 105 in the same manner as described above. (Step 207: Yes → Step 202). In this way, the transaction management database 106 is generated.

−−−処理手順例2−−−
次に、上述のステップ102の詳細について図に基づき説明する。図4は、本実施形態におけるシステム性能解析方法の処理手順例2を示すフロー図である。また、図8にシステムログ108の構成例を、図9にトランザクション分類ファイル109の例を、図10にトランザクション分類のイメージ図を示す。
--- Processing procedure example 2 ---
Next, details of step 102 described above will be described with reference to the drawings. FIG. 4 is a flowchart showing a processing procedure example 2 of the system performance analysis method in the present embodiment. FIG. 8 shows a configuration example of the system log 108, FIG. 9 shows an example of the transaction classification file 109, and FIG. 10 shows an image diagram of transaction classification.

この場合、装置10は、システムログ108を読み込むために、システムログ108のフォーマットが定義されている定義ファイル2(107)を記憶部11から読み込み(ステップ301)、システムログ108中に出力されている「時間」、「トランザクションID」、「メッセージID」などの情報が何カラム目に出力されているのか、どのような形式なのか、各カラム間の区切り子はなにか、トランザクションの開始と終了を意味するメッセージIDは何か、などを把握する。   In this case, in order to read the system log 108, the apparatus 10 reads the definition file 2 (107) in which the format of the system log 108 is defined from the storage unit 11 (step 301), and is output to the system log 108. Which column information such as “time”, “transaction ID”, “message ID” is output, what format, what separator between each column, start and end of transaction It understands what the message ID means.

装置10は、上述の定義ファイル2(107)の内容に基づいて、時間701、トランザクションID702、メッセージID703、その他704などの値を含むシステムログ108を記憶部11より1行ずつ読み込む(ステップ302)。   The apparatus 10 reads the system log 108 including values such as time 701, transaction ID 702, message ID 703, and other 704 line by line from the storage unit 11 on the basis of the contents of the definition file 2 (107) (step 302). .

続いて装置10は、上述で読み込んだシステムログ108の値のうち、メッセージID703の値を参照し、該当システムログ108がトランザクションの開始を示すものかどうか判定する(ステップ303)。   Subsequently, the device 10 refers to the value of the message ID 703 among the values of the system log 108 read above, and determines whether or not the corresponding system log 108 indicates the start of a transaction (step 303).

メッセージID703の値がトランザクションの開始を示すものであった場合(ステップ303:Yes)、装置10はバッファ上(例:メモリ13にて確保した一時的な記憶領域)において、新規のトランザクションの為のテーブルを作成し(ステップ304)、このテーブルに上記ステップ302で読み込んでいる各値(時間、トランザクションID、メッセージID、その他)を含むレコードを追加することで、トランザクション分類ファイル109を生成する(ステップ305)。   If the value of the message ID 703 indicates the start of a transaction (step 303: Yes), the device 10 performs a new transaction on the buffer (eg, a temporary storage area secured in the memory 13). A table is created (step 304), and a record including each value (time, transaction ID, message ID, etc.) read in step 302 is added to the table to generate the transaction classification file 109 (step) 305).

こうして生成するトランザクション分類ファイル109の構成例を図9に示す。ここで例示したトランザクション分類ファイル109が示すテーブルは、上述の通り、システムログ108を行単位処理して分類した結果であるため、テーブル中の時間801、トランザクションID802、メッセージID803、その他804の各値は、システムログ108から読み取った時間701、トランザクションID702、メッセージID703、その他704の各値と同一となる。トランザクション分類ファイル109は、トランザクションごとに作成される。よって図9におけるトランザクション分類ファイル109は、それぞれ、「trn00001」、「trn00004」、「trn00003」、のそれぞれのトランザクションに関するものとなっている。   A configuration example of the transaction classification file 109 thus generated is shown in FIG. The table shown in the transaction classification file 109 exemplified here is the result of classifying the system log 108 by line-by-line processing as described above, and therefore each value of time 801, transaction ID 802, message ID 803, and other 804 in the table. Is the same as the time 701, transaction ID 702, message ID 703, and other values 704 read from the system log 108. The transaction classification file 109 is created for each transaction. Therefore, the transaction classification file 109 in FIG. 9 relates to the respective transactions “trn00001”, “trn00004”, and “trn00003”.

次に装置10は、上述で読み込んだシステムログ108のトランザクションIDを、記憶部11の各トランザクション分類ファイル109に照合し、該当トランザクションIDが既出のトランザクションIDであるか判定する(ステップ306)。この時、トランザクションIDが既出のものであった場合(ステップ306:Yes)、装置10は、既に存在する該当トランザクションIDに関するトランザクション分類ファイル109に対し、上記ステップ302で読み込んでいる各値(時間、トランザクションID、メッセージID、その他)を含むレコードを追加する(ステップ305)。   Next, the apparatus 10 collates the transaction ID of the system log 108 read above with each transaction classification file 109 of the storage unit 11 and determines whether the corresponding transaction ID is an existing transaction ID (step 306). At this time, if the transaction ID has already been issued (step 306: Yes), the apparatus 10 reads each value (time, A record including a transaction ID, a message ID, etc. is added (step 305).

続いて装置10は、上述で読み込んだシステムログ108のメッセージID703が、トランザクションの終了を示すものか判定する(ステップ307)。この時、メッセージID703が、トランザクションの終了を示すものである場合(ステップ307:Yes)、装置10は、該当システムログ108から得てトランザクション分類ファイル109のレコードに格納(上記のステップ305)しているトランザクションID802をキーにして、トランザクション管理データベース106(図7)から機能情報(トランザクションの機能名602、セッション名603、画面名604の各値)を抽出する(ステップ308)。   Subsequently, the apparatus 10 determines whether the message ID 703 of the system log 108 read above indicates the end of the transaction (step 307). At this time, if the message ID 703 indicates the end of the transaction (step 307: Yes), the apparatus 10 obtains it from the corresponding system log 108 and stores it in the record of the transaction classification file 109 (step 305 above). The function information (transaction function name 602, session name 603, and screen name 604 values) is extracted from the transaction management database 106 (FIG. 7) using the transaction ID 802 as a key (step 308).

また装置10は、ステップ308で抽出した機能情報を組み合わせたユニークなファイル名を、上記のステップ304、305でバッファ上に作成してあるトランザクション分類ファイル109のファイル名として作成し、該当ファイルを記憶部11に格納する。つまり、システムログ108に機能ログ105の値を組み込んだことになる。装置10は、こうしてトランザクション単位にトランザクション分類ファイル109を作成し、記憶部11に出力する(ステップ309)。これにより、記憶部11にて各トランザクション分類ファイル109を参照すれば、各トランザクションがどの機能の処理の一部にあたるのか判断することができる。   In addition, the apparatus 10 creates a unique file name combining the function information extracted in step 308 as the file name of the transaction classification file 109 created on the buffer in steps 304 and 305, and stores the file. Stored in the unit 11. That is, the value of the function log 105 is incorporated in the system log 108. The device 10 thus creates the transaction classification file 109 for each transaction and outputs it to the storage unit 11 (step 309). Thus, by referring to each transaction classification file 109 in the storage unit 11, it is possible to determine which function corresponds to a part of processing of each transaction.

上述したように、1つのトランザクション分類ファイル109には、ある機能のあるセッションに関する1つのトランザクション(すなわち1回の画面遷移)の情報が出力されることなる。よって、図10に例示するイメージのように、トランザクション分類ファイル109は画面903の単位に相当する。   As described above, information of one transaction (that is, one screen transition) related to a session having a certain function is output to one transaction classification file 109. Therefore, as in the image illustrated in FIG. 10, the transaction classification file 109 corresponds to a unit of the screen 903.

装置10は、トランザクション分類ファイル109を出力した後、バッファ中の当該トランザクションのテーブルを削除する(ステップ310)。このとき装置10は、該当システムログ108にて「EOF」の値を検出すれば(ステップ311:Yes)、処理を終了し、「EOF」の値を検出しなければ(ステップ311:No)、ステップ302に戻り、再度システムログ108を一行読み込み、以降のステップ303〜311を繰り返すことになる。こうしてトランザクション分類ファイル109が生成されることになる。   After outputting the transaction classification file 109, the apparatus 10 deletes the transaction table in the buffer (step 310). At this time, if the apparatus 10 detects the value of “EOF” in the corresponding system log 108 (step 311: Yes), the process is terminated, and if the value of “EOF” is not detected (step 311: No), Returning to step 302, the system log 108 is read once again, and the subsequent steps 303 to 311 are repeated. In this way, the transaction classification file 109 is generated.

−−−処理手順例3−−−
次に、上述のステップ103の詳細について図に基づき説明する。図5は、本実施形態におけるシステム性能解析方法の処理手順例3を示すフロー図である。また、図11にはパターン管理データベース110を、図12には性能解析結果ファイル111の出力例を示す。
--- Processing procedure example 3 ---
Next, details of step 103 described above will be described with reference to the drawings. FIG. 5 is a flowchart showing a processing procedure example 3 of the system performance analysis method in the present embodiment. FIG. 11 shows an output example of the pattern management database 110, and FIG. 12 shows an output example of the performance analysis result file 111.

この場合、装置10は、上記のステップ102で出力したトランザクション分類ファイル109を記憶部11から読み込み(ステップ401)、そのファイル名より機能情報(機能名、セッション名、画面名)を取得する(ステップ402)。   In this case, the apparatus 10 reads the transaction classification file 109 output in step 102 from the storage unit 11 (step 401), and obtains function information (function name, session name, screen name) from the file name (step 401). 402).

装置10は、上記ステップ402で得たセッション名の値がバッファ上に存在していない場合、上記ステップ401で読み込んだトランザクション分類ファイル109が、本フローで最初に読込んだセッションに関するものと判定し(ステップ403:Yes)、バッファ中に新規レコードを作成する(ステップ404)。また装置10は、図12に例示したパターン管理データベース110でのパターン文字列1002のように、上記ステップ402で得た機能名と画面名の値を連結してパターン文字列を作成し、このパターン文字列を、ステップ404で作成した新規レコードに格納する(ステップ405)。   If the session name value obtained in step 402 does not exist in the buffer, the apparatus 10 determines that the transaction classification file 109 read in step 401 relates to the first session read in this flow. (Step 403: Yes), a new record is created in the buffer (Step 404). Further, the apparatus 10 creates a pattern character string by concatenating the function name and the screen name value obtained in step 402, as in the pattern character string 1002 in the pattern management database 110 illustrated in FIG. The character string is stored in the new record created in step 404 (step 405).

他方、上記ステップ401で読み込んだトランザクション分類ファイル109が、本フローで既に読込みを開始したセッションに関するものであった場合(ステップ403:No)、装置10は、ステップ401で読み込んだトランザクション分類ファイル109が示すメッセージIDを参照し、このメッセージIDがセッション終端のトランザクションを示すもので無い限り(ステップ406:No)、同一セッションに対応付けされている各トランザクション分類ファイル109の読み込み(ステップ401)を実行し、既にバッファ上に作成しているパターン文字列へ、新たに読み込んだトランザクション分類ファイル109から得た画面名を連結する処理(ステップ405)を繰り返し実行する。   On the other hand, if the transaction classification file 109 read in step 401 relates to a session that has already been read in this flow (step 403: No), the apparatus 10 determines that the transaction classification file 109 read in step 401 is Unless the message ID indicates a session end transaction (step 406: No), the transaction classification file 109 associated with the same session is read (step 401). Then, the process (step 405) of linking the screen name obtained from the newly read transaction classification file 109 to the pattern character string already created on the buffer is repeatedly executed.

一方、ステップ401で読み込んだトランザクション分類ファイル109が示すメッセージIDが、セッション終端のトランザクションを示すものであった場合(ステップ406:Yes)、すなわち、セッションの終端のトランザクションを読み込んだ場合、装置10は、ステップ405で作成されたパターン文字列をハッシュ関数に入力してhash変換し、パターン文字列を短縮化したキーを作成する(ステップ407)。   On the other hand, if the message ID indicated by the transaction classification file 109 read in step 401 indicates a session end transaction (step 406: Yes), that is, if a session end transaction is read, the device 10 The pattern character string created in step 405 is input to the hash function and hash-converted to create a key in which the pattern character string is shortened (step 407).

装置10は、このキーを使用してパターン管理データベース110を検索し、パターン管理データベース110に登録済み、すなわち既出のパターンか判定する(ステップ408)。ステップ407で作成したキーが既出ではなかった場合(ステップ408:No)、装置10は、図11のパターン管理データベース110で例示するように、hash変換されたキー1001と変換前のパターン文字列1002とでkeyValue型のレコードを生成しパターン管理データベース110に格納する(ステップ409)。またこの場合、装置10は、新規のテーブルを作成し(例えば図12に例示する解析結果ファイル111における、「振込処理」以外の機能である「外貨購入」1103に対応したテーブル)、セッション名1104、一回の取引のレスポンスタイム1105、そして画面ごと(すなわち1つのトランザクションごと)の内部保留時間1106をこのテーブルにセットし、解析結果ファイル111に出力する(ステップ410)。   The apparatus 10 searches the pattern management database 110 using this key, and determines whether the pattern has been registered in the pattern management database 110, that is, has already been displayed (step 408). If the key created in step 407 has not been found (step 408: No), the apparatus 10 uses the hash-converted key 1001 and the pattern character string 1002 before conversion as exemplified by the pattern management database 110 in FIG. And a keyValue type record is generated and stored in the pattern management database 110 (step 409). In this case, the apparatus 10 also creates a new table (for example, a table corresponding to “foreign currency purchase” 1103 which is a function other than “transfer processing” in the analysis result file 111 illustrated in FIG. 12), and a session name 1104. The response time 1105 of one transaction and the internal hold time 1106 for each screen (that is, for each transaction) are set in this table and output to the analysis result file 111 (step 410).

画面ごと(すなわち1つのトランザクションごと)の内部保留時間1106は、該当トランザクション分類ファイル109の含むシステムログ108のデータから特定できる(既存技術)。また、一回の取引のレスポンスタイム1105は、内部保留時間を該当セッション(遷移パターン)で集計した総レスポンスタイムとなる。   The internal hold time 1106 for each screen (that is, for each transaction) can be specified from the data of the system log 108 included in the corresponding transaction classification file 109 (existing technology). Further, the response time 1105 of one transaction is the total response time obtained by counting the internal suspension time in the corresponding session (transition pattern).

一方、ステップ407で作成したキーが既出であった場合(ステップ408:Yes)、装置10は、その既出のパターンの解析結果ファイル111に、セッション名1104、一回の取引のレスポンスタイム1105、そして画面ごと(すなわち1つのトランザクション)の内部保留時間1106を追記する(ステップ410)。   On the other hand, if the key created in step 407 has already been issued (step 408: Yes), the apparatus 10 adds the session name 1104, the response time 1105 of one transaction, to the analysis result file 111 of the already-existing pattern, and The internal hold time 1106 for each screen (that is, one transaction) is added (step 410).

装置10は、ステップ410実行後、当該バッファのレコードをクリアする(ステップ411)。また装置10は、上記のステップ403で判定したセッション、すなわち同一のセッションに関連するトランザクション分類ファイル109のうち、本フローに関して未処理のものが記憶部11に残されているか判定する(ステップ412)。同一セッションに関連する未処理のトランザクション分類ファイル109があれば(ステップ412:No)、装置10は、処理をステップ401に戻し、未処理のトランザクション分類ファイル109が無くなるまで、以降のステップ402〜412を繰り返し実行する。こうして解析結果ファイル111が生成されることとなる。   After executing step 410, the apparatus 10 clears the record in the buffer (step 411). Further, the apparatus 10 determines whether or not an unprocessed file is left in the storage unit 11 among the transaction classification files 109 related to the session determined in step 403, that is, the same session (step 412). . If there is an unprocessed transaction classification file 109 related to the same session (step 412: No), the apparatus 10 returns the process to step 401, and the subsequent steps 402 to 412 until there is no unprocessed transaction classification file 109. Repeatedly. Thus, the analysis result file 111 is generated.

以上、本発明を実施するための最良の形態などについて具体的に説明したが、本発明はこれに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能である。   Although the best mode for carrying out the present invention has been specifically described above, the present invention is not limited to this, and various modifications can be made without departing from the scope of the invention.

こうした本実施形態によれば、システムログと機能ログを互いに組み合わせて自動的に性能解析を行うことができる。また、各機能における複数の画面遷移パターンのうちから、事前のパターン定義なしに、解析対象の画面遷移のパターンを特定し、性能解析を行うことができる。従って、複数トランザクションを含むセッション毎の、システムにおける機能に関する効率的な性能解析が可能となる。   According to this embodiment, it is possible to automatically perform performance analysis by combining the system log and the function log. Further, from among a plurality of screen transition patterns in each function, a screen transition pattern to be analyzed can be identified and performance analysis can be performed without a prior pattern definition. Therefore, efficient performance analysis regarding functions in the system can be performed for each session including a plurality of transactions.

本明細書の記載により、少なくとも次のことが明らかにされる。すなわち、前記システム性能解析装置において、前記演算部は、前記性能解析の処理を行うにあたり、前記読み出した複数のファイルより、該ファイルらが含むシステムログにおけるメッセージIDを読み取り、少なくともセッションの開始および終端を示す各メッセージIDによって該当セッションにおける開始から終端に至る各トランザクションを特定することでトランザクションの遷移パターンを特定し、該特定したパターンごとに性能解析を実行するものである、としてもよい。   At least the following will be clarified by the description of the present specification. That is, in the system performance analysis apparatus, when performing the performance analysis process, the arithmetic unit reads message IDs in a system log included in the read files from the plurality of read files, and at least starts and ends a session. The transaction transition pattern may be specified by specifying each transaction from the start to the end in the corresponding session by each message ID indicating, and the performance analysis may be executed for each specified pattern.

また、前記システム性能解析装置において、前記演算部は、解析対象のシステムより機能ログを読み出し、該機能ログから、各トランザクションが果たしている機能、所属するセッション、および処理時に出力する画面の各識別情報を取得して記憶部のデータベースに格納し、解析対象のシステムよりシステムログを読み出し、該システムログと前記データベースとの間で、トランザクションの識別情報が互いに一致するレコードをそれぞれ特定し、該特定したシステムログのレコードに、該特定した前記データベースのレコードが含む機能、セッション、および画面の各識別情報を付加してファイルを生成し、記憶部に格納し、前記性能解析の処理を行うにあたり、前記読み出した複数のファイルより、該ファイルらが含むシステムログにおけるメッセージIDを読み取り、少なくともセッションの開始および終端を示す各メッセージIDによって該当セッションにおける開始から終端に至る各トランザクションを特定することでトランザクションの遷移パターンを特定し、該特定した遷移パターンを構成するトランザクションの画面毎に、該当ファイルの含むシステムログのデータからレスポンスタイムを特定し、このレスポンスタイムを該当遷移パターンで集計した総レスポンスタイムを算定し、前記レスポンスタイムないし総レスポンスタイムのデータを含む解析結果を該当遷移パターンに対応付けて記憶部に格納するものである、としてもよい。   In the system performance analysis apparatus, the arithmetic unit reads a function log from the analysis target system, and from the function log, identification information of a function performed by each transaction, a session to which the transaction belongs, and a screen output at the time of processing Is obtained and stored in the database of the storage unit, the system log is read from the system to be analyzed, the records having the same transaction identification information are identified between the system log and the database, and the identified In the system log record, the function, session, and screen identification information included in the specified database record is added to generate a file, stored in a storage unit, and in performing the performance analysis, From the read multiple files to the system log included by the files Transactions that read the message IDs and identify at least the transactions from the start to the end of the corresponding session by each message ID indicating the start and end of the session, and specify the transaction transition pattern, and the transactions constituting the specified transition pattern For each screen, the response time is identified from the system log data included in the corresponding file, the total response time is calculated by counting the response time with the corresponding transition pattern, and the analysis result including the response time or the total response time data May be stored in the storage unit in association with the corresponding transition pattern.

また、前記システム性能解析装置において、前記演算部は、前記特定したトランザクションの遷移パターンに関して、該遷移パターンを構成する各トランザクションの画面の識別情報らをつなげて文字列を生成し、該文字列を所定規則に沿って短縮化してキーを生成し記憶部に格納する処理を実行し、前記性能解析の処理を行うにあたり、前記特定した遷移パターンに関して生成した前記キーを記憶部に照合し、該当キーと一致するキーが記憶部にて検索できた場合、該当キーに対応付けて、当該性能解析の処理により得られた今回の解析結果を記憶部に格納し、該当キーと一致するキーが記憶部にて検索できなかった場合、該当キーを記憶部に格納し、該当キーに対応付けて、当該性能解析の処理により得られた今回の解析結果を記憶部に格納するものである、としてもよい。   Further, in the system performance analysis apparatus, the arithmetic unit generates a character string by connecting identification information of screens of each transaction constituting the transition pattern with respect to the identified transaction transition pattern, and generates the character string. In performing the process of generating a key by shortening according to a predetermined rule and storing it in the storage unit, and performing the performance analysis process, the key generated with respect to the identified transition pattern is collated with the storage unit, and the corresponding key If the key matching the key is found in the storage unit, the analysis result of this time obtained by the performance analysis process is stored in the storage unit in association with the key, and the key matching the key is stored in the storage unit. If the search cannot be performed, the corresponding key is stored in the storage unit, and the current analysis result obtained by the performance analysis process is stored in the storage unit in association with the corresponding key. It is intended to pay may be.

10 システム性能解析装置
11 記憶部
12 プログラム
13 メモリ
14 演算部
15 入力部
16 出力部
17 通信部
105 機能ログ
106 トランザクション管理データベース(データベース)
108 システムログ
109 トランザクション分類ファイル(ファイル)
110 パターン管理データベース
111 解析結果ファイル
DESCRIPTION OF SYMBOLS 10 System performance analysis apparatus 11 Memory | storage part 12 Program 13 Memory 14 Calculation part 15 Input part 16 Output part 17 Communication part 105 Function log 106 Transaction management database (database)
108 System log 109 Transaction classification file (file)
110 Pattern management database 111 Analysis result file

Claims (6)

複数のトランザクションを含むセッション毎に、システムにおける機能に関する性能解析を実行する情報処理装置であって、
データを格納するための記憶部と、
解析対象のシステムより機能ログを読み出し、該機能ログから、各トランザクションが果たしている機能および所属するセッションの各識別情報を取得して記憶部のデータベースに格納する処理と、
解析対象のシステムよりシステムログを読み出し、該システムログと前記データベースとの間で、トランザクションの識別情報が互いに一致するレコードをそれぞれ特定し、該特定したシステムログのレコードに、該特定した前記データベースのレコードが含む機能およびセッションの各識別情報を付加してファイルを生成し、記憶部に格納する処理と、
記憶部よりセッションおよび機能の識別情報が共通するファイルを複数読み出し、該ファイルらが含むシステムログのデータに基づいて該当機能の各セッションごとの性能解析を行う処理とを実行する演算部と、
を備えることを特徴とするシステム性能解析装置。
An information processing apparatus that performs performance analysis on functions in the system for each session including a plurality of transactions,
A storage unit for storing data;
A function log is read from the system to be analyzed, and from the function log, the function played by each transaction and each identification information of the session to which the transaction belongs are acquired and stored in the database of the storage unit;
The system log is read from the system to be analyzed, the records having the same transaction identification information are identified between the system log and the database, and the record of the identified database is specified in the identified system log record. A process of generating a file by adding each identification information of the function and session included in the record and storing it in the storage unit,
A calculation unit that reads a plurality of files having common session and function identification information from the storage unit, and performs processing for performing performance analysis for each session of the corresponding function based on data of a system log included in the files,
A system performance analysis apparatus comprising:
前記演算部は、
前記性能解析の処理を行うにあたり、前記読み出した複数のファイルより、該ファイルらが含むシステムログにおけるメッセージIDを読み取り、少なくともセッションの開始および終端を示す各メッセージIDによって該当セッションにおける開始から終端に至る各トランザクションを特定することでトランザクションの遷移パターンを特定し、該特定したパターンごとに性能解析を実行するものである、
ことを特徴とする請求項1に記載のシステム性能解析装置。
The computing unit is
When performing the performance analysis processing, the message IDs in the system log included in the read files are read from the plurality of read files, and at least the message IDs indicating the start and end of the session lead to the start and end of the session. Transaction transition patterns are specified by specifying each transaction, and performance analysis is performed for each specified pattern.
The system performance analysis apparatus according to claim 1.
前記演算部は、
解析対象のシステムより機能ログを読み出し、該機能ログから、各トランザクションが果たしている機能、所属するセッション、および処理時に出力する画面の各識別情報を取得して記憶部のデータベースに格納し、
解析対象のシステムよりシステムログを読み出し、該システムログと前記データベースとの間で、トランザクションの識別情報が互いに一致するレコードをそれぞれ特定し、該特定したシステムログのレコードに、該特定した前記データベースのレコードが含む機能、セッション、および画面の各識別情報を付加してファイルを生成し、記憶部に格納し、
前記性能解析の処理を行うにあたり、前記読み出した複数のファイルより、該ファイルらが含むシステムログにおけるメッセージIDを読み取り、少なくともセッションの開始および終端を示す各メッセージIDによって該当セッションにおける開始から終端に至る各トランザクションを特定することでトランザクションの遷移パターンを特定し、該特定した遷移パターンを構成するトランザクションの画面毎に、該当ファイルの含むシステムログのデータからレスポンスタイムを特定し、このレスポンスタイムを該当遷移パターンで集計した総レスポンスタイムを算定し、前記レスポンスタイムないし総レスポンスタイムのデータを含む解析結果を該当遷移パターンに対応付けて記憶部に格納するものである、
ことを特徴とする請求項1または2に記載のシステム性能解析装置。
The computing unit is
Read the function log from the system to be analyzed, acquire from the function log each identification information of the function played by each transaction, the session to which it belongs, and the screen output during processing, and store it in the database of the storage unit,
The system log is read from the system to be analyzed, the records having the same transaction identification information are identified between the system log and the database, and the record of the identified database is specified in the identified system log record. Add each function, session, and screen identification information included in the record to generate a file, store it in the storage unit,
When performing the performance analysis processing, the message IDs in the system log included in the read files are read from the plurality of read files, and at least the message IDs indicating the start and end of the session lead to the start and end of the session. The transaction transition pattern is identified by identifying each transaction, the response time is identified from the system log data included in the corresponding file for each transaction screen that makes up the identified transition pattern, and this response time is the corresponding transition. The total response time calculated by the pattern is calculated, and the analysis result including the response time or the total response time data is stored in the storage unit in association with the corresponding transition pattern.
The system performance analysis apparatus according to claim 1, wherein the system performance analysis apparatus is a system performance analysis apparatus.
前記演算部は、
前記特定したトランザクションの遷移パターンに関して、該遷移パターンを構成する各トランザクションの画面の識別情報らをつなげて文字列を生成し、該文字列を所定規則に沿って短縮化してキーを生成し記憶部に格納する処理を実行し、
前記性能解析の処理を行うにあたり、前記特定した遷移パターンに関して生成した前記キーを記憶部に照合し、該当キーと一致するキーが記憶部にて検索できた場合、該当キーに対応付けて、当該性能解析の処理により得られた今回の解析結果を記憶部に格納し、該当キーと一致するキーが記憶部にて検索できなかった場合、該当キーを記憶部に格納し、該当キーに対応付けて、当該性能解析の処理により得られた今回の解析結果を記憶部に格納するものである、
ことを特徴とする請求項3に記載のシステム性能解析装置。
The computing unit is
For the transition pattern of the identified transaction, a character string is generated by connecting identification information of screens of each transaction constituting the transition pattern, and a key is generated by shortening the character string in accordance with a predetermined rule. Execute the process stored in
In performing the performance analysis process, the key generated with respect to the identified transition pattern is collated with a storage unit, and when a key matching the corresponding key can be searched in the storage unit, The current analysis result obtained by the performance analysis process is stored in the storage unit. If a key matching the corresponding key cannot be searched in the storage unit, the corresponding key is stored in the storage unit and associated with the corresponding key. Then, the analysis result of this time obtained by the performance analysis process is stored in the storage unit.
The system performance analysis apparatus according to claim 3.
複数のトランザクションを含むセッション毎に、システムにおける機能に関する性能解析を実行する情報処理装置が、
解析対象のシステムより機能ログを読み出し、該機能ログから、各トランザクションが果たしている機能および所属するセッションの各識別情報を取得して記憶部のデータベースに格納する処理と、
解析対象のシステムよりシステムログを読み出し、該システムログと前記データベースとの間で、トランザクションの識別情報が互いに一致するレコードをそれぞれ特定し、該特定したシステムログのレコードに、該特定した前記データベースのレコードが含む機能およびセッションの各識別情報を付加してファイルを生成し、記憶部に格納する処理と、
記憶部よりセッションおよび機能の識別情報が共通するファイルを複数読み出し、該ファイルらが含むシステムログのデータに基づいて該当機能の各セッションごとの性能解析を行う処理と、
を実行することを特徴とするシステム性能解析方法。
An information processing device that performs performance analysis on functions in the system for each session including a plurality of transactions,
A function log is read from the system to be analyzed, and from the function log, the function played by each transaction and each identification information of the session to which the transaction belongs are acquired and stored in the database of the storage unit;
The system log is read from the system to be analyzed, the records having the same transaction identification information are identified between the system log and the database, and the record of the identified database is specified in the identified system log record. A process of generating a file by adding each identification information of the function and session included in the record and storing it in the storage unit,
A process of reading a plurality of files having common session and function identification information from the storage unit, and performing performance analysis for each session of the corresponding function based on system log data included in the files,
The system performance analysis method characterized by performing this.
複数のトランザクションを含むセッション毎に、システムにおける機能に関する性能解析を実行する情報処理装置に、
解析対象のシステムより機能ログを読み出し、該機能ログから、各トランザクションが果たしている機能および所属するセッションの各識別情報を取得して記憶部のデータベースに格納する処理と、
解析対象のシステムよりシステムログを読み出し、該システムログと前記データベースとの間で、トランザクションの識別情報が互いに一致するレコードをそれぞれ特定し、該特定したシステムログのレコードに、該特定した前記データベースのレコードが含む機能およびセッションの各識別情報を付加してファイルを生成し、記憶部に格納する処理と、
記憶部よりセッションおよび機能の識別情報が共通するファイルを複数読み出し、該ファイルらが含むシステムログのデータに基づいて該当機能の各セッションごとの性能解析を行う処理と、
を実行させることを特徴とするシステム性能解析プログラム。
For information processing devices that perform performance analysis on functions in the system for each session that includes multiple transactions,
A function log is read from the system to be analyzed, and from the function log, the function played by each transaction and each identification information of the session to which the transaction belongs are acquired and stored in the database of the storage unit;
The system log is read from the system to be analyzed, the records having the same transaction identification information are identified between the system log and the database, and the record of the identified database is specified in the identified system log record. A process of generating a file by adding each identification information of the function and session included in the record and storing it in the storage unit,
A process of reading a plurality of files having common session and function identification information from the storage unit, and performing performance analysis for each session of the corresponding function based on system log data included in the files,
System performance analysis program characterized by causing
JP2012000245A 2012-01-04 2012-01-04 System performance analysis apparatus, system performance analysis method, and system performance analysis program Active JP5718256B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012000245A JP5718256B2 (en) 2012-01-04 2012-01-04 System performance analysis apparatus, system performance analysis method, and system performance analysis program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012000245A JP5718256B2 (en) 2012-01-04 2012-01-04 System performance analysis apparatus, system performance analysis method, and system performance analysis program

Publications (2)

Publication Number Publication Date
JP2013140488A JP2013140488A (en) 2013-07-18
JP5718256B2 true JP5718256B2 (en) 2015-05-13

Family

ID=49037866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012000245A Active JP5718256B2 (en) 2012-01-04 2012-01-04 System performance analysis apparatus, system performance analysis method, and system performance analysis program

Country Status (1)

Country Link
JP (1) JP5718256B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102174957B1 (en) * 2019-01-24 2020-11-05 주식회사 웨어밸리 Transaction control method to synchronize DML statements in relational database to NoSQL database

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002351702A (en) * 2001-05-25 2002-12-06 Nec Soft Ltd Method and device for preparing terminal operation statistical data utilizing online
JP2010117757A (en) * 2008-11-11 2010-05-27 Nomura Research Institute Ltd Performance monitoring system and performance monitoring method
JP2010231368A (en) * 2009-03-26 2010-10-14 Fujitsu Ltd Monitoring method and monitoring program

Also Published As

Publication number Publication date
JP2013140488A (en) 2013-07-18

Similar Documents

Publication Publication Date Title
US9135351B2 (en) Data processing method and distributed processing system
WO2018120721A1 (en) Method and system for testing user interface, electronic device, and computer readable storage medium
WO2018059056A1 (en) Service system data processing method and device
CN110928772A (en) Test method and device
KR102044046B1 (en) Telemetry file hash and conflict detection
JP2012243222A (en) Device and method for testing operation of software
JP6780655B2 (en) Log analysis system, method and program
JP2008134705A (en) Data processing method and data analysis device
WO2017000761A1 (en) Method and apparatus for extracting feature information of terminal device
US20220360628A1 (en) Technologies for conversion of acquirer files for big data ingestion
JP6549681B2 (en) Reference data segmentation from single table to multiple tables
JP2007249694A (en) Log format conversion device, log format conversion method and log format conversion program
TWI619033B (en) Analysis system and method for performing analysis processing using at least part of time series data and analysis data as input data
JP4973738B2 (en) Business flow processing program, method and apparatus
US20150088958A1 (en) Information Processing System and Distributed Processing Method
US20160306972A1 (en) Virus signature matching method and apparatus
JP5718256B2 (en) System performance analysis apparatus, system performance analysis method, and system performance analysis program
KR102196966B1 (en) Total Verification Method and System for Smart Contents Combined Intelligent Operation Service
JP2018081403A (en) Incident management system, incident management method and computer program
CN109389271B (en) Application performance management method and system
JP5359109B2 (en) Keyword extraction program, keyword extraction method, and keyword extraction device
CN114371866A (en) Version reconfiguration test method, device and equipment of service system
WO2014054233A1 (en) Performance evaluation device, method and program for information system
JP2010152707A (en) Backup method of database and database system
JPWO2020065778A1 (en) Information processing equipment, control methods, and programs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140702

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150205

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: 20150224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150318

R150 Certificate of patent or registration of utility model

Ref document number: 5718256

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150