JP5058416B2 - Batch control system for online combination system, program for batch control of online combination system, and recording medium recording the program - Google Patents
Batch control system for online combination system, program for batch control of online combination system, and recording medium recording the program Download PDFInfo
- Publication number
- JP5058416B2 JP5058416B2 JP2001271458A JP2001271458A JP5058416B2 JP 5058416 B2 JP5058416 B2 JP 5058416B2 JP 2001271458 A JP2001271458 A JP 2001271458A JP 2001271458 A JP2001271458 A JP 2001271458A JP 5058416 B2 JP5058416 B2 JP 5058416B2
- Authority
- JP
- Japan
- Prior art keywords
- batch
- batch job
- execution
- restriction
- online
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000012545 processing Methods 0.000 claims description 150
- 238000000034 method Methods 0.000 claims description 25
- 238000012544 monitoring process Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 8
- 230000001360 synchronised effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 239000000725 suspension Substances 0.000 description 3
- 230000006866 deterioration Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000004886 process control Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 101000878457 Macrocallista nimbosa FMRFamide Proteins 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000002459 sustained effect Effects 0.000 description 1
Images
Description
【0001】
【発明の属する技術分野】
本発明はコンピュータシステム、特に共通のデータベースに対してオンライン処理とバッチジョブとを並行して行うシステムにおけるバッチジョブ制御システム、及びこの種のシステムに用いるプログラム、並びにそのプログラムを記録した記録媒体に関し、コンピュータを用いたデータ管理技術の分野に属する。
【0002】
【従来の技術】
近年、銀行やクレジットカード会社等のコンピュータを用いた管理システムにおいては、ATMによる夜間取引の普及やカード取引の国際化等に伴い、オンライン処理の24時間化が要求されているところであり、また、これらの管理業務としてのバッチジョブが増大する傾向にある。そこで、従来、共通のデータベースに対して時間帯を異ならせて行なっていたオンライン処理とバッチジョブとを同時に並行処理することが試みられ、その実用化が図られている。
【0003】
【発明が解決しようとする課題】
ところで、バッチジョブにおいては、例えば特定取引に関連する一連の処理を終了した時点或いはそのような処理を所定回数実行した時点、又は所定の処理時間が経過した時点等のインターバルで、更新されたデーターベースの内容を確定する所謂同期処理が行われるが、この同期処理はCPUに与える負荷が大きく、時間も要することから、従来においては、バッチジョブの能率向上のため、上記インターバルを比較的長くし、同期処理の回数を極力少なくするように設定するのが通例であった。
【0004】
しかし、上記のようなオンライン処理との併用システムでは、バッチジョブの同期処理のインターバルを長くすると、データベースの排他機能により、更新し或いは読み込んだレコードが同期処理されるまでオンライン処理の受け付けを拒否するので、オンライン処理の迅速な処理が妨げられることになり、その結果、特に昼間時等のオンライン処理が集中する時間帯は、オンライン処理のレスポンス時間が著しく長くなり、その処理に支障を来すことになる。
【0005】
この問題に対しては、オンライン処理が集中し易い昼間時等の所定の時間帯は、バッチジョブの同期処理を行なうインターバルを短くすることにより、データベースの排他状態にあるレコードを早期に解放してオンライン処理を促進し、そのレスポンス時間を短くするといった調整を行なうことが考えられる。
【0006】
しかし、このように時間帯による画一的な調整だけでは、オンライン処理が予想以上に集中したときに、これを十分に処理することができなくなってレスポンスの悪化が発生することになり、逆にオンライン処理の発生が少ないときには、必要以上にバッチジョブを制限することになって、ホストコンピュータの全体としての処理能力を低下させることになる。
【0007】
そこで、本発明は、オンライン処理とバッチジョブとを並行処理するコンピュータシステムにおいて、バッチジョブを必要以上に制限することなく、オンライン処理を効果的に促進して、ホストコンピュータの高い処理能力を維持しながら、オンライン処理のレスポンスの悪化等の不具合を回避することを課題とする。
【0008】
【課題を解決するための手段】
即ち、本発明は上記課題の解決のため、次のように構成したことを特徴とする。
【0009】
まず、本願の請求項1に記載の発明は、オンライン処理実行手段及びバッチジョブ実行手段により、共通のデータベースに対してオンライン処理とバッチジョブとを並行して実行するシステムのバッチ制御システムに関するものであって、上記両実行手段によるオンライン処理とバッチジョブの並行処理中におけるオンライン処理の待機状態の発生を検出する待機状態検出手段と、該検出手段によりオンライン処理の待機状態が検出されたときに、その待機状態が軽減されるように、上記バッチジョブ実行手段によるバッチジョブ実行時の制御パラメータを変更するバッチジョブ制御手段とを有し、上記待機状態検出手段は、オンライン処理のレスポンス時間に基づいてオンライン処理の待機状態が発生したことを検出し、上記バッチジョブ制御手段は、上記待機状態検出手段が検出したオンライン処理のレスポンス時間が所定の基準値を最初に超えたときに、制御パラメータを非制限時用パラメータから所定の1次制限用パラメータに変更して、上記バッチジョブ実行手段によるバッチジョブの実行を1次制限すると共に、1次制限後の所定の期間に、上記レスポンス時間が上記基準値を再び超えたときは、該基準値を超えるごとに、上記1次制限時の変更量より小さな変更量で制御パラメータの値を変更してバッチジョブの実行を次第に制限する2次制限を行うことを特徴とする。
【0010】
この発明によれば、オンライン処理とバッチジョブとが並行して実行されている場合に、バッチジョブによって排他状態となっているレコードの増大により、オンライン処理に所定限度以上の待機状態が発生した場合に、バッチジョブに対し、同期処理のインターバル等の制御パラメータを変更することによって制限が加えられることになる。これにより、オンライン処理が促進され、そのレスポンスが改善されることになる。
【0011】
また、請求項2に記載の発明は、上記請求項1に記載のシステムにおいて、バッチジョブ制御手段は、バッチジョブの実行を1次制限した後、第1所定時間が経過するまでは、2次制限を行なわず、1次制限の状態を持続することを特徴とする。
【0012】
この発明によれば、バッチジョブの実行を1次制限した後、第1所定時間が経過するまでは、オンライン処理のレスポンス時間が基準値を超えても2次制限が行なわれず、しばらく様子を見るために1次制限の状態が持続されることになる。
【0013】
また、請求項3に記載の発明は、上記請求項2に記載のシステムにおいて、バッチジョブ制御手段は、バッチジョブの実行を1次制限した後、上記第1所定時間よりも長い第2所定時間が経過するまでの間に2次制限を行った場合において、上記第2所定時間が経過した後に上記レスポンス時間が上記基準値を超えたときは、2次制限を行うことなく、その状態の発生をオペレータ端末に通知することを特徴とする。
【0014】
この発明によれば、バッチジョブの実行を1次制限した後、2次制限を行った場合において、第2所定時間が経過した後に上記レスポンス時間が基準値を再び超えたときは、その状態の発生がオペレータ端末に通知されるので、オペレータは、バッチジョブを一時停止させるためのコマンドを発するなどの処理を行なうことが可能となって、オンライン処理のレスポンスの著しい悪化が未然に回避されることになる。
【0015】
そして、請求項4に記載の発明は、上記請求項1から請求項3のいずれか1項に記載のシステムにおいて、バッチジョブ制御手段は、バッチジョブの実行の1次制限又は2次制限を行っている場合において、オンライン処理のレスポンス時間が上記基準値よりも短い第2の基準値未満となったときに、バッチジョブ実行時の制御パラメータを非制限時用パラメータにリセットすることを特徴とする。
【0016】
この発明によれば、バッチジョブの実行を制限している場合において、オンライン処理のレスポンス時間が制限開始時の基準値よりも短い第2の基準値未満となったときに制御パラメータが非制限時用パラメータにリセットされるので、1次制限又は2次制限の実行後、レスポンス時間が上記第2の基準値未満に低下するまでの間は、バッチジョブに対する制限は、その時点の状態が維持されることになる。
【0020】
一方、請求項5に記載の発明は、オンライン処理実行手段及びバッチジョブ実行手段により、共通のデータベースに対してオンライン処理とバッチジョブとが並行して実行され、かつ上記両実行手段によるオンライン処理とバッチジョブの並行処理中におけるオンライン処理の実行状態を監視するオンライン処理監視手段が備えられたシステムのバッチ制御用プログラムに関するものであって、コンピュータを、上記オンライン処理監視手段による監視結果に基づいてオンライン処理に待機状態が発生しているか否かを判定する待機状態判定手段、及び該判定手段によりオンライン処理の待機状態の発生が判定されたときに、その待機状態が軽減されるように、上記バッチジョブ実行手段によるバッチジョブ実行時の制御パラメータを変更するバッチジョブ制御手段として機能させると共に、上記待機状態検出手段として機能させるときは、オンライン処理のレスポンス時間に基づいてオンライン処理の待機状態が発生したことを検出するように機能させ、上記バッチジョブ制御手段として機能させるときは、上記待機状態検出手段が検出したオンライン処理のレスポンス時間が所定の基準値を最初に超えたときに、制御パラメータを非制限時用パラメータから所定の1次制限用パラメータに変更して、上記バッチジョブ実行手段によるバッチジョブの実行を1次制限すると共に、1次制限後の所定の期間に、上記レスポンス時間が上記基準値を再び超えたときは、該基準値を超えるごとに、上記1次制限時の変更量より小さな変更量で制御パラメータの値を変更してバッチジョブの実行を次第に制限する2次制限を行うように機能させることを特徴とする。
【0021】
また、請求項6に記載の発明は、上記請求項5に記載のプログラムにおいて、コンピュータをバッチジョブ制御手段として機能させるときは、バッチジョブの実行を1次制限した後、第1所定時間が経過するまでは、2次制限を行なわず、1次制限の状態を持続するように機能させることを特徴とする。
【0022】
また、請求項7に記載の発明は、上記請求項6に記載のプログラムにおいて、コンピュータをバッチジョブ制御手段として機能させるときは、バッチジョブの実行を1次制限した後、上記第1所定時間よりも長い第2所定時間が経過するまでの間に2次制限を行った場合において、上記第2所定時間が経過した後に上記レスポンス時間が上記基準値を超えたときは、2次制限を行うことなく、その状態の発生をオペレータ端末に通知するように機能させることを特徴とする。
【0023】
また、請求項8に記載の発明は、上記請求項5から請求項7のいずれか1項に記載のプログラムにおいて、コンピュータを上記バッチジョブ制御手段として機能させるときは、バッチジョブの実行の1次制限又は2次制限を行っている場合において、オンライン処理のレスポンス時間が上記基準値よりも短い第2の基準値未満となったときに、バッチジョブ実行時の制御パラメータを非制限時用パラメータにリセットするように機能させることを特徴とする。
【0025】
この請求項5から請求項8に記載のプログラムは、上記請求項1から請求項4に記載のシステムにそれぞれ対応するもので、これらのプログラムをバッチジョブ実行手段やオンライン処理実行手段等が備えられたコンピュータシステムで用いることにより、請求項1から請求項4のいずれか1項に記載のバッチ制御システムと同様の作用が得られる。
【0026】
そして、請求項9に記載の発明は、上記請求項5から請求項8のいずれか1項に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体に関するものであり、この記録媒体によれば請求項5から請求項8のいずれか1項に記載のプログラムが実行されることになって、請求項1から請求項4のいずれか1項に記載のバッチ制御システムと同様の作用が実現されることになる。
【0027】
【発明の実施の形態】
以下、本発明の実施の形態について説明する。
【0028】
図1はこの実施の形態に係るシステムのハード構成を示すもので、このシステムの中心となるホストコンピュータ10は、バッチ処理部11とオンライン処理部12とを有し、両処理部11、12に各種コマンドの入力やバッチジョブの進行状況の監視等に用いられるオペレータ端末機21が接続されている。
【0029】
また、バッチ処理部11は、外部の入力ファイルFL1からのデータの入力、出力ファイルFL2へのデータの出力が可能とされていると共に、同期処理のタイミングの設定等に用いられるカウンタ13とタイマ14とを備えており、また、オンライン処理部12は、通信制御装置22を介して多数のユーザー端末機(図示せず)と接続可能とされている。
【0030】
さらに、このホストコンピュータ10には、上記バッチ処理部11によるバッチジョブの処理状態を制御するためのバッチ制御部15が備えられており、このバッチ制御部15に、上記オペレータ端末機21と、上記オンライン処理部12によるオンライン処理の実行状況を監視するためのモニタ16と、クロック17とが接続されている。また、このバッチ制御部15には、属性に応じてグループ分けされた複数のバッチジョブがそれぞれ属するグループを記録したジョブグループテーブルTB1と、バッチジョブ実行時の制御条件となるパラメータを記録したパラメータテーブルTB2とが接続されている。
【0031】
そして、バッチ制御部15は、本発明の実施の形態に係るバッチ制御プログラムに従い、上記モニタ16からのオンライン処理の実行状況を示す信号と、上記クロック17からの信号と、上記オペレータ端末機21からのコマンド信号と、上記ジョブグループテーブルTB1及びパラメータテーブルTB2からそれぞれ読み出した情報とに基づき、上記バッチ処理部11によるバッチジョブの処理状態を制御するようになっている。
【0032】
ここで、上記ジョブグループテーブルTB1及びパラメータテーブルTB2について説明すると、まずジョブグループテーブルTB1は、図2に示すように、各バッチジョブを、専らデータベースDBの更新を行なうジョブであってオンライン処理を妨げる度合いの高いものと、データベースDBの参照が中心のジョブであって上記度合いの低いものと、データベースDBを使用しないものとに区分し、それぞれ区分A、区分B、区分Cとすると共に、各区分の複数のジョブに処理の緊急性等に応じた優先度1、2…を設定し、この区分と優先度とをパラメータとして各ジョブをグループ分けした構成となっている。
【0033】
また、上記パラメータテーブルTB2は、図3に示すように、ジョブグループテーブルTB1によってグループ分けされた各バッチジョブのうちの専らデータベースDBの更新を行なうジョブのグループA1、A2…、及びデータベースDBの参照が中心のジョブのグループB1、B2…ごとに、同期処理を実行するインターバルとなる所定の処理の所定実行回数(以下、「インターバル回数」という)及びジョブの開始時又は前回の同期処理実行時からの所定経過時間(以下、「インターバル時間」という)と、同期処理実行後に設けるバッチジョブの休止期間の時間の3つのパラメータを、オンライン優先時間帯でのバッチ非制限時、バッチ1次制限時及び2次制限時、並びにバッチ優先時間帯についてそれぞれ設定した構成となっている。
【0034】
その場合に、オンライン優先時間帯では、バッチジョブ非制限時に対して1次制限時はインターバル回数は少なく、インターバル時間は短くされて、バッチジョブの実行により排他状態となっているデータベースDBのレコードを早期に解放するように設定されおり、また、バッチジョブ休止時間が0より大きな値とされて、同期処理実行後にバッチジョブを所定時間休止するように設定されている。
【0035】
また、2次制限時の数値は、2次制限を1回実施するたびに、バッチジョブに対する制限度合いを高めるように1次制限時のパラメータの値に付加される値であって、インターバル回数及びインターバル時間については所定量づつ減算されることにより、排他状態にあるレコードを一層早期に解放するように設定され、同期処理実行後のバッチ休止時間については所定量づつ加算されて、この休止時間を長くするように設定されている。
【0036】
また、バッチジョブの優先度については、優先度が高いものほど、インターバル回数及びインターバル時間が大きな値にされ、かつ休止時間が短くされて、優先度の低いものより制限を抑制した設定とされ、また、バッチジョブの区分については、専らデータベースDBの更新を行なう区分(オンライン処理を妨げる度合いの高い区分)Aのジョブが、データベースDBの参照中心の区分(オンライン処理を妨げる度合いの低い区分)Bのジョブより、インターバル回数及びインターバル時間が小さな値に設定され、かつ休止時間が長くされて、バッチジョブに対する制限を強くした設定とされている。
【0037】
なお、バッチジョブの制限制御を行なわないバッチ優先時間帯では、インターバル回数及びインターバル時間は、いずれもオンライン優先時間帯より大きな値とされていると共に、同期処理実行後の休止時間は0とされ、バッチジョブの処理を積極的に推進するようになっている。
【0038】
次に、以上のシステムによるジョブの動作、特にオンライン処理の実行状態に応じたバッチジョブに対する制御動作について説明する。
【0039】
まず、図1に示すバッチ処理部11を中心としたバッチジョブ実行中の同期処理制御の動作を、図4に示すフローチャートに従って説明する。
【0040】
この同期処理制御は、バッチジョブのメインルーチンで呼び出されるサブルーチンとして、例えば入力ファイルFL1からのレコードの入力処理等、所定の処理を行なうごとに実行されるものであって、まずステップS1で、当該サブルーチンの呼び出し回数、即ち上記所定処理の実行回数を図1に示すカウンタ13によってカウントする。そして、ステップS2で、その回数が、前回の同期処理実行後、所定のインターバル回数に達したか否かを判定し、達していない場合には、ステップS3で、図1に示すタイマ14を用いて計測しているジョブの開始時又は前回の同期処理実行時点からの経過時間が所定のインターバル時間に達したか否かを判定する。
【0041】
上記インターバル回数及びインターバル時間は、後述するバッチ制限制御により、バッチジョブの属するグループ及びオンライン処理の実行状態に応じて、図3のパラメータテーブルTB2から予め読み出された値に設定されたものであるが、インターバル時間は、ホストコンピュータ10への入出力ファイルFL1、FL2のセット等に一定以上の時間を要する場合や、上記の所定処理が大量のデータを扱う処理であって、その実行に長時間を要する場合等に、上記インターバル回数に達する前であっても同期処理を行なうために設定されたものである。
【0042】
そして、前回の同期処理実行後、所定処理の実行回数がインターバル回数に達したとき、又はこのインターバル回数に達する前であっても、バッチ開始時又は前回の同期処理実行時からの経過時間が上記インターバル時間に達したときは、ステップS2又はステップS3からステップS4を実行し、データベースDBをその時点の更新状態で同期処理する。
【0043】
次に、ステップS5で、後述するバッチ制限制御により、上記パラメータテーブルTB2から予め読み出されて設定されている同期処理実行後のバッチ休止期間の時間(以下、「休止時間」という)が経過するのを待つ。この休止期間中はバッチジョブは休止され、その間ホストコンピュータ10は専らオンライン処理を実行することになる。なお、休止時間が0の場合、即ち同期処理実行後のバッチ休止期間が設定されていないときは、ステップS5は直ちに終了する。
【0044】
そして、休止時間が経過すれば、ステップS6で、カウンタ13による上記所定処理の実行回数(当該サブルーチンの呼び出し回数)のカウント値、及びタイマ14による計測時間をクリアし、この同期処理制御を終了する。
【0045】
次に、上記インターバル回数、インターバル時間及び休止時間等のバッチジョブの制御条件となるパラメータをオンライン処理の実行状態に応じて設定するバッチ制限制御の動作を、図5に示すフローチャートに従って説明する。なお、この制御は図1のバッチ制御部15を中心として行なわれるものであり、その動作は本発明の実施の形態に係るプログラムの作用に相当する。
【0046】
この制御は、通例、ホストコンピュータ10による毎日の作業開始時からスタートし、まず、所定のイニシャライズの後、フローチャートのステップS11で、図1に示すクロック17からの信号により、現在の時刻が所定のオンライン優先時間帯に属するか否かを判定する。
【0047】
そして、例えばこのオンライン優先時間帯が午前9時から午後5時までとされており、ホストコンピュータ10の1日の作業開始が午前9時であるとすると、作業開始時はオンライン優先時間帯に属することになる。この場合、まずステップS12で、同期処理を行なうインターバル回数、インターバル時間、及び同期処理実行後のバッチ休止時間の各パラメータとして、図3のパラメータテーブルTB2から、現在実行しているバッチジョブが属するジョブグループについてのオンライン優先時間帯におけるバッチ非制限時の値を読み出し、これらをバッチジョブ制御用パラメータに設定する。
【0048】
ここで、現在実行中のバッチジョブの属するグループが例えばA1であるとすると、図3に示すように、上記各パラメータとして、インターバル回数は100回、インターバル時間は30秒、バッチ休止時間は0、といった値に設定されることになり、前述のサブルーチンにより、これらのパラメータを用いてバッチジョブに対する同期処理が行われる。
【0049】
次に、ステップS13で、図1に示すモニタ16からの信号に基づいてオンライン処理のレスポンス時間を検出し、その時間が、図6に示すように、許容限度もしくはこれに近い値であって、バッチジョブを制限すべきかどうかの判断基準となる制限実施基準値T1を超えているか否か、或いは一旦実施した制限を解除すべきかどうかの判断基準であって上記制限実施基準値T1より短い制限解除基準値T2未満であるか否か、さらには、これらの時間T1、T2の間の値であるか否かの判定を行なう。
【0050】
なお、オンライン処理の一時的、突発的なレスポンスの遅れによるバッチジョブに対する不必要な制限を回避するため、上記の判定は所定件数のオンライン処理又は所定時間内に発生したオンライン処理の平均レスポンス時間に基づいて行なうようになっており、したがって、上記ステップS13以下は、平均値が算出された時点で実行されることになる。
【0051】
そして、オンライン処理が順調に実行されており、そのレスポンス時間が上記制限実施基準値T1以下のとき、即ち図6の領域B又はCに属するときは、バッチジョブに対する積極的な制限は行なわれない。その場合に、レスポンス時間が制限解除基準値T2未満であって領域Cに属するときは、ステップS14で、現在バッチジョブに対する制限が実行されているか否かを判定することになるが、作業開始直後は制限が行なわれていないから、そのまま制御を終了する。
【0052】
これに対し、オンライン処理の発生頻度が高く、レスポンス時間が長くなって上記制限実施基準値T1を超えて図6の領域Aに属することになったとき、即ちオンライン処理のピーク(図7のピークA)が発生したときは、ステップS13からステップS15を実行して、オンラインピークの発生回数をカウントすると共に、ステップS16で、今回の発生がオンライン優先時間帯での制御開始後の1回目であるか否かを判定する。そして、1回目であるときは、ステップS17で、図3のパラメータテーブルTB2から当該ジョブグループについての1次制限のためのパラメータを読み出し、以後、このパラメータを用いて図4のサブルーチンによる同期処理を実行する。
【0053】
これにより、例えばジョブグループA1に属するバッチジョブの場合、インターバル回数は50回、インターバル時間は15秒にそれぞれ減少すると共に、同期処理実行後に0.5秒のバッチ休止期間が設定されることになり、このパラメータで同期処理が実行されることにより、図7に符号aで示すように、バッチジョブは第1次の制限状態となる。
【0054】
つまり、同期処理のインターバルが短くなって、その回数が増加することにより、バッチジョブの処理は抑制されることになるが、その反面、バッチジョブの実行によって排他状態となったデータベースDBのレコードが早期に解放されることになって、それだけオンライン処理が促進され、また、同期処理実行後にバッチジョブの休止期間が設けられることにより、オンライン処理がさらに促進されることになる。
【0055】
そして、この1次制限を開始した後、ステップS18で、次の制限制御のために、クロック17が示す現時点の時刻を1次制限開始時刻として記録する。
【0056】
以上のバッチジョブに対する制限制御により、通例、オンライン処理のレスポンス時間は短くなるのであるが、その一方でオンライン処理の発生頻度がさらに高くなって、平均レスポンス時間が制限解除基準値T2未満に短縮されることなく、再び制限実施基準値T1を超えることがある。この場合、上記ステップS13からステップS15、S16を経てステップS19を実行することになり、上記クロック17が示すその時点の時刻と上記1次制限開始時刻とを比較することにより、1次制限開始時からの経過時間を判定する。
【0057】
そして、この時間が15分未満のとき、即ち図7のオンラインピークBのように、1次制限開始から十分時間が経過していない間に平均レスポンス時間が制限実施基準値T1を再び超えた場合は、しばらく様子を見るために新たな制限を行なわず、1次制限の状態を持続する。
【0058】
これに対し、図7のオンラインピークCのように、平均レスポンス時間が制限実施基準値T1を超える状態が1次制限開始時から15分を経過した後、30分を経過する前に発生した場合は、ステップS20を実行し、図7に符号bで示すように、バッチジョブに対する第2次の制限を開始する。
【0059】
この2次制限は、図3のパラメータテーブルTB2から、当該ジョブが属するグループの各パラメータの増分を読み出し、これを1次制限時の値に加算することにより、バッチジョブに対する制限を強化するものである。例えば、現在処理中のバッチジョブがグループA1に属するものとすれば、インターバル回数は、50に−5を加えることにより45回となり、インターバル時間は、15に−2を加えることにより13秒となり、同期処理実行後のバッチ休止時間は0.5に0.2を加えることにより、0.7となる。
【0060】
そして、このように補正された新たなパラメータで図4のサブルーチンによる同期処理制御が実行されることにより、同期処理がより頻繁に行なわれることになると共に、同期処理実行後のバッチ休止期間の時間が長くなり、その結果、バッチジョブの処理が一層制限され、その分だけオンライン処理がさらに促進されることになる。
【0061】
なお、図7に示すオンラインピークDのように、1次制限開始時からの経過時間が15分から30分までの間に、オンラインピークが複数回発生した場合、上記各パラメータは、その都度、上記の増分だけ加えられることになる。したがって、インターバルは次第に短くなり、同期処理実行後のバッチ休止時間は次第に長くなる。
【0062】
また、以上の2次制限にもかかわらず、オンライン処理の平均レスポンス時間が効果的に短縮されず、図7のオンラインピークEのように、1次制限開始時から30分を経過した後に制限実施基準値T1を超える事態が発生したときは、このバッチ制限制御においては、図5のフローチャートのステップS19からステップS21を実行し、この制限制御を中断して、オペレータ端末機21にその状態を通知する。
【0063】
これにより、オペレータは、上記端末機21からバッチ処理部11に対してバッチジョブを一時停止させるためのコマンドを発するなどの処理を行なうことになり、その結果、オンライン処理のレスポンスの著しい悪化が未然に回避されることになる。
【0064】
また、上記のような1次制限又は2次制限を実行したことにより、オンライン処理の平均レスポンス時間が制限解除基準値T2未満となったときは、ステップS13、S14を経てステップS22を実行し、各パラメータを図3のパラメータテーブルTB2のバッチ非制限時の値にリセットする。これにより、図7に符号cで示すように、バッチジョブの処理状態はオンライン優先時間帯における非制限状態に復帰することになる。
【0065】
そして、その後、ステップS23で、ステップS15でカウントしているオンラインピークの発生回数、及びステップS18で設定した1次制限開始時刻をクリアし、再びオンラインピークが発生した場合の制御に備える。
【0066】
また、1次制限又は2次制限の実行後、オンラインピークの発生はなくなったが、平均レスポンス時間が上記制限解除基準値T2未満に低下することもなく、図6の領域Bに属する状態が持続する場合は、バッチジョブに対する制限は、その時点の状態を維持することになる。
【0067】
さらに、図1のクロック17で計時している現在の時刻がバッチ優先時間帯(例えば午後5時〜翌日の午前9時)に移行した場合は、ステップS11からステップ24を実行し、上記各パラメータの値として、図3のパラメータテーブルTB2からバッチ優先時間帯の値を読み出し、その値を用いてバッチジョブを実行する。
【0068】
この場合の値は、オンライン処理のレスポンスの悪化が問題となることは少ないので、インターバル回数及びインターバル時間とも大きな値とされ、かつ、同期処理実行後の休止期間の設定も行なわれない。したがって、バッチジョブが連続的、集中的に実行され、その処理が促進されることになる。
【0069】
なお、以上の説明はグループA1に属するバッチジョブを例にとって行なったが、図3のパラメータテーブルTB2では、各制御パラメータがバッチジョブの属性に応じて設定され、例えば、優先度の高いバッチジョブは優先度の低いジョブより制限の度合いが低くされることにより、その処理の著しい遅れが防止され、また、オンライン処理に対する妨げとなる度合いが高いものは、その度合いが低いジョブより制限の度合いが高くされることにより、オンライン処理の良好なレスポンスが維持されるなど、バッチジョブに対する制限が、各ジョブの属性に応じて木目細かく行われることになる。
【0070】
そして、制御パラメータをバッチジョブのグループごとに記録することにより、その設定や変更をバッチジョブのグループごとに一括して行なうことが可能とされている。
【0071】
【発明の効果】
以上のように本発明によれば、オンライン処理とバッチジョブとが並行して処理されるシステムにおいて、レスポンス時間が所定値を超える等のオンライン処理の待機状態が発生したときに、その発生状況に応じてバッチジョブの制限制御が行なわれることになる。
【0072】
これにより、バッチジョブを時間帯等に応じて画一的に制限する場合のような必要以上の制限を回避しながら、オンライン処理のレスポンスの悪化が効果的に解消ないし回避されることになり、その結果、ホストコンピュータの全体としての処理能力を低下させることなく、オンライン処理が常に良好に実行されることになる。
【図面の簡単な説明】
【図1】 本発明の実施の形態に係るシステムのハード構成の説明図である。
【図2】 同実施の形態におけるジョブグループテーブルの構成図である。
【図3】 同じくパラメータテーブルの構成図である。
【図4】 同じく同期処理制御の動作を示すフローチャートである。
【図5】 同じくバッチ制限制御の動作を示すフローチャートである。
【図6】 同じくオンライン処理のレスポンス時間の領域図である。
【図7】 同じくバッチ制限制御の実行状態を示すタイムチャートである。
【符号の説明】
10 ホストコンピュータ
11 バッチ処理部(バッチ実行手段)
12 オンライン処理部(オンライン実行手段)
15 バッチ制御部(バッチ制御手段)
DB データベース
TB2 パラメータ記録手段(パラメータテーブル)[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a computer system, particularly a batch job control system in a system that performs online processing and batch jobs in parallel to a common database, a program used in this type of system, and a recording medium recording the program, It belongs to the field of data management technology using computers.
[0002]
[Prior art]
In recent years, management systems using computers such as banks and credit card companies are demanding 24 hours online processing due to the spread of night transactions by ATMs and the internationalization of card transactions. There is a tendency for batch jobs as these management tasks to increase. Therefore, an attempt has been made to simultaneously execute online processing and batch jobs that have been performed for different time zones with respect to a common database at the same time.
[0003]
[Problems to be solved by the invention]
By the way, in a batch job, for example, data updated at intervals such as when a series of processes related to a specific transaction is completed, when such processes are executed a predetermined number of times, or when a predetermined processing time has elapsed. A so-called synchronization process is performed to determine the contents of the base. However, this synchronization process has a heavy load on the CPU and takes time, so conventionally the above interval has been made relatively long to improve the efficiency of batch jobs. In general, the number of synchronization processes is set to be as small as possible.
[0004]
However, in the combined system with online processing as described above, if the interval of batch job synchronization processing is lengthened, the acceptance of online processing is refused until the updated or read record is synchronously processed by the database exclusive function. As a result, the rapid processing of online processing is hindered, and as a result, especially during the daytime, when online processing is concentrated, the response time of online processing becomes significantly long, which hinders the processing. become.
[0005]
To solve this problem, in a certain time period such as daytime when online processing tends to concentrate, the records in the exclusive state of the database can be released early by shortening the interval for performing batch job synchronization processing. It is conceivable to make adjustments such as promoting online processing and shortening the response time.
[0006]
However, with just a uniform adjustment according to the time zone, when online processing is concentrated more than expected, this will not be able to be processed sufficiently and the response will deteriorate, conversely When the occurrence of online processing is small, batch jobs are restricted more than necessary, and the overall processing capacity of the host computer is reduced.
[0007]
Therefore, the present invention provides a computer system that processes online processing and batch jobs in parallel, and effectively promotes online processing without restricting batch jobs more than necessary, thereby maintaining the high processing capacity of the host computer. However, it is an object to avoid problems such as deterioration in response of online processing.
[0008]
[Means for Solving the Problems]
That is, the present invention is characterized in that it is configured as follows in order to solve the above problems.
[0009]
First, the invention described in
[0010]
According to the present invention, when online processing and a batch job are executed in parallel, a standby state exceeding a predetermined limit occurs in online processing due to an increase in records that are in an exclusive state by the batch job. In addition, for batch jobs, such as synchronization processing intervalsControl parametersRestriction is added by changing. Thereby, online processing is promoted and the response is improved.
[0011]
The invention according to
[0012]
According to this invention,After the primary restriction on the execution of the batch job, the secondary restriction is not performed even if the response time of the online processing exceeds the reference value until the first predetermined time elapses. The state will be sustained.
[0013]
The invention according to claim 33. The system according to
[0014]
According to the present invention, when the secondary restriction is performed after executing the primary restriction on the execution of the batch job, when the response time exceeds the reference value again after the second predetermined time has elapsed, Since the occurrence is notified to the operator terminal, the operator can perform a process such as issuing a command for temporarily stopping the batch job, and the online processing response can be prevented from being significantly deteriorated. become.
[0015]
According to a fourth aspect of the present invention, in the system according to any one of the first to third aspects, the batch job control means performs a primary restriction or a secondary restriction on the execution of the batch job. When the response time of the online processing is less than the second reference value shorter than the reference value, the control parameter at the time of executing the batch job is reset to the non-limit time parameter. .
[0016]
According to the present invention, when the execution of a batch job is restricted, when the response time of the online processing becomes less than the second reference value that is shorter than the reference value at the start of restriction, the control parameter is not restricted. Therefore, until the response time falls below the second reference value after the execution of the primary restriction or the secondary restriction, the restriction on the batch job is maintained at the current state. Will be.
[0020]
on the other hand,Claim 5In the invention described in the above, the online processing and the batch job are executed in parallel on the common database by the online processing execution means and the batch job execution means, and the online processing and the parallel processing of the batch job by both the execution means are performed. The present invention relates to a program for batch control of a system provided with online processing monitoring means for monitoring the execution status of online processing, and the computer is placed in a standby state for online processing based on the monitoring result by the online processing monitoring means. A standby state determination unit for determining whether or not a batch is generated by the batch job execution unit so that the standby state is reduced when the determination unit determines that the standby state of online processing is generated. At the time of job executionControl parametersFunction as a batch job control means to changeIn addition, when functioning as the standby state detection unit, the function to detect that the standby state of online processing has occurred based on the response time of online processing, and when functioning as the batch job control unit, When the response time of online processing detected by the standby state detection means first exceeds a predetermined reference value, the control parameter is changed from the non-limit time parameter to the predetermined primary limit parameter, and the batch job is executed. The batch job execution by the means is primarily restricted, and when the response time exceeds the reference value again during a predetermined period after the primary restriction, the primary restriction time is exceeded every time the reference value is exceeded. Change the value of the control parameter with a change amount smaller than the change amount, and perform secondary restriction to gradually restrict the execution of batch jobsIt is made to function as follows.
[0021]
Also,Claim 6The invention described in the aboveClaim 5In the program described inWhen the computer functions as the batch job control means, after the primary restriction on the execution of the batch job, the secondary restriction is not performed until the first predetermined time elapses so that the primary restriction state is maintained.It is made to function.
[0022]
Also,Claim 7The invention described in the aboveClaim 6In the program described inWhen the computer is caused to function as a batch job control unit, when the secondary restriction is performed after the primary restriction on the execution of the batch job until the second predetermined time longer than the first predetermined time elapses. When the response time exceeds the reference value after the second predetermined time has elapsed, the operator terminal is notified of the occurrence of the state without performing secondary restriction.It is made to function.
[0023]
Also,Claim 8The invention described in the aboveAny one of Claim 5-7In the program described inWhen the computer functions as the batch job control means, when the primary restriction or secondary restriction of the execution of the batch job is performed, the response time of online processing is less than the second reference value shorter than the reference value. When it becomes, the control parameter at the time of batch job execution is reset to the parameter for unrestricted timeIt is made to function.
[0025]
thisClaim 5FromClaim 8The program according to
[0026]
AndClaim 9The invention described in the aboveClaim 5FromClaim 8One of1 itemAccording to this recording medium, the computer-readable recording medium recorded with the program described in 1.Claim 5FromClaim 8One of1 itemThe program according to
[0027]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below.
[0028]
FIG. 1 shows a hardware configuration of a system according to this embodiment. A
[0029]
The
[0030]
Further, the
[0031]
Then, the
[0032]
Here, the job group table TB1 and the parameter table TB2 will be described. First, as shown in FIG. 2, the job group table TB1 is a job that exclusively updates the database DB and prevents online processing. It is divided into a job with a high degree, a job whose reference is the database DB, and a job with a low degree as above, and a job that does not use the database DB. The
[0033]
Further, as shown in FIG. 3, the parameter table TB2 is a group of jobs A1, A2,... For updating the database DB exclusively among the batch jobs grouped by the job group table TB1, and a reference to the database DB. ... For each job group B1, B2,. The three parameters of the predetermined elapsed time (hereinafter referred to as “interval time”) and the time of the pause period of the batch job provided after execution of the synchronization processing are set as follows: The configuration is set for the secondary limit and the batch priority time zone. .
[0034]
In that case, in the online priority time zone, when the primary limit is set, the number of intervals is small, the interval time is shortened, and the records in the database DB that are in the exclusive state by the execution of the batch job are displayed. The batch job suspension time is set to a value larger than 0, and the batch job is set to pause for a predetermined time after executing the synchronization processing.
[0035]
The numerical value at the time of the secondary restriction is a value added to the parameter value at the time of the primary restriction so as to increase the degree of restriction on the batch job every time the secondary restriction is performed once. The interval time is subtracted by a predetermined amount, so that the records in the exclusive state are set to be released earlier, and the batch pause time after execution of the synchronization process is incremented by a predetermined amount. It is set to be longer.
[0036]
As for the priority of the batch job, the higher the priority, the larger the number of intervals and the interval time, and the shorter the pause time, the lower the priority, the less restrictive setting, As for the batch job category, the job of category A in which the database DB is exclusively updated (category with a high degree of hindering online processing) A is classified as a reference center category (category with a low degree of hindering online processing) B of the database DB. The number of intervals and the interval time are set to a smaller value and the pause time is set longer than the job of No. 1, so that the restriction on the batch job is made stronger.
[0037]
In the batch priority time zone in which batch job restriction control is not performed, the number of intervals and the interval time are both larger than the online priority time zone, and the pause time after execution of the synchronization processing is set to 0. Actively promotes batch job processing.
[0038]
Next, job operations by the above system, particularly control operations for batch jobs according to the execution state of online processing will be described.
[0039]
First, the operation of synchronous processing control during execution of a batch job centering on the
[0040]
This synchronous process control is executed whenever a predetermined process such as a record input process from the input file FL1, for example, is performed as a subroutine called in the main routine of the batch job. The number of subroutine calls, that is, the number of executions of the predetermined process is counted by the
[0041]
The number of intervals and the interval time are set to values read in advance from the parameter table TB2 of FIG. 3 according to the group to which the batch job belongs and the execution status of the online processing by batch restriction control described later. However, the interval time is a time when a certain time or more is required for setting the input / output files FL1 and FL2 to the
[0042]
Then, after the previous synchronization process execution, even when the number of executions of the predetermined process reaches the interval number, or even before this interval number is reached, the elapsed time from the start of the batch or the previous synchronization process execution When the interval time is reached, step S2 or step S3 to step S4 are executed, and the database DB is synchronously processed in the updated state at that time.
[0043]
Next, in step S5, a batch pause period (hereinafter referred to as “pause time”) after the execution of the synchronization process that is read and set in advance from the parameter table TB2 elapses due to batch restriction control described later. Wait for During this suspension period, the batch job is suspended, during which the
[0044]
If the pause time has elapsed, in step S6, the count value of the number of executions of the predetermined process by the counter 13 (the number of times the subroutine has been called) and the measurement time by the
[0045]
Next, a description will be given of the operation of batch restriction control for setting parameters as batch job control conditions, such as the number of intervals, interval time, and pause time, according to the execution state of online processing, according to the flowchart shown in FIG. This control is performed mainly by the
[0046]
This control is usually started from the start of daily work by the
[0047]
For example, if this online priority time zone is from 9:00 am to 5:00 pm, and the daily work start of the
[0048]
Here, assuming that the group to which the currently executing batch job belongs is A1, for example, as shown in FIG. 3, as the above parameters, the number of intervals is 100 times, the interval time is 30 seconds, the batch pause time is 0, Thus, the synchronization processing for the batch job is performed using these parameters by the subroutine described above.
[0049]
Next, in step S13, the response time of the online processing is detected based on the signal from the
[0050]
In order to avoid unnecessary restrictions on batch jobs due to temporary and sudden response delays in online processing, the above determination is based on the average response time of a predetermined number of online processes or online processes that occurred within a predetermined time. Therefore, step S13 and the subsequent steps are executed when the average value is calculated.
[0051]
When the online processing is being executed smoothly and the response time is equal to or less than the restriction execution reference value T1, that is, when it belongs to the region B or C in FIG. 6, the batch job is not actively restricted. . In this case, if the response time is less than the restriction release reference value T2 and belongs to the area C, it is determined in step S14 whether or not restriction on the batch job is currently executed. Since there is no restriction, control is terminated as it is.
[0052]
On the other hand, when the occurrence frequency of online processing is high and the response time becomes long and exceeds the above-mentioned restriction execution reference value T1, it belongs to the region A in FIG. 6, that is, the peak of online processing (the peak in FIG. 7). When A) occurs, steps S13 to S15 are executed to count the number of occurrences of online peaks, and in step S16, the current occurrence is the first time after the start of control in the online priority time zone. It is determined whether or not. If it is the first time, in step S17, a parameter for primary restriction for the job group is read from the parameter table TB2 in FIG. 3, and thereafter, synchronization processing by the subroutine in FIG. 4 is performed using this parameter. Execute.
[0053]
Thus, for example, in the case of a batch job belonging to the job group A1, the interval count is reduced to 50 times and the interval time is reduced to 15 seconds, and a batch suspension period of 0.5 seconds is set after the execution of the synchronization process. By executing the synchronization process with this parameter, the batch job is in the primary restricted state as indicated by the symbol a in FIG.
[0054]
In other words, the interval of the synchronization process is shortened and the number of times is increased, so that the batch job processing is suppressed. On the other hand, the records of the database DB that are in the exclusive state by the execution of the batch job are suppressed. By being released early, online processing is promoted accordingly, and by providing a pause period for batch jobs after execution of synchronous processing, online processing is further promoted.
[0055]
Then, after starting the primary restriction, in step S18, the current time indicated by the
[0056]
The above-described restriction control for batch jobs usually shortens the response time of online processing, but on the other hand, the frequency of online processing is further increased and the average response time is reduced to less than the restriction release reference value T2. Without being limited, the limit implementation reference value T1 may be exceeded again. In this case, step S19 is executed from step S13 through steps S15 and S16, and by comparing the time at that time indicated by the
[0057]
And, when this time is less than 15 minutes, that is, when the average response time exceeds the limit execution reference value T1 again while sufficient time has not elapsed since the start of the primary limit as in the online peak B of FIG. Does not make a new restriction in order to see the situation for a while, and maintains the primary restriction state.
[0058]
On the other hand, as in the case of online peak C in FIG. 7, when the average response time exceeds the limit execution reference value T1 after 15 minutes have elapsed from the start of the primary limit and before 30 minutes have elapsed. Executes step S20 and starts the secondary restriction on the batch job as indicated by symbol b in FIG.
[0059]
This secondary restriction strengthens the restriction on the batch job by reading the increment of each parameter of the group to which the job belongs from the parameter table TB2 of FIG. 3 and adding this to the value at the time of the primary restriction. is there. For example, if the batch job currently being processed belongs to group A1, the number of intervals is 45 by adding -5 to 50, and the interval time is 13 seconds by adding -2 to 15. The batch pause time after execution of the synchronization process is 0.7 by adding 0.2 to 0.5.
[0060]
Then, by executing the synchronization processing control by the subroutine of FIG. 4 with the new parameters corrected in this way, the synchronization processing is performed more frequently and the time of the batch pause period after the execution of the synchronization processing is performed. As a result, the processing of batch jobs is further limited, and online processing is further promoted accordingly.
[0061]
In addition, when the online peak occurs a plurality of times during the elapsed time from the start of the primary restriction to 15 minutes to 30 minutes as in the online peak D shown in FIG. Will be added in increments of. Therefore, the interval is gradually shortened, and the batch pause time after execution of the synchronization process is gradually lengthened.
[0062]
In addition, despite the above-mentioned secondary restriction, the average response time of online processing is not effectively shortened, and restriction is implemented after 30 minutes have elapsed since the start of the primary restriction as shown by online peak E in FIG. When a situation exceeding the reference value T1 occurs, in this batch restriction control, steps S19 to S21 in the flowchart of FIG. 5 are executed, the restriction control is interrupted, and the state is notified to the
[0063]
As a result, the operator performs processing such as issuing a command for temporarily stopping the batch job from the terminal 21 to the
[0064]
Moreover, when the average response time of online processing becomes less than the restriction release reference value T2 due to the execution of the primary restriction or the secondary restriction as described above, step S22 is executed through steps S13 and S14, Each parameter is reset to the value when the batch is not limited in the parameter table TB2 of FIG. As a result, as shown by the symbol c in FIG. 7, the processing state of the batch job returns to the unrestricted state in the online priority time zone.
[0065]
After that, in step S23, the number of occurrences of the online peak counted in step S15 and the primary restriction start time set in step S18 are cleared, and preparation for control when an online peak occurs again is prepared.
[0066]
Moreover, after the execution of the primary restriction or the secondary restriction, the occurrence of the online peak disappeared, but the average response time does not decrease below the restriction release reference value T2, and the state belonging to the region B in FIG. 6 continues. If so, the restriction on the batch job will maintain the current state.
[0067]
Further, when the current time measured by the
[0068]
In this case, since the deterioration of the response of online processing is unlikely to be a problem, both the number of intervals and the interval time are set to large values, and the pause period after execution of the synchronization processing is not set. Therefore, batch jobs are executed continuously and intensively, and the processing is promoted.
[0069]
The above description has been given by taking a batch job belonging to the group A1 as an example. However, in the parameter table TB2 in FIG. 3, each control parameter is set according to the attribute of the batch job. By making the degree of restriction lower than that of a low-priority job, a significant delay in the processing is prevented, and for a job that has a high degree of hindrance to online processing, the degree of restriction is made higher than that of a low-priority job. As a result, restrictions on batch jobs, such as maintaining good response of online processing, are finely performed according to the attributes of each job.
[0070]
By recording the control parameters for each batch job group, it is possible to collectively set or change the settings for each batch job group.
[0071]
【The invention's effect】
As described above, according to the present invention, in a system in which online processing and batch jobs are processed in parallel, when an online processing standby state such as a response time exceeding a predetermined value occurs, Accordingly, the restriction control of the batch job is performed.
[0072]
This effectively eliminates or avoids worsening of online processing response while avoiding unnecessary restrictions such as restricting batch jobs uniformly according to time zones, etc. As a result, the online processing is always executed well without reducing the overall processing capability of the host computer.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram of a hardware configuration of a system according to an embodiment of the present invention.
FIG. 2 is a configuration diagram of a job group table in the embodiment.
FIG. 3 is also a configuration diagram of a parameter table.
FIG. 4 is a flowchart showing the operation of synchronous processing control.
FIG. 5 is a flowchart showing the operation of batch restriction control.
FIG. 6 is also a region diagram of response time for online processing.
FIG. 7 is a time chart that similarly shows the execution state of batch restriction control.
[Explanation of symbols]
10 Host computer
11 Batch processing unit (batch execution means)
12 Online processing unit (online execution means)
15 Batch control unit (batch control means)
DB database
TB2 Parameter recording means (parameter table)
Claims (9)
上記両実行手段によるオンライン処理とバッチジョブの並行処理中におけるオンライン処理の待機状態の発生を検出する待機状態検出手段と、
該検出手段によりオンライン処理の待機状態が検出されたときに、その待機状態が軽減されるように、上記バッチジョブ実行手段によるバッチジョブ実行時の制御パラメータを変更するバッチジョブ制御手段とを有し、
上記待機状態検出手段は、オンライン処理のレスポンス時間に基づいてオンライン処理の待機状態が発生したことを検出し、
上記バッチジョブ制御手段は、上記待機状態検出手段が検出したオンライン処理のレスポンス時間が所定の基準値を最初に超えたときに、制御パラメータを非制限時用パラメータから所定の1次制限用パラメータに変更して、上記バッチジョブ実行手段によるバッチジョブの実行を1次制限すると共に、1次制限後の所定の期間に、上記レスポンス時間が上記基準値を再び超えたときは、該基準値を超えるごとに、上記1次制限時の変更量より小さな変更量で制御パラメータの値を変更してバッチジョブの実行を次第に制限する2次制限を行うことを特徴とするオンライン併用システムのバッチ制御システム。A batch control system for a system that executes online processing and batch jobs in parallel to a common database by online processing execution means and batch job execution means,
A standby state detecting unit for detecting occurrence of a standby state of online processing during parallel processing of batch processing and online processing by both execution units;
When the standby state of the online processing is detected by the detecting means, so the standby state is reduced, and a batch job control means for changing a control parameter during the batch job execution by the batch job execution means ,
The standby state detection means detects that a standby state of online processing has occurred based on a response time of online processing,
The batch job control means changes the control parameter from the non-limit time parameter to the predetermined primary restriction parameter when the response time of the online processing detected by the standby state detection means first exceeds a predetermined reference value. The batch job execution by the batch job execution unit is changed, and when the response time exceeds the reference value again in a predetermined period after the primary restriction, the reference value is exceeded. A batch control system for an on-line combination system, characterized in that a secondary restriction that gradually restricts the execution of a batch job is performed by changing the value of the control parameter with a change amount smaller than the change amount at the time of the primary restriction .
コンピュータを、
上記オンライン処理監視手段による監視結果に基づいてオンライン処理に待機状態が発生しているか否かを判定する待機状態判定手段、及び
該判定手段によりオンライン処理の待機状態の発生が判定されたときに、その待機状態が軽減されるように、上記バッチジョブ実行手段によるバッチジョブ実行時の制御パラメータを変更するバッチジョブ制御手段として機能させると共に、
上記待機状態検出手段として機能させるときは、オンライン処理のレスポンス時間に基づいてオンライン処理の待機状態が発生したことを検出するように機能させ、
上記バッチジョブ制御手段として機能させるときは、上記待機状態検出手段が検出したオンライン処理のレスポンス時間が所定の基準値を最初に超えたときに、制御パラメータを非制限時用パラメータから所定の1次制限用パラメータに変更して、上記バッチジョブ実行手段によるバッチジョブの実行を1次制限すると共に、1次制限後の所定の期間に、上記レスポンス時間が上記基準値を再び超えたときは、該基準値を超えるごとに、上記1次制限時の変更量より小さな変更量で制御パラメータの値を変更してバッチジョブの実行を次第に制限する2次制限を行うように機能させることを特徴とするオンライン併用システムのバッチッチ制御用プログラム。 Online processing and batch job are executed in parallel on a common database by the online processing execution means and batch job execution means, and the online processing and online processing are executed during the parallel processing of batch jobs by the both execution means. A program for batch control of a system provided with an online process monitoring means for monitoring a state,
Computer
Standby state determination means for determining whether or not a standby state has occurred in online processing based on a monitoring result by the online processing monitoring means; and
Function as batch job control means for changing the control parameters when executing the batch job by the batch job execution means so that when the occurrence of the standby state of online processing is determined by the determination means, the standby state is reduced As well as
When functioning as the standby state detection means, function to detect that a standby state of online processing has occurred based on the response time of online processing,
When functioning as the batch job control unit, when the response time of the online processing detected by the standby state detection unit first exceeds a predetermined reference value, the control parameter is changed from the non-limit time parameter to a predetermined primary parameter. When the batch job is executed by the batch job execution means, the batch job execution means is primarily restricted, and the response time exceeds the reference value again during a predetermined period after the primary restriction. Each time the reference value is exceeded, the control parameter value is changed by a change amount smaller than the change amount at the time of the primary restriction, and the secondary restriction for gradually restricting the execution of the batch job is performed. Program for batch batch control of online combination system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001271458A JP5058416B2 (en) | 2001-09-07 | 2001-09-07 | Batch control system for online combination system, program for batch control of online combination system, and recording medium recording the program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2001271458A JP5058416B2 (en) | 2001-09-07 | 2001-09-07 | Batch control system for online combination system, program for batch control of online combination system, and recording medium recording the program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003085133A JP2003085133A (en) | 2003-03-20 |
| JP5058416B2 true JP5058416B2 (en) | 2012-10-24 |
Family
ID=19096963
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2001271458A Expired - Fee Related JP5058416B2 (en) | 2001-09-07 | 2001-09-07 | Batch control system for online combination system, program for batch control of online combination system, and recording medium recording the program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5058416B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4821547B2 (en) * | 2006-09-29 | 2011-11-24 | 富士ゼロックス株式会社 | Data processing device |
| JP4769703B2 (en) * | 2006-12-18 | 2011-09-07 | 株式会社日立情報システムズ | Batch job re-execution control system |
| JP5458615B2 (en) * | 2009-03-17 | 2014-04-02 | 日本電気株式会社 | Parallel processing system, online processing device, batch processing device, parallel processing method, and parallel processing program |
| WO2013171854A1 (en) * | 2012-05-16 | 2013-11-21 | 株式会社日立製作所 | Calculator, thread allocation management method, and program |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2753252B2 (en) * | 1988-03-11 | 1998-05-18 | 株式会社日立製作所 | Operating system of computer system |
| JPH11102349A (en) * | 1997-09-26 | 1999-04-13 | Nec Corp | Load control method for memory sharing multiprocessor system |
| JP2001134476A (en) * | 1999-11-08 | 2001-05-18 | Hitachi Ltd | Database update method |
-
2001
- 2001-09-07 JP JP2001271458A patent/JP5058416B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2003085133A (en) | 2003-03-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2001318742A (en) | Computer system and computer-readable recording medium | |
| WO2022095862A1 (en) | Thread priority adjusting method, terminal, and computer readable storage medium | |
| WO2016130440A1 (en) | Scheduling volatile memory maintenance events in a multi-processor system | |
| CN111580949B (en) | Automatic regulating method for network packet receiving mode | |
| WO2005106623A1 (en) | Cpu clock control device, cpu clock control method, cpu clock control program, recording medium, and transmission medium | |
| WO2016130439A1 (en) | Systems and methods for providing kernel scheduling of volatile memory maintenance events | |
| CN113312235A (en) | Service quality early warning power capping system with optimized throughput | |
| JP5058416B2 (en) | Batch control system for online combination system, program for batch control of online combination system, and recording medium recording the program | |
| US7685285B2 (en) | Method and apparatus for managing executions of a management program within a data processing system | |
| US5968168A (en) | Scheduler reducing cache failures after check points in a computer system having check-point restart function | |
| JPH0237422A (en) | Numerical management system | |
| WO2008058898A1 (en) | Throttling an asynchronous remote copying system | |
| US20240241559A1 (en) | Dynamic power sharing utilizing power event feedback | |
| JP2002073354A (en) | Task control device and task control method | |
| JP3189874B2 (en) | I/O request issuance scheduler | |
| CN114217964A (en) | A task concurrency control method and device | |
| JP2666732B2 (en) | Load control method for computer system | |
| CN121833199A (en) | Self-adaptive priority dynamic adjustment method and system for system threaded interrupt | |
| JP3603703B2 (en) | I/O RUNTIME MONITORING SYSTEM AND METHOD | |
| CN120849389B (en) | Methods, apparatus, electronic devices and storage media for optimizing cache pool load | |
| JP4155403B2 (en) | System configuration control method, processing program thereof, and implementation system thereof | |
| JPS63300326A (en) | Transaction execution schedule system | |
| CN119883540A (en) | Interrupt mask dynamic switching method based on equipment state and related equipment | |
| WO2025175955A1 (en) | Voltage drop handling method and apparatus, system, electronic device and storage medium | |
| JPH03118637A (en) | Dynamic job multiplicity control system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080829 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20090907 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20111115 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20111129 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120104 |
|
| 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: 20120724 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120801 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150810 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |