JP5516202B2 - Data monitoring program, data monitoring apparatus and data monitoring system - Google Patents
Data monitoring program, data monitoring apparatus and data monitoring system Download PDFInfo
- Publication number
- JP5516202B2 JP5516202B2 JP2010175234A JP2010175234A JP5516202B2 JP 5516202 B2 JP5516202 B2 JP 5516202B2 JP 2010175234 A JP2010175234 A JP 2010175234A JP 2010175234 A JP2010175234 A JP 2010175234A JP 5516202 B2 JP5516202 B2 JP 5516202B2
- Authority
- JP
- Japan
- Prior art keywords
- monitoring
- data
- databases
- reflection
- monitoring data
- 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
Images
Description
本発明は、データベース間におけるデータの整合性を監視する技術に関する。 The present invention relates to a technique for monitoring data consistency between databases.
コンピュータシステムにおいて、夫々独立して更新されるデータベース間で整合性を保っているものがある。このため、一のデータベースのデータに対する更新を他のデータベースのデータへと反映させる反映処理により、データの整合性を保つ技術が用いられている。 Some computer systems maintain consistency between databases that are independently updated. For this reason, a technique is used for maintaining data consistency by a reflection process in which an update to data in one database is reflected in data in another database.
また、整合性を保つ他の技術として、コンピュータで実行されるジョブを監視する監視装置が、ジョブの実稼動状態を一定時間毎に監視し、実稼動状態と監視装置が認識している稼動状態とに不整合が生じているときに、両者を一致させる技術が用いられている。 As another technique for maintaining consistency, a monitoring device that monitors jobs executed on a computer monitors the actual operating status of jobs at regular intervals, and the operating status recognized by the monitoring status and the actual operating status. When there is a mismatch between the two, a technique for matching the two is used.
ところで、データベース間における更新の反映処理では、様々な要因により障害等が発生し、処理が失敗することがある。このため、反映処理の対象となる各データベースのデータの整合性の監視を行なうことが考えられる。 By the way, in the process of reflecting the update between databases, a failure may occur due to various factors, and the process may fail. For this reason, it is conceivable to monitor the consistency of data in each database to be reflected.
しかし、データベース間における更新の反映処理は、一のデータベースでデータが更新されてから必ずしも即時に行われるとは限らない。このため、一のデータベースでデータが更新されてから他のデータベースのデータに更新が反映されるまでに、時間差が生じることがある。この場合、監視処理が、データの不整合を検出したときに即時に監視結果をエラーとしてしまうと、データに不整合が生じているが単に反映処理が未完了であるだけの状態、すなわち、擬似エラーの状態を、本来のエラーとして検出してしまう可能性がある。 However, the update reflection process between databases is not always performed immediately after the data is updated in one database. For this reason, there may be a time difference from when data is updated in one database until the update is reflected in data in another database. In this case, if the monitoring process immediately detects an error when the data inconsistency is detected, the data is inconsistent but the reflection process is not yet completed, i.e. There is a possibility that the error state is detected as an original error.
以上のような問題点に鑑み、開示の技術は、擬似エラーと本来のエラーとを区別してデータの整合性の監視を行うことで、無駄なエラー検出を抑制することを目的とする。 In view of the above-described problems, the disclosed technique aims to suppress useless error detection by monitoring data consistency by distinguishing pseudo errors from original errors.
開示の技術においては、複数のデータベース、前記複数のデータベースの各々に記憶されているデータのデータ項目の関係を記憶する記憶手段、及び、第1テーブルへのアクセスが可能なコンピュータが、記憶手段を参照し、所定の監視間隔ごとに、複数のデータベースの各々で関係するデータ項目に対応する監視データを抽出し、抽出した前記各データベースの監視データが一致していない場合、第1テーブルから前回の監視データを読み出す処理を実行し、前記第1テーブルから前回の監視データが読み出せなかった場合、又は、前記読み出した前回の監視データと、前記抽出した監視データと、が一致していないときに、前記抽出した監視データを前記第1テーブルに格納し、読み出した前回の監視データと前記抽出した監視データとが一致しているときに、エラーを出力することを特徴とする。 In the disclosed technique, a plurality of databases, storage means for storing the relationship of data items of data stored in each of the plurality of databases, and a computer capable of accessing the first table include storage means. If the monitoring data corresponding to the data items related to each of the plurality of databases is extracted at each predetermined monitoring interval and the extracted monitoring data of each database does not match, the first table reads the previous data When the process of reading the monitoring data is executed and the previous monitoring data cannot be read from the first table, or when the previous monitoring data read and the extracted monitoring data do not match , Storing the extracted monitoring data in the first table, and reading the previous monitoring data and the extracted monitoring data; When you match, and outputs an error.
開示の技術によれば、擬似エラーと本来のエラーとを区別した監視が行われるため、擬似エラーの状態であるにも関わらず本来のエラーとして処理されることが回避される。したがって、監視処理における無駄なエラー検出が抑制される。 According to the disclosed technology, since the monitoring is performed by distinguishing the pseudo error from the original error, it is avoided that the pseudo error is processed as the original error although it is in the pseudo error state. Therefore, useless error detection in the monitoring process is suppressed.
図1は、データ監視システム10の一実施例の全体構成図である。データ監視システム10は、監視サーバ11及び監視対象となるデータベース(以下、DBという)を備えたサーバを有する個別システム12を含む。そして、データ監視システム10は、個別システム12の内訳として、製品設計等の各工程において用いられるシステムである、部品選定システム12A、回路実装設計システム12B、試験解析システム12C及び購買システム12Dを含む。監視サーバ11、部品選定システム12A、回路実装設計システム12B、試験解析システム12C及び購買システム12Dは、相互にネットワーク接続されている。ネットワークは、例えば、LAN(Local Area Network)やWAN(Wide Area Network)等である。
FIG. 1 is an overall configuration diagram of an embodiment of a
監視サーバ11は、少なくとも、CPU(Central Processing Unit)、及び、メモリやストレージ等の記憶装置を備えたコンピュータである。
部品選定システム12A、回路実装設計システム12B、試験解析システム12C及び購買システム12Dは、夫々少なくとも1つのサーバを有し、独立して運用されるコンピュータシステムである。そして、部品選定システム12Aのサーバは、共通部品DB120Aを含む。同様に、回路実装設計システム12Bのサーバは、CAD用DB120Bを含む。また、試験解析システム12Cのサーバは、解析DB120Cを含む。さらに、購買システム12Dのサーバは、購買DB120Dを含む。これらのDB120A〜120Dは、製品設計等の対象物である物品に関するデータを、物品毎に夫々保持している。そして、DB120A〜120Dのデータは、個別システム12A〜12Dにおいて、夫々独立して更新がなされる。
The
Each of the
ここで、DB120A〜120Dは、少なくとも2つのDB間で共通する内容を示すデータを含む。かかるデータは、DB120A〜120Dが有する項目のうち、共通する内容を示す特定の項目である共通項目のデータである。そして、個別システム12A〜12Dは相互に連携し、共通項目のデータをDB間で相互に対応付けている。さらに、個別システム12A〜12Dは、所定の反映間隔ごとに、自システムのDBにおいて更新された共通項目のデータを、他システムのDBの同一物品に係る共通項目のデータに反映させる反映処理を行う。なお、反映間隔は、反映処理において反映元となるDB及び反映先となるDBの組合せに応じ、システム管理者等により予め設定された間隔である。
Here, the
なお、図2は、DB120A〜120Dの共通項目の具体例を示す。例えば、共通項目「標準化フラグ」は、共通部品DB120A、CAD用DB120B及び解析DB120Cに含まれる。具体的には、共通部品DB120A、CAD用DB120B及び解析DB120Cにおける項目「取扱区分」が、「標準化フラグ」に相当する項目であり、共通項目「標準化フラグ」の内容を示している。ここで、例えば、共通部品DB120Aの「取扱区分」のデータが更新された場合、その更新は、所定の反映間隔ごとに行われる反映処理により、CAD用DB120B及び解析DB120Cの「取扱区分」のデータに反映される。
FIG. 2 shows a specific example of common items in the
以下、監視サーバ11についてさらに説明する。
監視サーバ11は、図1に示すように、監視間隔決定部11A及び監視部11Bを含む。さらに、監視サーバ11は、反映間隔テーブル11C、監視項目テーブル11D及び監視状態テーブル11Eを含む。なお、監視サーバ11において、CPUによりデータ監視プログラムが実行され、記憶装置、入出力装置、通信を実現するポート等のハードウェア機器と協働することにより、監視間隔決定部11A及び監視部11Bの機能が実現される。また、データ監視プログラムは、例えば、磁気テープ、磁気ディスク、CD−ROM、DVD−ROM等のコンピュータ読取可能な記録媒体に記録可能である。そして、システム管理者等が、かかる記録媒体に記録されたデータ監視プログラムを監視サーバ11にインストールすることにより、データ監視プログラムを実行させることができる。また、反映間隔テーブル11C、監視項目テーブル11D及び監視状態テーブル11Eは、監視サーバ11が備える記憶装置に格納される。
Hereinafter, the
As shown in FIG. 1, the
監視間隔決定部11Aは、DB120A〜120D間において反映処理が行われる反映間隔に基づき、DB120A〜120Dに対する監視間隔を決定する。なお、監視間隔決定部11Aが、監視間隔決定機能及び監視間隔決定部の一例として挙げられる。
The monitoring
監視部11Bは、監視間隔決定部11Aで決定した監視間隔ごとに、DB120A〜120Dに夫々格納された同一物品のデータについて、共通項目のデータの整合性を監視する。なお、監視部11Bが、参照機能、判定機能、比較機能、エラー処理機能及び格納機能、又は、参照部、判定部、比較部、エラー処理部及び格納部の一例として挙げられる。
The
反映間隔テーブル11Cは、DB120A〜120D間における反映処理が行われる反映間隔が、反映元となるDB及び反映先となるDBの組合せに応じて格納されるテーブルである。そして、反映間隔テーブル11Cは、図3に示すように、反映処理における反映元となるDBに応じて一意に決まる反映間隔のパターンの識別子であるパターンID及びDB120A〜120D間における反映間隔を含む。反映元となるDBに対応する反映間隔の欄には、反映元であることを示す情報が格納される一方、反映先となるDBに対応する反映間隔の欄には、反映元となるDBからの反映処理の反映間隔を示す時間が格納される。さらに、あるDBが反映元となる場合に、反映対象となる共通項目がないDBに対応する反映間隔の欄には、反映対象がないことを示す情報が格納される。なお、反映間隔テーブル11Cのデータは、システム管理者等が予め設定しておくものである。また、反映間隔テーブル11Cが、第2テーブルの一例として挙げられる。
The reflection interval table 11C is a table in which the reflection interval at which the reflection processing is performed between the
監視項目テーブル11Dは、各データベースの共通項目名、すなわち、監視対象となる項目名が格納されるテーブルである。そして、監視項目テーブル11Dは、図4に示すように、共通項目名、当該共通項目が格納されているDB名及び各DBにおける当該共通項目の対応項目名を含む。監視項目テーブル11Dは、共通項目がどのDBに含まれているかを示すともに、共通項目名と、各DB120A〜120Dにおける実際の対応項目名と、を関連付ける役割を果たす。なお、監視項目テーブル11Dのデータは、システム管理者等が予め設定しておくものである。
The monitoring item table 11D is a table in which common item names of the databases, that is, item names to be monitored are stored. As shown in FIG. 4, the monitoring item table 11D includes a common item name, a DB name in which the common item is stored, and a corresponding item name of the common item in each DB. The monitoring item table 11D indicates which DB contains the common item and plays a role of associating the common item name with the actual corresponding item name in each of the
監視状態テーブル11Eは、DB120A〜120Dのデータを、物品ごと且つ共通項目ごとに、一時的に格納しておくためのテーブルである。そして、監視状態テーブル11Eは、図5に示すように、物品を一意に特定する識別子である物品番号、共通項目名及びDB120A〜120Dにおける当該共通項目のデータを含む。なお、当該共通項目を含まないDBに対応するデータの欄には、共通項目がないことを示す情報が格納される。この監視状態テーブル11Eは、前回の監視時における各DBのデータを保持するために用いられる。なお、監視状態テーブル11Eが、第1テーブルの一例として挙げられる。
The monitoring state table 11E is a table for temporarily storing the data of the
以下、監視サーバ11における処理について、図6に示すフローチャートを用いて説明する。
監視間隔決定部11Aは、反映間隔テーブル11Cから、全ての反映間隔のパターンにおける各DB間の反映間隔を読み出す。監視間隔決定部11Aは、読み出した反映間隔から、最も長い反映間隔を監視間隔として決定する(S1)。なお、図3の反映間隔テーブル11Cのデータ例の場合、共通部品DB120Aが反映元となり、購買DB120Dが反映先となる反映間隔のうち最長の反映間隔は、30分である。よって、本実施の形態において、監視間隔決定部11Aは、30分を監視間隔とする。
Hereinafter, the process in the
The monitoring
監視部11Bは、対象となる物品の1つを選択する。(S3)。
次に、監視部11Bは、対象となる共通項目を1つ選択する(S4)。
監視部11Bは、監視項目テーブル11Dから、共通項目名、及び、DB120A〜120Dのうち、当該共通項目を含むDB(以下、この処理の説明において対象DBという)を読みだす。さらに、監視部11Bは、監視項目テーブル11Dから、各対象DBの項目のうち、共通項目に相当する対応項目名を読み出す。そして、監視部11Bは、読み出した共通項目名及び対応項目名に基づいて、各対象DBにアクセスし、各対象DBの共通項目のデータを、監視データとして参照する(S5)。
The
Next, the
The
ここで、監視部11Bは、参照した監視データが対象DB間において全て一致しているか否かを判定する(S6)。そして、監視部11Bは、S6の判定の結果、監視データが対象DB間において全て一致しているときには(Y)、監視結果が正常であるので、S7〜S10の処理は行わず、処理をS11へ移行する。
Here, the
一方、S5の判定の結果、監視データが対象DB間で異なるときには、監視部11Bは、(N)、現在処理中の共通項目についての前回の監視時における対象DBの監視データが監視状態テーブル11Eに格納されているか否かを判定する(S7)。そして、監視部11Bは、S7の判定の結果、前回の監視データが格納されていなければ(N)、S9の処理に移る。なお、このように前回の監視データが監視状態テーブル11Eに格納されていない場合、前回の監視時には、監視データが対象DB間において全て一致しており、監視結果が正常であったこととなる。一方、監視部11Bは、S7の判定の結果、前回の監視データが格納されていれば(Y)、前回の監視データを読み出す。監視部11Bは、読み出した前回の監視データと、S5で参照した監視データと、が全ての対象DBにおいて一致しているか否かを判定する(S8)。
On the other hand, if the monitoring data differs between the target DBs as a result of the determination in S5, the
そして、監視部11Bは、S8の判定の結果、前回の監視データと、S4で参照した監視データと、がいずれかの対象DBにおいて異なっていれば(N)、S9の処理に移る。すなわち、監視部11Bは、警告状態として、S5で参照した監視データを共通項目名と関連付けて監視状態テーブル11Eに格納する(S9)。なお、このとき、監視部11Bは、前回の監視データが既に監視状態テーブル11Eに格納されていれば、前回の監視データを削除し、S5で参照した監視データを代わりに格納する。
If the result of determination in S8 is that the previous monitoring data differs from the monitoring data referenced in S4 in any of the target DBs (N), the
一方、監視部11Bは、S8の判定の結果、前回の監視データと、S5で参照した監視データと、が全ての対象DBにおいて一致するときには(Y)、対象DB間の反映処理に障害が発生しているものとして、監視結果をエラーとする(S10)。
On the other hand, when the result of determination in S8 is that the previous monitoring data matches the monitoring data referenced in S5 in all the target DBs (Y), the
ここで、監視部11Bは、全ての共通項目について処理をしたか否かを判定する(S11)。監視部11Bは、S10の判定の結果、未だ処理をしていない共通項目がある場合には(N)、S4に戻り、次の共通項目の処理に移る。一方、監視部11Bは、全ての共通項目について処理をした場合(Y)、さらに、全ての物品のデータについて処理をしたか否かを判定する(S12)。そして、監視部11Bは、S12の判定の結果、全ての物品のデータについて処理をしていない場合には(N)、S3に戻り、次の物品のデータの処理に移る。一方、監視部11Bは、全ての物品について処理をした場合(Y)、S2に戻り、再び監視処理を開始する。
Here, the
次に、共通部品DB120A、CAD用DB120B、解析DB120C及び購買DB120Dにおける共通項目のデータの内容に応じた上記監視処理について、具体例を示して説明する。
Next, the monitoring process according to the content of common item data in the
図7(A)は、ある監視処理時における、共通項目「部品形状」を含む各対象DBに格納された、物品番号1の「部品形状」のデータの一例である。なお、共通項目「部品形状」は、図4の監視項目テーブル11Dのデータ例で示されるように、共通部品DB120A及びCAD用DB120Bに含まれる。そして、共通部品DB120Aの「部品形状タイプ」及びCAD用DB120Bの「部品形状タイプ名」が、共通項目「部品形状」に対応する。このため、各対象DBにおけるこれらの項目のデータが、監視データとされる。
FIG. 7A is an example of “component shape” data of
ここで、図7(A)に示されるように、共通部品DB120A及びCAD用DB120Bのデータは、いずれも「未設定」であり一致している。すなわち、この場合、全ての対象DBにおいて監視データが一致している。したがって、監視部11Bは、監視結果を正常として処理をする。
Here, as shown in FIG. 7A, the data in the
一方、図7(B)は、ある監視処理時における、共通項目「規制フラグ」を含む各対象DBに格納された、物品番号2の「規制フラグ」のデータの一例である。なお、共通項目「規制フラグ」は、図4の監視項目テーブル11Dのデータで示されるように、共通部品DB120A、CAD用DB120B及び解析DB120Cに含まれる。そして、共通部品DB120A、CAD用DB120B及び解析DB120Cの「RoHS物番判定フラグ」が、共通項目「規制フラグ」に対応する。このため、各対象DBにおけるこれらの項目のデータが、監視データとされる。
On the other hand, FIG. 7B is an example of the “regulation flag” data of the
ここで、1回目の監視において、共通部品DB120Aのデータが「適合」である一方で、CAD用DB120B及び解析DB120Cのデータが「仕掛中」であり、DB間でデータが一致していない。すなわち、この場合、対象DB間で監視データが異なっている。このため、監視部11Bは、警告状態として、監視データを監視状態テーブル11Eに格納する。
Here, in the first monitoring, the data in the
さらに、2回目の監視においては、共通部品DB120A、CAD用DB120B及び解析DB120Cのデータのいずれもが「適合」となっており同一である。すなわち、この場合、監視データが全ての対象DBにおいて一致している。このため、監視部11Bは、当該2回目の監視において、監視結果を正常として処理をする。なお、このとき、監視部11は、1回目の監視において監視状態テーブル11Eに格納した監視データを削除する。
Furthermore, in the second monitoring, all of the data of the
また、図7(C)は、ある監視処理時における、共通項目「購買価格」を含む各対象DBに格納された、物品番号3の「購買価格」のデータの一例である。なお、共通項目「購買価格」は、図4の監視項目テーブル11Dのデータで示されるように、共通部品DB120A、CAD用DB120B及び購買DB120Dに含まれる。そして、共通部品DB120Aの「部品単価(最新更新月)」、並びに、CAD用DB120B及び購買DB120Dの「部品単価」が、共通項目「購買価格」に対応する。このため、各DBにおけるこれらの項目のデータが、監視データとされる。
FIG. 7C is an example of “purchase price” data of the
ここで、1回目の監視において、共通部品DB120A及びCAD用DB120Bのデータが「未設定」である一方で、購買DB120Dのデータが「800円」であり、対象DB間で監視データの値が異なっている。しかし、当該監視においては、警告状態となったのが1回目であり、監視状態テーブル11Eに、前回の監視データが格納されていない。このため、監視部11Bは、監視結果をエラーとせず、監視データを監視状態テーブル11Eに格納する。
Here, in the first monitoring, the data of the
次に、2回目の監視において、CAD用DB120Bのデータが「未設定」である一方で、共通部品DB120A及び購買DB120Dのデータが「800円」であり、対象DB間で監視データの値が異なっている。しかし、前回の監視時に監視状態テーブル11Eに格納された前回の監視データとの比較において、共通部品DB120Aのデータが、「未設定」と「800円」とで一致していない。すなわち、この場合、対象DB間で監視データが一致していないが、前回の監視データと今回の監視データとが変化している。このため、監視部11Bは、監視結果をエラーとせず、前回の監視データに代えて、今回の監視データを監視状態テーブル11Eに格納する。
Next, in the second monitoring, the data in the
さらに、3回目の監視においても、CAD用DB120Bのデータが「未設定」である一方で、共通部品DB120A及び購買DB120Dのデータが「800円」であり、対象DB間で監視データの値が異なっている。そして、この監視データは、前回の監視時に監視状態テーブル11Eに格納された前回の監視データとの比較においても、全ての対象DBのデータが一致している。このため、監視部11Bは、監視結果をエラーとする。なお、このとき、監視部11は、前回の監視時において監視状態テーブル11Eに格納した監視データを削除する。
Further, in the third monitoring, the data in the
かかる監視サーバ11によれば、監視部11Bは、DB間における共通項目のデータの整合性を監視するときに、次のように処理する。すなわち、監視部11Bは、監視データに不整合があっても、前回の監視データが監視状態テーブル11Eに格納されていない場合、すなわち、前回の監視時に不整合が生じていなかった場合には、即時に監視結果をエラーとしない。また、監視部11Bは、前回の監視時と連続して監視データに不整合が生じていても、いずれかのDBの監視データにおいて前回の監視時との間に変化がある場合には、監視結果をエラーとしない。このように監視データが前回の監視時との間で変化している場合には、反映処理の途中であり、監視データに不整合が生じているが単に反映処理が未完了であるだけの状態、すなわち、本来エラーではない擬似エラーの状態である可能性が高いからである。一方で、監視部11Bは、監視データに不整合があり、かつ、前回の監視時との比較において、監視データが全てのDBにおいて変化していない場合には、反映処理に障害が発生しているものと判定し、監視結果をエラーとする。このように、監視部11Bは、本来エラーではない擬似エラーの状態を、本来のエラーと区別して処理することができる。したがって、監視部11Bは、あるDBに対する更新が他のDBに反映されるまでに時間差があっても、その間に生じている擬似エラーの状態を本来のエラーとして検出してしまうことを回避することができる。
According to the
また、監視間隔決定部11Aが、各DB間におけるデータの反映間隔のうち、最も長い間隔以上の時間を、監視間隔として決定している。このため、あるDBでデータの更新が行われた場合に、次の監視時において反映処理が未完了でも、遅くともその次の監視時までには、データの更新が反映されるべき全てのDBに対し、反映処理が行われることとなる。そして、監視部11Bは、このように十分な監視間隔をおいて監視処理を行うため、擬似エラーの状態において監視結果をエラーとしてしまうことをさらに高い確率で回避することができる。
Further, the monitoring
なお、計算資源やネットワーク資源に制限があるシステム環境の場合、反映処理を頻繁に行うことは、本来の業務処理等に影響を及ぼすため、望ましくない。また、反映処理の対象となるデータの内容によっては、必ずしもすぐに反映処理がなされなくても、業務上支障がない場合もある。このような場合、一般に、反映間隔が長く設定されるため、データの更新から反映処理までの時間が長くなり、擬似エラーの状態が特に多発する。しかし、上記監視サーバ11の監視機構は、このように擬似エラーの状態が多発する場合でも、上述のように、反映間隔よりも長い監視間隔で監視を行うため、監視結果をエラーとしてしまうことを回避することができる。
In the case of a system environment in which computational resources and network resources are limited, it is not desirable to perform reflection processing frequently because it affects the original business processing. Further, depending on the contents of data to be reflected, there is a case where there is no problem in business even if the reflection process is not necessarily performed immediately. In such a case, since the reflection interval is generally set to be long, the time from the data update to the reflection processing becomes long, and the state of the pseudo error is particularly frequent. However, since the monitoring mechanism of the
ここで、監視間隔決定部11Aは、反映間隔のみならず、他の要素に基づいて監視間隔を決定することもできる。例えば、監視間隔決定部11Aは、DB間においてデータを反映するのに要する反映時間を格納したテーブルを参照し、当該反映時間よりも長い時間を、監視間隔として決定してもよい。このようにすれば、例えば、システム管理者等が、大量のデータの一括更新等を想定した十分な反映時間をテーブルに設定しておけば、反映処理自体に長時間を要する場合であっても、反映処理途中の擬似エラーが本来のエラーとして検出されることを回避することができる。
Here, the monitoring
さらに、監視部11Bは、システム管理者等が予め監視サーバ11において設定した監視間隔で監視処理を行ってもよい。この場合、システム管理者等が十分な監視間隔を設定しておくことで、上述のように監視間隔決定部11Aが監視間隔を決定する場合と同様の効果を得ることができる。なお、この場合、監視間隔決定部11Aにおいて監視間隔を決定する処理は不要となる。
Furthermore, the
また、上記監視サーバ11の監視機構は、例えば、複数サーバが同一構造のDBを備え、相互に同期処理を行うような負荷分散システム等におけるDB間のデータの整合性の監視においても、適用することができる。かかる場合には、各DBが有する項目のうち特定の項目である共通項目のデータのみを監視対象とするのではなく、データレコード全体を監視データとすることとなる。
The monitoring mechanism of the
さらに、上記データ監視システム10において、監視サーバ11の監視機構は、異なる個別システム12のサーバにおいて夫々更新されるDB間の整合性を監視している。しかし、当該監視機構は、データの反映処理の対象となる複数のDBであれば、システム構成に依存せずいかなるDBにも適用可能である。例えば、当該監視機構は、同一のシステムにおいて異なるサーバが備えるDB間の整合性の監視においても適用可能である。なお、同一サーバが備えるDB間においては、一般的に反映間隔が短いため、擬似エラーの状態が生じにくいが、かかるDB間の整合性の監視においても、当該監視機構を適用することはできる。
Further, in the
また、当該監視機構は、上述のような製品設計等の各工程において用いられるシステムに限らず、いかなる業務に用いられるシステムのDBにおいても適用可能である。
さらに、上記監視サーバ11の監視機構は、監視対象のDBを備えるシステムから独立した別個の装置ではなく、例えば、監視対象のDBを備えるシステムが備えるサーバ側で実装することも可能である。
The monitoring mechanism is not limited to a system used in each process such as product design as described above, but can be applied to a DB of a system used for any business.
Further, the monitoring mechanism of the
また、監視部11Bは、監視結果をエラーとしたときの処理として、システム管理者へエラーを通知することができる。そして、監視部11Bは、エラーの通知方法として、いかなる方法を用いることもできる。例えば、監視部11Bは、システム管理者に対してエラー内容をメール送信することができる。また、監視部11Bは、監視サーバ11に接続されたディスプレイ等の表示装置に対するエラー内容を表示したり、紙媒体等にエラー内容を印刷したりすることもできる。さらに、監視部11Bは、エラーの内容や、警告状態の内容を、エラーログとして記憶装置に蓄積してもよい。このようにエラーログが蓄積されることで、システム管理者は、エラーログを用い、どのDB間におけるデータの反映処理においてエラーや警告状態の発生が頻発しているか等について、エラーの発生傾向を分析することが可能となる。
Further, the
10 データ監視システム
11 監視サーバ
11A 監視間隔決定部
11B 監視部
11C 反映間隔テーブル
11D 監視項目テーブル
11E 監視状態テーブル
12 個別システム
12A 部品選定システム
120A 共通部品DB
12B 回路実装設計システム
120B CAD用DB
12C 試験解析システム
120C 解析DB
12D 購買システム
120D 購買DB
DESCRIPTION OF
12B Circuit
12C
Claims (6)
前記記憶手段を参照し、所定の監視間隔ごとに、前記複数のデータベースの各々で関係するデータ項目に対応する監視データを抽出する抽出機能と、
前記抽出機能が抽出した前記各データベースの監視データが一致していない場合、前記第1テーブルから前回の監視データを読み出す処理を実行する読み出し機能と、
該読み出し機能により前記第1テーブルから前回の監視データが読み出せなかった場合、又は、前記読み出した前回の監視データと、前記抽出機能によって抽出した監視データと、が一致していないときに、前記抽出した監視データを前記第1テーブルに格納し、前記読み出した前回の監視データと前記抽出した監視データとが一致しているときに、エラーを出力する制御機能と、
を実現させることを特徴とするデータ監視プログラム。 A plurality of databases, storage means for storing a relationship between data items stored in each of the plurality of databases, and a computer capable of accessing the first table;
An extraction function for extracting monitoring data corresponding to data items related to each of the plurality of databases at a predetermined monitoring interval with reference to the storage means;
When the monitoring data of each database extracted by the extraction function does not match, a read function for executing a process of reading the previous monitoring data from the first table;
When the previous monitoring data could not be read from the first table by the reading function, or when the previous monitoring data read and the monitoring data extracted by the extraction function do not match, A control function for storing the extracted monitoring data in the first table and outputting an error when the previous monitoring data read out and the extracted monitoring data match;
A data monitoring program characterized by realizing the above.
前記所定の監視間隔は、各々の前記データベースで規定される反映間隔以上の間隔であることを特徴とする請求項1記載のデータ監視プログラム。 The plurality of databases perform a process of reflecting data of other databases at a reflection time interval defined in each database for each data item stored in the storage unit in each database. ,
The data monitoring program according to claim 1, wherein the predetermined monitoring interval is an interval equal to or greater than a reflection interval defined in each of the databases.
前記記憶手段を参照し、所定の監視間隔ごとに、前記複数のデータベースの各々で関係するデータ項目に対応する監視データを抽出する抽出手段と、
前記抽出手段が抽出した前記各データベースからの監視データが一致していない場合、前記第1テーブルから前回の監視データを読み出す処理を実行する読み出し手段と、
該読み出し手段により前記第1テーブルから前回の監視データが読み出せなかった場合、又は、前記読み出した前回の監視データと、前記抽出手段によって抽出した監視データと、が一致していないときに、前記抽出した監視データを前記第1テーブルに格納し、前記読み出した前回の監視データと前記抽出した監視データとが一致しているときに、エラーを出力する制御手段と、
を有することを特徴とするデータ監視装置。 A plurality of databases, storage means for storing the relationship of data items of data stored in each of the plurality of databases, and a data monitoring device capable of accessing the first table,
Extracting means for extracting monitoring data corresponding to data items related to each of the plurality of databases at a predetermined monitoring interval with reference to the storage means;
When the monitoring data from each of the databases extracted by the extraction unit does not match, a reading unit that executes a process of reading the previous monitoring data from the first table;
When the previous monitoring data could not be read from the first table by the reading unit, or when the previous monitoring data read out and the monitoring data extracted by the extracting unit do not match, Control means for storing the extracted monitoring data in the first table and outputting an error when the previous monitoring data read out and the extracted monitoring data match;
A data monitoring device comprising:
前記複数のデータベースの各々に記憶されているデータのデータ項目の関係を記憶する記憶手段と、
前記記憶手段を参照し、所定の監視間隔ごとに、前記複数のデータベースの各々で関係するデータ項目に対応する監視データを抽出する抽出手段と、
前記抽出手段が抽出した前記各データベースの監視データが一致していない場合、第1テーブルから前回の監視データを読み出す処理を実行する読み出し手段と、
該読み出し手段により前記第1テーブルから前回の監視データが読み出せなかった場合、又は、前記読み出した前回の監視データと、前記抽出手段によって抽出した監視データと、が一致していないときに、前記抽出した監視データを前記第1テーブルに格納し、前記読み出した前回の監視データと前記抽出した監視データとが一致しているときに、エラーを出力する制御手段と、
を有することを特徴とするデータ監視システム。 In each of the data items stored in the storage means, a plurality of databases that perform processing of reflecting data of other databases at a reflection time interval defined by each,
Storage means for storing the relationship of data items of data stored in each of the plurality of databases;
Extracting means for extracting monitoring data corresponding to data items related to each of the plurality of databases at a predetermined monitoring interval with reference to the storage means;
If the monitoring data of the databases extracted by the extraction means do not match, a reading means for executing a process of reading the previous monitoring data from the first table;
When the previous monitoring data could not be read from the first table by the reading unit, or when the previous monitoring data read out and the monitoring data extracted by the extracting unit do not match, Control means for storing the extracted monitoring data in the first table and outputting an error when the previous monitoring data read out and the extracted monitoring data match;
A data monitoring system comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010175234A JP5516202B2 (en) | 2010-08-04 | 2010-08-04 | Data monitoring program, data monitoring apparatus and data monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010175234A JP5516202B2 (en) | 2010-08-04 | 2010-08-04 | Data monitoring program, data monitoring apparatus and data monitoring system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012037958A JP2012037958A (en) | 2012-02-23 |
JP5516202B2 true JP5516202B2 (en) | 2014-06-11 |
Family
ID=45849931
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010175234A Expired - Fee Related JP5516202B2 (en) | 2010-08-04 | 2010-08-04 | Data monitoring program, data monitoring apparatus and data monitoring system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5516202B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7059241B2 (en) | 2012-09-07 | 2022-04-25 | フィッシャー アンド ペイケル ヘルスケア リミテッド | Humidification chamber for breathing aids |
-
2010
- 2010-08-04 JP JP2010175234A patent/JP5516202B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7059241B2 (en) | 2012-09-07 | 2022-04-25 | フィッシャー アンド ペイケル ヘルスケア リミテッド | Humidification chamber for breathing aids |
Also Published As
Publication number | Publication date |
---|---|
JP2012037958A (en) | 2012-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200225933A1 (en) | Systems and methods of just-in-time proactive notification of a product release containing a software fix | |
EP3616066B1 (en) | Human-readable, language-independent stack trace summary generation | |
JP5564941B2 (en) | Fault location estimation system, fault location estimation apparatus, and fault location estimation method | |
WO2019056475A1 (en) | Automated test task management method and apparatus, device, and storage medium | |
US9514176B2 (en) | Database update notification method | |
US8560506B2 (en) | Automatic selection of blocking column for de-duplication | |
JP2007148728A (en) | Policy control method, apparatus and program | |
US20140317013A1 (en) | Virtual Warehouse | |
KR20090005367A (en) | Work item event procession | |
JP5419819B2 (en) | Computer system management method and management system | |
US20190007282A1 (en) | Quality assessment and decision recommendation for continous deployment of cloud infrastructure components | |
JP5516202B2 (en) | Data monitoring program, data monitoring apparatus and data monitoring system | |
US10074071B1 (en) | Detection of inner pack receive errors | |
US20170031674A1 (en) | Software introduction supporting method | |
JP2005242988A (en) | Log information management system, service providing system, log information management program, service providing program, log information management method, and service providing method | |
JP2016045627A (en) | Information processing device, erroneous registration detection method, and program | |
US11797919B2 (en) | Document-based distributed inventory system with rebalancing | |
CN109471590A (en) | A kind of mount point management method, device and memory node | |
CN112035566A (en) | Data calling method and device, electronic equipment and storage medium | |
US20150154498A1 (en) | Methods for identifying silent failures in an application and devices thereof | |
CN106097104A (en) | A kind of judge the method and system of internet data integrity under distributed system | |
JP4506814B2 (en) | Data management system | |
US20170011357A1 (en) | Job execution calendar management device and job execution calendar management method | |
JP2015215739A (en) | Failure isolation support system and failure handing management method | |
US20200233734A1 (en) | Wait-and-see candidate identification apparatus, wait-and-see candidate identification method, and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130604 |
|
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: 20140304 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140317 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5516202 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |