JP2002342269A - Method for optimizing number of resource management table, system conducting the same and processing program - Google Patents

Method for optimizing number of resource management table, system conducting the same and processing program

Info

Publication number
JP2002342269A
JP2002342269A JP2001142549A JP2001142549A JP2002342269A JP 2002342269 A JP2002342269 A JP 2002342269A JP 2001142549 A JP2001142549 A JP 2001142549A JP 2001142549 A JP2001142549 A JP 2001142549A JP 2002342269 A JP2002342269 A JP 2002342269A
Authority
JP
Japan
Prior art keywords
resource management
management table
entries
upper limit
value
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
Application number
JP2001142549A
Other languages
Japanese (ja)
Inventor
Shozo Yano
省三 矢野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2001142549A priority Critical patent/JP2002342269A/en
Publication of JP2002342269A publication Critical patent/JP2002342269A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technology for reducing the estimation man-hours of the upper limit value of resource management table at system designing, and improving memory utilization efficiency without having any adverse influence on the performance of on-line transaction processing. SOLUTION: This method for optimizing the number of resource management table for optimizing the number of entry of the resource management table for managing resources to be used for on-line transaction processing comprises a step for monitoring the entry usage state of the resource management table with a prescribed interval during the on-line transaction processing and for instructing increase in the upper limit value of the resource management table, when the number of entry in use exceeds a prescribed estimated value, and a step for extending the entry of the resource management table, when the increase of the upper limit value of the resource management table is instructed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はオンライントランザ
クション処理で用いられる各種リソースをリソース管理
テーブルで管理するオンライントランザクション処理シ
ステムに関し、特にオンライントランザクション処理で
用いられる各種リソースの上限値をパラメタで予め指定
するオンライントランザクション処理システムに適用し
て有効な技術に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an online transaction processing system for managing various resources used in online transaction processing with a resource management table, and more particularly to an online transaction system in which upper limits of various resources used in online transaction processing are specified in advance by parameters. The present invention relates to a technology that is effective when applied to a transaction processing system.

【0002】[0002]

【従来の技術】従来、オンライントランザクション処理
システムにおいては、オンライン中における最大のトラ
ンザクション数、ユーザアプリケーションプログラム
数、端末数等の上限値をシステム設計時に見積もり、そ
の見積もり結果をオンライントランザクション処理シス
テムのパラメタとして定義し、開始時にこのパラメタに
従ってリソース管理テーブルを指定数分だけメモリ確保
して作成する。これにより、オンライントランザクショ
ン処理の実行時には、リソース管理テーブル作成に伴う
メモリ不足が発生せず、またオーバヘッドも無い為、信
頼性と性能を確保している。
2. Description of the Related Art Conventionally, in an online transaction processing system, the maximum values of the maximum number of transactions, the number of user application programs, the number of terminals, and the like during online are estimated at the time of system design, and the estimation result is used as a parameter of the online transaction processing system. Define and create the resource management table according to this parameter at the time of start by securing the specified number of memory. As a result, when executing the online transaction processing, there is no shortage of memory due to the creation of the resource management table, and there is no overhead, so that reliability and performance are ensured.

【0003】なお、リソース管理テーブルのサイズが記
憶装置のサイズで決る制限を越えても、自動的にユーザ
の設定値を考慮しユーザの意志を反映してこの制限一杯
まで管理テーブルの領域を確保して、記憶領域に無駄が
無く構築作業に多くの時間と手間を掛ける必要の無い効
率性の良いリソース管理テーブル拡張方法については特
開平9−167115号公報に記載されている。
[0003] Even if the size of the resource management table exceeds the limit determined by the size of the storage device, the area of the management table is secured to the full extent of this limit by automatically reflecting the user's setting value in consideration of the user's set value. Japanese Patent Application Laid-Open No. Hei 9-167115 discloses an efficient resource management table extension method that does not require a lot of time and effort for construction work without waste of storage area.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術ではシス
テム設計時に上限値を見積もる必要があるが、その時点
でオンライン中における最大のトランザクション数、ユ
ーザアプリケーションプログラム数、端末数等の値が不
確定であるユーザもあり、また開発機においては信頼性
や性能は特に重要ではなく、見積もりをせずに簡単に実
行したいというユーザもある。また将来のシステム規模
拡大、ユーザ数の拡大計画がある場合は大幅に数値を上
乗せするユーザもあり、当面はメモリの無駄になるとい
う問題があった。
In the above prior art, it is necessary to estimate an upper limit at the time of system design. At that time, the maximum number of transactions online, the number of user application programs, the number of terminals, etc. are uncertain. There are some users, and there is also a user who wants to easily execute without estimating the reliability and performance of the development machine without particular importance. Further, if there is a plan to expand the system scale and the number of users in the future, some users will greatly increase the numerical value, and there is a problem that memory is wasted for the time being.

【0005】本発明の目的は上記問題を解決し、システ
ム設計時におけるリソース管理テーブルの上限値の見積
もり工数を削減させ、オンライントランザクション処理
の性能に影響させずにメモリ使用効率を向上させること
が可能な技術を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above problem, reduce the number of steps for estimating the upper limit value of the resource management table at the time of system design, and improve the memory use efficiency without affecting the performance of online transaction processing. It is to provide various technologies.

【0006】[0006]

【課題を解決するための手段】本発明は、オンライント
ランザクション処理で用いられるリソースを管理する為
のリソース管理テーブルのエントリ数を最適化するオン
ライントランザクション処理システムにおいて、リソー
ス管理テーブルの使用中エントリ数が見極め値を越えた
場合にリソース管理テーブルのエントリを拡張するもの
である。
According to the present invention, there is provided an online transaction processing system for optimizing the number of entries in a resource management table for managing resources used in online transaction processing. When the threshold value is exceeded, the entry of the resource management table is extended.

【0007】本発明のオンライントランザクション処理
システムでは、オンライントランザクション処理の開始
時にデフォルトにて上限値を設定してリソース管理テー
ブルを作成し、オンライントランザクション処理中に所
定のインターバルにてリソース管理テーブルのエントリ
使用状況を監視する。
In the online transaction processing system of the present invention, a resource management table is created by setting an upper limit by default at the start of the online transaction processing, and the entry of the resource management table is used at a predetermined interval during the online transaction processing. Monitor the situation.

【0008】前記監視の結果、使用中エントリ数が所定
の見極め値を越えている場合には、リソース管理テーブ
ルの上限値の拡大を指示し、リソース管理テーブルのエ
ントリを拡張する。
As a result of the monitoring, if the number of entries in use exceeds a predetermined threshold value, an instruction to increase the upper limit of the resource management table is issued, and the entries of the resource management table are expanded.

【0009】また、使用中エントリ数が所定の見極め値
を越えていない場合には、前回の使用中エントリ数と今
回の使用中エントリ数とから、次のインターバル後に予
測される使用中エントリ数の予測値を算出し、その予測
値がリソース管理テーブルの上限値を越えている場合に
次のインターバル値を減少させて監視間隔を短くする。
If the number of in-use entries does not exceed a predetermined threshold, the number of in-use entries predicted after the next interval is calculated from the number of in-use entries in the previous time and the number of in-use entries this time. A predicted value is calculated, and when the predicted value exceeds the upper limit value of the resource management table, the next interval value is reduced to shorten the monitoring interval.

【0010】以上の様に本発明のオンライントランザク
ション処理システムによれば、リソース管理テーブルの
使用中エントリ数が見極め値を越えた場合にリソース管
理テーブルのエントリを拡張するので、システム設計時
におけるリソース管理テーブルの上限値の見積もり工数
を削減させ、オンライントランザクション処理の性能に
影響させずにメモリ使用効率を向上させることが可能で
ある。
As described above, according to the online transaction processing system of the present invention, when the number of in-use entries in the resource management table exceeds the discrimination value, the entries in the resource management table are expanded. It is possible to reduce the number of steps for estimating the upper limit value of the table and improve the memory use efficiency without affecting the performance of online transaction processing.

【0011】[0011]

【発明の実施の形態】以下にオンライントランザクショ
ン処理で用いられるリソースを管理する為のリソース管
理テーブルのエントリ数を最適化する一実施形態のオン
ライントランザクション処理システムについて説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An online transaction processing system according to an embodiment for optimizing the number of entries in a resource management table for managing resources used in online transaction processing will be described below.

【0012】図1は本実施形態のオンライントランザク
ション処理システム102の全体構成を示す図である。
図1に示す様に本実施形態のオンライントランザクショ
ン処理システム102は、トランザクション処理部10
4と、テーブル初期作成処理部105と、使用状況監視
処理部106と、テーブル再構成処理部107とを有し
ている。
FIG. 1 is a diagram showing the overall configuration of an online transaction processing system 102 according to this embodiment.
As shown in FIG. 1, the online transaction processing system 102 of the present embodiment includes a transaction processing unit 10
4, a table initial creation processing unit 105, a use status monitoring processing unit 106, and a table reconstruction processing unit 107.

【0013】トランザクション処理部104は、銀行オ
ンラインシステム等のトランザクション処理をオンライ
ンで行う処理部である。テーブル初期作成処理部105
は、オンラインシステム開始時にはデフォルトで上限値
よりも少ないリソース管理テーブル108のエントリを
確保してテーブルの初期化を行う処理部である。
The transaction processing unit 104 is a processing unit that performs transaction processing of a bank online system or the like online. Table initial creation processing unit 105
Is a processing unit that secures an entry of the resource management table 108 that is smaller than the upper limit by default when the online system starts, and initializes the table.

【0014】使用状況監視処理部106は、オンライン
トランザクション処理中に所定のインターバルにてリソ
ース管理テーブル108のエントリ使用状況を監視し、
使用中のエントリ数が所定の見極め値を越えている場合
にリソース管理テーブル108の上限値の拡大を指示す
る処理部である。テーブル再構成処理部107は、リソ
ース管理テーブル108の上限値の拡大指示が行われた
場合にリソース管理テーブル108のエントリを拡張す
る処理部である。
The usage monitoring processor 106 monitors the usage of entries in the resource management table 108 at predetermined intervals during online transaction processing.
This is a processing unit that instructs expansion of the upper limit of the resource management table 108 when the number of entries in use exceeds a predetermined determination value. The table reconfiguration processing unit 107 is a processing unit that expands an entry in the resource management table 108 when an instruction to increase the upper limit value of the resource management table 108 is issued.

【0015】オンライントランザクション処理システム
102をトランザクション処理部104、テーブル初期
作成処理部105、使用状況監視処理部106及びテー
ブル再構成処理部107として機能させる為のプログラ
ムは、CD−ROM等の記録媒体に記録され磁気ディス
ク等に格納された後、メモリにロードされて実行される
ものとする。なお前記プログラムを記録する記録媒体は
CD−ROM以外の他の記録媒体でも良い。また前記プ
ログラムを当該記録媒体から情報処理装置にインストー
ルして使用しても良いし、ネットワークを通じて当該記
録媒体にアクセスして前記プログラムを使用するものと
しても良い。
A program for causing the online transaction processing system 102 to function as the transaction processing unit 104, the table initial creation processing unit 105, the use status monitoring processing unit 106, and the table reconstruction processing unit 107 is stored in a recording medium such as a CD-ROM. After being recorded and stored on a magnetic disk or the like, it is assumed that the program is loaded into a memory and executed. The recording medium for recording the program may be a recording medium other than the CD-ROM. The program may be installed from the recording medium to the information processing apparatus and used, or the recording medium may be accessed through a network to use the program.

【0016】本実施形態のオンライントランザクション
処理システム102は、銀行オンラインシステムの現金
自動預け払い機等の端末101から現金の預け入れや引
き出し等のトランザクションの入力を受け付け、トラン
ザクション処理部104にてトランザクション処理を実
行し、その結果を端末101に出力する。
The online transaction processing system 102 according to the present embodiment receives an input of a transaction such as depositing and withdrawing cash from a terminal 101 such as an automatic teller machine of a bank online system, and the transaction processing unit 104 performs transaction processing. Execute and output the result to the terminal 101.

【0017】なおトランザクション処理部104におい
ては、当該トランザクションで使用される端末101フ
ァイル等のリソースを管理する為のリソース管理テーブ
ル108がメモリ103上に必要となる。リソース管理
テーブル108内はトランザクションの同時実行数分の
エントリを持つ必要があり、そのエントリ数について
は、従来、ユーザがシステム設計時に見積もり、その見
積もり結果をパラメタとして定義して上限値として与え
ていた。
In the transaction processing unit 104, a resource management table 108 for managing resources such as the file of the terminal 101 used in the transaction is required on the memory 103. In the resource management table 108, it is necessary to have entries for the number of concurrently executing transactions, and the number of entries is conventionally estimated by a user at the time of system design, and the estimation result is defined as a parameter and given as an upper limit. .

【0018】本実施形態では、まずオンライントランザ
クション処理システム102の開始時にリソース管理テ
ーブル108をシステムが設定したデフォルトのエント
リ数n(上限値よりも少ない値)でメモリ103上に作
成する。このデフォルトのエントリ数はユーザでもパラ
メタで指定可能としておき、ユーザのシステム規模に合
わせてチューニングできる様にしておくものとする。
In this embodiment, first, when the online transaction processing system 102 is started, the resource management table 108 is created in the memory 103 with the default number n of entries (a value smaller than the upper limit) set by the system. It is assumed that the default number of entries can be specified by a user with a parameter so that tuning can be performed according to the system scale of the user.

【0019】またリソース管理テーブル108は、後述
するテーブル再構成時に増分した次テーブルのアドレス
を設定する次テーブルアドレス部109、当該リソース
管理テーブル108のエントリ数を管理するエントリ数
部110、各トランザクションを管理するエントリ部1
12、エントリ部112の使用数を管理する使用中エン
トリ数部111から構成される。
The resource management table 108 includes a next table address section 109 for setting the address of the next table which is incremented at the time of table reconstruction described later, an entry number section 110 for managing the number of entries in the resource management table 108, and a transaction. Entry part 1 to be managed
12, an in-use entry number section 111 for managing the number of used entry sections 112.

【0020】オンライントランザクション処理システム
102の開始処理が完了し、オンライン状態になると、
トランザクションの入力ができる様になる。オンライン
状態後、使用状況監視処理部106は、トランザクショ
ン処理部104で使用するリソース管理テーブル108
の使用中エントリ数部111をシステムが設定したデフ
ォルトのインターバル、例えば数十秒等の所定の時間間
隔で監視する。なおこのインターバル値はユーザが数秒
や数十秒等の値にチューニングできる様にパラメタでも
指定可能としておくものとする。
When the start processing of the online transaction processing system 102 is completed and the online state is established,
You will be able to enter transactions. After the online state, the usage status monitoring processing unit 106 controls the resource management table 108 used by the transaction processing unit 104.
Is monitored at a default interval set by the system, for example, at a predetermined time interval such as several tens of seconds. The interval value can be specified by a parameter so that the user can tune to a value such as several seconds or tens of seconds.

【0021】使用状況監視処理部106は、前回のイン
ターバル時の使用量と今回のインターバル時の使用量か
ら次回インターバル時の使用量を予測する処理を行い、
また、リソース管理テーブル108のエントリ数部11
0が残り幾つになるまで使用した場合にリソース管理テ
ーブル108を新たに確保・作成するかをシステムで設
定しておき(以降見極め値という)、現在使用量が見極
め値を超えた場合にはリソース管理テーブル108を新
たに確保・作成を行うようテーブル再構成処理部107
に連絡する。なお、見極め値もユーザが130エントリ
や190エントリ等の値にチューニングできる様にパラ
メタでも指定可能としておくものとする。
The usage status monitoring processing unit 106 performs a process of predicting the usage amount at the next interval from the usage amount at the previous interval and the usage amount at the current interval,
Also, the number-of-entries part 11 of the resource management table 108
The system sets whether the resource management table 108 is newly secured or created when the number of remaining resources becomes 0 (hereinafter referred to as a discrimination value). If the current usage exceeds the discrimination value, the resource A table reconfiguration processing unit 107 that newly allocates and creates a management table 108
Contact It is assumed that the determination value can also be specified by a parameter so that the user can tune to a value such as 130 entries or 190 entries.

【0022】テーブル再構成処理部107は、メモリ1
03上に新たにリソース管理テーブル108の領域をシ
ステムが設定したデフォルトのエントリ増分数で確保
し、エントリ数部110にこの値を設定し、また最初に
作成したリソース管理テーブル108の次テーブルアド
レス部109に今回作成したリソース管理テーブル10
8のアドレスを設定する。なお、エントリ増分数におい
てもユーザが60エントリ等の値をチューニングできる
様にパラメタでも指定可能としておくものとする。
The table reconstruction processing unit 107 has a memory 1
03, a new area of the resource management table 108 is secured by the default entry increment number set by the system, this value is set in the entry number section 110, and the next table address section of the resource management table 108 created first. 109 shows the resource management table 10 created this time
8 is set. It should be noted that the number of entry increments can be specified by parameters so that the user can tune the value of 60 entries or the like.

【0023】また本実施形態では、現在使用量がエント
リ増分を行う見極め値に達していないが、次回インター
バル時の予測値が上限値を超えている場合、次回インタ
ーバル値を今回よりも短縮することで、監視の感度を良
くしている。この様に監視の感度を向上させて上限値に
達する前に事前にエントリ数部を増分することにより、
トランザクション処理部104の実行時に性能が劣化す
ることを防止している。但し、予測を上回る速度で上限
値に達した場合には、トランザクション処理部104か
らテーブル再構成処理部107に直接連絡し、エントリ
増分を行うことになる。この場合はエントリ増分の処理
だけ性能は劣化する。なお前述したシステムで設定する
各種デフォルト値をユーザシステムの特性に応じてチュ
ーニングすることによりトランザクション処理実行時の
エントリ増分の頻度を減少させることができる。
Further, in the present embodiment, if the current usage does not reach the threshold value for performing the entry increment, but the predicted value at the next interval exceeds the upper limit, the next interval value is shortened from this time. In order to improve the monitoring sensitivity. In this way, by increasing the sensitivity of monitoring and increasing the number of entries in advance before reaching the upper limit,
This prevents performance degradation during execution of the transaction processing unit 104. However, when the upper limit is reached at a speed exceeding the prediction, the transaction processing unit 104 directly communicates with the table reconstruction processing unit 107 to perform the entry increment. In this case, the performance is deteriorated only by the processing of the entry increment. By tuning the various default values set in the above-described system according to the characteristics of the user system, the frequency of entry increments at the time of executing transaction processing can be reduced.

【0024】図2は本実施形態の使用状況監視処理部1
06の処理手順を示すフローチャートである。まずステ
ップ201で使用状況監視処理部106は、リソース管
理テーブル108の使用中エントリ数部111中の値を
読み出して現在使用量として退避する。
FIG. 2 shows a usage status monitoring processor 1 according to this embodiment.
It is a flowchart which shows the processing procedure of 06. First, in step 201, the usage monitoring processing unit 106 reads the value in the used entry number unit 111 of the resource management table 108 and saves the value as the current usage.

【0025】ステップ202では、インターバル値をt
とした場合、t秒間ディレイさせ、次の処理実行を遅ら
せる。t秒後、ステップ203に進み、ステップ201
で退避した現在使用量を前回使用量とし、またリソース
管理テーブル108の使用中エントリ数部111中の値
を読み出して現在使用量として退避する。
In step 202, the interval value is set to t
, The execution of the next process is delayed for t seconds. After t seconds, the process proceeds to step 203, and step 201
Is used as the previous usage amount, and the value in the used entry number section 111 of the resource management table 108 is read and saved as the current usage amount.

【0026】ステップ204では、前記退避した現在使
用量が予め設定されている見極め値をオーバしているか
どうかをチェックし、オーバしている場合にはステップ
205へ進む。ステップ205では、テーブル再構成処
理をコールしてリソース管理テーブル108の上限値を
拡大する。
In step 204, it is checked whether or not the saved current use amount exceeds a preset judgment value. If it exceeds, the process proceeds to step 205. In step 205, the table reconfiguration processing is called to increase the upper limit value of the resource management table 108.

【0027】ステップ204で見極め値をオーバしてい
ない場合やリソース管理テーブル108の上限値拡大を
終了した後にはステップ206へ進み、ステップ206
では、リソース管理テーブル108の使用中エントリ数
部111のt秒後の予測値を求める。この算出方法につ
いては後述する。
If it is determined in step 204 that the determination value does not exceed the limit value, or if the expansion of the upper limit value of the resource management table 108 is completed, the process proceeds to step 206, and
Then, a predicted value after t seconds of the in-use entry number section 111 of the resource management table 108 is obtained. This calculation method will be described later.

【0028】次にステップ207では、前記算出した予
測値が上限値をオーバしているかどうかをチェックし、
前記予測値が上限値をオーバしている場合にはステップ
208へ進み、オーバしていない場合にはステップ21
0へ進む。
Next, at step 207, it is checked whether or not the calculated predicted value exceeds the upper limit.
If the predicted value exceeds the upper limit, the process proceeds to step 208, and if not, the process proceeds to step 21.
Go to 0.

【0029】ステップ208では、次回のインターバル
値t’を求める。この算出方法については後述する。ス
テップ209では、前記算出したt’秒間のディレイを
行った後、ステップ203の処理へ戻る。一方、ステッ
プ210では、t秒間のディレイを行った後、ステップ
203の処理へ戻る。
In step 208, the next interval value t 'is obtained. This calculation method will be described later. In step 209, after performing the delay for the calculated t 'seconds, the process returns to step 203. On the other hand, in step 210, after performing a delay of t seconds, the process returns to step 203.

【0030】図3は本実施形態の使用状況監視処理部1
06における現在使用量が見極め値を超えなかったケー
スについて、使用量、予測値と監視間隔の関係を示す図
である。図3において、横軸は時間、縦軸は使用量を表
している。上限値は200、見極め値は130とする。
またシステムで設定した監視インターバル値はt秒とす
る。
FIG. 3 shows a usage monitoring processing unit 1 according to this embodiment.
It is a figure which shows the relationship between a used amount, a predicted value, and a monitoring interval about the case where the present used amount in 06 did not exceed the determination value. In FIG. 3, the horizontal axis represents time, and the vertical axis represents usage. The upper limit is 200, and the final value is 130.
The monitoring interval value set by the system is t seconds.

【0031】本実施形態の使用状況監視処理部106
は、最初のインターバル値t秒後では、現在使用量30
の退避だけを行い、t秒後の予測はしない(301)。
その後、t秒間のディレイを行うと、次の監視時間は2
tとなる。2tでは使用量90を現在使用量として退避
する。
The usage status monitoring processing unit 106 of the present embodiment
Is the current usage amount 30 seconds after the first interval value t seconds.
Is saved only, and prediction after t seconds is not made (301).
After that, if a delay of t seconds is performed, the next monitoring time is 2
t. In 2t, the used amount 90 is saved as the current used amount.

【0032】ここで使用状況監視処理部106は、前回
の現在使用量であった30と今回の現在使用量90から
次回t秒後の使用量を以下の数1から予測する。本実施
形態では、リソース管理テーブル108の使用量の増加
時には数1で示される様な特性で増加するものとしてこ
の式を用いているが、他の予測式を用いても良い。
Here, the usage status monitoring processing unit 106 estimates the usage amount after the next t seconds from the previous current usage amount 30 and the current usage amount 90 from the following equation (1). In the present embodiment, when the usage of the resource management table 108 increases, this equation is used as an increase with the characteristic shown in Expression 1, but another prediction equation may be used.

【0033】[0033]

【数1】 次回使用量=今回使用量×(今回使用量/前回使用量) 数1により予測値は270となる(302)。## EQU00001 ## Next use amount = current use amount.times. (Current use amount / previous use amount).

【0034】次に使用状況監視処理部106は、前記算
出された予測値である270が上限値の200を超えて
いる為、次回のインターバル値を変更する。次回インタ
ーバル値は現在時刻から上限値を超えるまでの経過時間
T1を予測し、その1/2の時間T2に設定する。以下
の様な式から求める。
Next, since the calculated predicted value 270 exceeds the upper limit value 200, the usage status monitoring processing unit 106 changes the next interval value. For the next interval value, the elapsed time T1 from the current time to the time when the upper limit value is exceeded is predicted, and set to a half time T2. It is calculated from the following equation.

【0035】[0035]

【数2】T1=t×(b/a)T1 = t × (b / a)

【0036】[0036]

【数3】T2=T1/2 従って次回の監視時間はT2後の2t+T2となる。こ
こで、図3に示した様に、数2のaは予測値270と現
在使用量90との差であり、数2のbは上限値200と
現在使用量90との差である。
T2 = T1 / 2 Therefore, the next monitoring time is 2t + T2 after T2. Here, as shown in FIG. 3, a in Equation 2 is the difference between the predicted value 270 and the current usage 90, and b in Equation 2 is the difference between the upper limit 200 and the current usage 90.

【0037】次に図3の様に時間2t+T2では使用量
100であったとすると、使用状況監視処理部106
は、ここで前回の現在使用量であった90と今回の現在
使用量100とから次回t秒後の使用量を予測する。こ
こでは、インターバル値をtからT2に短縮している
為、次回t秒後の予測値は以下の様な数4で表される。
Next, as shown in FIG. 3, assuming that the usage amount is 100 at the time 2t + T2, the usage status monitoring processing unit 106
Predicts the usage amount after the next t seconds from the previous current usage amount of 90 and the current usage amount of 100. Here, since the interval value is shortened from t to T2, the predicted value after the next t seconds is represented by the following Expression 4.

【0038】[0038]

【数4】次回使用量=今回使用量×(今回使用量/前回
使用量)t/T ここで、Tは前回から今回までのインターバル値であ
る。時間2t+T2においては、TはT2となる。ここ
でtを100とした場合、数4より予測値は141とな
る(303)。使用状況監視処理部106は、前記算出
された予測値141が上限値200を下回った為、次の
インターバル値を再度tとする。よって次回の監視時間
はt秒後の3t+T2となる。
## EQU4 ## Next use amount = current use amount × (current use amount / previous use amount) t / T where T is an interval value from the previous time to the current time. At time 2t + T2, T becomes T2. Here, when t is set to 100, the predicted value is 141 from Equation 4 (303). Since the calculated predicted value 141 is smaller than the upper limit 200, the usage status monitoring processing unit 106 sets the next interval value to t again. Therefore, the next monitoring time is 3t + T2 after t seconds.

【0039】図3の様に3t+T2では使用量は100
であったとすると、数1により予測値は100となる
(304)。使用状況監視処理部106は、前記算出さ
れた予測値100が上限値200を下回った為、次回イ
ンターバル値を再度tとする。よって次回の監視時間は
t秒後の4t+T2となる。図3の様に4t+T2では
使用量は50であったとすると、数1により予測値は2
5となる(305)。
As shown in FIG. 3, at 3t + T2, the used amount is 100.
, The predicted value becomes 100 from Equation 1 (304). Since the calculated predicted value 100 falls below the upper limit 200, the usage status monitoring processing unit 106 sets the next interval value to t again. Therefore, the next monitoring time is 4t + T2 after t seconds. Assuming that the usage amount is 50 at 4t + T2 as shown in FIG.
It becomes 5 (305).

【0040】図4は本実施形態の使用状況監視処理部1
06における現在使用量が見極め値を超えたケースにつ
いて、使用量、予測値と監視間隔の関係を示す図であ
る。図4において、横軸は時間、縦軸は使用量を表して
いる。上限値は200、見極め値は(上限値−70)の
130とする。またシステムで設定したインターバル値
はt秒とする。
FIG. 4 is a diagram showing the usage monitoring processing unit 1 according to the present embodiment.
It is a figure which shows the relationship between a used amount, a predicted value, and a monitoring interval about the case where the current used amount in 06 exceeded the determination value. In FIG. 4, the horizontal axis represents time, and the vertical axis represents usage. The upper limit value is 200, and the determination value is (upper limit value -70), which is 130. The interval value set by the system is t seconds.

【0041】図4では監視時間2tまでは図3の302
までと同じであるものとする(401)。
In FIG. 4, up to the monitoring time 2t, 302 in FIG.
(401).

【0042】図4の様に2t+T2では使用量は115
であったとすると、数4により予測値は258となる
(402)。この場合、予測値が上限値200を超えて
いる為、使用状況監視処理部106は、次回のインター
バル値を更に変更する。次回インターバル値は現在時間
から上限値を超えるまでの経過時間T3を予測し、その
1/2の時間T4に設定する。以下の様な式から求め
る。
As shown in FIG. 4, the amount of use is 115 at 2t + T2.
, The predicted value is 258 from Equation 4 (402). In this case, since the predicted value exceeds the upper limit 200, the usage status monitoring processing unit 106 further changes the next interval value. For the next interval value, the elapsed time T3 from the current time to the time exceeding the upper limit value is predicted, and is set to a half time T4. It is calculated from the following equation.

【0043】[0043]

【数5】T3=t×(d/c)T3 = t × (d / c)

【0044】[0044]

【数6】T4=T3/2 従って次回の監視時間はT4後の2t+T2+T4とな
る。ここで、図4に示した様に、数5のcは予測値25
8と現在使用量115との差であり、数5のdは上限値
200と現在使用量115との差である。
T4 = T3 / 2 Therefore, the next monitoring time is 2t + T2 + T4 after T4. Here, as shown in FIG.
8 is the difference between the current usage amount 115, and d in Equation 5 is the difference between the upper limit 200 and the current usage amount 115.

【0045】次に図4の様に時間2t+T2+T4では
使用量は138であったとすると、この場合、使用量1
38が見極め値130を超えている為、使用状況監視処
理部106は、テーブル再構成処理をコールして上限値
を拡大する。上限値の拡大幅を60とすると新たな上限
値は260となる。それに伴い見極め値も190に変更
となる。
Next, as shown in FIG. 4, if the usage amount is 138 at time 2t + T2 + T4, in this case, the usage amount is 1
Since 38 exceeds the determination value 130, the usage status monitoring processing unit 106 calls the table reconfiguration processing to increase the upper limit value. If the enlargement range of the upper limit is 60, the new upper limit is 260. Accordingly, the determination value is also changed to 190.

【0046】また数4により予測値を計算すると255
となる(403)。その結果、予測値は上限値260を
超えていない為、使用状況監視処理部106は、次回の
インターバル値をtに戻す。従って次回の監視時間はt
秒後の3t+T2+T4となる。図4の様に3t+T2
+T4では使用量は115であったとすると、数1によ
り予測値は95となる(404)。
Calculating the predicted value according to Equation 4 gives 255
(403). As a result, since the predicted value does not exceed the upper limit value 260, the usage status monitoring processing unit 106 returns the next interval value to t. Therefore, the next monitoring time is t
After 3 seconds, it is 3t + T2 + T4. 3t + T2 as shown in FIG.
Assuming that the used amount is 115 at + T4, the predicted value becomes 95 according to Equation 1 (404).

【0047】図5は本実施形態のテーブル再構成処理部
107の処理手順を示すフローチャートである。図5に
示す様にテーブル再構成処理部107は、リソース管理
テーブル108の上限値の拡大指示が使用状況監視処理
部106から行われた場合にリソース管理テーブル10
8のエントリを拡張する処理を行う。
FIG. 5 is a flowchart showing the processing procedure of the table reconstruction processing unit 107 of this embodiment. As shown in FIG. 5, when the instruction to increase the upper limit of the resource management table 108 is issued from the usage status monitoring processing unit 106, the table reconfiguration processing unit 107
8 is extended.

【0048】図5のステップ501でテーブル再構成処
理部107は、オンライントランザクション処理システ
ムのパラメタとして予め設定されたリソース管理テーブ
ル108の拡大幅を読み出し、ステップ502へ進む。
In step 501 of FIG. 5, the table reconfiguration processing unit 107 reads out the expansion width of the resource management table 108 set in advance as a parameter of the online transaction processing system, and proceeds to step 502.

【0049】ステップ502では、前記読み出した拡大
幅で示されるエントリを持つリソース管理テーブルの領
域を確保し、ステップ503では、前記確保した領域の
先頭アドレスの値を、元のリソース管理テーブル108
の次テーブルアドレス部109に設定する。なお本実施
形態のトランザクション処理部104は、リソース管理
テーブル108の最後のエントリnまで使用すると、次
テーブルアドレス部109の値を読み出して、前記確保
された領域へアクセスし、拡張されたリソース管理テー
ブルを使用するものとする。
In step 502, an area of the resource management table having the entry indicated by the read enlarged width is secured, and in step 503, the value of the head address of the secured area is replaced with the value of the original resource management table 108.
Is set in the next table address section 109 of the table. When the transaction processing unit 104 of this embodiment uses up to the last entry n of the resource management table 108, the transaction processing unit 104 reads the value of the next table address unit 109, accesses the reserved area, and executes the extended resource management table. Shall be used.

【0050】ステップ504では、リソース管理テーブ
ル108の上限値に前記領域の確保を行った拡大幅の値
を加算し、上限値の値を更新する。またステップ505
では、リソース管理テーブル108の見極め値に前記領
域の確保を行った拡大幅の値を加算し、見極め値の値を
更新する。
In step 504, the value of the enlarged width for which the area has been secured is added to the upper limit value of the resource management table 108 to update the upper limit value. Step 505
Then, the value of the enlargement width for which the area has been secured is added to the determination value in the resource management table 108, and the value of the determination value is updated.

【0051】前記の様に本実施形態によれば、ユーザが
上限値の見積もりをすることなく、オンライントランザ
クション処理システムを起動した場合でも、開始時には
自動的に上限値をデフォルトにて設定してリソース管理
テーブルを作成し、その使用状況をシステムの設定した
所定のインターバルにてトランザクション処理とは連動
せずに監視して、上限値オーバを予測し、適正なタイミ
ングでエントリ数を増加できるので、ユーザによるシス
テム設計時の上限値の見積もり負荷を低減し、将来のシ
ステム規模拡大やユーザ数の拡大計画がある場合は、前
記予測値等によりその都度メモリの拡張等を行うことに
よってメモリの無駄を防ぐことができる。
As described above, according to the present embodiment, even if the user starts the online transaction processing system without estimating the upper limit, the upper limit is automatically set by default at the start, and the resource is set. A management table is created and its usage is monitored at predetermined intervals set by the system without interlocking with the transaction processing, the upper limit is exceeded, and the number of entries can be increased at an appropriate timing. In the case where there is a plan to expand the system scale or the number of users in the future by reducing the estimation load of the upper limit value at the time of system design according to be able to.

【0052】以上説明した様に本実施形態のオンライン
トランザクション処理システムによれば、リソース管理
テーブルの使用中エントリ数が見極め値を越えた場合に
リソース管理テーブルのエントリを拡張するので、シス
テム設計時におけるリソース管理テーブルの上限値の見
積もり工数を削減させ、オンライントランザクション処
理の性能に影響させずにメモリ使用効率を向上させるこ
とが可能である。
As described above, according to the online transaction processing system of the present embodiment, when the number of in-use entries in the resource management table exceeds the discrimination value, the entries in the resource management table are expanded. It is possible to reduce the man-hour for estimating the upper limit value of the resource management table and improve the memory use efficiency without affecting the performance of online transaction processing.

【0053】[0053]

【発明の効果】本発明によればリソース管理テーブルの
使用中エントリ数が見極め値を越えた場合にリソース管
理テーブルのエントリを拡張するので、システム設計時
におけるリソース管理テーブルの上限値の見積もり工数
を削減させ、オンライントランザクション処理の性能に
影響させずにメモリ使用効率を向上させることが可能で
ある。
According to the present invention, the number of entries in the resource management table is extended when the number of in-use entries in the resource management table exceeds the discrimination value. It is possible to reduce and improve the memory use efficiency without affecting the performance of online transaction processing.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本実施形態のオンライントランザクション処理
システムの全体構成を示す図である。
FIG. 1 is a diagram illustrating an overall configuration of an online transaction processing system according to an embodiment.

【図2】本実施形態の使用状況監視処理部106の処理
手順を示すフローチャートである。
FIG. 2 is a flowchart illustrating a processing procedure of a usage status monitoring processing unit 106 according to the embodiment.

【図3】本実施形態の使用状況監視処理部106におけ
る現在使用量が見極め値を超えなかったケースについ
て、使用量、予測値と監視間隔の関係を示す図である。
FIG. 3 is a diagram illustrating a relationship between a usage amount, a predicted value, and a monitoring interval in a case where a current usage amount does not exceed an evaluation value in a usage status monitoring processing unit 106 according to the present embodiment.

【図4】本実施形態の使用状況監視処理部106におけ
る現在使用量が見極め値を超えたケースについて、使用
量、予測値と監視間隔の関係を示す図である。
FIG. 4 is a diagram illustrating a relationship between the usage amount, the predicted value, and the monitoring interval in a case where the current usage amount in the usage status monitoring processing unit 106 according to the present embodiment exceeds the determination value.

【図5】本実施形態のテーブル再構成処理部107の処
理手順を示すフローチャートである。
FIG. 5 is a flowchart illustrating a processing procedure of a table reconstruction processing unit 107 according to the embodiment.

【符号の説明】[Explanation of symbols]

101…端末、102…オンライントランザクション処
理システム、103…メモリ、108…リソース管理テ
ーブル、109…次テーブルアドレス部、110…エン
トリ数部、111…使用中エントリ数部、112…エン
トリ部、104…トランザクション処理部、105…テ
ーブル初期作成処理部、106…使用状況監視処理部、
107…テーブル再構成処理部。
Reference numeral 101: terminal, 102: online transaction processing system, 103: memory, 108: resource management table, 109: next table address part, 110: number of entries, 111: number of entries in use, 112: entry part, 104: transaction Processing unit, 105: table initial creation processing unit, 106: use status monitoring processing unit,
107: Table reconstruction processing unit.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 オンライントランザクション処理で用い
られるリソースを管理する為のリソース管理テーブルの
エントリ数を最適化するリソース管理テーブル数最適化
方法において、 オンライントランザクション処理中に所定のインターバ
ルにてリソース管理テーブルのエントリ使用状況を監視
し、使用中エントリ数が所定の見極め値を越えている場
合にリソース管理テーブルの上限値の拡大を指示するス
テップと、 前記リソース管理テーブルの上限値の拡大指示が行われ
た場合にリソース管理テーブルのエントリを拡張するス
テップとを有することを特徴とするリソース管理テーブ
ル数最適化方法。
1. A resource management table number optimizing method for optimizing the number of entries in a resource management table for managing resources used in online transaction processing, the method comprising the steps of: A step of monitoring entry usage and instructing an increase in the upper limit of the resource management table when the number of used entries exceeds a predetermined threshold; and an instruction to increase the upper limit of the resource management table is issued. Expanding the entries of the resource management table in a case.
【請求項2】 次のインターバル後に予測される使用中
エントリ数の予測値がリソース管理テーブルの上限値を
越えている場合に、次のインターバル値を減少させるこ
とを特徴とする請求項1に記載されたリソース管理テー
ブル数最適化方法。
2. The method according to claim 1, wherein when the predicted value of the number of in-use entries predicted after the next interval exceeds the upper limit of the resource management table, the next interval value is reduced. Resource management table number optimization method.
【請求項3】 前回の使用中エントリ数と今回の使用中
エントリ数とから前記予測値を算出することを特徴とす
る請求項2に記載されたリソース管理テーブル数最適化
方法。
3. The method of optimizing the number of resource management tables according to claim 2, wherein the predicted value is calculated from the number of entries in use last time and the number of entries in use this time.
【請求項4】 オンライントランザクション処理で用い
られるリソースを管理する為のリソース管理テーブルの
エントリ数を最適化するオンライントランザクション処
理システムにおいて、 オンライントランザクション処理中に所定のインターバ
ルにてリソース管理テーブルのエントリ使用状況を監視
し、使用中のエントリ数が所定の見極め値を越えている
場合にリソース管理テーブルの上限値の拡大を指示する
使用状況監視処理部と、前記リソース管理テーブルの上
限値の拡大指示が行われた場合にリソース管理テーブル
のエントリを拡張するテーブル再構成処理部とを備える
ことを特徴とするオンライントランザクション処理シス
テム。
4. An online transaction processing system for optimizing the number of entries in a resource management table for managing resources used in online transaction processing, wherein the usage status of entries in the resource management table is determined at predetermined intervals during online transaction processing. And a usage status monitoring processing unit that instructs to increase the upper limit value of the resource management table when the number of entries in use exceeds a predetermined determination value, and issues an instruction to increase the upper limit value of the resource management table. An online transaction processing system, comprising: a table reconfiguration processing unit that expands an entry of a resource management table in the event of a failure.
【請求項5】 オンライントランザクション処理で用い
られるリソースを管理する為のリソース管理テーブルの
エントリ数を最適化するオンライントランザクション処
理システムとしてコンピュータを機能させる為のプログ
ラムにおいて、 オンライントランザクション処理中に所定のインターバ
ルにてリソース管理テーブルのエントリ使用状況を監視
し、使用中のエントリ数が所定の見極め値を越えている
場合にリソース管理テーブルの上限値の拡大を指示する
使用状況監視処理部と、前記リソース管理テーブルの上
限値の拡大指示が行われた場合にリソース管理テーブル
のエントリを拡張するテーブル再構成処理部としてコン
ピュータを機能させることを特徴とするプログラム。
5. A program for causing a computer to function as an online transaction processing system for optimizing the number of entries in a resource management table for managing resources used in online transaction processing. A usage monitoring processor for monitoring the usage of entries in the resource management table, and instructing an increase in the upper limit of the resource management table when the number of used entries exceeds a predetermined threshold value; A program that causes a computer to function as a table reconfiguration processing unit that expands an entry in a resource management table when an instruction to increase the upper limit value is issued.
JP2001142549A 2001-05-14 2001-05-14 Method for optimizing number of resource management table, system conducting the same and processing program Pending JP2002342269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001142549A JP2002342269A (en) 2001-05-14 2001-05-14 Method for optimizing number of resource management table, system conducting the same and processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001142549A JP2002342269A (en) 2001-05-14 2001-05-14 Method for optimizing number of resource management table, system conducting the same and processing program

Publications (1)

Publication Number Publication Date
JP2002342269A true JP2002342269A (en) 2002-11-29

Family

ID=18988832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001142549A Pending JP2002342269A (en) 2001-05-14 2001-05-14 Method for optimizing number of resource management table, system conducting the same and processing program

Country Status (1)

Country Link
JP (1) JP2002342269A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007122358A (en) * 2005-10-27 2007-05-17 Fujitsu Ltd Unexpected demand detection system and unexpected demand detection program
US8028051B2 (en) 2003-04-16 2011-09-27 Fujitsu Limited Apparatus for adjusting use resources of system and method thereof
JP2014525082A (en) * 2011-06-27 2014-09-25 アマゾン・テクノロジーズ・インコーポレーテッド System and method for implementing a scalable data storage service

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8028051B2 (en) 2003-04-16 2011-09-27 Fujitsu Limited Apparatus for adjusting use resources of system and method thereof
JP2007122358A (en) * 2005-10-27 2007-05-17 Fujitsu Ltd Unexpected demand detection system and unexpected demand detection program
JP2014525082A (en) * 2011-06-27 2014-09-25 アマゾン・テクノロジーズ・インコーポレーテッド System and method for implementing a scalable data storage service

Similar Documents

Publication Publication Date Title
US8527997B2 (en) Energy-aware job scheduling for cluster environments
US9405563B2 (en) Resource management method and apparatus for virtual machine system, and virtual machine system
Chen et al. Autonomic provisioning of backend databases in dynamic content web servers
US8949642B2 (en) Method for dynamically distributing one or more services in a network comprising of a plurality of computers by deriving a resource capacity required based on a past chronological progression of a resource demand
JP2001318742A (en) Computer system and computer readable recording medium
US20070118838A1 (en) Task execution controller, task execution control method, and program
CN113010260A (en) Elastic expansion method and system for container quantity
JP6640025B2 (en) Distributed processing control system and distributed processing control method
CN105760294A (en) Method and device for analysis of thread latency
US20140007135A1 (en) Multi-core system, scheduling method, and computer product
JP2002342269A (en) Method for optimizing number of resource management table, system conducting the same and processing program
JPH10177425A (en) Computer system
CN113342512B (en) IO task silencing and driving method and device and related equipment
CN112631668A (en) Power management method and device, electronic equipment and storage medium
JP3795669B2 (en) Memory management device and storage medium storing memory management program
JP3839259B2 (en) Multithread control method, multithread control apparatus, recording medium, and program
JP5056346B2 (en) Information processing apparatus, information processing system, virtual server movement processing control method, and program
JP2757648B2 (en) Online transaction data processing system
JP2900438B2 (en) File recall method
CN109885328B (en) BIOS updating method and system and related components
CN115242623B (en) Log collection method, device, equipment and storage medium
US20240163228A1 (en) Resource allocation update device, resource allocation update method, program, and virtual machine/container control system
JP3949364B2 (en) File processing method and storage medium
JP2022080615A (en) Information processing device, arrangement method, and program
JP2000259449A (en) System and method for controlling program execution trace acquisition and recording medium with program realizing method recorded thereon