[go: up one dir, main page]

JP2009258913A - Coding check support system, method, and program - Google Patents

Coding check support system, method, and program Download PDF

Info

Publication number
JP2009258913A
JP2009258913A JP2008106087A JP2008106087A JP2009258913A JP 2009258913 A JP2009258913 A JP 2009258913A JP 2008106087 A JP2008106087 A JP 2008106087A JP 2008106087 A JP2008106087 A JP 2008106087A JP 2009258913 A JP2009258913 A JP 2009258913A
Authority
JP
Japan
Prior art keywords
coding
data storage
check
pattern
sql
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.)
Withdrawn
Application number
JP2008106087A
Other languages
Japanese (ja)
Inventor
Reiko Yoshizawa
玲子 芳沢
Kimitaka Aikawa
公孝 相川
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.)
Ricoh Co Ltd
Ricoh Technosystems Co Ltd
Original Assignee
Ricoh Co Ltd
Ricoh Technosystems Co 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 Ricoh Co Ltd, Ricoh Technosystems Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008106087A priority Critical patent/JP2009258913A/en
Publication of JP2009258913A publication Critical patent/JP2009258913A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

【課題】パフォーマンスの悪い記述を容易に把握して、SQL文のチューニングを効率よく行なうことができるコーディングチェック支援システム、コーディング支援方法及びコーディング支援プログラムを提供する。
【解決手段】処理サーバ20の制御部21は、SQL文であることを判定すると、SQL文影響パターンデータ及び学習データ記憶部25に記録された影響パターンを用いて、SQL文マッチング処理を実行する。ここで、マッチングした場合には、エラー情報をメモリに記録する。制御部21は、エラー情報を含むチェック結果画面データを生成して、作業者端末10に送信し、チェック結果画面を表示する。このチェック結果画面に含まれるエラー情報の行番号が選択された場合、作業者端末10は、選択された行番号の前後所定行の範囲のソースコードを含むチェック詳細画面データを処理サーバ20から取得して、チェック詳細画面を表示する。
【選択図】図1
A coding check support system, a coding support method, and a coding support program capable of easily grasping a description with poor performance and efficiently performing tuning of an SQL sentence are provided.
When a control unit 21 of a processing server 20 determines that it is an SQL sentence, it executes an SQL sentence matching process using the SQL sentence influence pattern data and the influence pattern recorded in the learning data storage part 25. . Here, in the case of matching, error information is recorded in the memory. The control unit 21 generates check result screen data including error information, transmits the check result screen data to the worker terminal 10, and displays the check result screen. When the line number of the error information included in this check result screen is selected, the worker terminal 10 acquires from the processing server 20 check detailed screen data including source code in a predetermined line range before and after the selected line number. To display the check details screen.
[Selection] Figure 1

Description

本発明は、データベースに記憶されたデータを用いて処理を行なう処理プログラムのコーディングのチェックを支援するためのコーディングチェック支援システム、コーディング支援方法及びコーディング支援プログラムに関する。   The present invention relates to a coding check support system, a coding support method, and a coding support program for supporting a coding check of a processing program that performs processing using data stored in a database.

従来、プログラムのデバックを行なう場合、ディスプレイやプリントアウトした紙に表示されたコーディングを目視によりチェックすることが一般的に行なわれている。更に、バグを少なくするために、プログラムを作成する際のコーディングルールを規定し、このコーディングルールに従ってプログラミングすることもある。そして、この場合、プログラムに応じた適切なコーディングルールを容易に把握するためのシステムも開発されている(例えば、特許文献1参照。)。   Conventionally, when debugging a program, it is generally performed to visually check the coding displayed on a display or printed paper. Furthermore, in order to reduce bugs, a coding rule for creating a program may be defined, and programming may be performed according to this coding rule. In this case, a system for easily grasping an appropriate coding rule corresponding to the program has been developed (see, for example, Patent Document 1).

この文献に記載の発明によれば、パーソナルコンピュータからプログラムのソースコードを受信すると、このソースコードの内容に該当するルールをリストアップして、このリストアップしたルールからなる結果ファイルを作成してパーソナルコンピュータに送信する。
特開2006−260165号公報(第1頁)
According to the invention described in this document, when the source code of a program is received from a personal computer, the rules corresponding to the contents of the source code are listed, and a result file including the listed rules is created and personalized. Send to computer.
JP 2006-260165 A (first page)

ところで、所定の処理を行なう場合でも、プログラムの記述によってパフォーマンスが異なることが知られている。このため、パフォーマンスが悪くなるような記述をチェックして、良好なパフォーマンスが得られる記述にすることが望ましい。しかし、この場合、担当者毎の経験やスキルレベルによってチェックされる記述にばらつきがあり、結果としてパフォーマンスにばらつきが生じることがある。   By the way, it is known that even when predetermined processing is performed, performance varies depending on the description of the program. For this reason, it is desirable to check a description that deteriorates the performance and make a description that can obtain a good performance. However, in this case, the descriptions to be checked vary depending on the experience and skill level of each person in charge, resulting in variations in performance.

特に、1つのシステムで用いられているプログラムにおいてパフォーマンスの悪い記述が発見された場合、他のシステムで用いられているプログラムについてもパフォーマンスへの影響を検証することが望ましい。また、各システムのプログラムチェックを担当する作業者が異なっている場合には、パフォーマンスに影響を与える記述について情報を共有することが望ましい。また、各システムを担当する作業者が替わった場合には、共有情報をすべて引き継ぐことが望ましい。   In particular, when a description with poor performance is found in a program used in one system, it is desirable to verify the influence on the performance of a program used in another system. In addition, when the workers in charge of program checking for each system are different, it is desirable to share information about descriptions that affect performance. In addition, when the worker in charge of each system is changed, it is desirable to take over all shared information.

本発明は、上述の課題に鑑みてなされ、その目的は、パフォーマンスの悪い記述を容易に把握して、SQL文のチューニングを効率よく行なうことができるコーディングチェック支援システム、コーディング支援方法及びコーディング支援プログラムを提供することにある。   The present invention has been made in view of the above-described problems, and its object is to easily grasp a description with poor performance and efficiently perform SQL statement tuning, a coding support method, a coding support method, and a coding support program. Is to provide.

上記問題点を解決するために、請求項1に記載の発明は、作業者が用いる作業者端末に接続される制御手段と、データベースを用いて処理を実行する処理プログラムを記憶するソースデータ記憶手段と、パフォーマンスに影響を与えるSQL文の記述を検出するための検索パターンが記録されたパターンデータ記憶手段とを備えたコーディングチェック支援システムであって、前記制御手段が、前記ソースデータ記憶手段に記録された処理プログラムのコーディングと、前記パターンデータ記憶手段に記録された検索パターンとを比
較するマッチング処理を実行するチェック手段と、前記コーディングにおいて検索パターンを検出した場合には、この検索パターンを含む該当部分を特定する情報と、この該当部分を含む記述を取得するためのコーディング情報取得手段とを含むチェック結果画面データを生成して、前記作業者端末に送信する第1情報提示手段と、前記作業者端末から、前記コーディング情報取得手段を用いたコーディング情報取得要求を受信した場合、前記該当部分を含むコーディングを前記ソースデータ記憶手段から抽出し、これを含めたコーディング情報画面データを生成して、前記作業者端末に送信する第2情報提示手段とを備えたことを要旨とする。
In order to solve the above-mentioned problems, the invention described in claim 1 includes a control unit connected to an operator terminal used by an operator, and a source data storage unit that stores a processing program for executing processing using a database. And a pattern data storage means in which a search pattern for detecting a description of an SQL sentence that affects performance is recorded, wherein the control means records in the source data storage means If the search pattern is detected in the coding, the check means for executing the matching process for comparing the coding of the processed program and the search pattern recorded in the pattern data storage means Information to identify the part and the description to include the relevant part Generating a check result screen data including a coding information acquisition means, and receiving a coding information acquisition request using the coding information acquisition means from the worker terminal, and a first information presentation means for transmitting the check result screen data to the worker terminal A second information presentation unit that extracts the coding including the corresponding portion from the source data storage unit, generates coding information screen data including the coding, and transmits the coding information screen data to the worker terminal. The gist.

請求項2に記載の発明は、請求項1に記載のコーディングチェック支援システムにおいて、前記制御手段は、前記処理プログラムのSQL文を特定する情報に対して、このSQL文の少なくとも一部を含む記述及びSQL文の実行時間が記録されるSQL関連データ記憶手段と、SQL文を特定する情報に対して、このSQL文の実行計画が記録される実行計画データ記憶手段とに接続されており、前記制御手段が、SQL文の実行時間のしきい値を取得する手段と、前記実行時間が前記しきい値を超過したSQL文を特定する情報をSQL関連データ記憶手段から抽出する手段と、前記抽出したSQL文を特定する情報に対して記録されている実行計画を前記実行計画データ記憶手段から抽出する手段と、前記抽出したSQL文と、このSQL文の実行計画とを含む検索パターン候補画面データを生成して、前記作業者端末に送信する候補画面提示手段と、前記検索パターン候補画面を介して指示された登録指示を前記作業者端末から取得した場合、前記登録指示に含まれる新たな検索パターンを特定する情報から検索パターンを特定して、前記パターンデータ記憶手段に登録する新規登録手段とを更に備えたことを要旨とする。   According to a second aspect of the present invention, in the coding check support system according to the first aspect, the control means includes at least a part of the SQL sentence for the information specifying the SQL sentence of the processing program. And an SQL related data storage means for recording the execution time of the SQL statement, and an execution plan data storage means for recording the execution plan of the SQL statement for information for specifying the SQL statement, Means for acquiring an SQL statement execution time threshold; information for identifying an SQL statement whose execution time has exceeded the threshold; from SQL related data storage means; Means for extracting from the execution plan data storage means an execution plan recorded for the information specifying the executed SQL statement, the extracted SQL statement, and this S Candidate screen presenting means for generating search pattern candidate screen data including an execution plan of an L statement and transmitting it to the worker terminal, and a registration instruction instructed via the search pattern candidate screen from the worker terminal The gist of the invention is that it further comprises a new registration means for specifying a search pattern from information for specifying a new search pattern included in the registration instruction and registering it in the pattern data storage means.

請求項3に記載の発明は、請求項2に記載のコーディングチェック支援システムにおいて、前記パターンデータ記憶手段には、前記検索パターンを特定する情報と、この検索パターンがパフォーマンスに影響を与えない場合の確認済条件とを含む確認済データが記憶されており、前記制御手段が、検索パターンを特定する情報と確認済条件とを含む確認済指示を前記作業者端末から取得した場合、この検索パターンを特定情報と前記確認済条件とを含む確認済データを前記パターンデータ記憶手段に記録する確認済登録手段とを更に備え、前記チェック手段は、前記確認済条件の処理プログラムのコーディングとのマッチング処理においては、この確認済条件に関連付けられていない検索パターンとの比較を実行することを要旨とする。   According to a third aspect of the present invention, in the coding check support system according to the second aspect, the pattern data storage means includes information for specifying the search pattern and a case where the search pattern does not affect performance. When confirmed data including a confirmed condition is stored, and the control means obtains a confirmed instruction including information for identifying a search pattern and a confirmed condition from the operator terminal, the search pattern is Further comprising confirmed registration means for recording confirmed data including specific information and the confirmed conditions in the pattern data storage means, wherein the checking means is in a matching process with the coding of the processing program of the confirmed conditions The gist is to perform a comparison with a search pattern not associated with the confirmed condition.

請求項4に記載の発明は、作業者が用いる作業者端末に接続される制御手段と、データベースを用いて処理を実行する処理プログラムを記憶するソースデータ記憶手段と、パフォーマンスに影響を与えるSQL文の記述を検出するための検索パターンが記録されたパターンデータ記憶手段とを備えたシステムを用いたコーディングチェック支援方法であって、前記制御手段が、前記ソースデータ記憶手段に記録された処理プログラムのコーディングと、前記パターンデータ記憶手段に記録された検索パターンとを比較するマッチング処理を実行するチェック段階と、前記コーディングにおいて検索パターンを検出した場合には、この検索パターンを含む該当部分を特定する情報と、この該当部分を含む記述を取得するためのコーディング情報取得手段とを含むチェック結果画面データを生成して、前記作業者端末に送信する第1情報提示段階と、前記作業者端末から、前記コーディング情報取得手段を用いたコーディング情報取得要求を受信した場合、前記該当部分を含むコーディングを前記ソースデータ記憶手段から抽出し、これを含めたコーディング情報画面データを生成して、前記作業者端末に送信する第2情報提示段階とを実行することを要旨とする。   The invention according to claim 4 is a control means connected to an operator terminal used by an operator, a source data storage means for storing a processing program for executing processing using a database, and an SQL statement affecting performance. A coding check support method using a system including a pattern data storage unit in which a search pattern for detecting the description of the recording program is recorded, wherein the control unit includes a processing program stored in the source data storage unit. Check stage for executing a matching process for comparing the coding and the search pattern recorded in the pattern data storage means, and information for identifying a corresponding portion including the search pattern when the search pattern is detected in the coding And coding information to obtain a description including this part A first information presentation step of generating check result screen data including an obtaining unit and transmitting the check result screen data to the worker terminal, and a coding information obtaining request using the coding information obtaining unit from the worker terminal Extracting the coding including the relevant part from the source data storage means, generating coding information screen data including the coding, and transmitting the coding information screen data to the worker terminal. To do.

請求項5に記載の発明は、作業者が用いる作業者端末に接続される制御手段と、データベースを用いて処理を実行する処理プログラムを記憶するソースデータ記憶手段と、パフ
ォーマンスに影響を与えるSQL文の記述を検出するための検索パターンが記録されたパターンデータ記憶手段とを備えたシステムに用いられるコーディングチェック支援プログラムであって、前記制御手段を、前記ソースデータ記憶手段に記録された処理プログラムのコーディングと、前記パターンデータ記憶手段に記録された検索パターンとを比較するマッチング処理を実行するチェック手段、前記コーディングにおいて検索パターンを検出した場合には、この検索パターンを含む該当部分を特定する情報と、この該当部分を含む記述を取得するためのコーディング情報取得手段とを含むチェック結果画面データを生成して、前記作業者端末に送信する第1情報提示手段、及び前記作業者端末から、前記コーディング情報取得手段を用いたコーディング情報取得要求を受信した場合、前記該当部分を含むコーディングを前記ソースデータ記憶手段から抽出し、これを含めたコーディング情報画面データを生成して、前記作業者端末に送信する第2情報提示手段として機能することを要旨とする。
The invention according to claim 5 is a control means connected to an operator terminal used by an operator, a source data storage means for storing a processing program for executing processing using a database, and an SQL statement affecting performance. A coding check support program for use in a system comprising a pattern data storage means in which a search pattern for detecting the description of the above is recorded, wherein the control means is a processing program recorded in the source data storage means. Check means for executing a matching process for comparing the coding and the search pattern recorded in the pattern data storage means, and information for identifying a corresponding part including the search pattern when the search pattern is detected in the coding; , Cody to get a description containing this part Receiving the coding information acquisition request using the coding information acquisition means from the first information presentation means that generates check result screen data including the transmission information acquisition means and transmits the check result screen data to the worker terminal. In this case, the coding including the corresponding part is extracted from the source data storage means, and coding information screen data including the coding is generated, and functions as second information presentation means for transmitting to the worker terminal. And

(作用)
本発明によれば、制御手段は、ソースデータ記憶手段に記録された処理プログラムのコーディングと、パターンデータ記憶手段に記録された検索パターンとを比較するマッチング処理を実行する。制御手段は、コーディングにおいて検索パターンを検出した場合には、この検索パターンを含む該当部分を特定する情報と、この該当部分を含む記述を取得するためのコーディング情報取得手段とを含むチェック結果画面データを生成して、作業者端末に送信する。制御手段は、作業者端末から、コーディング情報取得手段を用いたコーディング情報取得要求を受信した場合、該当部分を含むコーディングをソースデータ記憶手段から抽出し、これを含めたコーディング情報画面データを生成して、作業者端末に送信する。このため、作業者は、チェック結果画面を閲覧することにより、パフォーマンスに影響するSQL文の有無を容易に把握することができる。また、該当部分を含むコーディングを含むコーディング情報画面を表示するので、該当部分の前後のコーディングを容易に閲覧することができ、効率よくSQL文をチューニングすることができる。
(Function)
According to the present invention, the control means executes a matching process for comparing the coding of the processing program recorded in the source data storage means and the search pattern recorded in the pattern data storage means. When the control means detects a search pattern in coding, the check result screen data includes information for identifying a relevant part including the search pattern and coding information obtaining means for obtaining a description including the relevant part. Is generated and transmitted to the worker terminal. When the control means receives the coding information acquisition request using the coding information acquisition means from the worker terminal, the control means extracts the coding including the corresponding part from the source data storage means, and generates the coding information screen data including this To the worker terminal. For this reason, the operator can easily grasp the presence or absence of an SQL sentence that affects the performance by browsing the check result screen. Moreover, since the coding information screen including the coding including the corresponding part is displayed, the coding before and after the corresponding part can be easily browsed, and the SQL sentence can be tuned efficiently.

本発明によれば、制御手段は、SQL文の実行時間のしきい値を取得する。制御手段は、実行時間がしきい値を超過したSQL文を特定する情報をSQL関連データ記憶手段から抽出する。制御手段は、抽出したSQL文を特定する情報に対して記録されている実行計画を実行計画データ記憶手段から抽出する。制御手段は、抽出したSQL文と、このSQL文の実行計画とを含む検索パターン候補画面データを生成して、作業者端末に送信する。このため、作業者端末には、実際の実行計画からパフォーマンスが悪くなっているSQL文と、このSQL文の実行計画とを含む検索パターン候補画面が表示されるので、実際の実行時間及び実行計画から、実際にパフォーマンスが悪いSQL文を容易に把握することができる。   According to the present invention, the control means obtains a threshold value for the execution time of the SQL statement. The control means extracts information specifying the SQL statement whose execution time exceeds the threshold from the SQL related data storage means. The control means extracts the execution plan recorded for the information specifying the extracted SQL statement from the execution plan data storage means. The control unit generates search pattern candidate screen data including the extracted SQL statement and the execution plan of the SQL statement, and transmits the search pattern candidate screen data to the worker terminal. For this reason, the operator terminal displays a search pattern candidate screen including the SQL statement whose performance has deteriorated from the actual execution plan and the execution plan of the SQL statement, so the actual execution time and execution plan are displayed. Therefore, it is possible to easily grasp the SQL sentence with actually poor performance.

また、制御手段は、検索パターン候補画面を介して指示された登録指示を前記作業者端末から取得した場合、登録指示に含まれる新たな検索パターンを特定する情報から検索パターンを特定して、パターンデータ記憶手段に登録する。このため、制御手段は、パフォーマンスが悪い記述として新たに把握された検索パターンを用いてマッチング処理を実行するので、新たに発見されたパフォーマンスの悪い記述についての情報を、迅速に共有することができる。従って、チェックした作業者によってばらつきのないチューニングを行なうことができる。   In addition, when the control unit acquires a registration instruction instructed via the search pattern candidate screen from the worker terminal, the control unit specifies a search pattern from information for specifying a new search pattern included in the registration instruction, Register in the data storage means. For this reason, since the control means executes the matching process using the search pattern newly recognized as a description with poor performance, it can quickly share information on the newly discovered description with poor performance. . Therefore, it is possible to perform tuning with no variation depending on the checked operator.

本発明によれば、制御手段は、検索パターンを特定する情報と確認済条件とを含む確認済指示を作業者端末から取得した場合、この検索パターンを特定情報と確認済条件とを含む確認済データをパターンデータ記録手段に記録する。制御手段は、確認済条件の処理プログラムのコーディングとのマッチング処理においては、この確認済条件に関連付けられていない検索パターンとの比較を実行する。このため、確認済データの確認済条件におい
てパフォーマンスに影響がないと作業者が許容した記述については、以降のチェック処理において検出されない。従って、同じモジュール名の処理プログラムであっても、システム環境やサブシステム等の確認済条件に応じて、より適切な検索パターンを用いて、パフォーマンスに影響するSQL文の記述を容易に把握することができる。
According to the present invention, when the control means obtains the confirmed instruction including the information for identifying the search pattern and the confirmed condition from the worker terminal, the control means confirms that the retrieved pattern includes the specified information and the confirmed condition. Data is recorded in the pattern data recording means. In the matching process with the coding of the processing program of the confirmed condition, the control means performs a comparison with a search pattern not associated with the confirmed condition. For this reason, the description allowed by the operator that the performance is not affected under the confirmed condition of the confirmed data is not detected in the subsequent check processing. Therefore, even for a processing program with the same module name, it is possible to easily grasp the description of the SQL statement that affects the performance by using a more appropriate search pattern according to the confirmed conditions of the system environment and the subsystem. Can do.

本発明によれば、実行する前にパフォーマンスの悪いSQL文の記述を把握することができ、SQL文のチューニングを効率よく行なうことができる。   According to the present invention, it is possible to grasp a description of an SQL statement with poor performance before execution, and to efficiently tune the SQL statement.

以下、本発明を具体化した一実施形態を図1〜図3に基づいて説明する。本実施形態においては、データベースに記録されたデータを用いて処理を実行する処理プログラムのコーディングをチェックするために用いられるコーディングチェック支援システムについて説明する。   Hereinafter, an embodiment embodying the present invention will be described with reference to FIGS. In the present embodiment, a coding check support system used to check the coding of a processing program that executes processing using data recorded in a database will be described.

図1に示すように、本実施形態では、コーディングチェック支援システムとしての処理サーバ20は、作業者端末10に接続されている。この作業者端末10は、コーディングチェックを行なう作業者が用いるコンピュータ端末であり、ディスプレイ、キーボード及びポインティングデバイス等を備えている。   As shown in FIG. 1, in the present embodiment, a processing server 20 as a coding check support system is connected to a worker terminal 10. The worker terminal 10 is a computer terminal used by a worker who performs a coding check, and includes a display, a keyboard, a pointing device, and the like.

一方、処理サーバ20は、ORACLE(登録商標)のデータベース30に記録されたデータを用いて、例えば売上処理等の業務処理を処理プログラムに従って実行する。この処理サーバ20は、制御部21、ソースデータ記憶部22、SQL関連データ記憶部23、実行計画データ記憶部24及び学習データ記憶部25を備えている。ソースデータ記憶部22はソースデータ記憶手段として機能し、SQL関連データ記憶部23はSQL関連データ記憶手段として機能し、実行計画データ記憶部24は実行計画データ記憶手段として機能する。また、本実施形態では、制御部21及び学習データ記憶部25が、パターンデータ記憶手段を構成する。   On the other hand, the processing server 20 executes business processing such as sales processing in accordance with the processing program, using data recorded in the ORACLE (registered trademark) database 30. The processing server 20 includes a control unit 21, a source data storage unit 22, an SQL related data storage unit 23, an execution plan data storage unit 24, and a learning data storage unit 25. The source data storage unit 22 functions as a source data storage unit, the SQL related data storage unit 23 functions as an SQL related data storage unit, and the execution plan data storage unit 24 functions as an execution plan data storage unit. In the present embodiment, the control unit 21 and the learning data storage unit 25 constitute a pattern data storage unit.

制御部21は、制御手段として機能し、図示しないCPU、RAM及びROM等を有し、後述する処理(チェック段階、第1情報提示段階、第2情報提示段階、候補画面提示段階、新規登録段階及び確認済登録段階等を含む処理)を行なう。制御部21は、モジュール実行手段211として機能する。更に、コーディングチェック支援プログラムを実行することにより、制御部21は、チェック処理手段215及び学習処理手段216として機能する。チェック処理手段215は、チェック手段、第1情報提示手段及び第2情報提示手段として機能する。学習処理手段216は、候補画面提示手段、新規登録手段及び確認済登録手段として機能する。   The control unit 21 functions as a control unit and includes a CPU, a RAM, a ROM, and the like (not shown), and processes to be described later (check stage, first information presentation stage, second information presentation stage, candidate screen presentation stage, new registration stage) And processing including a confirmed registration stage). The control unit 21 functions as the module execution unit 211. Further, the control unit 21 functions as a check processing unit 215 and a learning processing unit 216 by executing the coding check support program. The check processing unit 215 functions as a check unit, a first information presentation unit, and a second information presentation unit. The learning processing unit 216 functions as a candidate screen presenting unit, a new registration unit, and a confirmed registration unit.

制御部21は、処理プログラムを利用するサブシステムを特定するためのサブシステム構成データを記憶している。このシステム構成データは、具体的には、サブシステムを特定するサブ名に対して、このサブシステムを構成する処理プログラムのモジュール名が関連付けられている。また、制御部21は、サブシステムが利用可能なシステム環境を特定するための環境構成データを記憶している。この環境構成データは、具体的には、システム環境を特定する環境名に対して、利用可能なサブシステムのサブ名が関連付けられている。更に、制御部21は、後述する各種画面のフォーマットデータと、システム構成データ及び環境構成データのデフォルトとを記憶している。   The control unit 21 stores subsystem configuration data for specifying a subsystem that uses the processing program. Specifically, in the system configuration data, the module name of the processing program that configures the subsystem is associated with the subname that identifies the subsystem. In addition, the control unit 21 stores environment configuration data for specifying a system environment that can be used by the subsystem. Specifically, in the environment configuration data, a sub name of an available subsystem is associated with an environment name that identifies the system environment. Further, the control unit 21 stores format data of various screens, which will be described later, and system configuration data and environment configuration data defaults.

モジュール実行手段211は、ソースデータ記憶部22に記憶された処理プログラムに従って、データベース30に記録された処理対象データを用いて処理を実行する。この場合、モジュール実行手段211は、処理プログラムのコンパイル処理においてSQL文を
生成し、後述するように、このSQL文に関するSQL文関連情報をSQL関連データ記憶部23に記憶する。
The module execution unit 211 executes processing using the processing target data recorded in the database 30 according to the processing program stored in the source data storage unit 22. In this case, the module execution unit 211 generates an SQL sentence in the compilation process of the processing program, and stores the SQL sentence related information regarding the SQL sentence in the SQL related data storage unit 23 as described later.

チェック処理手段215は、処理プログラムのコーディングをチェックするチェック処理を実行する。具体的には、チェック処理手段215は、プロジェクト標準化データを記憶している。このプロジェクト標準化データは、プログラムの可読性の観点から、このシステムに用いる処理プログラムにおいて標準として規定されている記述に関するデータである。このプロジェクト標準化データには、標準化マッチングデータ及び標準化チェックデータが含まれている。標準化マッチングデータは、定数や引数の表示の仕方等に関するルールを規定したデータである。標準化チェックデータは、例えば、1行の記述が所定文字数以内であるか等の記述定義を規定したデータである。   The check processing means 215 executes a check process for checking the coding of the processing program. Specifically, the check processing means 215 stores project standardized data. This project standardized data is data relating to a description defined as a standard in the processing program used in this system from the viewpoint of program readability. This project standardized data includes standardized matching data and standardized check data. The standardized matching data is data that defines rules regarding how to display constants and arguments. The standardized check data is data that defines a description definition, for example, whether the description of one line is within a predetermined number of characters.

更に、チェック処理手段215には、SQL文影響パターンデータ及びループ文影響パターンデータが記憶されている。これら影響パターンデータには、SQL文の記述又はループ文の記述において、パフォーマンスの悪い記述に関する検索パターンデータが含まれる。SQL文影響パターンデータには、例えば、「SELECT」のキーワードとワイルドカードの特殊文字とが組み合わせた記述等がある。ループ文影響パターンデータには、例えば、呼び出し関数を定義する記述等がある。チェック処理手段215は、プログラムの標準化の記述、SQL文の記述及びループ文の記述について、パフォーマンスの悪い記述の箇所を抽出して、作業者端末10に表示するための処理を実行する。   Further, the SQL statement influence pattern data and the loop sentence influence pattern data are stored in the check processing means 215. The influence pattern data includes search pattern data relating to a description with poor performance in the description of the SQL sentence or the description of the loop sentence. The SQL sentence influence pattern data includes, for example, a description in which a keyword “SELECT” and a special character of a wild card are combined. The loop statement influence pattern data includes, for example, a description that defines a calling function. The check processing means 215 executes a process for extracting a description of poor performance and displaying it on the operator terminal 10 with respect to the program standardization description, the SQL statement description, and the loop statement description.

更に、チェック処理手段215は、SQL文であるか否かを判定するためのSQL文判定条件データと、ループ文であるか否かを判定するためのループ文判定条件データとを記憶している。SQL文判定条件データには、SQL文を特定するキーワード(「SELECT」,「UPDATE」,「DELETE」,「INSERT」等)及びSQL文の終了キーワード「;」が記録されている。ループ文判定条件データは、ループ文を特定するキーワード(「LOOP」,「FOR」,「WHILE」等)及びループ文の終了キーワード「END」が記録されている。チェッ
ク処理手段215は、SQL文を特定するキーワードを検出した場合には、SQL文の終了文字を検出するまで、SQL文判定フラグを一時的に記憶する。また、チェック処理手段215は、ループ文を特定するキーワードを検出した場合には、ループ文の終了文字を検出するまで、ループ文判定フラグを一時的に記憶する。
Further, the check processing unit 215 stores SQL statement determination condition data for determining whether or not the statement is an SQL statement, and loop statement determination condition data for determining whether or not the statement is a loop statement. . In the SQL statement determination condition data, a keyword specifying the SQL statement (“SELECT”, “UPDATE”, “DELETE”, “INSERT”, etc.) and an end keyword “;” of the SQL statement are recorded. In the loop statement determination condition data, a keyword specifying a loop statement (“LOOP”, “FOR”, “WHILE”, etc.) and a loop statement end keyword “END” are recorded. When the check processing unit 215 detects a keyword specifying the SQL sentence, the check processing unit 215 temporarily stores the SQL sentence determination flag until an end character of the SQL sentence is detected. In addition, when the check processing unit 215 detects a keyword specifying a loop sentence, it temporarily stores a loop sentence determination flag until an end character of the loop sentence is detected.

学習処理手段216は、影響パターンを新たに学習データ記憶部25に登録するための処理を実行する。具体的には、この学習処理手段216は、チューニング対象となるSQL文に関するデータを取得し、これに基づいて作業者端末10から受信した指示に応じて影響パターンを新たに学習データ記憶部25に登録する。更に、この学習処理手段216は、新たに取得した影響パターンについて、適用しない場合の確認済条件(ここでは、システム環境の条件とサブシステムの条件)を取得して、この確認済条件を含む確認済データを学習データ記憶部25に記憶する。   The learning processing unit 216 executes processing for newly registering an influence pattern in the learning data storage unit 25. Specifically, the learning processing means 216 acquires data relating to the SQL sentence to be tuned, and based on this, an influence pattern is newly stored in the learning data storage unit 25 in accordance with an instruction received from the worker terminal 10. sign up. Further, the learning processing means 216 acquires a confirmed condition (in this case, a system environment condition and a subsystem condition) when not applying the newly acquired influence pattern, and a confirmation including the confirmed condition is obtained. The completed data is stored in the learning data storage unit 25.

一方、ソースデータ記憶部22には、モジュール名が付された処理プログラムのソースコードが記憶されている。このソースコードは、新たなモジュールのコードが作成されて登録されると記録される。ここで、ソースコードには、公知のように、行番号が付与されている。   On the other hand, the source data storage unit 22 stores the source code of the processing program with the module name. This source code is recorded when a new module code is created and registered. Here, line numbers are given to the source code as is well known.

SQL関連データ記憶部23には、処理プログラムを実行するときに用いられるSQL文に関するSQL関連データが記憶される。このSQL関連データは、SQL文が生成されて実行されたときに記録される。このSQL関連データには、SQL先頭文、アドレス、ハッシュ値及び実行時間に関するデータが含まれる。   The SQL related data storage unit 23 stores SQL related data relating to an SQL statement used when executing the processing program. This SQL related data is recorded when the SQL statement is generated and executed. This SQL related data includes data related to the SQL head sentence, address, hash value, and execution time.

SQL先頭文データ領域には、このSQL文の最初の100文字(SQL先頭文)に関するデータが記録される。
アドレスデータ領域及びハッシュ値データ領域には、このSQL文のアドレス及びハッシュ値に関するデータがそれぞれ記録される。これらアドレス及びハッシュ値を用いて、実行計画データ記憶部24に記録された実行計画データとSQL関連データとが関連付けられる。
In the SQL head sentence data area, data relating to the first 100 characters (SQL head sentence) of the SQL sentence is recorded.
In the address data area and the hash value data area, data relating to the address and hash value of the SQL sentence are recorded, respectively. Using these addresses and hash values, the execution plan data recorded in the execution plan data storage unit 24 is associated with the SQL related data.

実行時間データ領域には、このSQL文を実行したときの所要時間に関するデータが記録される。
実行計画データ記憶部24には、SQL文を実行するときの内部的な手順である実行計画に関するデータが記憶される。この実行計画は、SQLに基づいて処理を行なう際に生成されて記録される。この実行計画データには、アドレス、ハッシュ値、オペレーション、オプション及びオブジェクト名に関するデータが含まれる。
In the execution time data area, data relating to the required time when this SQL statement is executed is recorded.
The execution plan data storage unit 24 stores data related to an execution plan, which is an internal procedure when executing an SQL statement. This execution plan is generated and recorded when processing is performed based on SQL. This execution plan data includes data relating to addresses, hash values, operations, options, and object names.

アドレスデータ領域及びハッシュ値データ領域には、この実行計画のアドレス及びハッシュ値に関するデータがそれぞれ記録される。
オペレーションデータ領域には、この実行計画で実行される内部操作を特定する情報に関するデータが記録される。
In the address data area and the hash value data area, data relating to the address and hash value of the execution plan are recorded.
In the operation data area, data relating to information for specifying an internal operation to be executed in the execution plan is recorded.

オプションデータ領域には、このオペレーションデータに対応する操作のバリエーションに関するデータが記録される。例えば、オペレーションが「TABLE ACCESS」の場合には、このバリエーションに関するデータには、「FULL」や「INDEX」等がある。   In the option data area, data related to operation variations corresponding to the operation data is recorded. For example, when the operation is “TABLE ACCESS”, the data regarding this variation includes “FULL”, “INDEX”, and the like.

オブジェクト名データ領域には、このオペレーションデータに対応して処理を行なう表名又は索引名に関するデータが記録される。
学習データ記憶部25には、チェック処理手段215が記憶しているSQL文影響パターンデータ以外に、パフォーマンスに影響するSQL文の記述を抽出するための影響パターンデータが記録される。この学習データは、作業者端末10からの影響パターン登録指示を取得した場合に登録される。この学習データは、影響パターンデータと確認済データとを含む。
In the object name data area, data relating to a table name or an index name to be processed corresponding to the operation data is recorded.
In addition to the SQL statement influence pattern data stored in the check processing unit 215, the learning data storage unit 25 records influence pattern data for extracting descriptions of SQL statements that affect performance. This learning data is registered when an influence pattern registration instruction from the worker terminal 10 is acquired. This learning data includes influence pattern data and confirmed data.

影響パターンデータには、パターン識別子及び検索パターンに関するデータが含まれている。
パターン識別子データ領域は、この影響パターンを特定するための識別子に関するデータが記録されている。
The influence pattern data includes data related to the pattern identifier and the search pattern.
In the pattern identifier data area, data relating to an identifier for specifying the influence pattern is recorded.

検索パターンデータ領域には、パフォーマンスに悪影響があるSQL文のコーディングの記載に関するデータが記録される。
確認済データには、パターン識別子に関連付けられた確認済条件に関するデータが含まれる。本実施形態では、確認済条件として、システム環境及び、処理プログラムが属するサブシステムとを特定するための条件を用いる。従って、確認済データには、パターン識別子、環境名及びサブ名が含まれる。
In the search pattern data area, data relating to the coding description of the SQL sentence that adversely affects performance is recorded.
The confirmed data includes data related to the confirmed condition associated with the pattern identifier. In this embodiment, conditions for specifying the system environment and the subsystem to which the processing program belongs are used as the confirmed conditions. Therefore, the confirmed data includes the pattern identifier, the environment name, and the sub name.

パターン識別子データ領域には、このシステム環境でこのサブシステムにおいて確認された影響パターンを特定するための識別子(パターン識別子)に関するデータが記録されている。   In the pattern identifier data area, data relating to an identifier (pattern identifier) for specifying an influence pattern confirmed in this subsystem in this system environment is recorded.

環境名データ領域には、処理プログラムの処理対象であるシステム環境を特定するための環境名称に関するデータが記録される。
サブ名データ領域には、処理プログラムが属するサブシステムを特定するサブ名称(サ
ブ名)に関するデータが記録される。
In the environment name data area, data related to the environment name for specifying the system environment to be processed by the processing program is recorded.
In the sub-name data area, data relating to a sub-name (sub-name) that identifies the subsystem to which the processing program belongs is recorded.

以上のような構成を有する処理サーバ20を用いた処理について、図2及び図3を用いて説明する。ここでは、処理サーバ20に記憶された処理プログラムを実行する前に行なうチェック処理、処理プログラムによって実行されるモジュール実行処理及び処理プログラムを実行させた後に行なう学習処理の順番に説明する。この場合、作業者は、作業者端末10を用いて、処理サーバ20の制御部21に、処理プログラム毎に、SQL文の実行時間の許容時間(しきい値)のデータを登録しておく。   Processing using the processing server 20 having the above configuration will be described with reference to FIGS. Here, a description will be given in the order of a check process performed before executing the process program stored in the process server 20, a module execution process executed by the process program, and a learning process performed after executing the process program. In this case, the worker registers data on the allowable time (threshold value) of the execution time of the SQL statement for each processing program in the control unit 21 of the processing server 20 using the worker terminal 10.

(チェック処理)
まず、チェック処理について、図2を用いて説明する。
作業者は、作業対象の処理プログラムのソースコードの作成や更新が終了して登録した後、コーディングチェックを行なう。この場合、作業者の指示に応じて作業者端末10は、処理サーバ20にコーディングチェックを行なうためのチェック条件画面要求を送信する。
(Check processing)
First, the check process will be described with reference to FIG.
The worker performs coding check after the source code of the processing program to be worked has been created and updated and registered. In this case, the worker terminal 10 transmits a check condition screen request for performing a coding check to the processing server 20 in accordance with the worker's instruction.

コーディングチェック画面要求を受信した処理サーバ20の制御部21は、デフォルトの環境システムデータ及びシステム環境データを含ませたチェック条件画面データを生成して、作業者端末10に送信する。作業者端末10は、チェック条件画面をディスプレイに表示する。このチェック条件画面には、選択可能な環境に関するプルダウンメニュー、選択可能なサブシステムに関するプルダウンメニュー及び選択可能なモジュールに関するプルダウンメニュー及びチェック実行ボタンが含まれる。   The control unit 21 of the processing server 20 that has received the coding check screen request generates default environment system data and check condition screen data including the system environment data, and transmits the check condition screen data to the worker terminal 10. The worker terminal 10 displays a check condition screen on the display. The check condition screen includes a pull-down menu for selectable environments, a pull-down menu for selectable subsystems, a pull-down menu for selectable modules, and a check execution button.

ここで、作業者は、チェックを行なう処理プログラムを用いるシステム環境の環境名をプルダウンメニューから選択する。プルダウンメニューから環境名が選択されると、作業者端末10は、選択された環境名に関するデータを処理サーバ20に送信する。処理サーバ20の制御部21は、取得した環境名に関連付けられている環境構成データのサブ名を、作業者端末10に送信する。作業者端末10は、選択された環境名に関連付けられているサブ名の一覧リストデータを、サブ名に関するプルダウンメニューに表示する。   Here, the operator selects the environment name of the system environment using the processing program to be checked from the pull-down menu. When the environment name is selected from the pull-down menu, the worker terminal 10 transmits data related to the selected environment name to the processing server 20. The control unit 21 of the processing server 20 transmits the sub name of the environment configuration data associated with the acquired environment name to the worker terminal 10. The worker terminal 10 displays a list of sub names associated with the selected environment name in a pull-down menu related to the sub names.

そして、作業者は、チェックを行なう処理プログラムが含まれるサブ名をプルダウンメニューから選択する。プルダウンメニューからサブ名が選択されると、作業者端末10は、選択されたサブ名に関するデータを処理サーバ20に送信する。処理サーバ20の制御部21は、取得したサブ名に関連付けられているシステム構成データのモジュール名を、作業者端末10に送信する。作業者端末10は、取得したモジュール名の一覧リストデータを、モジュール名に関するプルダウンメニューに表示する。   Then, the worker selects a sub name including a processing program to be checked from the pull-down menu. When a sub name is selected from the pull-down menu, the worker terminal 10 transmits data regarding the selected sub name to the processing server 20. The control unit 21 of the processing server 20 transmits the module name of the system configuration data associated with the acquired sub name to the worker terminal 10. The worker terminal 10 displays the acquired module list list data on a pull-down menu related to the module name.

そして、作業者は、モジュールに関するプルダウンメニューから、チェックを行なう処理プログラムのモジュール名を選択し、チェック条件画面におけるチェックボタンを選択する。この場合、作業者端末10は、チェック条件画面において選択された環境名及びモジュール名に関するデータを処理サーバ20に送信する。   Then, the operator selects the module name of the processing program to be checked from the pull-down menu regarding the module, and selects the check button on the check condition screen. In this case, the worker terminal 10 transmits data related to the environment name and module name selected on the check condition screen to the processing server 20.

処理サーバ20の制御部21は、受信した環境名及びモジュール名をメモリに一時記憶する。そして、制御部21は、データベースへの接続処理を実行する(ステップS1−1)。具体的には、制御部21のチェック処理手段215は、取得した環境名に対応するデータベース30を特定し、このデータベース30にアクセス可能な状態にする。   The control unit 21 of the processing server 20 temporarily stores the received environment name and module name in the memory. And the control part 21 performs the connection process to a database (step S1-1). Specifically, the check processing means 215 of the control unit 21 specifies the database 30 corresponding to the acquired environment name and makes this database 30 accessible.

次に、制御部21は、1行毎にプログラムの読込処理を実行する(ステップS1−2)。具体的には、制御部21のチェック処理手段215は、一時記憶したモジュール名に対応するソースコードをソースデータ記憶部22からチェック対象行として最初から1行毎
に順次読み込む。ここで、コメントアウトされた行と判断した場合、チェック処理手段215は、この行をスキップして、次の行をチェック対象行として読み込む。
Next, the control unit 21 executes a program reading process for each line (step S1-2). Specifically, the check processing means 215 of the control unit 21 sequentially reads the source code corresponding to the temporarily stored module name from the source data storage unit 22 as a check target row for each row from the beginning. If it is determined that the line is commented out, the check processing unit 215 skips this line and reads the next line as a check target line.

そして、読み込んだチェック対象行がプログラムの最後でない場合(ステップS1−3において「NO」の場合)には、制御部21は、プロジェクト標準化マッチング処理を実行する(ステップS1−4)。具体的には、制御部21のチェック処理手段215は、標準化マッチングデータとチェック対象行の記述とを比較して、マッチングしない記述(標準化違反の記述)がこのチェック対象行にあるか否かを検索する。   When the read check target line is not the end of the program (in the case of “NO” in step S1-3), the control unit 21 executes a project standardization matching process (step S1-4). Specifically, the check processing unit 215 of the control unit 21 compares the standardized matching data with the description of the check target line, and determines whether or not there is a description that does not match (standardization violation description) in the check target line. Search for.

次に、制御部21は、プロジェクト標準化チェック処理を実行する(ステップS1−5)。具体的には、制御部21のチェック処理手段215は、チェック対象行の記述が、この標準化チェックデータに適合しない記述(標準化違反の記述)か否かを検索する。   Next, the control part 21 performs a project standardization check process (step S1-5). Specifically, the check processing means 215 of the control unit 21 searches whether the description of the check target line is a description that does not conform to the standardized check data (standardization violation description).

そして、標準化違反が検出された場合(ステップS1−6において「YES」の場合)には、制御部21は、違反情報登録処理を実行する(ステップS1−7)。具体的には、制御部21のチェック処理手段215は、ステップS1−4においてマッチングしていない記述があった場合、又はステップS1−5においてチェックデータに適合していない記述があった場合には、違反情報に関するデータをメモリに記録する。この違反情報には、チェック対象行の行番号と、該当する箇所と、違反された標準化の内容とが含まれる。   When a standardization violation is detected (in the case of “YES” in step S1-6), the control unit 21 executes a violation information registration process (step S1-7). Specifically, the check processing means 215 of the control unit 21 determines that there is a description that does not match in step S1-4 or a description that does not match the check data in step S1-5. Record data on violation information in memory. This violation information includes the line number of the check target line, the corresponding part, and the content of the standardization that has been violated.

一方、標準化違反が検出されなかった場合(ステップS1−6において「NO」の場合)には、制御部21は、読み込んだチェック対象行がSQL文であるか否かの判定処理を実行する(ステップS1−8)。ここで、SQL文判定条件データと一致するキーワードがチェック対象行にある場合には、制御部21のチェック処理手段215は、SQL文であると判定し、SQL文判定フラグを一時的に記録する。チェック処理手段215は、このSQL文判定フラグを、SQL文の終了キーワードを検出するまで保持する。そして、チェック処理手段215は、SQL文判定フラグを記録している場合には、SQL文であると判定する。   On the other hand, when the standardization violation is not detected (in the case of “NO” in step S1-6), the control unit 21 executes a determination process as to whether or not the read check target line is an SQL statement ( Step S1-8). Here, when a keyword that matches the SQL sentence determination condition data is in the check target line, the check processing means 215 of the control unit 21 determines that the SQL sentence is an SQL sentence, and temporarily records the SQL sentence determination flag. . The check processing means 215 holds this SQL sentence determination flag until an end keyword of the SQL sentence is detected. When the SQL statement determination flag is recorded, the check processing unit 215 determines that the statement is an SQL statement.

このようにSQL文であると判定した場合(ステップS1−6において「YES」の場合)には、制御部21は、SQL文マッチング処理を実行する(ステップS1−9)。具体的には、制御部21のチェック処理手段215は、SQL文影響パターンデータと、チェック対象行の記述とを比較して、SQL文影響パターンに一致する記述がチェック対象行にあるか否かを検索する。   When it is determined that the sentence is an SQL sentence (“YES” in step S1-6), the control unit 21 executes the SQL sentence matching process (step S1-9). Specifically, the check processing unit 215 of the control unit 21 compares the SQL statement influence pattern data with the description of the check target row, and determines whether or not the check target row has a description that matches the SQL statement influence pattern. Search for.

次に、チェック処理手段215は、学習データ記憶部25に記録された影響パターンとのマッチング処理を実行する。この場合、確認済データのパターン識別子により特定される検索データについてはマッチング処理を行なわない。具体的には、チェック処理手段215は、メモリに一時記憶した環境名及びサブ名を含む確認済データを学習データ記憶部25から抽出する。チェック処理手段215は、抽出した確認済データのパターン識別子を含む影響パターンデータ以外の影響パターンデータを学習データ記憶部25から抽出する。そして、チェック処理手段215は、この抽出した影響パターンデータの検索パターンと、チェック対象行の記述とを比較して、影響パターンに一致する記述がチェック対象行にあるか否かを検索する。   Next, the check processing unit 215 performs matching processing with the influence pattern recorded in the learning data storage unit 25. In this case, the matching process is not performed for the search data specified by the pattern identifier of the confirmed data. Specifically, the check processing unit 215 extracts the confirmed data including the environment name and the sub name temporarily stored in the memory from the learning data storage unit 25. The check processing unit 215 extracts influence pattern data other than the influence pattern data including the pattern identifier of the extracted confirmed data from the learning data storage unit 25. Then, the check processing means 215 compares the extracted influence pattern data search pattern with the description of the check target line, and searches for a description that matches the influence pattern in the check target line.

そして、このSQL文マッチング処理においてマッチングした場合(ステップS1−10において「YES」の場合)には、制御部21は、エラー情報登録処理を実行する(ステップS1−11)。具体的には、制御部21のチェック処理手段215は、エラー情報をメモリに記録する。このエラー情報には、このチェック対象行の行番号と、一致した検索パターンの記述と、この検索パターンを含む前後所定数の文字(例えば前後10文字)
とが含まれる。
When matching is performed in this SQL sentence matching process (in the case of “YES” in step S1-10), the control unit 21 executes an error information registration process (step S1-11). Specifically, the check processing means 215 of the control unit 21 records error information in a memory. The error information includes a line number of the check target line, a description of the matched search pattern, and a predetermined number of characters before and after the search pattern (for example, 10 characters before and after).
And are included.

一方、チェック対象行にSQL文判定条件データに一致する記述がない場合、又はSQL文判定フラグが記録されていない場合には、チェック処理手段215は、SQL文でないと判定する。この場合(ステップS1−8において「NO」の場合)、又はSQL文マッチング処理でマッチングしなかった場合(ステップS1−10において「NO」の場合)には、制御部21は、ループ文であるか否かの判定処理を実行する(ステップS1−12)。ここで、ループ文判定条件データと一致するキーワードがチェック対象行に含まれている場合には、制御部21のチェック処理手段215は、ループ文であると判定し、ループ文判定フラグを一時的に記録する。チェック処理手段215は、このループ文判定フラグを、ループ文の終了キーワードを検出するまで保持する。そして、チェック処理手段215は、ループ文判定フラグを記録している場合には、ループ文であると判定する。   On the other hand, if there is no description that matches the SQL statement determination condition data in the check target line, or if no SQL statement determination flag is recorded, the check processing means 215 determines that the statement is not an SQL statement. In this case (in the case of “NO” in step S1-8) or in the case where matching is not performed in the SQL sentence matching process (in the case of “NO” in step S1-10), the control unit 21 is a loop sentence. Whether or not is determined (step S1-12). Here, when a keyword that matches the loop statement determination condition data is included in the check target line, the check processing unit 215 of the control unit 21 determines that the loop statement is a loop statement, and temporarily sets the loop statement determination flag. To record. The check processing means 215 holds this loop sentence determination flag until the end keyword of the loop sentence is detected. Then, the check processing means 215 determines that it is a loop sentence when the loop sentence determination flag is recorded.

ここで、ループ文であった場合には、制御部21は、ループ文マッチング処理を実行する(ステップS1−13)。具体的には、制御部21のチェック処理手段215は、ループ文影響パターンとチェック対象行の記述とを比較して、ループ文影響パターンがチェック対象行に含まれているか否かを検出する。   Here, when it is a loop sentence, the control part 21 performs a loop sentence matching process (step S1-13). Specifically, the check processing unit 215 of the control unit 21 compares the loop sentence influence pattern with the description of the check target line to detect whether or not the loop sentence influence pattern is included in the check target line.

そして、このループ文マッチング処理においてマッチングした場合(ステップS1−14において「YES」の場合)には、制御部21は、エラー情報登録処理を実行する(ステップS1−11)。具体的には、制御部21のチェック処理手段215は、エラー情報をメモリに記録する。このエラー情報には、このチェック対象行の行番号と、チェック対象行に含まれている検索パターンの記述と、この記述を含む前後所定数の文字(例えば前後10文字)のコーディングの記述とが含まれる。   When matching is performed in this loop sentence matching process (in the case of “YES” in step S1-14), the control unit 21 executes an error information registration process (step S1-11). Specifically, the check processing means 215 of the control unit 21 records error information in a memory. This error information includes the line number of the check target line, the description of the search pattern included in the check target line, and the coding description of a predetermined number of characters (for example, 10 characters before and after) including this description. included.

一方、ループ文でない場合(ステップS1−12において「NO」の場合)、又はループ文マッチング処理でマッチングしなかった場合(ステップS1−14において「NO」の場合)には、制御部21は、次の行についてプログラムの読込処理(ステップS1−2)を実行し、このステップS1−2以降の処理を繰り返して実行する。   On the other hand, when it is not a loop sentence (in the case of “NO” in step S1-12), or when it is not matched in the loop sentence matching process (in the case of “NO” in step S1-14), the control unit 21 The program reading process (step S1-2) is executed for the next line, and the processes after step S1-2 are repeatedly executed.

そして、プログラムの読込処理において読み込んだチェック対象行が最後であった場合(ステップS1−3において「YES」の場合)、制御部21は、結果出力処理を実行する(ステップS1−15)。ここで、制御部21のチェック処理手段215は、まず、チェック処理で接続したシステム環境の環境名と、処理プログラムのモジュール名と、ステップS1−7において記録された違反情報と、ステップS1−11において記録されたエラー情報とを含むチェック結果画面データを生成する。更に、チェック処理手段215は、環境名、モジュール名及びエラー情報の行番号を含むハイパーリンク情報をチェック結果画面データに含める。このハイパーリンク情報は、本実施形態では、所定範囲のコーディングを表示するためのコーディング情報取得手段として機能する。そして、チェック処理手段215は、生成したチェック結果画面データを作業者端末10に送信する。作業者端末10は、チェック結果画面をディスプレイに表示する。   If the check target line read in the program reading process is the last (in the case of “YES” in step S1-3), the control unit 21 executes a result output process (step S1-15). Here, the check processing means 215 of the control unit 21 firstly includes the environment name of the system environment connected in the check process, the module name of the processing program, the violation information recorded in step S1-7, and the step S1-11. The check result screen data including the error information recorded in is generated. Furthermore, the check processing means 215 includes hyperlink information including the environment name, module name, and error information line number in the check result screen data. In the present embodiment, this hyperlink information functions as coding information acquisition means for displaying a predetermined range of coding. Then, the check processing unit 215 transmits the generated check result screen data to the worker terminal 10. The worker terminal 10 displays a check result screen on the display.

このチェック結果画面には、違反情報とエラー情報とが含まれる。更に、エラー情報の行番号は、クリッカブルに表示されている。ここで、作業者が、エラー情報の行番号を選択すると、作業者端末10は、コーディング情報取得要求を処理サーバ20に送信する。このコーディング情報取得要求には、チェック結果画面に含まれる環境名、モジュール名及び選択された行番号とが含められる。   This check result screen includes violation information and error information. Furthermore, the line number of the error information is displayed in a clickable manner. Here, when the worker selects the line number of the error information, the worker terminal 10 transmits a coding information acquisition request to the processing server 20. This coding information acquisition request includes the environment name, module name, and selected line number included in the check result screen.

処理サーバ20の制御部21は、コーディング情報取得要求に含まれる環境名から特定されるデータベース30に接続する。制御部21は、コーディング情報取得要求に含まれ
る環境名及びモジュール名からソースデータ記憶部22から処理プログラムのソースコードを抽出し、このソースコードのうち、選択された行番号の前後所定行(例えば、前後10行)の所定範囲のソースコードを抽出する。そして、制御部21は、抽出したソースコードを含むコーディング情報画面データとしてのチェック詳細画面データを生成して、作業者端末10に送信する。作業者端末10は、チェック詳細画面を表示する。作業者は、このチェック詳細画面を用いて、処理プログラムのソースコードの更新を行なう。そして、更新したソースコードをソースデータ記憶部22に登録する。
The control unit 21 of the processing server 20 connects to the database 30 specified from the environment name included in the coding information acquisition request. The control unit 21 extracts the source code of the processing program from the source data storage unit 22 from the environment name and the module name included in the coding information acquisition request, and in this source code, a predetermined line before and after the selected line number (for example, , 10 lines before and after) are extracted. And the control part 21 produces | generates the check detailed screen data as coding information screen data containing the extracted source code, and transmits to the operator terminal 10. FIG. The worker terminal 10 displays a check details screen. The operator uses this check details screen to update the source code of the processing program. Then, the updated source code is registered in the source data storage unit 22.

(モジュール実行処理)
その後、作業者が、処理プログラムの実行を指示すると、作業者端末10は、実行する処理プログラムの環境名、サブ名及びモジュール名を含む処理プログラム実行指示依頼を処理サーバ20の制御部21に送信する。この場合、処理サーバ20の制御部21は、モジュール実行処理を実行する。
(Module execution processing)
Thereafter, when the worker instructs execution of the processing program, the worker terminal 10 transmits a processing program execution instruction request including the environment name, sub name, and module name of the processing program to be executed to the control unit 21 of the processing server 20. To do. In this case, the control unit 21 of the processing server 20 executes module execution processing.

このモジュール実行処理において、まず、制御部21は、取得したモジュール名に対応するソースコードをソースデータ記憶部22から抽出する。制御部21は、抽出したソースコードをコンパイルして処理プログラムを実行する。   In this module execution process, first, the control unit 21 extracts the source code corresponding to the acquired module name from the source data storage unit 22. The control unit 21 compiles the extracted source code and executes the processing program.

ここで、ソースコードに動的SQLが含まれている場合には、SQL文の発行処理を実行する。この場合、モジュール実行手段211は、公知のように、SQL文の解析処理、SQL文の書き換え処理及び実行計画の作成処理を実行した後、SQL文の実行処理を行なう。ここで、SQL文の実行においては、作業者端末10から取得した環境名から特定されるデータベース30に記録された処理対象データが用いられる。この場合、SQL文の実行処理において、モジュール実行手段211は、生成されたSQL先頭文、アドレス、ハッシュ値、実行に要した実行時間を、SQL関連データ記憶部23に記憶する。更に、モジュール実行手段211は、実行計画を作成した場合には、この実行計画に関するデータを実行計画データ記憶部24に記憶する。   Here, when dynamic SQL is included in the source code, an SQL statement issuance process is executed. In this case, the module execution unit 211 executes the SQL statement execution processing after executing the SQL statement analysis processing, the SQL statement rewriting processing, and the execution plan creation processing, as is well known. Here, in the execution of the SQL statement, the processing target data recorded in the database 30 specified from the environment name acquired from the worker terminal 10 is used. In this case, in the SQL statement execution process, the module execution unit 211 stores the generated SQL head sentence, address, hash value, and execution time required for execution in the SQL related data storage unit 23. Further, when the execution plan is created, the module execution unit 211 stores data related to the execution plan in the execution plan data storage unit 24.

(学習処理)
次に、学習処理について、図3を用いて説明する。
この学習処理において、まず、処理サーバ20の制御部21は、チューニング対象SQL文の抽出処理を実行する(ステップS2−1)。具体的には、制御部21の学習処理手段216は、モジュール実行処理の終了を検出すると、SQL関連データ記憶部23に記録されたSQL関連データの実行時間としきい値とを比較する。そして、学習処理手段216は、しきい値を超過した実行時間を記録したSQL関連データをチューニング対象として抽出して、メモリに一時記憶する。
(Learning process)
Next, the learning process will be described with reference to FIG.
In this learning process, first, the control unit 21 of the processing server 20 executes a tuning target SQL sentence extraction process (step S2-1). Specifically, when the learning processing means 216 of the control unit 21 detects the end of the module execution process, it compares the execution time of the SQL related data recorded in the SQL related data storage unit 23 with a threshold value. Then, the learning processing means 216 extracts the SQL related data in which the execution time exceeding the threshold is recorded as a tuning target, and temporarily stores it in the memory.

次に、制御部21は、抽出したSQL文が既に確認済か否かを判断する(ステップS2−2)。具体的には、制御部21の学習処理手段216は、モジュール実行処理において取得した環境名及びサブ名に関連付けられている確認済データを学習データ記憶部25から抽出する。学習処理手段216は、抽出した確認済データのパターン識別子を含む影響パターンデータを学習データ記憶部25から抽出する。そして、学習処理手段216は、抽出した影響パターンデータの影響パターンと、ステップS2−1においてメモリに記憶したSQL関連データのSQL先頭文とを比較する。ここで、抽出した影響パターンがSQL先頭文に含まれている場合には、このSQL文は確認済であると判定する。一方、抽出した影響パターンデータと一致しない場合には、このSQL文は未確認であると判定して、この未確認のSQL文に関するデータをメモリに一時記憶する。   Next, the control unit 21 determines whether or not the extracted SQL sentence has already been confirmed (step S2-2). Specifically, the learning processing unit 216 of the control unit 21 extracts the confirmed data associated with the environment name and the sub name acquired in the module execution process from the learning data storage unit 25. The learning processing unit 216 extracts the influence pattern data including the pattern identifier of the extracted confirmed data from the learning data storage unit 25. Then, the learning processing means 216 compares the influence pattern of the extracted influence pattern data with the SQL head sentence of the SQL related data stored in the memory in step S2-1. If the extracted influence pattern is included in the SQL head sentence, it is determined that the SQL sentence has been confirmed. On the other hand, if it does not match the extracted influence pattern data, it is determined that the SQL sentence is unconfirmed, and data relating to the unconfirmed SQL sentence is temporarily stored in the memory.

そして、抽出したSQL文のすべてが確認済の場合(ステップS2−2において「YES」の場合)には、学習処理手段216は、既に確認済であるとして処理を終了する。
一方、未確認のSQL文に関するデータがメモリに一時記憶されている場合(ステップS2−2において「NO」の場合)、学習処理手段216は、未確認のチューニング対象SQL文の出力処理を実行する(ステップS2−3)。具体的には、学習処理手段216は、チューニング対象のSQL情報を一覧表示するためのチューニング画面データを生成する。この場合、学習処理手段216は、抽出したSQL関連データのSQL先頭文及び実行時間と、実行計画ハイパーリンクとを、未確認のSQL文の情報としてチューニング画面データに含める。更に、学習処理手段216は、各実行計画ハイパーリンクに関連付けて、抽出したSQL関連データのアドレス及びハッシュ値をチューニング画面データに含める。
If all of the extracted SQL sentences have been confirmed (in the case of “YES” in step S2-2), the learning processing means 216 ends the processing assuming that it has already been confirmed.
On the other hand, when the data related to the unconfirmed SQL sentence is temporarily stored in the memory (in the case of “NO” in step S2-2), the learning processing means 216 executes the output process of the unconfirmed tuning target SQL sentence (step S2). S2-3). Specifically, the learning processing unit 216 generates tuning screen data for displaying a list of SQL information to be tuned. In this case, the learning processing unit 216 includes the SQL head sentence and execution time of the extracted SQL related data and the execution plan hyperlink in the tuning screen data as unconfirmed SQL sentence information. Further, the learning processing means 216 includes the address and hash value of the extracted SQL related data in the tuning screen data in association with each execution plan hyperlink.

そして、学習処理手段216は、生成したチューニング画面データを作業者端末10に送信する。作業者端末10は、チューニング画面をディスプレイに表示する。このチューニング画面には、未確認のSQL文の情報が一覧表示されている。更に、このチューニング画面には終了ボタンが含まれている。   Then, the learning processing unit 216 transmits the generated tuning screen data to the worker terminal 10. The worker terminal 10 displays a tuning screen on the display. This tuning screen displays a list of unconfirmed SQL statement information. Further, this tuning screen includes an end button.

ここで、このチューニング画面において、作業者が、実行計画ハイパーリンクを選択した場合、作業者端末10は、この実行計画ハイパーリンクに関連付けられているアドレス及びハッシュ値を含む実行計画取得依頼を処理サーバ20に送信する。   Here, when the operator selects an execution plan hyperlink on the tuning screen, the worker terminal 10 sends an execution plan acquisition request including an address and a hash value associated with the execution plan hyperlink to the processing server. 20 to send.

次に、処理サーバ20の制御部21は、SQL文に関連する実行計画の特定処理を実行する(ステップS2−4)。具体的には、制御部21の学習処理手段216は、受信したアドレス及びハッシュ値を含む実行計画データを実行計画データ記憶部24において検索する。ここで、該当する実行計画データを抽出できない場合、制御部21は、実行計画がない旨の警告メッセージデータを生成して、作業者端末10に送信する。この場合、作業者端末10は、警告メッセージをディスプレイに表示する。   Next, the control part 21 of the process server 20 performs the specific process of the execution plan relevant to a SQL sentence (step S2-4). Specifically, the learning processing means 216 of the control unit 21 searches the execution plan data storage unit 24 for execution plan data including the received address and hash value. Here, when the corresponding execution plan data cannot be extracted, the control unit 21 generates warning message data indicating that there is no execution plan, and transmits the warning message data to the worker terminal 10. In this case, the worker terminal 10 displays a warning message on the display.

一方、該当する実行計画データを抽出できた場合、処理サーバ20の制御部21は、影響パターン候補の出力処理を実行する(ステップS2−5)。具体的には、制御部21の学習処理手段216は、検索パターン候補画面データとしての実行計画画面データを生成する。学習処理手段216は、この実行計画画面データに、環境名とモジュール名と、チューニング画面において表示したSQL先頭文及び実行時間と、抽出した実行計画データとを含ませる。   On the other hand, when the corresponding execution plan data can be extracted, the control unit 21 of the processing server 20 executes the influence pattern candidate output process (step S2-5). Specifically, the learning processing means 216 of the control unit 21 generates execution plan screen data as search pattern candidate screen data. The learning processing means 216 includes the environment name and module name, the SQL head sentence and execution time displayed on the tuning screen, and the extracted execution plan data in the execution plan screen data.

ここで、学習処理手段216は、チューニング対象SQL文に対応する検索パターンが既に登録されているか否かを判断する。具体的には、学習処理手段216は、チューニング対象SQL文のSQL先頭文と、学習データ記憶部25に記憶した検索パターンとを比較し、検索パターンに一致する記述がSQL先頭文にあるか否かを判断する。この場合、検索パターンが既に登録済の場合には、学習処理手段216は、この検索パターンのパターン識別子に関連付けた確認ボタンを実行計画画面データに含める。そして、制御部21の学習処理手段216は、生成した実行計画画面データを作業者端末10に送信する。作業者端末10は、検索パターン候補画面としての実行計画画面をディスプレイに表示する。   Here, the learning processing means 216 determines whether or not a search pattern corresponding to the tuning target SQL sentence has already been registered. Specifically, the learning processing unit 216 compares the SQL head sentence of the tuning target SQL sentence with the search pattern stored in the learning data storage unit 25, and determines whether or not the SQL head sentence has a description that matches the search pattern. Determine whether. In this case, when the search pattern has already been registered, the learning processing unit 216 includes a confirmation button associated with the pattern identifier of the search pattern in the execution plan screen data. Then, the learning processing means 216 of the control unit 21 transmits the generated execution plan screen data to the worker terminal 10. The worker terminal 10 displays an execution plan screen as a search pattern candidate screen on the display.

この実行計画画面には、SQL先頭文、実行時間及び実行計画とともに、影響パターン入力欄、登録ボタン及び戻りボタンが含まれている。更に、登録されている検索パターンがこのチューニング対象SQL文の記述に含まれていた場合には、この実行計画画面には確認ボタンが含まれる。   This execution plan screen includes an SQL head sentence, an execution time, and an execution plan, as well as an influence pattern input field, a registration button, and a return button. Further, when the registered search pattern is included in the description of the tuning target SQL statement, the execution plan screen includes a confirmation button.

ここで、SQL先頭文の記述及び実行計画を閲覧した作業者が、このチューニング対象SQL文に、パフォーマンスの悪い記述パターン(検索パターン)が含まれていると判断
した場合には、この検索パターンを影響パターン入力欄に入力して、登録ボタンを選択する。この場合、作業者端末10は、影響パターン登録指示を処理サーバ20に送信する。この影響パターン登録指示には、環境名とサブ名と、影響パターン入力欄に入力された検索パターンとが含まれる。
Here, when the worker who has read the description and execution plan of the SQL head sentence determines that the tuning target SQL sentence includes a description pattern (search pattern) with poor performance, this search pattern is used. Enter in the influence pattern input field and select the registration button. In this case, the worker terminal 10 transmits an influence pattern registration instruction to the processing server 20. This influence pattern registration instruction includes the environment name, the sub name, and the search pattern input in the influence pattern input field.

そして、影響パターン登録指示を受信した場合(ステップS2−6において「YES」の場合)には、処理サーバ20の制御部21は、サブ名毎に影響パターンの登録処理を実行する(ステップS2−7)。具体的には、制御部21の学習処理手段216は、取得した検索パターンに対してパターン識別子を付与する。学習処理手段216は、このパターン識別子と検索パターンとを含む影響パターンデータを学習データ記憶部25に記憶する。そして、学習処理手段216は、ステップS2−2においてメモリに一時記憶したSQL文から、学習データ記憶部25に登録した検索パターンの記述を含むSQL文を除いた未確認のSQL文を特定する。更に、学習処理手段216は、特定したSQL文に関するデータを用いて、ステップS2−3と同様に、チューニング画面データを生成して、作業者端末10に送信する。作業者端末10は、再び、チューニング対象SQL画面を表示する。   When an influence pattern registration instruction is received (in the case of “YES” in step S2-6), the control unit 21 of the processing server 20 executes an influence pattern registration process for each sub name (step S2—). 7). Specifically, the learning processing means 216 of the control unit 21 gives a pattern identifier to the acquired search pattern. The learning processing unit 216 stores the influence pattern data including the pattern identifier and the search pattern in the learning data storage unit 25. Then, the learning processing unit 216 specifies an unconfirmed SQL sentence obtained by removing the SQL sentence that includes the description of the search pattern registered in the learning data storage unit 25 from the SQL sentence temporarily stored in the memory in step S2-2. Further, the learning processing means 216 generates tuning screen data using the data relating to the identified SQL sentence and transmits it to the worker terminal 10 as in step S2-3. The worker terminal 10 displays the tuning target SQL screen again.

一方、確認ボタンが含まれた実行計画画面が表示されている場合に、パフォーマンスの悪い記述パターンが含まれていないと判断した作業者は、この確認ボタンを選択する。この場合、作業者端末10は、確認済指示を処理サーバ20に送信する。この確認済指示には、環境名とモジュール名と、確認ボタンに関連付けられたパターン識別子とが含まれる。   On the other hand, when an execution plan screen including a confirmation button is displayed, an operator who determines that a description pattern with poor performance is not included selects this confirmation button. In this case, the worker terminal 10 transmits a confirmed instruction to the processing server 20. This confirmed instruction includes an environment name, a module name, and a pattern identifier associated with the confirmation button.

そして、確認済指示を受信した場合(ステップS2−6において「NO」の場合)には、処理サーバ20の制御部21は、確認済データの登録処理を実行する(ステップS2−8)。具体的には、制御部21の学習処理手段216は、確認済指示に含まれる環境名、サブ名及びパターン識別子を含む確認済データを学習データ記憶部25に記憶する。そして、学習処理手段216は、チューニング画面データを生成して作業者端末10に送信し、作業者端末10のディスプレイにチューニング画面を表示させる。この場合、ステップS2−7において登録した影響パターンを有するSQL文に関するデータは、チューニング画面に表示されない。   When a confirmed instruction is received (in the case of “NO” in step S2-6), the control unit 21 of the processing server 20 executes a process for registering confirmed data (step S2-8). Specifically, the learning processing unit 216 of the control unit 21 stores the confirmed data including the environment name, the sub name, and the pattern identifier included in the confirmed instruction in the learned data storage unit 25. Then, the learning processing means 216 generates tuning screen data and transmits it to the worker terminal 10 to display the tuning screen on the display of the worker terminal 10. In this case, data relating to the SQL statement having the influence pattern registered in step S2-7 is not displayed on the tuning screen.

なお、確認ボタンが含まれていない実行計画画面の実行計画を閲覧した作業者が、パフォーマンスの悪い記述パターンが含まれていないと判断した場合には、実行計画画面の戻りボタンを選択する。この場合、作業者端末10は、チューニング画面要求を処理サーバ20に行なう。このチューニング画面要求を受信した処理サーバ20の制御部21は、SQL文の出力処理を実行し(ステップS2−3)、これ以降の処理を繰り返して行なう。なお、このSQL文の出力処理の実行においては、制御部21は、メモリに一時記憶した未確認のSQL文に関するデータを含むチューニング画面データを生成する。そして、チューニング対象SQL画面の終了ボタンが選択されると、学習処理手段216は、学習処理を終了する。   When an operator who has viewed an execution plan on an execution plan screen that does not include a confirmation button determines that a description pattern with poor performance is not included, the operator selects the return button on the execution plan screen. In this case, the worker terminal 10 sends a tuning screen request to the processing server 20. Receiving this tuning screen request, the control unit 21 of the processing server 20 executes an SQL statement output process (step S2-3) and repeats the subsequent processes. In the execution of the SQL statement output process, the control unit 21 generates tuning screen data including data relating to an unconfirmed SQL statement temporarily stored in the memory. When the end button on the tuning target SQL screen is selected, the learning processing unit 216 ends the learning process.

本実施形態によれば、以下のような効果を得ることができる。
・ 本実施形態では、SQL文であると判定した場合(ステップS1−8において「YES」)、処理サーバ20の制御部21は、SQL文マッチング処理を実行する(ステップS1−9)。この場合、制御部21は、SQL文影響パターンデータと、チェック対象行の記述とを比較して、SQL文影響パターンに一致する記述がチェック対象行にあるか否かを検索する。更に、制御部21は、学習データ記憶部25に記録された影響パターンとのマッチング処理を実行する。そして、このSQL文マッチング処理においてマッチングした場合(ステップS1−10において「YES」の場合)には、制御部21は、エラ
ー情報登録処理を実行する(ステップS1−11)。その後、処理結果出力処理(ステップS1−15)において、制御部21は、チェック対象行に含まれている検索パターンの記述を含むエラー情報を含むチェック結果画面データを作業者端末10に送信する。このため、チェック結果画面を閲覧することにより、作業者は、処理プログラムのコーディングに、パフォーマンスに影響するSQL文の記述があるか否かを容易に把握することができる。従って、作業者は、SQL文のチューニングを効率よく行なうことができる。
According to this embodiment, the following effects can be obtained.
-In this embodiment, when it determines with it being a SQL sentence (in step S1-8, "YES"), the control part 21 of the processing server 20 performs a SQL sentence matching process (step S1-9). In this case, the control unit 21 compares the SQL sentence influence pattern data with the description of the check target line, and searches for a description that matches the SQL sentence influence pattern in the check target line. Further, the control unit 21 executes a matching process with the influence pattern recorded in the learning data storage unit 25. When matching is performed in this SQL sentence matching process (in the case of “YES” in step S1-10), the control unit 21 executes an error information registration process (step S1-11). Thereafter, in the processing result output process (step S1-15), the control unit 21 transmits check result screen data including error information including a description of the search pattern included in the check target row to the worker terminal 10. Therefore, by viewing the check result screen, the operator can easily grasp whether or not there is a description of the SQL sentence that affects the performance in the coding of the processing program. Therefore, the operator can efficiently tune the SQL sentence.

・ 本実施形態では、制御部21は、作業者端末10からコーディング情報取得要求を受信した処理サーバ20の制御部21は、処理プログラムのソースコードを抽出し、このうち所定範囲のソースコードを含むチェック詳細画面データを生成して、作業者端末10に送信する。このチェック詳細画面には、チェック処理で検出された記述と、この記述の前後所定行の所定範囲のソースコードが表示される。このため、作業者は、検出された記述とともにその前後の記述を閲覧することができるので、コーディングを効率よくチューニングすることができる。   -In this embodiment, the control part 21 of the processing server 20 which received the coding information acquisition request from the operator terminal 10 extracts the source code of a processing program, and includes the source code of a predetermined range among these. Check detail screen data is generated and transmitted to the worker terminal 10. The check detail screen displays a description detected by the check process and a source code in a predetermined range in a predetermined line before and after the description. For this reason, since the operator can browse the description before and after the detected description, the coding can be tuned efficiently.

・ 本実施形態では、制御部21は、しきい値を超過した実行時間のSQL文をチューニング対象として抽出し、これを用いて未確認のチューニング対象SQL文の出力処理を実行する(ステップS2−3)。この場合、制御部21は、抽出したSQL関連データのSQL先頭文及び実行時間とを含めたチューニング画面データを生成し、作業者端末10に送信する。作業者端末10は、実行時間が長かったSQL文のSQL先頭文を含むチューニング画面をディスプレイに表示する。このため、作業者は、実際の実行時間が長くパフォーマンスの悪いSQL文を効率よく把握することができる。   -In this embodiment, the control part 21 extracts the SQL sentence of the execution time which exceeded the threshold value as a tuning object, and performs the output process of an unconfirmed tuning object SQL sentence using this (step S2-3). ). In this case, the control unit 21 generates tuning screen data including the SQL head sentence and the execution time of the extracted SQL related data, and transmits the tuning screen data to the worker terminal 10. The worker terminal 10 displays a tuning screen including the SQL head sentence of the SQL sentence having a long execution time on the display. For this reason, the worker can efficiently grasp the SQL statement having a long actual execution time and poor performance.

・ 本実施形態では、制御部21は、各実行計画ハイパーリンクに関連付けて、抽出したSQL関連データのアドレス及びハッシュ値を含むチューニング画面データを生成して、作業者端末10に送信する。チューニング画面において実行計画ハイパーリンクが選択された場合、作業者端末10は、これに関連付けられているアドレス及びハッシュ値を含む実行計画取得依頼を処理サーバ20に送信する。処理サーバ20の制御部21は、SQL文に関連する実行計画の特定処理を実行し(ステップS2−4)、実行計画データを含む影響パターン候補の出力処理を実行する。このため、作業者は、パフォーマンスの悪いSQL文の実行計画を閲覧することにより、効率よくチューニングすることができる。   In the present embodiment, the control unit 21 generates tuning screen data including the address and hash value of the extracted SQL related data in association with each execution plan hyperlink, and transmits the tuning screen data to the worker terminal 10. When the execution plan hyperlink is selected on the tuning screen, the worker terminal 10 transmits an execution plan acquisition request including an address and a hash value associated therewith to the processing server 20. The control unit 21 of the processing server 20 executes an execution plan specifying process related to the SQL statement (step S2-4), and executes an influence pattern candidate output process including execution plan data. For this reason, the operator can tune efficiently by browsing the execution plan of the SQL statement having poor performance.

・ 本実施形態では、実行計画画面においてチューニング対象SQL文に、パフォーマンスの悪い記述パターンが含まれている場合には、この検索パターンを影響パターン入力欄に入力された後に、登録ボタンが選択される。作業者端末10は、影響パターン登録指示を処理サーバ20に送信する。この場合(ステップS2−6において「YES」の場合)、処理サーバ20の制御部21は、サブ名毎に影響パターンの登録処理を実行する(ステップS2−7)。具体的には、制御部21は、取得した検索パターンに対してパターン識別子を付与し、このパターン識別子と検索パターンとを含む影響パターンデータを学習データ記憶部25に記憶する。また、チェック処理のSQL文マッチング処理(ステップS1−9)において、制御部21は、学習データ記憶部25に記録された影響パターンとのマッチング処理を実行する。このため、制御部21は、パフォーマンスの悪い検索パターンが新たに登録された場合には、これも用いてチェック処理が行なわれるので、検索パターンの情報共有を迅速に行なうことができる。   -In this embodiment, when the SQL statement to be tuned includes a description pattern with poor performance in the execution plan screen, the registration button is selected after the search pattern is input to the influence pattern input field. . The worker terminal 10 transmits an influence pattern registration instruction to the processing server 20. In this case (in the case of “YES” in step S2-6), the control unit 21 of the processing server 20 executes an influence pattern registration process for each sub name (step S2-7). Specifically, the control unit 21 assigns a pattern identifier to the acquired search pattern, and stores the influence pattern data including the pattern identifier and the search pattern in the learning data storage unit 25. Moreover, in the SQL sentence matching process (step S1-9) of the check process, the control unit 21 executes a matching process with the influence pattern recorded in the learning data storage unit 25. For this reason, when a search pattern having a poor performance is newly registered, the control unit 21 performs a check process using the newly registered search pattern, so that the search pattern information can be quickly shared.

・ 本実施形態では、影響パターン候補の出力処理(ステップS2−5)において、チューニング対象SQL文に対応する検索パターンが既に登録されている場合、制御部21は、この検索パターンのパターン識別子に関連付けた確認ボタンを含めたチェック実行計画画面データを作業者端末10に送信して、チェック実行計画画面を表示させる。この場合、パフォーマンスの悪い記述パターンが含まれていないために、確認ボタンが選択され
ると、作業者端末10は、確認済指示を処理サーバ20に送信する。確認済指示を受信した場合(ステップS2−6において「NO」の場合)には、処理サーバ20の制御部21は、確認済データの登録処理を実行する(ステップS2−8)。その後、チェック処理のSQL文マッチング処理(ステップS1−9)において、制御部21は、学習データ記憶部25に記録された影響パターンとのマッチング処理を実行する。この場合、確認済データのパターン識別子により特定される検索データについてはマッチング処理を行なわない。このため、確認済データの確認済条件においてパフォーマンスに影響がないと作業者が許容した記述については、以降のチェック処理において検出されない。従って、同じモジュール名の処理プログラムであっても、システム環境やサブシステムに応じて、より適切な検索パターンを用いて、パフォーマンスに影響するSQL文の記述を容易に把握することができる。
-In this embodiment, when the search pattern corresponding to the tuning target SQL sentence is already registered in the influence pattern candidate output process (step S2-5), the control unit 21 associates the search pattern with the pattern identifier of this search pattern. The check execution plan screen data including the confirmation button is transmitted to the worker terminal 10 to display the check execution plan screen. In this case, since a description pattern with poor performance is not included, when the confirmation button is selected, the worker terminal 10 transmits a confirmed instruction to the processing server 20. When the confirmed instruction is received (in the case of “NO” in step S2-6), the control unit 21 of the processing server 20 executes the registered process of the confirmed data (step S2-8). Thereafter, in the SQL sentence matching process (step S1-9) of the check process, the control unit 21 executes a matching process with the influence pattern recorded in the learning data storage unit 25. In this case, the matching process is not performed for the search data specified by the pattern identifier of the confirmed data. For this reason, the description allowed by the operator that the performance is not affected under the confirmed condition of the confirmed data is not detected in the subsequent check processing. Therefore, even for processing programs with the same module name, it is possible to easily grasp the description of the SQL sentence that affects the performance by using a more appropriate search pattern according to the system environment and the subsystem.

・ 本実施形態では、制御部21は、プロジェクト標準化マッチング処理を実行し(ステップS1−4)、プロジェクト標準化チェック処理を実行する(ステップS1−5)。そして、標準化違反が検出された場合(ステップS1−6において「YES」の場合)には、制御部21は、違反情報登録処理を実行する(ステップS1−7)。更に、ループ文であった場合には、パフォーマンス影響パターン(コード)マッチング処理を実行し(ステップS1−13)、マッチングした場合(ステップS1−14において「YES」の場合)には、制御部21は、エラー情報登録処理を実行する(ステップS1−11)。このため、SQL文に限らず、プロジェクトの標準化に違反した記述やループ文においてパフォーマンスが悪い記述についてもチェックすることができる。   -In this embodiment, the control part 21 performs a project standardization matching process (step S1-4), and performs a project standardization check process (step S1-5). When a standardization violation is detected (in the case of “YES” in step S1-6), the control unit 21 executes a violation information registration process (step S1-7). Further, if it is a loop statement, a performance influence pattern (code) matching process is executed (step S1-13), and if a match is found (in the case of “YES” in step S1-14), the control unit 21 Executes error information registration processing (step S1-11). For this reason, it is possible to check not only the SQL statement but also a description that violates the standardization of the project or a description with poor performance in the loop statement.

また、上記実施形態は以下のように変更してもよい。
○ 上記実施形態においては、制御部21は、作業者端末10からチェック詳細画面要求を取得すると、処理プログラムのソースコードのうち、選択された行番号の前後所定行(例えば、前後10行)の範囲を抽出し、これを含むチェック詳細画面データを生成して作業者端末10に送信した。これに限らず、チェック詳細画面に含まれる前後所定行の行数を、抽出した検索パターンに応じて変更してもよい。具体的には、チェック処理手段215に、SQL文の記述と、これを対応して抽出する行数(抽出行数)とを含ませたSQL文影響パターンデータを記憶させておく。あるいは、抽出行数を関連付けた影響パターンデータを学習データ記憶部25に記憶させてもよい。そして、制御部21は、エラー情報登録処理(ステップS1−11)において、一致した検索パターンの記述に対応する抽出行数を取得してエラー情報に関連付ける。制御部21は、チェック結果画面データのハイパーリンク情報に、エラー情報に関連付けた抽出行数も含ませておく。作業者端末10は、この抽出行数を含むコーディング情報取得要求を行なう。処理サーバ20の制御部21は、抽出したソースコードのうち、選択された行番号を含み、この行番号に対して抽出行数に対応する範囲のソースコードを抽出する。そして、制御部21は、抽出した行を含むチェック詳細画面データを生成して作業者端末10に送信する。これにより、検索パターンに応じて、表示するチェック詳細画面のコーディングの範囲が変更されるので、チューニングに必要な記述を効率よく把握することができる。
Moreover, you may change the said embodiment as follows.
In the above embodiment, when the control unit 21 obtains the check detail screen request from the worker terminal 10, the control unit 21 includes a predetermined line before and after the selected line number (for example, 10 lines before and after) of the source code of the processing program. The range was extracted, check detail screen data including the range was generated and transmitted to the worker terminal 10. Not limited to this, the number of predetermined lines before and after included in the check details screen may be changed according to the extracted search pattern. Specifically, the SQL statement effect pattern data including the description of the SQL statement and the number of rows extracted correspondingly (the number of extracted rows) is stored in the check processing means 215. Alternatively, the influence pattern data associated with the number of extracted rows may be stored in the learning data storage unit 25. Then, in the error information registration process (step S1-11), the control unit 21 acquires the number of extracted lines corresponding to the description of the matched search pattern and associates it with the error information. The control unit 21 also includes the number of extracted lines associated with the error information in the hyperlink information of the check result screen data. The worker terminal 10 makes a coding information acquisition request including the number of extracted lines. The control unit 21 of the processing server 20 extracts the source code in the range corresponding to the number of extracted lines, including the selected line number among the extracted source codes. And the control part 21 produces | generates the check detailed screen data containing the extracted line, and transmits to the operator terminal 10. FIG. As a result, the coding range of the check detail screen to be displayed is changed according to the search pattern, so that the description necessary for tuning can be grasped efficiently.

○ 上記実施形態において、確認済データの確認済条件として、システム環境とサブシステムとの組み合わせを確認済条件として用いた。確認済条件は、これに限られない。例えば、環境名とモジュール名とを組み合わせて用いてもよい。また、環境名、サブ名及び作業者を組み合わせて用いてもよい。この場合、チェック処理又は学習処理において、作業者端末10からアクセスがあった場合、処理サーバ20の制御部21は、作業者端末10においてログイン処理を行なった作業者を特定する作業者識別子を取得する。また、確認済データに、作業者識別子を記録する作業者識別子データ領域を設ける。そして、確認済フラグの登録処理(ステップS2−8)において、処理サーバ20の制御部21は、確認済指示に含まれる環境名、サブ名、作業者識別子及びパターン識別子を含む確認済デー
タを学習データ記憶部25に記憶する。その後、SQL文マッチング処理(ステップS1−9)において、制御部21は、この環境名、サブ名、及び作業者端末10から取得した作業者識別子を含む確認済データを抽出する。制御部21は、この確認済データのパターン識別子を含む影響パターンデータ以外の影響パターンデータを抽出し、この影響パターンに一致する記述がチェック対象行にあるか否かを検索する。これにより、作業者に応じて抽出される影響パターンを変更することができる。このため、コーディングチェックを行なう作業者の知識や癖等に応じて作業者に適した確認済データを登録すれば、作業者によるばらつきの少ない、良好なパフォーマンスの記述に変更することができる。
In the above embodiment, the combination of the system environment and the subsystem is used as the confirmed condition as the confirmed condition of the confirmed data. The confirmed condition is not limited to this. For example, the environment name and the module name may be used in combination. Moreover, you may use combining an environment name, a subname, and an operator. In this case, when there is an access from the worker terminal 10 in the check process or the learning process, the control unit 21 of the processing server 20 acquires a worker identifier that identifies the worker who performed the login process in the worker terminal 10. To do. Further, a worker identifier data area for recording the worker identifier is provided in the confirmed data. In the confirmation flag registration process (step S2-8), the control unit 21 of the processing server 20 learns the confirmed data including the environment name, the sub name, the worker identifier, and the pattern identifier included in the confirmed instruction. The data is stored in the data storage unit 25. Thereafter, in the SQL sentence matching process (step S1-9), the control unit 21 extracts confirmed data including the environment name, the sub name, and the worker identifier acquired from the worker terminal 10. The control unit 21 extracts influence pattern data other than the influence pattern data including the pattern identifier of the confirmed data, and searches whether or not there is a description matching the influence pattern in the check target line. Thereby, the influence pattern extracted according to an operator can be changed. For this reason, if the confirmed data suitable for the worker is registered according to the knowledge or habit of the worker who performs the coding check, the description can be changed to a description of good performance with little variation among the workers.

○ 上記実施形態においては、制御部21は、SQL先頭文の記述に検索パターンが含まれていた場合には、この検索パターンのパターン識別子に関連付けた確認ボタンを実行計画画面データに含めた。この場合、登録されている検索パターンがこのチューニング対象SQL文の記述に含まれている場合には、この検索パターンを実行計画画面データに含めてもよい。これにより、実行計画画面には、SQL先頭文とともに、登録されている検索パターンが表示される。このため、実行時間が長くパフォーマンスが悪いSQL文に、登録されている検索パターン以外の他の検索パターンが入っているか否かを効率よく把握することができる。   In the above embodiment, when the search pattern is included in the description of the SQL head sentence, the control unit 21 includes a confirmation button associated with the pattern identifier of the search pattern in the execution plan screen data. In this case, when the registered search pattern is included in the description of the tuning target SQL sentence, this search pattern may be included in the execution plan screen data. Thereby, the registered search pattern is displayed on the execution plan screen together with the SQL head sentence. For this reason, it is possible to efficiently grasp whether or not another search pattern other than the registered search patterns is included in the SQL sentence having a long execution time and poor performance.

○ 上記実施形態においては、チューニング対象SQL情報と、各SQLの実行計画とを別々に表示した。これに限らず、チューニング対象SQL情報と、SQLの実行計画とを同じ画面に含めてもよい。例えば、チューニング対象SQL文が少ない場合(例えば1又は2つの場合)には、チューニング対象SQL情報を容易に把握することができる。具体的には、未確認のチューニング対象のSQLが1又は2であった場合、制御部21は、これに関連する実行計画データを、アドレス及びハッシュ値に基づいて実行計画データ記憶部24から抽出する。そして、制御部21は、チューニング対象SQL画面データを生成する代わりに、チューニング対象SQL画面において表示したSQL先頭文及び実行時間と、抽出した実行計画データとを含むチェック実行計画画面データを生成して、作業者端末10に送信する。   In the above embodiment, the tuning target SQL information and the execution plan of each SQL are displayed separately. Not limited to this, the tuning target SQL information and the SQL execution plan may be included in the same screen. For example, when there are few tuning target SQL sentences (for example, one or two), the tuning target SQL information can be easily grasped. Specifically, when the unconfirmed SQL to be tuned is 1 or 2, the control unit 21 extracts execution plan data related thereto from the execution plan data storage unit 24 based on the address and the hash value. . Then, instead of generating the tuning target SQL screen data, the control unit 21 generates check execution plan screen data including the SQL head sentence and execution time displayed on the tuning target SQL screen, and the extracted execution plan data. To the worker terminal 10.

実施形態におけるシステムの概略図。1 is a schematic diagram of a system in an embodiment. チェック処理の処理手順を説明するための流れ図。The flowchart for demonstrating the process sequence of a check process. 学習処理の処理手順を説明するための流れ図。The flowchart for demonstrating the process sequence of a learning process.

符号の説明Explanation of symbols

10…作業者端末、20…処理サーバ、21…制御部、22…ソースデータ記憶部、23…SQL関連データ記憶部、24…実行計画データ記憶部、25…学習データ記憶部、30…データベース、211…モジュール実行手段、215…チェック処理手段、216…学習処理手段。   DESCRIPTION OF SYMBOLS 10 ... Worker terminal, 20 ... Processing server, 21 ... Control part, 22 ... Source data storage part, 23 ... SQL related data storage part, 24 ... Execution plan data storage part, 25 ... Learning data storage part, 30 ... Database, 211: Module execution means, 215: Check processing means, 216: Learning processing means

Claims (5)

作業者が用いる作業者端末に接続される制御手段と、
データベースを用いて処理を実行する処理プログラムを記憶するソースデータ記憶手段と、
パフォーマンスに影響を与えるSQL文の記述を検出するための検索パターンが記録されたパターンデータ記憶手段とを備えたコーディングチェック支援システムであって、
前記制御手段が、
前記ソースデータ記憶手段に記録された処理プログラムのコーディングと、前記パターンデータ記憶手段に記録された検索パターンとを比較するマッチング処理を実行するチェック手段と、
前記コーディングにおいて検索パターンを検出した場合には、この検索パターンを含む該当部分を特定する情報と、この該当部分を含む記述を取得するためのコーディング情報取得手段とを含むチェック結果画面データを生成して、前記作業者端末に送信する第1情報提示手段と、
前記作業者端末から、前記コーディング情報取得手段を用いたコーディング情報取得要求を受信した場合、前記該当部分を含むコーディングを前記ソースデータ記憶手段から抽出し、これを含めたコーディング情報画面データを生成して、前記作業者端末に送信する第2情報提示手段とを備えたことを特徴とするコーディングチェック支援システム。
Control means connected to the worker terminal used by the worker;
Source data storage means for storing a processing program for executing processing using a database;
A coding check support system comprising pattern data storage means in which a search pattern for detecting a description of an SQL sentence that affects performance is recorded,
The control means is
Check means for executing a matching process for comparing the coding of the processing program recorded in the source data storage means and the search pattern recorded in the pattern data storage means;
When a search pattern is detected in the coding, check result screen data including information for identifying a corresponding part including the search pattern and coding information acquisition means for acquiring a description including the corresponding part is generated. First information presenting means for transmitting to the worker terminal;
When a coding information acquisition request using the coding information acquisition unit is received from the worker terminal, the coding including the corresponding part is extracted from the source data storage unit, and coding information screen data including this is generated. A coding check support system comprising: second information presenting means for transmitting to the worker terminal.
前記制御手段は、
前記処理プログラムのSQL文を特定する情報に対して、このSQL文の少なくとも一部を含む記述及びSQL文の実行時間が記録されるSQL関連データ記憶手段と、
SQL文を特定する情報に対して、このSQL文の実行計画が記録される実行計画データ記憶手段とに接続されており、
前記制御手段が、
SQL文の実行時間のしきい値を取得する手段と、
前記実行時間が前記しきい値を超過したSQL文を特定する情報をSQL関連データ記憶手段から抽出する手段と、
前記抽出したSQL文を特定する情報に対して記録されている実行計画を前記実行計画データ記憶手段から抽出する手段と、
前記抽出したSQL文と、このSQL文の実行計画とを含む検索パターン候補画面データを生成して、前記作業者端末に送信する候補画面提示手段と、
前記検索パターン候補画面を介して指示された登録指示を前記作業者端末から取得した場合、前記登録指示に含まれる新たな検索パターンを特定する情報から検索パターンを特定して、前記パターンデータ記憶手段に登録する新規登録手段とを更に備えたことを特徴とする請求項1に記載のコーディングチェック支援システム。
The control means includes
SQL-related data storage means for recording a description including at least a part of the SQL statement and an execution time of the SQL statement for information specifying the SQL statement of the processing program;
It is connected to the execution plan data storage means for recording the execution plan of the SQL statement for the information specifying the SQL statement,
The control means is
Means for acquiring a threshold of execution time of the SQL statement;
Means for extracting from the SQL related data storage means information identifying an SQL statement whose execution time has exceeded the threshold;
Means for extracting, from the execution plan data storage means, an execution plan recorded for information identifying the extracted SQL statement;
Candidate screen presenting means for generating search pattern candidate screen data including the extracted SQL sentence and an execution plan of the SQL sentence, and transmitting the search pattern candidate screen data to the worker terminal;
When the registration instruction instructed via the search pattern candidate screen is acquired from the worker terminal, the pattern data storage means identifies a search pattern from information for specifying a new search pattern included in the registration instruction. The coding check support system according to claim 1, further comprising new registration means for registering with the coding check.
前記パターンデータ記憶手段には、前記検索パターンを特定する情報と、この検索パターンがパフォーマンスに影響を与えない場合の確認済条件とを含む確認済データが記憶されており、
前記制御手段が、検索パターンを特定する情報と確認済条件とを含む確認済指示を前記作業者端末から取得した場合、この検索パターンを特定情報と前記確認済条件とを含む確認済データを前記パターンデータ記憶手段に記録する確認済登録手段とを更に備え、
前記チェック手段は、前記確認済条件の処理プログラムのコーディングとのマッチング処理においては、この確認済条件に関連付けられていない検索パターンとの比較を実行することを特徴とする請求項2に記載のコーディングチェック支援システム。
The pattern data storage means stores confirmed data including information for specifying the search pattern and a confirmed condition when the search pattern does not affect performance,
When the control means obtains a confirmed instruction including information for identifying a search pattern and a confirmed condition from the worker terminal, the confirmed data including the specified information and the confirmed condition is stored as the retrieved pattern. And a confirmed registration means for recording in the pattern data storage means,
3. The coding according to claim 2, wherein the checking means performs a comparison with a search pattern not associated with the confirmed condition in a matching process with the coding of the processing program of the confirmed condition. Check support system.
作業者が用いる作業者端末に接続される制御手段と、
データベースを用いて処理を実行する処理プログラムを記憶するソースデータ記憶手段
と、
パフォーマンスに影響を与えるSQL文の記述を検出するための検索パターンが記録されたパターンデータ記憶手段とを備えたシステムを用いたコーディングチェック支援方法であって、
前記制御手段が、
前記ソースデータ記憶手段に記録された処理プログラムのコーディングと、前記パターンデータ記憶手段に記録された検索パターンとを比較するマッチング処理を実行するチェック段階と、
前記コーディングにおいて検索パターンを検出した場合には、この検索パターンを含む該当部分を特定する情報と、この該当部分を含む記述を取得するためのコーディング情報取得手段とを含むチェック結果画面データを生成して、前記作業者端末に送信する第1情報提示段階と、
前記作業者端末から、前記コーディング情報取得手段を用いたコーディング情報取得要求を受信した場合、前記該当部分を含むコーディングを前記ソースデータ記憶手段から抽出し、これを含めたコーディング情報画面データを生成して、前記作業者端末に送信する第2情報提示段階とを実行することを特徴とするコーディングチェック支援方法。
Control means connected to the worker terminal used by the worker;
Source data storage means for storing a processing program for executing processing using a database;
A coding check support method using a system including a pattern data storage unit in which a search pattern for detecting a description of an SQL sentence affecting performance is recorded,
The control means is
A check stage for executing a matching process for comparing the coding of the processing program recorded in the source data storage means and the search pattern recorded in the pattern data storage means;
When a search pattern is detected in the coding, check result screen data including information for identifying a corresponding part including the search pattern and coding information acquisition means for acquiring a description including the corresponding part is generated. A first information presentation step to be transmitted to the worker terminal;
When a coding information acquisition request using the coding information acquisition unit is received from the worker terminal, the coding including the corresponding part is extracted from the source data storage unit, and coding information screen data including this is generated. And a second information presenting step of transmitting to the worker terminal.
作業者が用いる作業者端末に接続される制御手段と、
データベースを用いて処理を実行する処理プログラムを記憶するソースデータ記憶手段と、
パフォーマンスに影響を与えるSQL文の記述を検出するための検索パターンが記録されたパターンデータ記憶手段とを備えたシステムに用いられるコーディングチェック支援プログラムであって、
前記制御手段を、
前記ソースデータ記憶手段に記録された処理プログラムのコーディングと、前記パターンデータ記憶手段に記録された検索パターンとを比較するマッチング処理を実行するチェック手段、
前記コーディングにおいて検索パターンを検出した場合には、この検索パターンを含む該当部分を特定する情報と、この該当部分を含む記述を取得するためのコーディング情報取得手段とを含むチェック結果画面データを生成して、前記作業者端末に送信する第1情報提示手段、及び
前記作業者端末から、前記コーディング情報取得手段を用いたコーディング情報取得要求を受信した場合、前記該当部分を含むコーディングを前記ソースデータ記憶手段から抽出し、これを含めたコーディング情報画面データを生成して、前記作業者端末に送信する第2情報提示手段として機能することを特徴とするコーディングチェック支援プログラム。
Control means connected to the worker terminal used by the worker;
Source data storage means for storing a processing program for executing processing using a database;
A coding check support program for use in a system comprising pattern data storage means in which a search pattern for detecting a description of an SQL sentence that affects performance is recorded,
The control means;
Check means for executing a matching process for comparing the coding of the processing program recorded in the source data storage means and the search pattern recorded in the pattern data storage means;
When a search pattern is detected in the coding, check result screen data including information for identifying a corresponding part including the search pattern and coding information acquisition means for acquiring a description including the corresponding part is generated. First information presenting means for transmitting to the worker terminal, and when receiving a coding information obtaining request using the coding information obtaining means from the worker terminal, coding including the corresponding portion is stored in the source data storage. A coding check support program that functions as a second information presentation unit that extracts from the means, generates coding information screen data including the data, and transmits the coding information screen data to the worker terminal.
JP2008106087A 2008-04-15 2008-04-15 Coding check support system, method, and program Withdrawn JP2009258913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008106087A JP2009258913A (en) 2008-04-15 2008-04-15 Coding check support system, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008106087A JP2009258913A (en) 2008-04-15 2008-04-15 Coding check support system, method, and program

Publications (1)

Publication Number Publication Date
JP2009258913A true JP2009258913A (en) 2009-11-05

Family

ID=41386261

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008106087A Withdrawn JP2009258913A (en) 2008-04-15 2008-04-15 Coding check support system, method, and program

Country Status (1)

Country Link
JP (1) JP2009258913A (en)

Similar Documents

Publication Publication Date Title
US7209815B2 (en) Test procedures using pictures
US20030041098A1 (en) Network-based detection and display of product replacement information
US9910870B2 (en) System and method for creating data models from complex raw log files
CN107785060A (en) Medicine prescription checking method and device
EP3945416B1 (en) Software query information management system and software query information management method
US7289020B2 (en) Method and apparatus for assisted vehicle identification and service
JP6440895B2 (en) Software analysis apparatus and software analysis method
US7624340B2 (en) Key command functionality in an electronic document
US20190163707A1 (en) Off-line electronic documentation solutions
EP3113016A1 (en) Tracing dependencies between development artifacts in a development project
US20150106701A1 (en) Input support method and information processing system
WO2025123744A1 (en) Log sensitive information detection method and system, electronic device, and storage medium
EP1839272A1 (en) Test procedures using pictures
US20140280170A1 (en) Computer-readable storage medium storing a grouping support program, grouping support method and grouping support server
JP4846030B2 (en) Operation verification apparatus, operation verification method, and operation verification program
CN115545008B (en) Spectrogram file analyzing method, device, equipment and storage medium
US12401678B2 (en) Computer system and analysis method for impact of security risk
JP2009258913A (en) Coding check support system, method, and program
CN101882159A (en) Database detecting method of and device thereof
CN106021087A (en) Method and device for detecting code
CN115129746A (en) SQL (structured query language) examination and analysis method, server and SQL examination and analysis system
JP6231846B2 (en) Transmission target output device, transmission target output method, and program
JP2009199172A (en) Information processing system, method for specifying similar parts inside program, and program
JP5534514B2 (en) Information processing apparatus, information processing method, and program
CN116401421B (en) Chip test data query method, system, equipment and medium

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20091109

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20110705