JP2015005191A - Batch performance predicting and performance optimization supporting method, and system - Google Patents
Batch performance predicting and performance optimization supporting method, and system Download PDFInfo
- Publication number
- JP2015005191A JP2015005191A JP2013130773A JP2013130773A JP2015005191A JP 2015005191 A JP2015005191 A JP 2015005191A JP 2013130773 A JP2013130773 A JP 2013130773A JP 2013130773 A JP2013130773 A JP 2013130773A JP 2015005191 A JP2015005191 A JP 2015005191A
- Authority
- JP
- Japan
- Prior art keywords
- batch
- performance
- processing
- processing time
- time
- 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
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
本発明は、バッチアプリケーション処理を実行するシステムにおける性能予測方法および性能対策方法に関し、特に大量のバッチアプリケーション処理を夜間などの決められた時間帯に実行する必要性があるシステムで効率的に性能予測および対策支援を行う方法に関する。 The present invention relates to a performance prediction method and a performance countermeasure method in a system that executes batch application processing, and in particular, efficiently predicts performance in a system that needs to execute a large amount of batch application processing in a predetermined time zone such as at night. And a method for providing countermeasure support.
アプリケーションシステムでは、通常リアルタイム性が求められる業務をオンライン処理で実現し、そうでない業務や一日の纏め処理等の大量データを処理する業務をバッチ処理で実現する。バッチ処理はその特性上、オンライン稼動時間帯やメンテナンス時間帯を除いた限られた時間帯(以降、バッチ実行可能時間帯と表記)に実行完了することが求められることが多い。その為、バッチ処理がバッチ実行可能時間帯に完了するかどうかを事前に把握し、完了しない場合は完了するための性能対策を実施することが求められる。 In the application system, a task that normally requires real-time performance is realized by online processing, and a task that processes a large amount of data, such as a task that is not so, or a batch processing of a day, is realized by batch processing. Due to its characteristics, batch processing is often required to be completed in a limited time zone (hereinafter referred to as a batch executable time zone) excluding an online operation time zone and a maintenance time zone. For this reason, it is required to grasp in advance whether or not the batch processing is completed in the batch executable time zone, and to implement performance measures for completion if not completed.
特許文献1には、負荷情報DBからバッチ処理が実行される時間帯の負荷情報を取得し、過去の実行日の中から負荷情報が近似する実行日を特定し、その実行日の実行時間を元に処理時間を予測する技術が開示されている。
In
前記のような公知技術等により、バッチ処理の性能予測が行われているが、この公知技術では、性能予測結果に基づいた対策の適用については言及されていない。通常、バッチ処理は決まった時間帯に毎日実行されるものであり、バッチアプリケーションの数が多くなっても日々の運用の中で性能予測から対策実施までを行うことが求められる為、性能予測から性能対策までを効率的に運用することが必要とされる。本発明はこの点を解決する事を課題とする。 Although the performance prediction of batch processing is performed by the above-described known technology or the like, this known technology does not mention application of measures based on the performance prediction result. Normally, batch processing is executed every day at a fixed time, and even if the number of batch applications increases, it is required to perform performance prediction to countermeasure implementation in daily operation. It is necessary to operate efficiently up to performance measures. This invention makes it a subject to solve this point.
本発明は、順序性を持つ複数のバッチアプリケーション処理を予め決められているバッチ実行可能時間帯に実行するシステムにおいて、バッチ性能予測及び対策支援サーバは前日のDB情報の複製を具備しているHUB−DBサーバから各バッチアプリケーションの前日時点の処理件数をSQLによって取得し、過去のバッチ稼動実績から算出する各バッチの性能単価(処理案件1件当りの処理時間)とそれぞれ乗算する(処理件数×処理単価)ことで全バッチの処理時間を算出する。 The present invention is a system that executes a plurality of batch application processes with order in a predetermined batch executable time zone, and the batch performance prediction and countermeasure support server includes a copy of DB information of the previous day. -Obtain the number of processings of each batch application as of the previous day from the DB server by SQL, and multiply each by the performance unit price (processing time per processing item) calculated from the past batch operation results (number of processing times x The processing time for all batches is calculated.
また、バッチ性能予測及び対策支援サーバは過去のバッチ稼動実績から処理件数と処理時間(バッチ処理の処理時間)の相関係数を算出する。 The batch performance prediction and countermeasure support server calculates a correlation coefficient between the number of processing cases and processing time (processing time of batch processing) from the past batch operation results.
ここで、本発明における相関係数とは、処理件数をx、x件の処理を実行するのに要する処理時間(全体の処理時間)をyとして、xとyとの関係をy=f(x)=Cxkと表した時の指数kのことである。一般に、処理件数が多くなると、処理を実行する際に計算機の負荷が多くなるため、f(x)は上に凸のグラフとなり、kは0<k<1の値を取り、負荷が少なければkはほぼ1に等しく(全体の処理時間は処理件数に比例する)、負荷が多くなるほどkの値は小さくなる(処理件数が増えると全体の処理時間が次第に頭打ちになる)。また、定数Cは、バッチ処理の処理形態などによって決まる係数である。 Here, the correlation coefficient in the present invention refers to the number of processes x, the processing time required to execute x processes (total processing time) as y, and the relationship between x and y as y = f ( x) = it is that the index k when expressed as Cx k. In general, when the number of processing increases, the load on the computer increases when the processing is executed. Therefore, f (x) is an upwardly convex graph, k takes a value of 0 <k <1, and the load is small. k is substantially equal to 1 (the overall processing time is proportional to the number of processing cases), and the value of k decreases as the load increases (the overall processing time gradually reaches its peak as the number of processing cases increases). The constant C is a coefficient determined by the processing mode of batch processing.
Y=logy、X=logx、C′=logCと置くと、Y=kX+C′となるので、処理件数をいろいろ変えたときの処理時間を計測し、これらの値の対数X、Yを変数とする最小二乗法により、係数kと定数Cの対数C′(即ち、定数C)が求められる。なお、最小二乗法によって求めた係数kには、データ列{Xi(=logxi)}と{Yi(=logyi)}との相関係数kxyが含まれるので(即ち、k=(σy/σx) kxyであり、σx、σyはそれぞれXi(=logxi)、及びYi(=logyi)の標準偏差である)、本発明では、処理件数xに対する処理時間yの関係を示す指数kを相関係数と称する。 If Y = logy, X = logx, and C ′ = logC, Y = kX + C ′. Therefore, the processing time when the number of processing cases is changed is measured, and the logarithms X and Y of these values are used as variables. The logarithm C ′ of the coefficient k and the constant C (that is, the constant C) is obtained by the least square method. Note that the coefficient k determined by the least squares method, because it contains the correlation coefficient k xy data strings {X i (= logx i) } and {Y i (= logy i) } ( i.e., k = (σ y / σ x ) k xy , where σ x and σ y are standard deviations of X i (= logx i ) and Y i (= logy i ), respectively, in the present invention, The index k indicating the relationship of the processing time y is referred to as a correlation coefficient.
相関係数が閾値以上である場合は前記算出した処理時間を予測値として採用し、そうでない場合は、バッチ稼動実績から過去の特定の曜日や日などにおける処理時間の平均値を日次、週次(別の週で同じ曜日に実行されたもの)、月次(別の月で同じ日に実行されたもの)、年次(別の年で同じ日に実行されたもの)の4つの軸で算出し、その中で最も変動係数が0に近い軸で算出された処理時間の平均値を予測値として採用する。ここで、変動係数とは、ある変数xの平均値<x>に対する変数xの標準偏差σxの比率、即ち、σx/<x>であり、平均値に対する誤差の相対比である。 If the correlation coefficient is greater than or equal to the threshold value, the calculated processing time is adopted as a predicted value. Otherwise, the average processing time for a specific day of the week or day in the past is used as the predicted value from the batch operation results. Four axes: next (run on the same day in another week), monthly (run on the same day in another month), and year (run on the same day in another year) The average value of the processing times calculated with the axis having the variation coefficient closest to 0 among them is adopted as the predicted value. Here, the variation coefficient is the ratio of the standard deviation σ x of the variable x to the average value <x> of a certain variable x, that is, σ x / <x>, and is the relative ratio of the error to the average value.
前記採用した処理時間の予測値を元に、運用端末を用いてユーザが入力する処理件数の補正情報、処理件数依存率や処理時間実績依存率の補正情報を考慮してバッチ性能予測及び対策支援サーバは処理時間を再計算し、バッチ実行管理サーバに定義されているバッチ実行定義を用いて当日の全バッチの終了時刻を算出する。算出したバッチ終了時刻の予測値がバッチ実行可能時間帯に収まっていない場合は性能対策を実行指示する。 Batch performance prediction and countermeasure support based on the adopted processing time prediction value, taking into account correction information on the number of processes input by the user using the operation terminal, correction information on the processing number dependency ratio and processing time performance dependency ratio The server recalculates the processing time, and uses the batch execution definition defined in the batch execution management server to calculate the end time of all the batches for the current day. If the calculated predicted value of the batch end time is not within the batch executable time zone, the execution of performance countermeasures is instructed.
性能対策の実行指示にあたり、バッチ性能予測及び対策支援サーバは予めバッチ毎に設定された全バッチの性能対策内容と、性能対策対象のバッチに性能対策を適用した場合の予測処理時間および全バッチの終了時刻をバッチ稼動実績から算出し、運用端末の画面に表示する。この表示内容を元にユーザが性能対策対象バッチ、性能対策対象バッチの性能対策内容を選択、確定し、この情報を元に設定された性能対策をバッチ性能予測及び対策支援サーバが指示する。 In order to execute performance measures, the batch performance prediction and countermeasure support server sets the performance measures for all batches set in advance for each batch, the predicted processing time when the performance measures are applied to the batches targeted for performance measures, and the The end time is calculated from the batch operation results and displayed on the operation terminal screen. Based on this display content, the user selects and confirms the performance countermeasure target batch and the performance countermeasure contents of the performance countermeasure target batch, and the batch performance prediction and countermeasure support server instructs the performance countermeasure set based on this information.
バッチ実行後に各バッチの処理時間、処理件数、性能対策実施内容の実績をその日のバッチ稼動実績として保存する。また相関係数、性能単価の再計算を行う。 After the batch execution, the processing time, the number of processing, and the results of performance measures implemented for each batch are saved as the batch operation results for that day. The correlation coefficient and performance unit price are recalculated.
本発明によれば、バッチ処理がバッチ処理可能時間帯を超えてしまう事象の回避を実現できる。また、性能予測から性能対策実施にかかる作業者の手間を削減することができる。 According to the present invention, it is possible to avoid an event in which batch processing exceeds the batch processable time zone. In addition, it is possible to reduce the labor of the operator for performance measures from performance prediction.
以降、本実施形態を、図面により詳細に説明する。また、本実施形態の説明で使用する全ての図において、同一部には原則として同一の符号を付し、その繰り返しの説明は省略する。 Hereinafter, the present embodiment will be described in detail with reference to the drawings. Moreover, in all the drawings used in the description of the present embodiment, the same parts are denoted by the same reference symbols in principle, and the repeated description thereof is omitted.
図1は、本実施形態に係るコンピューターネットワークシステム1の全体構成例を示す図である。
FIG. 1 is a diagram illustrating an example of the overall configuration of a
バッチアプリケーションを実行するバッチサーバ12、バッチアプリケーションの実行順序性の定義情報を元にバッチサーバ12へバッチアプリケーションの実行指示を行うバッチ実行管理サーバ13、前日終了時点のDBサーバ10のDBテーブル情報をコピーし保持しているHUB−DBサーバ11、バッチ性能予測及び性能対策支援を実現するためのバッチ性能予測及び対策支援サーバ14(本実施例の処理動作の主体)、運用者が利用する運用端末15からなり、これらはネットワーク16に接続されて構成される。本実施形態では説明を容易にするために図1の構成例としているが、各々のサーバ構成について同居・独立の形態の何れであっても実現可能なものである。例えば、DBサーバ10とHUB−DBサーバ11とを1つのサーバで構成し、バッチサーバ12とバッチ実行管理サーバ13とを1つのサーバで構成し、更に、DBサーバ10、HUB−DBサーバ11、バッチサーバ12、及びバッチ実行管理サーバ13を1つのサーバで構成してもよい。
The
図2は、DBサーバ10のハードウェア構成例である。DBサーバ10は、記憶部200にDBテーブル201、202を多数具備する。これらの業務用テーブルは、バッチサーバ12に具備するバッチアプリケーション等が利用するものであるが、業務用テーブルの数やその中身については本実施形態に限定されるものではない。また、ネットワークインタフェース部204を通じてネットワーク16と接続している。制御部203はCPUである。
FIG. 2 is a hardware configuration example of the
図3は、HUB−DBサーバ11のハードウェア構成例である。HUB−DBサーバ11は、記憶部300にDBテーブル301、302を具備する。DBテーブル301、302は、DBサーバ10に具備するDBテーブル201、202およびテーブルに登録されているデータ全てを複製した情報を具備している。本実施形態は複製処理のタイミングに限定されるものではないが、前日のバッチ処理終了時点で複製するものとして説明する。また、ネットワークインタフェース部304を通じてネットワーク16と接続している。制御部303はCPUである。
FIG. 3 is a hardware configuration example of the HUB-
図4は、バッチサーバ12のハードウェア構成例である。バッチサーバ12の記憶部400には、バッチ実行管理ミドルウェア402、バッチアプリケーション(プログラム)403、404を具備する。バッチアプリケーション403、404は複数存在し、各バッチアプリケーションはバッチ実行管理サーバ13の記憶部500に具備しているバッチ実行定義503に基づいて実行される。バッチアプリケーション403、404は、バッチサーバ12のメモリ408でのみ実行されるものや、ネットワークインタフェース部404からネットワーク16を通じてDBサーバ10の記憶部200に具備しているDBテーブル201、202を参照/更新/新規作成/削除する処理を実行するものであるが、本実施形態はバッチアプリケーション403、404の内容や数に限定されるものではない。制御部406はCPUである。
FIG. 4 is a hardware configuration example of the
図5は、バッチ実行管理サーバ13のハードウェア構成例である。バッチ実行管理サーバ13は、記憶部500にバッチ実行管理ミドルウェア502を具備し、バッチ実行ミドルウェア502内にバッチ実行定義503を具備する。バッチ実行定義503のイメージを図8に示す。バッチ実行定義503は、バッチサーバ12に具備しているバッチアプリケーション403、404の実行順序性や実行タイミングを定める情報である。実行順序性とは、例えば図8のmm月1日分バッチ実行定義800に示すようにバッチAの完了後にバッチB、バッチCが実行されるといった事を指す(800)。バッチNやバッチXのようにバッチによっては実行順序性がないものも存在する(803)。実行タイミングとは、日次、週次(801、処理SとYの完了後に処理Zを行う)、月次、年次といった実行日を示すものと、バッチZのように2:00実行といった実行時間を示すものが存在する。但し、例えば同じ月次のタイミングで実行されるバッチアプリケーションであっても、毎月1日に実行されるバッチ(バッチB)や、毎月3日に実行されるバッチ(バッチM)等(802)、実行日が異なるケースがある。全てのバッチアプリケーションは前記4種類の実行タイミングのうちいずれかに属するが、実行時間は指定が無いバッチも存在する。バッチ実行定義503はバッチ実行管理ミドルウェア502上に定義しており、この情報に基づいてバッチ実行管理ミドルウェア502からネットワークインタフェース部505を経由しネットワーク16を通じてバッチサーバ12のバッチアプリケーション403、404に実行指示を行う。制御部504はCPUである。
FIG. 5 is a hardware configuration example of the batch
図6は、バッチ性能予測及び対策支援サーバ14のハードウェア構成例である。バッチ性能予測及び対策支援サーバ14の記憶部600にはプログラム601として、処理件数カウント処理602、処理件数と性能単価による処理時間算出処理603、過去実績の傾向による処理時間算出処理604、予測処理時間のユーザ補正処理605(処理件数補正606と処理特性による補正607を具備する)、バッチ終了予定時刻算出処理608、閾値時刻判定処理609、性能対策支援処理610(対策候補バッチ選定611、対策内容選定612、対策指示613を具備する)、バッチ実行実績反映処理614(処理件数および処理時間抽出615、性能単価および相関係数再計算616、実施対策格納617を具備する)を具備している。また、記憶部600のDBテーブル618には、性能対策マスタ619、処理件数テーブル620、性能単価テーブル621、稼動実績テーブル622、処理時間予測ワークテーブル623、相関係数テーブル624、変動係数(日次)テーブル625、変動係数(週次)テーブル626、変動係数(月次)テーブル627、変動係数(年次)テーブル628、処理時間予測結果テーブル629を具備する。また、ネットワークインタフェース部631を通じてネットワーク16と接続している。制御部630はCPUである。
FIG. 6 is a hardware configuration example of the batch performance prediction and
図7は、運用端末15のハードウェア構成例である。運用端末15の記憶部700にはブラウザソフトウェア701を具備し、表示部704を通じてバッチ性能予測及び対策支援サーバ14に具備する画面プログラムを表示させる。また、ネットワークインタフェース部703を通じてネットワーク16と接続している。制御部702はCPUである。
FIG. 7 is a hardware configuration example of the
図9は、性能対策マスタ619のデータ構成例を示す図である。性能対策マスタ619は、バッチアプリケーション名900と対策候補A901と対策候補B902と対策候補C903とを対応付けて記憶する。バッチアプリケーション名900には全てのバッチアプリケーションの名称が格納され、対策候補A901、対策候補B902、対策候補C903には各バッチで実施可能な性能対策が全バッチ分格納されている。性能対策には分割実行(処理件数によってバッチ処理を分ける)、実行SKIP(特定のバッチ処理を行わない)、スケールアップ(計算機の処理性能向上)の3種類が存在し、各バッチの業務特性に応じて対策候補A、対策候補B、対策候補Cの順に優先順位を付けて設定する。対策候補として選択できないものは設定されない。性能対策マスタ619の各カラムに格納されている値は予め登録されているものであり、本実施形態の中で更新されることはない。
FIG. 9 is a diagram illustrating a data configuration example of the
図10は、処理件数テーブル620のデータ構成例を示す図である。処理件数テーブル620は、バッチアプリケーション名1000と処理件数1001とを対応付けて記憶する。バッチアプリケーション名1000に全てのバッチアプリケーションの名称が格納され、処理件数1001にHUB−DBサーバ11に具備しているDBテーブル301,302に対してバッチ性能予測及び対策支援サーバ14の処理件数カウント処理602を用いて取得する処理件数が格納される。格納された処理件数1001は、処理件数と性能単価による処理時間算出処理603で参照される。
FIG. 10 is a diagram illustrating a data configuration example of the processing number table 620. The processing number table 620 stores the
図11は、性能単価テーブル621のデータ構成例を示す図である。性能単価テーブル621は、バッチアプリケーション名1100と性能単価1101とを対応付けて記憶する。バッチアプリケーション名1100には全てのバッチアプリケーションの名称が格納され、性能単価1101にはバッチ性能予測及び対策支援サーバ14のバッチ実行実績反映処理614の性能単価および相関係数再計算616を用いて算出される各バッチの処理件数1件あたりの処理時間(単位:ミリ秒/件)が格納される。格納された性能単価1101は、処理件数と性能単価による処理時間算出処理603で参照される。
FIG. 11 is a diagram illustrating a data configuration example of the performance unit price table 621. The performance unit price table 621 stores
図12は、稼動実績テーブル622のデータ構成例を示す図である。稼動実績テーブル622は、年月日1200とバッチアプリケーション名1201と処理件数1202と処理時間(秒)1203と性能対策実施内容1204とを対応付けて記憶する。年月日1200はバッチ性能予測及び対策支援サーバ14が具備しているバッチ実行実績反映処理614の処理件数および処理時間抽出615を用いて取得した過去のバッチ実行年月日が格納され、バッチアプリケーション名1201はバッチ実行年月日1200に実行された全てのバッチアプリケーション名が格納され、処理件数1202にはバッチサーバ12に具備するアプリケーションログ405を元にバッチ性能予測及び対策支援サーバ14が具備している処理件数カウント処理602を用いて取得された各バッチアプリケーションの処理件数が格納され、処理時間(秒)1203にはバッチサーバ12に具備されているアプリケーションログ405を元にバッチ性能予測及び対策支援サーバ14が具備しているバッチ実行実績反映処理614の処理件数および処理時間抽出615を用いて取得する各バッチアプリケーションの処理時間が格納される。格納された各項目の値は、過去実績の傾向による処理時間算出処理604、予測処理時間のユーザ補正処理605の処理件数補正606、性能対策支援処理610の対策候補バッチ選定611で参照される。
FIG. 12 is a diagram illustrating a data configuration example of the operation result table 622. The operation result table 622 stores the
図13は、処理時間予測ワークテーブル623のデータ構成例を示す図である。処理時間予測ワークテーブル623は、バッチアプリケーション名1300と予測処理時間(秒)1301を対応付けて格納する。バッチアプリケーション名1300には全てのバッチアプリケーションの名称が格納され、予測処理時間(秒)1301にはバッチ性能予測及び対策支援サーバ14が具備している処理件数と性能単価による処理時間算出処理603で算出する予測処理時間が格納される。格納された予測処理時間1301は、予測処理時間のユーザ補正処理605の処理特性による補正606で参照される。
FIG. 13 is a diagram illustrating a data configuration example of the processing time prediction work table 623. The processing time prediction work table 623 stores the
図14は、相関係数テーブル624のデータ構成例を示す図である。相関係数テーブル624は、バッチアプリケーション名1400と相関係数1401を対応付けて格納する。バッチアプリケーション名1400には全てのバッチアプリケーションの名称が格納され、相関係数1401にはバッチ性能予測及び対策支援サーバ14が具備しているバッチ実行実績反映処理614の性能単価および相関係数再計算616を用いて稼動実績テーブル622に格納されている各バッチの処理件数1202と処理時間1203を元に算出した処理件数と処理時間の相関係数が格納される。
FIG. 14 is a diagram illustrating a data configuration example of the correlation coefficient table 624. The correlation coefficient table 624 stores the
ここで、本実施形態における相関係数とは、処理件数をx、x件の処理を実行するのに要する処理時間(全体の処理時間)をyとして、xとyとの関係をy=f(x)=Cxkと表した時の指数kのことである。一般に、処理件数が多くなると、処理を実行する際に計算機の負荷が多くなるため、f(x)は上に凸のグラフとなり、kは0<k<1の値を取り、負荷が少なければkはほぼ1に等しく(全体の処理時間は処理件数に比例する)、負荷が多くなるほどkの値は小さくなる(処理件数が増えると全体の処理時間が次第に頭打ちになる)。また、定数Cは、バッチ処理の処理形態などによって決まる係数である。 Here, the correlation coefficient in this embodiment means that the number of processing cases is x, the processing time (total processing time) required to execute x processings is y, and the relationship between x and y is y = f. It is the index k when expressed as (x) = Cx k . In general, when the number of processing increases, the load on the computer increases when the processing is executed. Therefore, f (x) is an upwardly convex graph, k takes a value of 0 <k <1, and the load is small. k is substantially equal to 1 (the overall processing time is proportional to the number of processing cases), and the value of k decreases as the load increases (the overall processing time gradually reaches its peak as the number of processing cases increases). The constant C is a coefficient determined by the processing mode of batch processing.
Y=logy、X=logx、C′=logCと置くと、Y=kX+C′となるので、処理件数をいろいろ変えたときの処理時間を計測し、これらの値の対数X、Yを変数とする最小二乗法により、係数kと定数Cの対数C′(即ち、定数C)が求められる。なお、最小二乗法によって求めた係数kには、データ列{Xi(=logxi)}と{Yi(=logyi)}との相関係数kxyが含まれるので(即ち、k=(σy/σx) kxyであり、σx、σyはそれぞれXi(=logxi)、及びYi(=logyi)の標準偏差である)、本実施形態では、処理件数xに対する処理時間yの関係を示す指数kを相関係数と称する。 If Y = logy, X = logx, and C ′ = logC, Y = kX + C ′. Therefore, the processing time when the number of processing cases is changed is measured, and the logarithms X and Y of these values are used as variables. The logarithm C ′ of the coefficient k and the constant C (that is, the constant C) is obtained by the least square method. Note that the coefficient k determined by the least squares method, because it contains the correlation coefficient k xy data strings {X i (= logx i) } and {Y i (= logy i) } ( i.e., k = (σ y / σ x ) k xy , where σ x and σ y are standard deviations of X i (= logx i ) and Y i (= logy i ), respectively, in the present embodiment, the number of processes x The index k indicating the relationship of the processing time y to is referred to as a correlation coefficient.
格納されている相関係数1401は、処理件数と性能単価による処理時間算出処理603で参照される。
The stored
図15は、変動係数(日次)テーブル625のデータ構成例を示す図である。変動係数(日次)テーブル625は、バッチアプリケーション名1500と変動係数1501、平均処理時間(秒)1502を対応付けて格納する。バッチアプリケーション名1500には全てのバッチアプリケーションの名称が格納され、変動係数1501にはバッチ性能予測及び対策支援サーバ14が具備しているバッチ実行実績反映処理614の処理件数および処理時間抽出615を用いて稼動実績テーブル622に格納されている各バッチの処理時間1203を元に算出した変動係数が格納され、平均処理時間(秒)1502にはバッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604を用いて稼動実績テーブル622に格納されている各バッチの処理時間1203の処理時間の平均値が格納されている。
FIG. 15 is a diagram illustrating a data configuration example of the coefficient of variation (daily) table 625. The variation coefficient (daily) table 625 stores a
ここで、変動係数とは、ある変数xの平均値<x>に対する変数xの標準偏差σxの比率、即ち、σx/<x>であり、平均値に対する誤差の相対比である。 Here, the variation coefficient is the ratio of the standard deviation σ x of the variable x to the average value <x> of a certain variable x, that is, σ x / <x>, and is the relative ratio of the error to the average value.
格納されている変動係数1501、平均処理時間(秒)1502は、バッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604で参照される。
The stored coefficient of
図16は、変動係数(週次)テーブル626のデータ構成例を示す図である。変動係数(週次)テーブル626は、バッチアプリケーション名1600と変動係数1601、平均処理時間(秒)1602を対応付けて格納する。バッチアプリケーション名1600には全てのバッチアプリケーションの名称が格納され、変動係数1601にはバッチ性能予測及び対策支援サーバ14が具備しているバッチ実行実績反映処理614の処理件数および処理時間抽出615を用いて稼動実績テーブル622に格納されている各バッチの年月日1200および処理時間1203を元に算出した同一曜日のみの処理時間の変動係数が格納され、平均処理時間(秒)1602にはバッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604を用いて稼動実績テーブル622に格納されている各バッチの処理時間1203の処理時間の平均値が格納されている。
FIG. 16 is a diagram illustrating a data configuration example of the coefficient of variation (weekly) table 626. The variation coefficient (weekly) table 626 stores the
格納されている変動係数1601、平均処理時間(秒)1602は、バッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604で参照される。
The stored
図17は、変動係数(月次)テーブル627のデータ構成例を示す図である。変動係数(月次)テーブル627は、バッチアプリケーション名1700と変動係数1701、平均処理時間(秒)1702を対応付けて格納する。バッチアプリケーション名1700には全てのバッチアプリケーションの名称が格納され、変動係数1701にはバッチ性能予測及び対策支援サーバ14が具備しているバッチ実行実績反映処理614の処理件数および処理時間抽出615を用いて稼動実績テーブル622に格納されている各バッチの年月日1200および処理時間1203を元に算出した別月の同一日のみの処理時間の変動係数が格納され、平均処理時間(秒)1702にはバッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604を用いて稼動実績テーブル622に格納されている各バッチの処理時間1203の処理時間の平均値が格納されている。
FIG. 17 is a diagram illustrating a data configuration example of the coefficient of variation (monthly) table 627. The variation coefficient (monthly) table 627 stores the
格納されている変動係数1701、平均処理時間(秒)1702は、バッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604で参照される。
The stored coefficient of
図18は、変動係数(年次)テーブル628のデータ構成例を示す図である。変動係数(年次)テーブル628は、バッチアプリケーション名1800と変動係数1801、平均処理時間(秒)1802を対応付けて格納する。バッチアプリケーション名1800には全てのバッチアプリケーションの名称が格納され、変動係数1801にはバッチ性能予測及び対策支援サーバ14が具備しているバッチ実行実績反映処理614の処理件数および処理時間抽出615を用いて稼動実績テーブル622に格納されている各バッチの年月日1200および処理時間1203を元に算出した別年の同一日のみの処理時間の変動係数が格納され、平均処理時間(秒)1802にはバッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604を用いて稼動実績テーブル622に格納されている各バッチの処理時間1203の処理時間の平均値が格納されている。
FIG. 18 is a diagram illustrating a data configuration example of the coefficient of variation (yearly) table 628. The variation coefficient (yearly) table 628 stores the
格納されている変動係数1801、平均処理時間(秒)1802は、バッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604で参照される。
The stored coefficient of
図19は、処理時間予測結果テーブル629のデータ構成例を示す図である。処理時間予測結果テーブル629は、バッチアプリケーション名1900と予測時間(秒)1901を対応付けて格納する。バッチアプリケーション名1900には全てのバッチアプリケーションの名称が格納され、予測時間(秒)1901には処理件数と性能単価による処理時間算出処理603または過去実績の傾向による処理時間算出処理604を用いて算出した値が格納され、予測処理時間のユーザ補正処理605の処理件数補正606および処理特性による補正607、性能対策支援処理610の対策内容選定612を用いて算出された値に更新される。格納および更新された予測時間(秒)1901は、予測処理時間のユーザ補正処理605の処理件数補正606および処理特性による補正607、バッチ終了予定時刻算出処理608で参照される。
FIG. 19 is a diagram illustrating a data configuration example of the processing time prediction result table 629. The processing time prediction result table 629 stores the
次に、性能予測および性能対策支援の全体処理フローについて、図面を用いて詳細に説明する。 Next, the overall processing flow of performance prediction and performance countermeasure support will be described in detail with reference to the drawings.
図20は、性能予測および性能対策支援の処理全体を示すフローチャートである。フローチャートに示す処理は日次で1回実行され、定期起動S2000のタイミングは全バッチの実行完了後である。 FIG. 20 is a flowchart showing the entire performance prediction and performance countermeasure support processing. The processing shown in the flowchart is executed once a day, and the timing of the regular activation S2000 is after completion of execution of all batches.
実行実績の反映S2001は、バッチ性能予測及び対策支援サーバ14が具備しているバッチ実行実績反映処理614を用いる。実行実績の反映S2001の詳細処理フローを図21に示す。
The execution performance reflection S2001 uses the batch execution performance reflection processing 614 provided in the batch performance prediction and
処理件数の抽出S2101は、バッチ性能予測及び対策支援サーバ14が具備している処理件数および処理時間抽出615を用いてバッチサーバ12が具備するアプリケーションログ405を元に実行された全バッチについての処理件数を抽出し、バッチサーバ12が具備する稼動実績テーブル622の処理件数1202に挿入する。その際、年月日1200およびバッチアプリケーション名1201も合わせて挿入する。
The processing number extraction S2101 is processing for all batches executed based on the
処理時間の算出S2102では、バッチ性能予測及び対策支援サーバ14が具備している処理件数および処理時間抽出615を用いてバッチサーバ12が具備するアプリケーションログ405を元に実行された全バッチについての処理開始時刻と処理終了時刻を抽出し、その差分を処理時間として算出してバッチサーバ12が具備する稼動実績テーブル622の年月日1200、バッチアプリケーション名1201をキーにしてヒットする行の処理時間(秒)1203に格納する。
In the processing time calculation S2102, the processing for all batches executed based on the
性能単価の算出S2103では、バッチ性能予測及び対策支援サーバ14が具備している性能単価および相関係数再計算616を用いてバッチ性能予測及び対策支援サーバ14が具備している稼動実績テーブル622のバッチアプリケーション名1201をキーに処理件数1202、処理時間1203を全て抽出して各々性能単価を算出し、その平均値をバッチ性能予測及び対策支援サーバ14が具備している性能単価テーブル621の同じバッチアプリケーション名1100の性能単価1101を更新する。この処理を全バッチアプリケーションに対して実行する。
In the performance unit price calculation S2103, the performance unit price and
相関係数の再計算S2104では、バッチ性能予測及び対策支援サーバ14が具備している性能単価および相関係数再計算616を用いてバッチ性能予測及び対策支援サーバ14が具備している稼動実績テーブル622のバッチアプリケーション名1201をキーに処理件数1202、処理時間1203を全て抽出して相関係数を算出し、バッチ性能予測及び対策支援サーバ14が具備している相関係数テーブル624の同じバッチアプリケーション名1400の相関係数1401を更新する。この処理を全バッチアプリケーションに対して実行する。
In the correlation coefficient recalculation S 2104, the performance unit table provided in the batch performance prediction and
処理件数のカウントS2002は、バッチ性能予測及び対策支援サーバ14が具備している処理件数カウント処理602を用いて各バッチの処理件数を抽出するSQLをHUB−DBサーバ11のDBテーブル301、302に対して実行し、抽出した処理件数をバッチ性能予測及び対策支援サーバ14が具備している処理件数テーブル620の同じバッチアプリケーション名1000の処理件数1001を更新する。この処理を全バッチアプリケーションに対して実行する。
In the process count S2002, the SQL for extracting the process count of each batch using the process
処理件数と性能単価による予測処理時間の算出S2003は、バッチ性能予測及び対策支援サーバ14が具備している処理件数と性能単価による処理時間算出処理603を用いてバッチ性能予測及び対策支援サーバ14が具備している処理件数テーブル620の全てのバッチアプリケーション名1000に対して処理件数1001抽出し、抽出した処理件数1001とバッチ性能予測及び対策支援サーバ14が具備している性能単価テーブル621の同じバッチアプリケーション名1100の性能単価1101を乗算した結果をバッチ性能予測及び対策支援サーバ14が具備している処理時間予測ワークテーブル623の同じバッチアプリケーション名1300の予測処理時間1301に格納する。
In step S2003, the batch processing time prediction and
相関係数が0.7以上かどうかを判定するS2004は、バッチ性能予測及び対策支援サーバ14が具備している処理件数と性能単価による処理時間算出処理603を用いてバッチ性能予測及び対策支援サーバ14が具備している相関係数テーブル624の相関係数1401を抽出する。この相関係数1401は処理件数と処理時間の相関係数である。前記検索処理を全てのバッチアプリケーション名1400の相関係数1401に対して実行する。前記検索処理で抽出した相関係数1401が閾値(今回の例では0.7とする)以上かどうかを判定し、0.7以上の場合は処理時間予測結果テーブル629の同じバッチアプリケーション名1900の行の予測時間1901に格納する。相関係数1401が0.7未満の場合は、本処理は終了とし、過去実績の傾向による予測処理時間の算出S2005を実行する。尚、閾値の値の大小問わず本実施形態は実現可能なものである。
In step S2004 for determining whether the correlation coefficient is 0.7 or more, the batch performance prediction and countermeasure support server uses the processing
本実施形態では、既に述べたように、本実施形態における相関係数とは、処理件数をx、x件の処理を実行するのに要する処理時間(全体の処理時間)をyとして、xとyとの関係をy=f(x)=Cxkと表した時の指数kのことであり、この指数kを決める際に、この指数kには通常の数理統計処理における相関係数が含まれるため、指数kのことを相関係数と称している。数理統計処理で、2つの変数の間に相関があるかどうかの判定基準として、2つの変数のデータ列のn次元ベクトルのなす角θの方向余弦(cosθ)である相関係数の絶対値が、θ=π/4に対応する1/√(2)(=0.707)の値が用いられることが多い。上記の相関係数の値の判定の閾値は、この値に対応する。 In the present embodiment, as already described, the correlation coefficient in the present embodiment is x, where x is the number of processing cases, y is the processing time (total processing time) required to execute x processing, and x This is an index k when the relationship with y is expressed as y = f (x) = Cx k. When determining this index k, this index k includes a correlation coefficient in ordinary mathematical statistical processing. Therefore, the index k is referred to as a correlation coefficient. In mathematical statistical processing, as a criterion for determining whether or not there is a correlation between two variables, the absolute value of the correlation coefficient that is the direction cosine (cos θ) of the angle θ formed by the n-dimensional vector of the data string of the two variables is In many cases, a value of 1 / √ (2) (= 0.707) corresponding to θ = π / 4 is used. The threshold value for determining the correlation coefficient value corresponds to this value.
過去実績の傾向による予測処理時間の算出S2005は、バッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604を用いる。過去実績の傾向による予測処理時間の算出S2005の詳細処理フローを図22に示す。
The
予測処理時間の算出(日次)S2201は、バッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604を用いてバッチ性能予測及び対策支援サーバ14が具備している稼動実績テーブル622の処理時間1203をバッチアプリケーション名1201毎に全て抽出し、その変動係数を算出してバッチ性能予測及び対策支援サーバ14が具備している変動係数(日次)テーブル625の同じバッチアプリケーション名1501の変動係数1501に格納する。また、処理時間の平均値を平均処理時間(秒)1502に格納する。前記処理を全てのバッチアプリケーション名1500に対して実行する。
Prediction processing time calculation (daily) S2201 is provided in the batch performance prediction and
予測処理時間の算出(週次)S2202は、バッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604を用いてバッチ性能予測及び対策支援サーバ14が具備している稼動実績テーブル622の年月日1200が処理実行日と同じ曜日である処理時間1203をバッチアプリケーション名1201毎に全て抽出し、その変動係数を算出してバッチ性能予測及び対策支援サーバ14が具備している変動係数(週次)テーブル626の同じバッチアプリケーション名1601の変動係数1601に格納する。また、処理時間の平均値を平均処理時間(秒)1602に格納する。前記処理を全てのバッチアプリケーション名1600に対して実行する。
Prediction processing time calculation (weekly) S2202 is provided in the batch performance prediction and
予測処理時間の算出(月次)S2203は、バッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604を用いてバッチ性能予測及び対策支援サーバ14が具備している稼動実績テーブル622の年月日1200が処理実行日と同じ日かつ別の月である処理時間1203をバッチアプリケーション名1201毎に全て抽出し、その変動係数を算出してバッチ性能予測及び対策支援サーバ14が具備している変動係数(月次)テーブル627の同じバッチアプリケーション名1701の変動係数1701に格納する。また、処理時間の平均値を平均処理時間(秒)1702に格納する。前記処理を全てのバッチアプリケーション名1700に対して実行する。
Prediction processing time calculation (monthly) S2203 is provided in the batch performance prediction and
予測処理時間の算出(年次)S2204は、バッチ性能予測及び対策支援サーバ14が具備している過去実績の傾向による処理時間算出処理604を用いてバッチ性能予測及び対策支援サーバ14が具備している稼動実績テーブル622の年月日1200が処理実行日と同じ日かつ別の年月である処理時間1203をバッチアプリケーション名1201毎に全て抽出し、その変動係数を算出してバッチ性能予測及び対策支援サーバ14が具備している変動係数(年次)テーブル628の同じバッチアプリケーション名1801の変動係数1801に格納する。また、処理時間の平均値を平均処理時間(秒)1802に格納する。前記処理を全てのバッチアプリケーション名1800に対して実行する。
Prediction processing time calculation (annual) S2204 is provided in the batch performance prediction and
変動係数が最小である予測処理時間の採用S2205は、前記S2201からS2204で算出した各バッチの日次、週次、月次、年次4つの変動係数の中で最も変動係数が0に近い種類の平均処理時間をそのバッチの予測処理時間として採用し、バッチ性能予測及び対策支援サーバ14が具備している処理時間予測結果テーブル629の同じバッチアプリケーション名1900の予測時間1901に格納する。
Adopting the predicted processing time with the smallest variation coefficient S2205 is a type in which the variation coefficient is closest to 0 among the four daily, weekly, monthly, and yearly variation coefficients calculated in S2201 to S2204. Is used as the predicted processing time of the batch, and stored in the predicted
予測処理時間のユーザ補正結果適用S2006は、バッチ性能予測及び対策支援サーバ14が具備している予測処理時間のユーザ補正処理605を用いる。予測処理時間のユーザ補正結果適用S2006の詳細処理フローを図23に示す。
The user correction result application S2006 for the prediction processing time uses the
処理件数の補正S2300では、バッチ性能予測及び対策支援サーバ14が具備している処理件数補正606の処理件数補正画面2400を用いる。処理件数補正画面例を図24に示す。処理件数補正画面2400のバッチアプリケーション名2401にバッチ性能予測及び対策支援サーバ14が具備している処理時間予測結果テーブル629のバッチアプリケーション名1900に登録されている全バッチアプリケーション名1900を表示し、バッチアプリケーション名1201をキーに稼動実績テーブル622から過去の処理件数1202を全て抽出したその平均値を平均処理件数2402に表示し、バッチアプリケーション名1000をキーに処理件数テーブル620から抽出した処理件数1001を処理件数2403に表示し、予測処理時間2404には、バッチアプリケーション名1900をキーに処理時間予測結果テーブル629から抽出した予測処理時間1901を表示する。処理件数2403はユーザが訂正することが可能であり、処理件数2403の訂正後に再計算2405ボタンを押下することで、訂正後の処理件数2403に、バッチアプリケーション名1100をキーに性能単価テーブル621から抽出した性能単価1101を乗算した値を予測処理時間2404に再表示する。また、決定2406ボタン押下後に処理時間予測結果テーブル629をバッチアプリケーション名1900で検索し該当する列の予測処理時間1901に格納する。
In the processing number correction S2300, the processing
処理特性による補正S2301では、バッチ性能予測及び対策支援サーバ14が具備している処理特性による補正607の処理特性による補正画面2500を用いる。処理特性による補正画面2500の画面例を図25に示す。処理特性による補正画面2500のバッチ名2501にバッチ性能予測及び対策支援サーバ14が具備している処理時間予測結果テーブル629のバッチアプリケーション名1900に登録されている全バッチアプリケーション名1900を表示し、処理件数依存(率)2502には、バッチアプリケーション名1400をキーに相関係数テーブル624から抽出した相関係数1401が閾値(0.7)以上である場合には100を表示し、閾値(0.7)未満の場合は0を表示し、処理件数依存(時間)2503には、バッチアプリケーション名1300をキーに処理時間予測ワークテーブル623から抽出した予測時間1301を表示し、処理時間実績依存(率)2504には、バッチアプリケーション名1400をキーに相関係数テーブル624から抽出した相関係数1401が閾値(0.7)未満である場合には100を表示し、閾値(0.7)以上の場合は0を表示し、処理時間実績依存(時間)2505には、バッチアプリケーション名1500をキーに変動係数(日次)テーブル625から抽出した平均処理時間1501を表示する。処理件数依存(率)2502と処理時間実績依存(率)2504は合計100になるようになっており、この値をユーザが訂正することが可能である。即ち、「100」と「0」、又は「0」と「100」の初期値に対して補正できる。訂正後に再計算2508ボタンを押下することで、コンピュータは予測処理時間2506を以下の数式により再計算する。
(数1)
予測処理時間=処理件数依存(率)÷100×処理件数依存(時間)+処理時間実績依存(率)÷100×処理時間実績依存(時間)
但し、処理件数依存(率)及び処理時間実績依存(率)は、これらの値の和が1になる値である。
In the correction S2301 based on the processing characteristics, the
(Equation 1)
Predicted processing time = number of processing cases (rate) / 100 x number of processing cases (time) + actual processing time dependency (rate) / 100 x actual processing time dependency (time)
However, the processing number dependency (rate) and the processing time performance dependency (rate) are values at which the sum of these values becomes 1.
決定2509ボタンを押下することで、コンピュータは予測処理時間2506をバッチ性能予測及び対策支援サーバ14が具備している処理時間予測結果テーブル629をバッチアプリケーション名1900で検索し該当する列の予測時間1901に格納する。
By pressing the
バッチ終了予定時刻の算出S2007は、バッチ性能予測及び対策支援サーバ14が具備しているバッチ終了予定時刻算出処理608のバッチ終了時刻表示画面2600を表示する。バッチ終了時刻表示画面2600の画面例を図26に示す。バッチアプリケーション名2601にバッチ性能予測及び対策支援サーバ14が具備している処理時間予測結果テーブル629のバッチアプリケーション名1900に登録されている全バッチアプリケーション名1900を表示し、処理時間2602に、バッチアプリケーション名1900をキーに処理時間予測結果テーブル629から抽出した予測時間1901を表示し、バッチ処理終了予定時刻2603に処理時間予測結果テーブル629に格納されている各バッチの処理時間とバッチ実行管理サーバ13に格納されているバッチ実行定義503を元にバッチの前後関係や実行時間を考慮して全バッチが終了する時刻を算出し、表示する。
The scheduled batch end time calculation S2007 displays the batch end
バッチ終了予定時刻が6:00以降かどうかを判定するS2008は前記バッチ終了時刻表示画面2600の決定2605ボタン押下時に表示されているバッチ処理終了予定時刻2603が閾値(今回の例では6:00とする)を超えているかどうかを判定し、閾値(6:00)を超えている場合は本処理を完了して性能対策支援処理の実行S2009を実行し、閾値(6:00)を超えていない場合は本処理を完了してendのS2010となる。尚、閾値の値はシステムの特性を考慮してバッチが完了すべき時間を設定すれば良く、本実施形態は閾値の値を問わず実施可能なものである。
In S2008 for determining whether or not the scheduled batch end time is after 6:00, the scheduled batch
性能対策支援処理の実行S2009はバッチ性能予測及び対策支援サーバ14が具備している性能対策支援処理610を用いる。性能対策支援処理の実行S2009おける詳細フローを図27に示す。
The performance
対策候補バッチの選定S2700は、バッチ性能予測及び対策支援サーバ14が具備している対策候補バッチ選定611を用いて性能対策を行うバッチの候補を選定する。全バッチに対策を実行するとその分ユーザの操作も必要となり非効率であることから、パレートの法則である「処理件数が全体の2割であるバッチが、全体の処理時間の8割を占める」という考え方に則って処理時間の上位2割のバッチをバッチ性能予測及び対策支援サーバ14が具備している処理時間予測結果テーブル629のバッチアプリケーション名1900および予測時間1901から選定し、該当するバッチアプリケーション名1900を図28に示す性能対策画面2800の対策候補2801にチェックを入れた状態で表示する。対象バッチ2802にはバッチ性能予測及び対策支援サーバ14が具備している処理時間予測結果テーブル629のバッチアプリケーション名1900全てを表示する。
In step S2700, a candidate batch for performing performance countermeasures is selected using the
対策内容の選定S2701は、バッチ性能予測及び対策支援サーバ14が具備している対策内容選定612を用いて予め性能対策マスタ619に登録済みの各バッチアプリケーション名900の対策候補A901、対策候補B902、対策候補C903を性能対策支援画面2800の対策内容2803にプルダウン形式で表示する。プルダウンで初期表示されているのは対策候補A901の値である。ユーザがプルダウンで性能対策内容を2803選択可能であり、変更後に再計算2806ボタンを押下すると対策対象2801にチェックが入っているバッチアプリケーションについて、選択された性能対策内容2803および対象バッチ2802とバッチ性能予測及び対策支援サーバ14が具備している稼動実績テーブル622の性能対策実施内容1204とバッチアプリケーション名1201が一致する行の処理時間1203を全て抽出してその平均値を算出し、処理時間2804に再表示し、処理時間予測結果テーブル629の同じバッチアプリケーション名1900の予測時間1901に格納する。また、バッチ性能予測及び対策支援サーバ14が具備しているバッチ終了予定時刻算出処理608を呼び出しでバッチ終了時刻を算出し、バッチ処理終了予定時刻2805に表示する。
The measure
対策指示S2702は、バッチ性能予測及び対策支援サーバ14が具備している対策指示613に具備している性能対策支援画面2800にて決定2807ボタンを押下すると、性能対策支援画面2800の対策対象2801にチェックが入った対象バッチ2802に対して対策内容2803を実行する。対策内容2803が実行SKIPである場合は、バッチ実行管理サーバ13のバッチ実行定義503を該当バッチアプリケーションの当日の実行をSKIPするように変更する。対策内容2803が分割実行である場合は、バッチ実行管理サーバ13のバッチ実行定義503にて該当バッチの当日の実行をSKIPするよう変更し、予め登録されている分割実行用のバッチ実行定義を実行登録する。対策内容2803がスケールアップである場合は、運用端末15を利用する運用管理者にバッチサーバ12のスケールアップを指示するメールを送信する。
The countermeasure instruction S2702 is displayed as a
11:HUB−DBサーバ、12:バッチサーバ、13:バッチ実行管理サーバ、14:バッチ性能予測及び対策支援サーバ、15:運用端末、16:ネットワーク、300、400、500、600、700:記憶部、301、302、618:DBテーブル、401、501、601:プログラム、405:アプリケーションログ、503:バッチ実行定義、704:表示部兼入力部 11: HUB-DB server, 12: Batch server, 13: Batch execution management server, 14: Batch performance prediction and countermeasure support server, 15: Operation terminal, 16: Network, 300, 400, 500, 600, 700: Storage unit , 301, 302, 618: DB table, 401, 501, 601: Program, 405: Application log, 503: Batch execution definition, 704: Display / input unit
Claims (6)
各バッチアプリケーションの実行時間を処理件数、性能単価および処理時間の過去実績から統計的手法を用いて予測する手段、
ユーザが運用端末から補正する処理件数や各バッチアプリケーションの処理時間の特性をインプットとしてコンピュータは予測時間を再計算する手段、
バッチアプリケーションの実行順序性や実行時間に基づいて当日の全バッチアプリケーション処理の終了時刻を算出する手段、
終了時刻がバッチ実行可能時間帯を超える場合に、性能対策をユーザが選択し選択された性能対策をコンピュータが実行指示する手段を有することを特徴とするバッチ性能予測及び対策支援システム。 In a system that executes a plurality of batch application processes with order in a predetermined batch executable time zone,
A means to predict the execution time of each batch application from the number of processing, performance unit price and past performance time using statistical methods,
A means for the computer to recalculate the estimated time using as input the number of processes corrected by the user from the operation terminal and the characteristics of the processing time of each batch application,
A means for calculating the end time of all batch application processes on the current day based on the execution order and execution time of batch applications,
A batch performance prediction and countermeasure support system comprising means for allowing a user to select a performance countermeasure and instructing the execution of the selected performance countermeasure when the end time exceeds a batch executable time zone.
各バッチアプリケーションの前日時点の処理件数を取得し、
過去のバッチ稼動実績から算出する各バッチの性能単価と前記処理件数とを乗算して全バッチの処理時間を算出し、
過去のバッチ稼動実績から処理件数と処理時間との相関係数を算出し、
前記相関係数が閾値以上である場合は前記算出した処理時間を予測値として採用し、そうでない場合は、バッチ稼動実績から過去の種々の特定期日における処理時間の平均値の中で最も変動係数が0に値になる処理時間の平均値を予測値として採用する、ことを特徴とするバッチ性能予測及び対策支援方法。 In a method of executing a plurality of batch application processes with order in a predetermined batch executable time zone using a computer,
Get the number of processes as of the previous day of each batch application,
Multiply the performance unit price of each batch calculated from the past batch performance and the number of processing cases to calculate the processing time for all batches,
Calculate the correlation coefficient between the number of processing cases and processing time from the past batch operation results,
If the correlation coefficient is greater than or equal to a threshold value, the calculated processing time is adopted as a predicted value, and if not, the variation coefficient is the largest among the average values of processing time on various specific dates in the past from the batch operation results. A batch performance prediction and countermeasure support method characterized in that an average value of processing times when the value of 0 is 0 is adopted as a predicted value.
予め定義されているバッチ実行定義を用いて当日の全バッチの終了時刻を算出し、
前記算出したバッチ終了時刻の予測値がバッチ実行可能時間帯に収まっていない場合は性能対策を実行指示する、ことを特徴とする請求項2記載のバッチ性能予測及び対策支援方法。 Based on the estimated value of the processing time adopted, recalculate the processing time in consideration of the correction information of the processing number input by the user using the operation terminal, the correction number of the processing number dependency rate and the processing time performance dependency rate. ,
Use the predefined batch execution definition to calculate the end time of all batches for the day,
3. The batch performance prediction and countermeasure support method according to claim 2, wherein when the calculated predicted value of the batch end time does not fall within the batch executable time zone, execution of performance countermeasures is instructed.
運用端末の画面に表示する、ことを特徴とする請求項3記載のバッチ性能予測及び対策支援方法。 When executing performance measures, the performance measures for all batches set in advance for each batch, and the predicted processing time and end time of all batches when performance measures are applied to the batches targeted for performance measures are calculated from the batch operation results. And
4. The batch performance prediction and countermeasure support method according to claim 3, wherein the batch performance prediction and countermeasure support method are displayed on a screen of an operation terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013130773A JP2015005191A (en) | 2013-06-21 | 2013-06-21 | Batch performance predicting and performance optimization supporting method, and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013130773A JP2015005191A (en) | 2013-06-21 | 2013-06-21 | Batch performance predicting and performance optimization supporting method, and system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2015005191A true JP2015005191A (en) | 2015-01-08 |
Family
ID=52301016
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013130773A Pending JP2015005191A (en) | 2013-06-21 | 2013-06-21 | Batch performance predicting and performance optimization supporting method, and system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2015005191A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016189101A (en) * | 2015-03-30 | 2016-11-04 | 鉄道情報システム株式会社 | Batch processing system, batch processing method, batch processing program, and storage medium readable by computer storing batch processing program |
CN109304035A (en) * | 2018-09-03 | 2019-02-05 | Oppo广东移动通信有限公司 | Acquisition methods, device, terminal device and the storage medium of game duration |
WO2019059135A1 (en) * | 2017-09-20 | 2019-03-28 | 日本電気株式会社 | Information processing device, information processing system, information processing method and recording medium |
-
2013
- 2013-06-21 JP JP2013130773A patent/JP2015005191A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016189101A (en) * | 2015-03-30 | 2016-11-04 | 鉄道情報システム株式会社 | Batch processing system, batch processing method, batch processing program, and storage medium readable by computer storing batch processing program |
WO2019059135A1 (en) * | 2017-09-20 | 2019-03-28 | 日本電気株式会社 | Information processing device, information processing system, information processing method and recording medium |
JPWO2019059135A1 (en) * | 2017-09-20 | 2020-04-16 | 日本電気株式会社 | Information processing apparatus, information processing system, information processing method, and program |
CN109304035A (en) * | 2018-09-03 | 2019-02-05 | Oppo广东移动通信有限公司 | Acquisition methods, device, terminal device and the storage medium of game duration |
CN109304035B (en) * | 2018-09-03 | 2022-04-19 | Oppo广东移动通信有限公司 | Game time length obtaining method and device, terminal equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6843882B2 (en) | Learning from historical logs and recommending database operations for data assets in ETL tools | |
US10846643B2 (en) | Method and system for predicting task completion of a time period based on task completion rates and data trend of prior time periods in view of attributes of tasks using machine learning models | |
AU2013217027B2 (en) | Analytics driven engagement | |
US20170039577A1 (en) | Generating metadata and visuals related to mined data habits | |
JP2009514105A (en) | Custom user definable keyword bidding system and method | |
US20190303356A1 (en) | Database capacity estimation for database sizing | |
Terry | Alternative methods for solving heterogeneous firm models | |
US10937070B2 (en) | Collaborative filtering to generate recommendations | |
US20170083566A1 (en) | Partitioning advisor for online transaction processing workloads | |
US20140019207A1 (en) | Interactive in-memory based sales forecasting | |
JP2015005191A (en) | Batch performance predicting and performance optimization supporting method, and system | |
CN112036631A (en) | Purchasing quantity determination method, device, equipment and storage medium | |
US7603253B2 (en) | Apparatus and method for automatically improving a set of initial return on investment calculator templates | |
Byrd et al. | An active-set algorithm for nonlinear programming using parametric linear programming | |
US11341197B2 (en) | Recommendation system based on adjustable virtual indicium | |
JP5865297B2 (en) | Candidate presentation apparatus, candidate presentation method and program | |
TW201717114A (en) | Technology trend predicting method and system and non-transitory computer readable storage medium | |
CN110837907B (en) | Method and device for predicting wave order quantity | |
CN116910345A (en) | Label recommending method, device, equipment and storage medium | |
JP5911831B2 (en) | Production management device and production management program | |
JP2010108078A (en) | Demand prediction device | |
US20140304031A1 (en) | Method and system for performing analysis of item order frequency | |
JP5678729B2 (en) | Information processing apparatus, work importance calculation method, and work importance calculation program | |
JP2019102088A (en) | Optimization of execution time of computer program by determining implementation of function according to range of input parameters and accuracy | |
JP6915821B1 (en) | Project management equipment and project management program |