JPS6219957A - Preventing system for depression state of transaction - Google Patents
Preventing system for depression state of transactionInfo
- Publication number
- JPS6219957A JPS6219957A JP15819485A JP15819485A JPS6219957A JP S6219957 A JPS6219957 A JP S6219957A JP 15819485 A JP15819485 A JP 15819485A JP 15819485 A JP15819485 A JP 15819485A JP S6219957 A JPS6219957 A JP S6219957A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- group
- transaction
- transactions
- priority
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
Description
【発明の詳細な説明】
〔発明の利用分野〕
本発明はオンライン・システムのトランザクション・ス
ケジュールに係り、特に、優先度にしたがってトランザ
クションを処理実行するオンライン・システムにおける
低優先度トランザクションの沈みこみを防止する方式に
関する。[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to transaction scheduling in an online system, and in particular, to preventing low-priority transactions from sinking in an online system that processes and executes transactions according to priority. Regarding the method of
従来、オンライン・システムのトランザクション沈みこ
み防止方式として、限界優先度と限界値を用いる方式が
知られている(日立製作所: IIITACマニュ7)
Ii VO53DCCMII 解説 8090−6
−321)、これは、成るグループの待合せトランザク
ション数が限界値を超えるとそのグループの優先度を一
時的に限界優先度まで上げ、たまったトランザクション
を優先的に処理する方式である。適正な限界優先度と限
界値とを設定すれば、沈みこみは防止できる。しかし、
適正値自体もトランザクション負荷状況に応じて変化す
るため、全てのグループについて予め適正値を定めるこ
とは事実上困難であり、不適正な設定値のもとで相変ら
ず沈みこみが発生する恐れがあった。Conventionally, a method using limit priority and limit value is known as a method to prevent transactions from sinking in online systems (Hitachi, Ltd.: IIITAC Manual 7).
Ii VO53DCCMII Explanation 8090-6
-321), this is a method in which when the number of queued transactions in a group exceeds a limit value, the priority of that group is temporarily raised to the limit priority, and the accumulated transactions are processed preferentially. By setting appropriate limit priorities and limit values, sinking can be prevented. but,
Since the appropriate value itself changes depending on the transaction load situation, it is practically difficult to determine the appropriate value for all groups in advance, and there is a risk that stagnation will continue to occur under inappropriate setting values. there were.
本発明の目的は、複数のグループのトランザクションが
共存するオンライン・システムにおいて、ある特定のグ
ループ、特に低優先度のグループのトランザクションが
長時間処理されずに沈みこむ現象を防止する手段を提供
することである。An object of the present invention is to provide a means for preventing a phenomenon in which transactions of a certain group, especially a low priority group, are left unprocessed for a long time in an online system where transactions of multiple groups coexist. It is.
オンライン・シスチンにおいて成る特定のグループのト
ランザクションが沈みこまないためには、当該グループ
に一定の処理保証値を設定し、当該グループの処理実績
値(既に処理完了したトランザクション数)が未だ処理
保証値に達しない間は。In order to prevent the transactions of a specific group of online systems from sinking, set a certain processing guarantee value for the group, and ensure that the processing performance value (number of transactions that have already been processed) of the group is still below the processing guarantee value. As long as it doesn't reach.
優先度にかかわりなく、処理実績値が既に処理保証値に
達したグループのトランザクションよりも当該グループ
のトランザクションを優先的に処理すればよい、処理保
証値は各トランザクション・グループについて指定する
。処理実績値゛は各グループの処理実績値の総和が一定
値に達するとゼロクリアする。なお、処理実績値がとも
に処理保証値に達しないグループ間では優先度の高いグ
ループのトランザクションを優先的に処理する。処理実
績値がともに処理保証値に達したグループ間でも同様で
ある。Regardless of the priority, it is sufficient to process transactions in a group with priority over transactions in groups whose processing performance value has already reached the guaranteed processing value.The guaranteed processing value is specified for each transaction group. The processing performance value is cleared to zero when the sum of the processing performance values of each group reaches a certain value. Note that among groups whose processing performance values do not reach the guaranteed processing value, the transactions of the group with the higher priority are processed preferentially. The same applies to groups whose processing performance values have both reached the guaranteed processing value.
以下、本発明の一実施例を第1図、第2図、第3図によ
り説明する。An embodiment of the present invention will be described below with reference to FIGS. 1, 2, and 3.
第1図はオンライン・システムのトランザクション処理
待行列のテーブル構成を示したものである。いま、優先
度として、0〜14の15段階があるとし、数が多い程
優先度が高いとする。10はトランザクション処理待行
列であり、優先度ごとにサーチ・チェインを持っている
。各トランザクション・グループごとに存在するトラン
ザクション・グループ・テーブル12は、その優先度に
したがってトランザクション処理待行列10のサーチ・
チェインにつながれる。トランザクション14は、各々
その属するグループのトランザクション・グループ・テ
ーブル12に先着順につながれる。FIG. 1 shows the table structure of the transaction processing queue of the online system. It is now assumed that there are 15 levels of priority from 0 to 14, and the higher the number, the higher the priority. 10 is a transaction processing queue, which has a search chain for each priority. A transaction group table 12 that exists for each transaction group searches the transaction processing queue 10 according to its priority.
connected to a chain. Each transaction 14 is connected to the transaction group table 12 of the group to which it belongs on a first-come, first-served basis.
第2図はトランザクション・グループ・テーブル12の
エントリ構成を示す、16は予め外部パラメータとして
設定する当グループの処理保証値。FIG. 2 shows the entry configuration of the transaction group table 12. 16 indicates a guaranteed processing value for this group, which is set in advance as an external parameter.
18は前回ゼロクリアされて以来処理完了した当グルー
プのトランザクション数である処理実績値。18 is the processing performance value, which is the number of transactions of this group that have been processed since the last time the transaction was cleared to zero.
20は現在当グループで処理実行を待っているトランザ
クション数がそれぞれエントリである。ここで処理実績
値のゼロクリアは、各トランザクション・グループの処
理実績値の総和がある値に達した時点でいっせいに行う
、また、22.24はそれぞれサーチ・チェインのフォ
ワード・ポインタ、バックワード・ポインタが入るエン
トリである。20 is an entry indicating the number of transactions currently waiting for processing execution in this group. Here, the processing result values are cleared to zero all at once when the sum of the processing result values of each transaction group reaches a certain value. Also, in 22.24, the forward pointer and backward pointer of the search chain are cleared to zero. This is the entry to enter.
第3図は、第1図と第2図に示したテーブルを用いて次
に処理するトランザクションを選択する際のフローチャ
ートである。まず26で最高優先度14のグループから
サーチを開始する。30でトランザクション・グループ
・テーブルをポイントL、、32で当該グループに処理
待ちのトランザクションがあることを確認すると、34
で当該グループの処理実績値を処理保証値と比較し未だ
処理保証値に達していない場合は、36で当該トランザ
クション・グループで先着順に待っている先頭のトラン
ザクションを選択する0選択すべきトランザクションが
当該グループに無い場合、30で次のトランザクション
・グループに進む、28でその優先度のトランザクショ
ン・グループをサーチし終えると、40でより低優先度
のトランザクション・グループのサーチに移る。このよ
うにして38で優先度0のトランザクション・グループ
までサーチし終えたことがわかると、サーチはトランザ
クションを選択することなく終了する。FIG. 3 is a flowchart for selecting a transaction to be processed next using the tables shown in FIGS. 1 and 2. First, the search is started from the group 26 with the highest priority of 14. At 30, point the transaction group table to L, and at 32, confirm that there is a transaction waiting to be processed in the group, and at 34
Compare the processing performance value of the group with the guaranteed processing value, and if the guaranteed processing value has not been reached yet, select the first transaction waiting in the first-come, first-served order in the transaction group in 36. 0 The transaction to be selected is the one in question. If it is not found in the group, proceed to the next transaction group at 30, and when the search for the transaction group of that priority is completed at 28, the search moves to a transaction group of lower priority at 40. In this way, when it is found at 38 that the search has been completed up to the transaction group with priority 0, the search ends without selecting any transaction.
(この場合は処理実績値が処理保、!II値に還しない
グループの処理待ちトランザクションが皆無の場合であ
る。このとき、34の条件を外していまいちとサーチを
行う、)なお1以上述べたトランザクションの選択は、
いずれかのトランザクションの処理が完了してオンライ
ン・システム資源に余裕ができ、新たなトランザクショ
ンを処理実行開始可能となった時点で行うものである。(In this case, the processing performance value is the processing value, and there are no pending transactions for groups that do not return to the !II value. At this time, search is performed by removing the 34 conditions.) Transaction selection is
This is carried out when the processing of one of the transactions is completed and online system resources become available and a new transaction can be started.
本実施例によれば、第1図で、優先度14のグループの
トランザクション@着状況の如何によらず、優先度10
や優先度2のグループの処理保証値を設定することによ
り、これら低優先度グルーブのトランザクションが沈み
こむ現象を防止できる。According to this embodiment, in FIG. 1, transactions of a group with a priority of 14 @regardless of the arrival status, a transaction with a priority of 10
By setting processing guarantee values for groups with priority level 2 and priority level 2, it is possible to prevent transactions in these low priority groups from sinking.
[発明の効果〕
本発明によれば、複数のグループからなるトランザクシ
ョンを処理するオンライン・システムにおいて、低優先
度グループなどの特定のグループに属するトランザクシ
ョンが長時間にわたり処理待ち状態になる沈みこみ現象
の発生防止効果がある。[Effects of the Invention] According to the present invention, in an online system that processes transactions consisting of a plurality of groups, it is possible to prevent a sinking phenomenon in which transactions belonging to a specific group such as a low priority group are in a waiting state for a long time. It has the effect of preventing occurrence.
例えば、第1図で、優先度14,10.10゜2の四つ
のトランザクション・グループの処理保証値としてそれ
ぞれ50.20.20.10を設定し、各処理実績値の
総和が100になると各処理実績値をゼロクリアすると
仮定する。このとき、各グループの処理完了トランザク
ション数の比率は近似的にそれぞれ50%、20%、1
0%。For example, in Figure 1, if the guaranteed processing values for four transaction groups with priorities 14, 10.10°2 are set to 50, 20, 20, 10, and the sum of the processing performance values becomes 100, each Assume that the processing performance value is cleared to zero. At this time, the ratio of the number of processed transactions for each group is approximately 50%, 20%, and 1, respectively.
0%.
10%となるので、高優先度グループのトランザクショ
ンの到着状況によらず、低優先度グループのトランザク
ションの沈みこみを防止する効果がある。Since it is 10%, it is effective to prevent transactions in low priority groups from sinking regardless of the arrival status of transactions in high priority groups.
同面の円嘆な説明
第1図はオンライン・システムのトランザクション処理
待行列のテーブル摺成図、第2図はトランザクション・
グループ・テーブルのエントリ構成図、第3図は処理す
るトランザクションを選択する際のフローチャートであ
る。A concise explanation on the same page. Figure 1 is a table layout diagram of the transaction processing queue of the online system, and Figure 2 is a table layout diagram of the transaction processing queue of the online system.
FIG. 3, which is an entry configuration diagram of the group table, is a flowchart when selecting a transaction to be processed.
10・・・トランザクション処理待行列、12・・・ト
ランザクション・グループ・テーブル、14・・・トラ
ンザクション、16・・・処理設定値、18・・・処理
実績値、20・・・処理待ちトランザクション数、22
・・・フォワード・ポインタ、24・・・バンクワード
・ポインタ、26〜40・・・処理するトランザクショ
ン l 目10...Transaction processing queue, 12...Transaction group table, 14...Transaction, 16...Processing setting value, 18...Processing result value, 20...Number of transactions waiting to be processed, 22
...Forward pointer, 24...Bank word pointer, 26-40...Transaction to be processed lth
Claims (1)
ンライン・システムにおいて、各グループごとに、予め
設定した処理保証値を示すエントリと当該グループで既
に処理済のトランザクション数である処理実績値を示す
エントリとを持つテーブルを設け、処理実績値が処理保
証値に達しないグループのトランザクションを優先的に
処理することにより、特定のグループのトランザクショ
ンが長時間にわたり処理待ち状態になる沈みこみ現象の
発生を防止することを特徴とするトランザクション沈み
こみ防止方式。In an online system that processes transactions made up of multiple groups, a table that has, for each group, an entry that indicates a preset processing guarantee value and an entry that indicates a processing performance value that is the number of transactions that have already been processed in the group. The feature is that by providing priority processing to transactions in groups whose actual processing value does not reach the guaranteed processing value, it prevents the occurrence of a sinking phenomenon in which transactions in a specific group are left waiting for processing for a long time. A method to prevent transaction sinking.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP15819485A JPS6219957A (en) | 1985-07-19 | 1985-07-19 | Preventing system for depression state of transaction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP15819485A JPS6219957A (en) | 1985-07-19 | 1985-07-19 | Preventing system for depression state of transaction |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6219957A true JPS6219957A (en) | 1987-01-28 |
Family
ID=15666325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP15819485A Pending JPS6219957A (en) | 1985-07-19 | 1985-07-19 | Preventing system for depression state of transaction |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6219957A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01140690A (en) * | 1987-10-03 | 1989-06-01 | Telemit Electron Gmbh | Method and apparatus of treating material with laser |
JPH0240757A (en) * | 1988-07-29 | 1990-02-09 | Nec Corp | Transaction processing control system |
US7756940B2 (en) | 2001-02-05 | 2010-07-13 | Hitachi, Ltd. | Transaction processing system having service level control capabilities |
-
1985
- 1985-07-19 JP JP15819485A patent/JPS6219957A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01140690A (en) * | 1987-10-03 | 1989-06-01 | Telemit Electron Gmbh | Method and apparatus of treating material with laser |
JPH0240757A (en) * | 1988-07-29 | 1990-02-09 | Nec Corp | Transaction processing control system |
US7756940B2 (en) | 2001-02-05 | 2010-07-13 | Hitachi, Ltd. | Transaction processing system having service level control capabilities |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5506987A (en) | Affinity scheduling of processes on symmetric multiprocessing systems | |
US5564062A (en) | Resource arbitration system with resource checking and lockout avoidance | |
CN110795222B (en) | Multithreading task scheduling method, device, equipment and readable medium | |
CN113472893B (en) | Data processing method, device, computing equipment and computer storage medium | |
CN111679900A (en) | Task processing method and device | |
JPS6219957A (en) | Preventing system for depression state of transaction | |
CN114168352A (en) | Multi-core task scheduling method and device, electronic equipment and storage medium | |
US20050041637A1 (en) | Method and system for a multi-stage interconnect switch | |
CN114896295B (en) | Data desensitization method, desensitization device and desensitization system in big data scene | |
CN112188015A (en) | Method and device for processing customer service session request and electronic equipment | |
JPH07230387A (en) | Exclusive control method | |
JPH04314147A (en) | Memory managing system | |
US7222178B2 (en) | Transaction-processing performance by preferentially reusing frequently used processes | |
JPS63300326A (en) | Transaction execution schedule system | |
Fernandes | Queue Fundamentals, implementation and its applications in round robin scheduling | |
CN117149442B (en) | Hardware acceleration method and system based on distributed architecture database | |
JPS58107961A (en) | Controlling method for information processor | |
Lee et al. | Scheduling soft aperiodic tasks in adaptable fixed-priority systems | |
Srilatha et al. | Synergy of Scheduling Algorithms Using Multiple Queues (SSAM) | |
JPH04162155A (en) | File transfer control system | |
CN116954886A (en) | Node preselection method, pod scheduling method, device, server and medium | |
JPH02159647A (en) | Buffer managing and controlling method by cpu | |
CN116643886A (en) | Task scheduling method, device, electronic equipment and storage medium | |
JPS61136134A (en) | Queue resource control system | |
JPS6149270A (en) | Input/output control system of multiprocessor |