JP2005267193A - Database diagnosis system - Google Patents

Database diagnosis system Download PDF

Info

Publication number
JP2005267193A
JP2005267193A JP2004078075A JP2004078075A JP2005267193A JP 2005267193 A JP2005267193 A JP 2005267193A JP 2004078075 A JP2004078075 A JP 2004078075A JP 2004078075 A JP2004078075 A JP 2004078075A JP 2005267193 A JP2005267193 A JP 2005267193A
Authority
JP
Japan
Prior art keywords
diagnosis
database
information
diagnostic
database server
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.)
Granted
Application number
JP2004078075A
Other languages
Japanese (ja)
Other versions
JP4476655B2 (en
Inventor
Takeshi Wada
剛 和田
Junichi Kameyama
潤一 亀山
Masahiro Kawaguchi
昌宏 川口
Hidehiko Fujimori
秀彦 藤森
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.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing 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 Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2004078075A priority Critical patent/JP4476655B2/en
Publication of JP2005267193A publication Critical patent/JP2005267193A/en
Application granted granted Critical
Publication of JP4476655B2 publication Critical patent/JP4476655B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To diagnose a database in a short and simple operation. <P>SOLUTION: Webpage presenting means 210 present an input page on a Web browser on a terminal device 100 to ask a database administrator to input a DBMS type, an OS type, an administrator username, a password and DB identification information used in a server 10 to be diagnosed. Script storing means 280 prepare diagnostic scripts suited to diagnose specific servers using specific types of DBMSs and OSs respectively. A diagnostic script suited to the server to be diagnosed is selected correspondingly, and executed by diagnosis executing means 220. When diagnosis result receiving means 230 receive diagnosis results, webpage presenting means 240 present them as a webpage on the screen of the terminal device 100. The diagnosis results are stored as XML data in diagnosis result storing means 290. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、データベース診断システムに関し、特に、ネットワークを介してオンラインで診断を行うことが可能なデータベース診断システムに関する。   The present invention relates to a database diagnosis system, and more particularly to a database diagnosis system that can perform diagnosis online via a network.

コンピュータを利用して様々なビジネスデータを処理する装置として、データベースシステムが広く普及している。データベースシステムは、通常、ネットワーク上にデータベースサーバを設置し、多数のクライアントコンピュータから、このデータベースサーバをアクセスする形態によって構築される。したがって、データベースとして取り扱うべきデータ量が増えれば増えるほど、また、ネットワークを介して接続するクライアントコンピュータの台数が増えれば増えるほど、データベースサーバの負担も大きくなる。   Database systems are widely used as devices that process various business data using a computer. A database system is usually constructed by installing a database server on a network and accessing the database server from a large number of client computers. Therefore, as the amount of data to be handled as a database increases, the burden on the database server increases as the number of client computers connected via the network increases.

近年では、インターネットが、社会的な基幹システムとして機能するようになってきており、インターネット経由で多数のクライアントコンピュータからのアクセスを同時に受け付ける必要があるデータベースサーバも少なくない。このようなサーバが、万一、高負荷によってダウンするような事態が生じると、社会的な影響も無視できなくなる。このような背景事情から、データベースサーバの性能を客観的に計測することは重要であり、データベース診断システムを用いて、定期的にデータベースサーバの性能を計測して診断することが行われている。   In recent years, the Internet has come to function as a social backbone system, and there are many database servers that need to simultaneously accept access from a large number of client computers via the Internet. In the unlikely event that such a server goes down due to a high load, the social impact cannot be ignored. Under such circumstances, it is important to objectively measure the performance of the database server, and the database server performance is regularly measured and diagnosed using a database diagnosis system.

サーバ性能を計測する一般的な手法は、サーバに対して種々の処理要求を与え、その処理に対するサーバの応答速度やスループットを計測する方法によって行われる。たとえば、下記特許文献1には、サーバに処理要求を送信した時刻と、この処理要求に対する応答データの受信時刻との差から、応答時間を算出し、サーバの性能を計測する手法が開示されている。また、下記特許文献2には、待ち時間を発生させない状況下での同時処理数とスループットと応答時間との関係をエミュレーション評価することにより、サーバの性能を計測する手法が開示されている。   A general method for measuring server performance is performed by a method of giving various processing requests to a server and measuring the response speed and throughput of the server for the processing. For example, the following Patent Document 1 discloses a method for measuring a server performance by calculating a response time from a difference between a time when a processing request is transmitted to the server and a reception time of response data for the processing request. Yes. Patent Document 2 below discloses a technique for measuring the performance of a server by performing emulation evaluation of the relationship between the number of simultaneous processes, throughput, and response time in a situation where no waiting time is generated.

一般的なデータベースサーバの場合、通常、SQL(Structured Query Language)文として記述された所定の診断用スクリプトを与え、それに対する処理結果を受け取る作業によって診断が行われる。SQLは、ISOにより標準規格となっているデータベース照会言語であり、現在市販されている多くのデータベースサーバが対応している。
特開平10−143401号公報 特許第2923874号公報
In the case of a general database server, diagnosis is usually performed by giving a predetermined diagnosis script described as an SQL (Structured Query Language) statement and receiving a processing result corresponding thereto. SQL is a database query language that has become a standard by ISO, and many database servers currently available on the market support it.
JP-A-10-143401 Japanese Patent No. 2923874

上述したように、データベースサーバに対する診断は、通常、SQLで記述された診断用スクリプトを与えることにより実行されるが、SQLには各社独自の拡張規格による方言が存在する。このため、個々のデータベースサーバが採用しているDBMS(DataBase Management System:データベース管理システム)の種類や、サーバの基幹となるOSの種類によって、それぞれ異なるSQL文を用意しなければならない。   As described above, the diagnosis for the database server is usually executed by providing a diagnosis script written in SQL, but there is a dialect based on an extension standard unique to each company. For this reason, different SQL statements must be prepared depending on the type of DBMS (DataBase Management System) employed by each database server and the type of OS that is the backbone of the server.

このため、従来は、診断を請け負う診断業者が、データベースサーバの管理者と事前に打ち合わせをして、DBMSの種類など、診断に必要な種々の情報を聞き出し、これらの情報に基づいて、当該データベースサーバに対する診断用スクリプトを作成する必要があった。こうして、診断用スクリプトが準備できたら、これをデータベースサーバに与えて実行し、実行結果を採取し、これを所定の診断結果の形式に加工して、データベースサーバの管理者に提示する、という手順を踏むことになる。このような従来の手順により診断を行うと、最終的に診断結果が得られるまで、数日〜数週間の長い期間が必要になり、また、診断業者の作業負担も大きなものになる。   For this reason, conventionally, a diagnosis contractor who undertakes diagnosis consults with the database server administrator in advance, asks various information necessary for diagnosis such as the type of DBMS, and based on these information, the database It was necessary to create a diagnostic script for the server. Thus, when the diagnostic script is prepared, it is given to the database server and executed, the execution result is collected, processed into a predetermined diagnostic result format, and presented to the database server administrator. Will be stepped on. When diagnosis is performed according to such a conventional procedure, a long period of several days to several weeks is required until a diagnosis result is finally obtained, and the work load of the diagnosis contractor increases.

そこで本発明は、より短期間に、かつ、より簡便な作業により、データベースサーバに対する診断を行うことが可能なデータベース診断システムを提供することを目的とする。   Therefore, an object of the present invention is to provide a database diagnosis system that can perform a diagnosis on a database server in a shorter period of time and with a simpler work.

(1) 本発明の第1の態様は、診断対象となるデータベースサーバに対して、診断用スクリプトを与え、これを実行させることにより、当該データベースサーバについての性能の診断を行うデータベース診断システムを、ネットワークを介して診断対象となるデータベースサーバに接続可能なシステム本体と、ネットワークを介してシステム本体に接続可能な端末装置と、によって構成し、
端末装置を、Webブラウザプログラムが組み込まれたコンピュータから構成し、このWebブラウザプログラムを利用して、診断に必要な情報の入力作業と診断結果の表示処理とが行われるようにし、
システム本体には、
端末装置に対して、診断に必要な情報入力を行うための入力用Webページを提示する入力用Webページ提示手段と、
入力用Webページ上での端末装置のオペレータによる操作に基づいて、診断対象となるデータベースサーバに用いられているDBMSの種類、診断対象となるデータベースサーバに用いられているOSの種類、診断対象となるデータベースサーバについての管理ユーザ名およびパスワード、診断対象となるデータベースサーバを特定するためのDB識別情報、を診断対象指定情報として入力する診断対象指定情報入力手段と、
特定の種類のDBMSおよび特定の種類のOSが用いられている特定のデータベースサーバに対する診断を行うのに適した診断用スクリプトを、複数種類のDBMSおよび複数種類のOSの組み合わせごとに、それぞれ記憶させたスクリプト記憶手段と、
診断対象指定情報に含まれているDBMSの種類およびOSの種類に基づいて、当該DBMSおよびOSの組み合わせに対応した特定の診断用スクリプトを選択するスクリプト選択手段と、
選択された診断用スクリプトを、診断対象指定情報に含まれている管理ユーザ名およびパスワードとともに、診断対象指定情報に含まれているDB識別情報によって特定される診断対象となるデータベースサーバに与え、これを実行させる診断実行手段と、
診断対象となるデータベースサーバから、診断用スクリプトの実行結果を示す診断結果情報を受け取る診断結果受信手段と、
受け取った診断結果情報を、端末装置に対して、結果表示Webページとして提示する結果表示用Webページ提示手段と、
を設けるようにしたものである。
(1) According to a first aspect of the present invention, there is provided a database diagnosis system for diagnosing performance of a database server by giving a diagnosis script to the database server to be diagnosed and executing the script. A system main body connectable to a database server to be diagnosed via a network, and a terminal device connectable to the system main body via a network,
The terminal device is composed of a computer in which a web browser program is incorporated, and the web browser program is used to input information necessary for diagnosis and display processing of diagnostic results.
In the system body,
An input web page presenting means for presenting an input web page for inputting information necessary for diagnosis to the terminal device;
Based on the operation of the terminal device operator on the input Web page, the type of DBMS used for the database server to be diagnosed, the type of OS used for the database server to be diagnosed, and the diagnosis target A diagnosis target designation information input means for inputting, as diagnosis target designation information, a management user name and password for the database server to be specified, DB identification information for specifying the database server to be diagnosed,
Diagnostic scripts suitable for diagnosing a specific type of DBMS and a specific database server using a specific type of OS are stored for each combination of a plurality of types of DBMS and a plurality of types of OS. Script storage means,
Script selection means for selecting a specific diagnosis script corresponding to the combination of the DBMS and the OS based on the type of DBMS and the type of OS included in the diagnosis target designation information;
The selected diagnosis script is given to the database server to be diagnosed specified by the DB identification information included in the diagnosis target designation information together with the management user name and password included in the diagnosis target designation information. Diagnostic execution means for executing
A diagnostic result receiving means for receiving diagnostic result information indicating an execution result of the diagnostic script from the database server to be diagnosed;
A result display web page presenting means for presenting the received diagnosis result information as a result display web page to the terminal device;
Is provided.

(2) 本発明の第2の態様は、上述の第1の態様に係るデータベース診断システムにおいて、
受け取った診断結果情報を、予め定められた所定のフォーマットで記述されたデータに変換するフォーマット変換手段と、
変換されたデータを格納する診断結果格納手段と、
を更に設けるようにしたものである。
(2) According to a second aspect of the present invention, in the database diagnosis system according to the first aspect described above,
Format conversion means for converting the received diagnosis result information into data described in a predetermined format;
Diagnostic result storage means for storing the converted data;
Is further provided.

(3) 本発明の第3の態様は、上述の第2の態様に係るデータベース診断システムにおいて、
フォーマット変換手段が、テキストデータ形式で受け取った診断結果情報を、XML形式で記述されたデータに変換する機能を有するようにしたものである。
(3) According to a third aspect of the present invention, in the database diagnosis system according to the second aspect described above,
The format conversion means has a function of converting the diagnosis result information received in the text data format into data described in the XML format.

(4) 本発明の第4の態様は、上述の第2または第3の態様に係るデータベース診断システムにおいて、
フォーマット変換手段が、受け取った診断結果情報に、診断対象となったデータベースサーバについてのDBMSの種類を示す情報、OSの種類を示す情報およびDB識別情報を書誌情報として付加する機能を有し、
診断結果格納手段が、この書誌情報を付加した状態の診断結果情報を格納する機能を有すようにしたものである。
(4) According to a fourth aspect of the present invention, in the database diagnosis system according to the second or third aspect described above,
The format conversion means has a function of adding information indicating the type of DBMS, information indicating the type of OS, and DB identification information as bibliographic information to the received diagnosis result information, for the database server to be diagnosed,
The diagnostic result storage means has a function of storing diagnostic result information with the bibliographic information added.

(5) 本発明の第5の態様は、上述の第1〜第4の態様に係るデータベース診断システムにおいて、
DBMS名およびそのバージョンによって、DBMSの種類を特定するようにしたものである。
(5) According to a fifth aspect of the present invention, in the database diagnosis system according to the first to fourth aspects described above,
The DBMS type is specified by the DBMS name and its version.

(6) 本発明の第6の態様は、上述の第1〜第5の態様に係るデータベース診断システムにおいて、
診断対象となるデータベースサーバのIPアドレスおよび診断対象となるデータベースの名称によってDB特定情報を構成するようにしたものである。
(6) According to a sixth aspect of the present invention, in the database diagnosis system according to the first to fifth aspects described above,
The DB specifying information is configured by the IP address of the database server to be diagnosed and the name of the database to be diagnosed.

(7) 本発明の第7の態様は、上述の第1〜第6の態様に係るデータベース診断システムにおいて、
結果表示用Webページ提示手段が、Webページ上での表示書式を示すスタイルシートに基づいて、診断結果情報をHTML形式に変換する機能を有するようにしたものである。
(7) According to a seventh aspect of the present invention, in the database diagnosis system according to the first to sixth aspects described above,
The result display Web page presenting means has a function of converting diagnosis result information into an HTML format based on a style sheet indicating a display format on the Web page.

(8) 本発明の第8の態様は、上述の第1〜第7の態様に係るデータベース診断システムを構成するシステム本体を独立して提供できるようにしたものである。   (8) According to an eighth aspect of the present invention, a system main body constituting the database diagnosis system according to the first to seventh aspects described above can be independently provided.

(9) 本発明の第9の態様は、上述の第1〜第7の態様に係るデータベース診断システムを構成するシステム本体として、コンピュータを機能させるためのプログラムを用意し、このプログラムをコンピュータ読み取り可能な記録媒体に記録して配付できるようにしたものである。   (9) According to a ninth aspect of the present invention, a program for causing a computer to function is prepared as a system main body constituting the database diagnosis system according to the first to seventh aspects described above, and the program can be read by the computer It can be recorded and distributed on a simple recording medium.

以上のとおり、本発明に係るデータベース診断システムによれば、診断を実行するオペレータが、端末装置上に表示されたWebページに対して必要な情報を入力する作業を行うだけで、データベースサーバに対する診断が自動的に実行され、その結果が直ちにWebページ上で表示されることになるので、短期間に、かつ、簡便な作業により、データベースサーバに対する診断を行うことが可能になる。   As described above, according to the database diagnosis system of the present invention, the operator who executes the diagnosis performs the diagnosis for the database server only by inputting the necessary information on the Web page displayed on the terminal device. Is automatically executed, and the result is immediately displayed on the Web page, so that the database server can be diagnosed in a short time and with simple work.

以下、本発明を図示する実施形態に基づいて説明する。図1は、本発明の一実施形態に係るデータベース診断システムの基本構成を示すブロック図である。このデータベース診断システムは、データベースサーバ10,20に対する診断を行う機能をもったシステムであり、端末装置100とシステム本体200とによって構成されている。図示のとおり、データベースサーバ10,20、端末装置100、システム本体200は、いずれもネットワーク300に接続されており、必要があれば、相互にネットワーク300経由でアクセスすることができる。ネットワーク300としては、社内LANなどのローカルなネットワークを用いることも可能であるが、この実施形態では、インターネットをネットワーク300として用いている。   Hereinafter, the present invention will be described based on the illustrated embodiments. FIG. 1 is a block diagram showing a basic configuration of a database diagnosis system according to an embodiment of the present invention. This database diagnosis system is a system having a function of diagnosing the database servers 10 and 20, and includes a terminal device 100 and a system main body 200. As shown in the figure, the database servers 10 and 20, the terminal device 100, and the system main body 200 are all connected to the network 300, and can access each other via the network 300 if necessary. Although a local network such as an in-house LAN can be used as the network 300, the Internet is used as the network 300 in this embodiment.

なお、ここでは、図示の便宜上、1台の端末装置100と、2台のデータベースサーバ10,20がネットワーク300に接続されている状態が示されているが、実用上は、より多数の端末装置やデータベースサーバをネットワーク300に接続した環境で本発明を実施するのが一般的である。特に、ネットワーク300としてインターネットを用いた場合、インターネットに接続された任意のデータベースサーバを、診断対象サーバとすることができ、また、インターネットに接続された任意の端末装置を、本発明に係るデータベース診断システム用の端末装置として用いることができる。   Here, for convenience of illustration, a state in which one terminal device 100 and two database servers 10 and 20 are connected to the network 300 is shown, but in practice, a larger number of terminal devices. In general, the present invention is implemented in an environment in which a database server is connected to the network 300. In particular, when the Internet is used as the network 300, any database server connected to the Internet can be a diagnosis target server, and any terminal device connected to the Internet can be used as the database diagnosis according to the present invention. It can be used as a terminal device for the system.

本発明に係るデータベース診断システムは、端末装置100とシステム本体200との組み合わせによって構成され、診断対象となるデータベースサーバ10,20に対して、診断用スクリプトを与え、これを実行させることにより、当該データベースサーバについての性能の診断を行う機能を有している。ここで、システム本体200は、ネットワーク300を介して診断対象となるデータベースサーバ10,20に接続可能な状態になっており、端末装置100は、ネットワーク300を介してシステム本体200に接続可能な状態になっている。   The database diagnosis system according to the present invention is configured by a combination of the terminal device 100 and the system main body 200. By giving a diagnosis script to the database servers 10 and 20 to be diagnosed and executing the script, It has a function to diagnose performance of the database server. Here, the system main body 200 is in a state in which it can be connected to the database servers 10 and 20 to be diagnosed via the network 300, and the terminal device 100 is in a state in which it can be connected to the system main body 200 via the network 300. It has become.

本発明に用いる端末装置100は、Webブラウザプログラムが組み込まれたコンピュータからなり、このWebブラウザプログラムを利用して、診断に必要な情報の入力作業と診断結果の表示処理とが行われる。現在市販されている多くの汎用パソコンには、インターネットに接続するための環境として、Webブラウザプログラムが組み込まれている。したがって、実用上は、端末装置100としては、Webブラウザプログラムが組み込まれたパソコンを用いれば十分である。もっとも、端末装置100は、必ずしもパソコンによって構成する必要はなく、Webブラウザプログラムが組み込まれたコンピュータとして機能する装置であれば、携帯電話やPDA機器などであってもかまわない。ただ、後述するように、オペレータは、この端末装置100から、診断に必要な情報の入力作業を行う必要があるため、実用上は、入力作業が容易なパソコンを用いるのが好ましい。   The terminal device 100 used in the present invention is composed of a computer in which a Web browser program is incorporated. By using this Web browser program, input work of information necessary for diagnosis and display processing of diagnosis results are performed. Many general-purpose personal computers currently on the market incorporate a Web browser program as an environment for connecting to the Internet. Therefore, in practice, it is sufficient to use a personal computer in which a Web browser program is incorporated as the terminal device 100. However, the terminal device 100 is not necessarily configured by a personal computer, and may be a mobile phone or a PDA device as long as the device functions as a computer in which a Web browser program is incorporated. However, as will be described later, since the operator needs to input information necessary for diagnosis from the terminal device 100, it is preferable in practice to use a personal computer that allows easy input.

一方、システム本体200は、本発明に係るデータベース診断システムの主要部をなす構成要素であり、図示のとおり、入力用Webページ提示手段210、診断実行手段220、診断結果受信手段230、結果表示用Webページ提示手段240、診断対象指定情報入力手段250、スクリプト選択手段260、フォーマット変換手段270、スクリプト記憶手段280、診断結果格納手段290なる各手段から構成されている。以下、これら各手段の機能を順に説明する。   On the other hand, the system main body 200 is a component constituting the main part of the database diagnosis system according to the present invention. As shown in the figure, the input Web page presentation means 210, the diagnosis execution means 220, the diagnosis result receiving means 230, and the result display The web page presentation unit 240, the diagnosis target designation information input unit 250, the script selection unit 260, the format conversion unit 270, the script storage unit 280, and the diagnosis result storage unit 290 are included. Hereinafter, the functions of these means will be described in order.

まず、入力用Webページ提示手段210は、ネットワーク300を介して、端末装置100に対し、診断に必要な情報入力を行うための入力用Webページを提示する機能を有している。実際には、入力用Webページは、HTMLデータとして端末装置100へと送信されることになるので、入力用Webページ提示手段210は、入力用Webページを表示させるためのHTMLデータを配信するWebサーバによって構成されることになる。   First, the input Web page presentation unit 210 has a function of presenting an input Web page for inputting information necessary for diagnosis to the terminal device 100 via the network 300. Actually, since the input Web page is transmitted to the terminal device 100 as HTML data, the input Web page presenting means 210 distributes HTML data for displaying the input Web page. It will be configured by the server.

一方、診断対象指定情報入力手段250は、端末装置100のオペレータによる、入力用Webページ上での操作に基づいて、診断対象となるデータベースサーバに対する診断を行うのに必要な診断対象指定情報を入力する機能をもった構成要素である。診断対象指定情報の具体的な内容については後述する。結局、診断対象指定情報入力手段250は、Webサーバとして機能する入力用Webページ提示手段210と連携して、端末装置100から入力された診断対象指定情報を取り込む処理を行うことになる。このように、Webページ上で入力された情報をデータとして取り込み、Webページ上に表示させる仕組みは、CGI(Common Gateway Interface)などの公知の技術を利用して実現することが可能であるため、ここでは詳しい説明は省略する。   On the other hand, the diagnosis target designation information input unit 250 inputs diagnosis target designation information necessary for performing a diagnosis on the database server to be diagnosed based on an operation on the input Web page by the operator of the terminal device 100. It is a component with the function to do. Specific contents of the diagnosis target designation information will be described later. Eventually, the diagnosis target designation information input unit 250 performs a process of fetching the diagnosis target designation information input from the terminal device 100 in cooperation with the input Web page presentation unit 210 functioning as a Web server. As described above, a mechanism for capturing information input on a Web page as data and displaying it on the Web page can be realized using a known technique such as CGI (Common Gateway Interface). Detailed description is omitted here.

スクリプト記憶手段280は、特定の種類のDBMSおよび特定の種類のOSが用いられている特定のデータベースサーバに対する診断を行うのに適した診断用スクリプトを、複数種類のDBMSおよび複数種類のOSの組み合わせごとに、それぞれ記憶させた構成要素である。既に述べたとおり、データベースサーバに対する診断は、通常、SQLで記述された診断用スクリプトを与えることにより実行されるが、SQLには各社独自の拡張規格による方言が存在するため、個々のデータベースサーバが採用しているDBMS(DataBase Management System:データベース管理システム)の種類や、サーバの基幹となるOSの種類によって、それぞれ異なるSQL文を用意しなければならない。本発明の主眼は、複数種類のDBMSおよび複数種類のOSの組み合わせごとに、それぞれ診断用スクリプトを予め用意しておき、実際に診断を行う際には、診断対象となるデータベースサーバが採用しているDBMSおよびOSの組み合わせに対応する診断用スクリプトを選択して利用する点にある。   The script storage unit 280 is a combination of a plurality of types of DBMSs and a plurality of types of OSs, which is a diagnostic script suitable for diagnosing a specific database server using a specific type of DBMS and a specific type of OS. Each component is a stored component. As already described, diagnosis for a database server is usually executed by providing a diagnosis script written in SQL. Since there is a dialect according to each company's extension standard in SQL, each database server Different SQL statements must be prepared depending on the type of DBMS (DataBase Management System) and the type of OS that is the backbone of the server. The main point of the present invention is that a diagnosis script is prepared in advance for each combination of a plurality of types of DBMSs and a plurality of types of OSs, and a database server to be diagnosed adopts when actually performing a diagnosis. The diagnostic script corresponding to the combination of DBMS and OS is selected and used.

図2は、複数種類のDBMSおよび複数種類のOSの組み合わせの一覧表である。ここでは、便宜上、ある特定種類のDBMSと、ある特定種類のOSとの組み合わせを、「カテゴリ」と呼ぶことにする。図2には、合計10個のカテゴリが定義されており、個々のカテゴリには、C111〜C120までのカテゴリID(個々のカテゴリを相互に区別するためのユニークな識別子)が付されている。現在、主なDBMSとしては、日本オラクル社のOracle(登録商標)、マイクロソフト社のSQL Server(登録商標)、サイベース社のAdaptive Server(登録商標)などが利用されており、これらDBMSを動作させるサーバ用OSとしては、UNIX(登録商標)、Windows(登録商標)NT/2000、NetWare(登録商標)などが利用されている。ただ、ここでは、説明の便宜上、図示のとおり、「XXX」,「YYY」,「ZZZ」なる3通りのDBMSと、「OS−A」,「OS−B」,「OS−C」なる3通りのOSと、が主に利用されているケースについて、以下の説明を行うことにする。   FIG. 2 is a list of combinations of a plurality of types of DBMSs and a plurality of types of OSs. Here, for convenience, a combination of a specific type of DBMS and a specific type of OS is referred to as a “category”. In FIG. 2, a total of 10 categories are defined, and category IDs C111 to C120 (unique identifiers for distinguishing each category from each other) are assigned to each category. Currently, Oracle's Oracle (registered trademark), Microsoft's SQL Server (registered trademark), Sybase's Adaptive Server (registered trademark), etc. are used as the main DBMS. Servers that run these DBMSs As the operating system, UNIX (registered trademark), Windows (registered trademark) NT / 2000, NetWare (registered trademark), and the like are used. However, here, for convenience of explanation, as shown in the figure, three DBMSs “XXX”, “YYY”, “ZZZ”, and 3 “OS-A”, “OS-B”, “OS-C”. The following explanation will be given for a case where a street OS is mainly used.

たとえば、図2において、カテゴリID「C111」で特定されるカテゴリは、「XXXなる名称のDBMSのバージョン1.0」という特定種類のDBMSと、「OS−A」という特定種類のOSと、の組み合わせを示している。この実施形態では、図示のとおり、DBMSの種類は、DBMS名およびそのバージョンによって特定されることになるので、たとえば、カテゴリC111とC112とは、いずれも「XXX」なる同一名称のDBMSについてのものであるが、バージョンが異なるため、DBMSの種類としては相互に異なる分類になる。   For example, in FIG. 2, the category identified by the category ID “C111” includes a specific type of DBMS “DBMS version 1.0 named XXX” and a specific type of OS “OS-A”. Shows the combination. In this embodiment, as shown in the figure, the type of DBMS is specified by the DBMS name and its version. For example, the categories C111 and C112 are all related to the DBMS having the same name “XXX”. However, since the versions are different, the types of DBMS are different from each other.

また、DBMS名およびそのバージョンが同一でも、OSの種類が異なれば、異なるカテゴリに分類されることになる。たとえば、カテゴリC119とC120とは、いずれも「ZZZ」なる同一名称、「6.5」なる同一バージョンのDBMSについてのものであるが(別言すれば、DBMSの種類が完全同一であるが)、OSの種類が、一方は「OS−B」であるのに他方は「OS−C」と異なっているため、異なるカテゴリに分類されている。   Even if the DBMS name and its version are the same, if the OS type is different, it is classified into different categories. For example, the categories C119 and C120 are both related to the DBMS having the same name “ZZZ” and the same version “6.5” (in other words, the types of DBMS are completely the same). The OS type is classified into different categories because one is “OS-B” and the other is different from “OS-C”.

もちろん、このカテゴリの定義は、数学的に可能な全通りの組み合わせについて行う必要はなく、現実には存在しない組み合わせについて定義する必要はない。たとえば、「ZZZ」なるDBMSは、必ず「OS−B」または「OS−C」の環境下で利用され、「OS−A」の環境下で利用されることは決してない、という場合には、「ZZZ」なるDBMSと「OS−A」なるOSとの組み合わせに関するカテゴリは定義する必要はない。逆に、新たなDBMSが発表されたり、新たなバージョンのDBMSがリリースされたりした場合には、逐次、新たなカテゴリの定義を追加してゆくことになる。   Of course, this category need not be defined for all combinations that are mathematically possible, and need not be defined for combinations that do not actually exist. For example, a DBMS “ZZZ” is always used in an environment of “OS-B” or “OS-C”, and never used in an environment of “OS-A”. It is not necessary to define a category related to the combination of the DBMS “ZZZ” and the OS “OS-A”. Conversely, when a new DBMS is announced or a new version of the DBMS is released, new category definitions are sequentially added.

なお、図示の実施形態の場合、OSの種類については、バージョンによる区別を行っていないが、これは、現在一般的に利用されているデータベースサーバの場合、DBMS名およびそのバージョンと、OS名とが同一であれば、OSのバージョンが変っても、同じ診断用スクリプトを利用することができるためである。もちろん、必要があれば、OSの種類を、OS名およびそのバージョンによって特定するようにしてもかまわない。   In the illustrated embodiment, the type of OS is not distinguished by version. However, in the case of a database server that is currently generally used, this is because the DBMS name and its version, the OS name, This is because the same diagnostic script can be used even if the OS version changes. Of course, if necessary, the OS type may be specified by the OS name and its version.

本発明に係るデータベース診断システムを構築するためには、図2の表により定義された各カテゴリごとに、それぞれ診断用スクリプトをデータファイルとして用意しておく必要がある。図2の表の右端欄に示した診断用スクリプトファイル名は、このようにして用意された診断用スクリプトのファイル名を示すものである。データベースサーバに対する診断を行うための診断用スクリプトファイルは、通常、SQL(Structured Query Language)文を羅列したデータにより構成される。   In order to construct the database diagnosis system according to the present invention, it is necessary to prepare a diagnosis script as a data file for each category defined by the table of FIG. The diagnostic script file name shown in the rightmost column of the table of FIG. 2 indicates the file name of the diagnostic script prepared in this way. A diagnosis script file for diagnosing a database server is usually composed of data in which SQL (Structured Query Language) statements are listed.

図3は、図2に示すカテゴリC111に対応して用意された診断用スクリプトファイルS111の内容を示す模式図である。図示のとおり、このファイルS111は、第1のSQL文〜第NのSQL文まで、合計N個のSQL文を羅列したファイルになっている。これらのSQL文は、カテゴリC111に対応するデータベースサーバの診断に適した診断用スクリプトを構成している。別言すれば、図2の表のカテゴリC111の欄に表示されているとおり、「XXXなる名称のDBMSのバージョン1.0」という特定種類のDBMSが、「OS−A」という特定種類のOSの環境下で動作する特定のデータベースサーバの診断を行うのに適した合計N個のSQL文を羅列したファイルが、診断用スクリプトファイルS111である。   FIG. 3 is a schematic diagram showing the contents of the diagnostic script file S111 prepared corresponding to the category C111 shown in FIG. As shown in the figure, this file S111 is a file in which a total of N SQL sentences are enumerated from the first SQL sentence to the Nth SQL sentence. These SQL statements constitute a diagnosis script suitable for diagnosis of the database server corresponding to category C111. In other words, as indicated in the column of category C111 in the table of FIG. 2, a specific type of DBMS “version 1.0 of DBMS named XXX” is changed to a specific type of OS “OS-A”. A file including a total of N SQL statements suitable for diagnosing a specific database server operating in the environment is a diagnostic script file S111.

ここに示す実施形態では、図2に示すように、合計10個のカテゴリC111〜C120が定義されているので、これら各カテゴリに対応して、合計10個の診断用スクリプトファイルS111〜S120を用意しておく必要がある。こうして用意された10個の診断用スクリプトファイルS111〜S120は、図1に示すスクリプト記憶手段280内に格納されることになる。10個の診断用スクリプトファイルS111〜S120は、特定のカテゴリに属する特定のデータベースサーバに対する診断を行うのに適したSQL文を羅列したファイルであるため、最初に各診断用スクリプトファイルS111〜S120を作成する作業には、大きな労力が必要になるが、一旦、作成作業が完了してしまえば、スクリプト記憶手段280に格納することにより、必要に応じて繰り返し利用することが可能になる。   In the embodiment shown here, a total of 10 categories C111 to C120 are defined as shown in FIG. 2, and thus a total of 10 diagnostic script files S111 to S120 are prepared corresponding to these categories. It is necessary to keep it. The ten diagnostic script files S111 to S120 prepared in this way are stored in the script storage means 280 shown in FIG. The ten diagnostic script files S111 to S120 are files in which SQL statements suitable for performing diagnosis on a specific database server belonging to a specific category are listed. The work to create requires a great amount of labor, but once the creation work is completed, it can be repeatedly used as necessary by storing it in the script storage means 280.

以上、図1に示すデータベース診断システムにおけるスクリプト記憶手段280に格納される複数通り(ここで述べる実施形態では、10通り)の診断用スクリプトの内容について説明を行った。前述したとおり、診断対象指定情報入力手段250は、端末装置100のオペレータによる操作に基づいて、診断対象指定情報を入力する機能を有しているが、ここで入力される診断対象指定情報の役割のひとつは、スクリプト記憶手段280内に格納されている複数通りの診断用スクリプトから、診断対象に適したスクリプトを選択する基準を提供することにある。   The contents of a plurality of (10 in the embodiment described here) diagnosis scripts stored in the script storage unit 280 in the database diagnosis system shown in FIG. 1 have been described above. As described above, the diagnostic target designation information input unit 250 has a function of inputting diagnostic target designation information based on an operation by the operator of the terminal device 100. The role of the diagnostic target designation information input here is as follows. One of them is to provide a reference for selecting a script suitable for a diagnosis target from a plurality of types of diagnosis scripts stored in the script storage unit 280.

本発明において、診断対象指定情報入力手段250によって入力される診断対象指定情報は、図4に示すとおり、大別して4つの情報から構成される。第1の情報は、診断対象となるデータベースサーバに用いられているDBMSの種類を示す情報であり、ここに示す実施形態の場合、「XXX」、「YYY」または「ZZZ」というDBMS名およびそのバージョンを示す情報ということになる。第2の情報は、診断対象となるデータベースサーバに用いられているOSの種類を示す情報であり、ここに示す実施形態の場合、「OS−A」、「OS−B」または「OS−C」のいずれかを示す情報ということになる。そして、第3の情報は、診断対象となるデータベースサーバについての管理ユーザ名およびパスワードであり、診断対象となるデータベースサーバに対して、診断用スクリプトを実行させる際に必要になる。また、第4の情報は、診断対象となるデータベースサーバを特定するためのDB識別情報である。ここに示す実施形態の場合、第4の情報となるDB特定情報としては、診断対象となるデータベースサーバのIPアドレスおよび診断対象となるデータベースの名称(より具体的には、インスタンス名とデータベース名)を用いるようにしている。   In the present invention, the diagnosis target designation information input by the diagnosis target designation information input means 250 is roughly divided into four pieces of information as shown in FIG. The first information is information indicating the type of DBMS used in the database server to be diagnosed. In the embodiment shown here, the DBMS name “XXX”, “YYY” or “ZZZ” and its This is information indicating the version. The second information is information indicating the type of OS used in the database server to be diagnosed. In the embodiment shown here, “OS-A”, “OS-B”, or “OS-C”. It will be information indicating any of "." The third information is the management user name and password for the database server to be diagnosed, and is required when the diagnosis script is executed on the database server to be diagnosed. The fourth information is DB identification information for specifying a database server to be diagnosed. In the case of the embodiment shown here, the DB specifying information as the fourth information includes the IP address of the database server to be diagnosed and the name of the database to be diagnosed (more specifically, the instance name and database name). Is used.

このように、診断対象指定情報入力手段250は、図4に示す4つの情報を、診断対象指定情報として入力する機能を有しているが、既に述べたとおり、これら各情報の実際の入力作業は、端末装置100に表示されたWebページ上で行われることになる。したがって、入力用Webページ提示手段210によって提示される入力用Webページには、図4に示す4つの情報を入力するのに適した入力欄を設けておくようにする。端末装置100のオペレータは、この入力欄に、キーボードやマウスを操作して、所定の情報を入力する作業を行うことができる。   As described above, the diagnostic target designation information input unit 250 has a function of inputting the four pieces of information shown in FIG. 4 as diagnostic target designation information. Is performed on the Web page displayed on the terminal device 100. Therefore, the input Web page presented by the input Web page presenting means 210 is provided with an input field suitable for inputting the four pieces of information shown in FIG. The operator of the terminal device 100 can perform an operation of inputting predetermined information in this input field by operating a keyboard and a mouse.

図4に示す4つの情報は、いずれも、特定のデータベースサーバに対する診断を行う際に不可欠の情報であり、従来は、診断対象となるデータベースサーバの管理者から、診断を請け負う業者に対して、口頭や書面によって伝達されていた情報である。本発明に係る診断システムでは、これらの情報は、診断対象となるデータベースサーバの管理者自身が、端末装置100に表示されているWebページ上で直接入力することになる。   The four pieces of information shown in FIG. 4 are all indispensable information when making a diagnosis on a specific database server. Conventionally, from the administrator of the database server to be diagnosed, It is information that has been communicated verbally or in writing. In the diagnosis system according to the present invention, such information is directly input on the Web page displayed on the terminal device 100 by the administrator of the database server to be diagnosed.

たとえば、管理ユーザ名「admin」、パスワード「banana」によって、データベースサーバ10に対するアクセス権を有する管理者甲が、このサーバ10に対する診断を実行する場合を考えてみよう。この場合、管理者甲は、まず、端末装置100から、ネットワーク300を介して入力用Webページ提示手段210に対するアクセスを行えばよい。具体的には、入力用Webページ提示手段210は、入力用Webページを提示するためのWebサーバによって構成されているので、管理者甲は、端末装置100のWebブラウザを起動して、入力用Webページ提示手段210のURLアドレスへアクセスすればよい。その結果、端末装置100の画面上には、図4に示す4つの情報からなる診断対象指定情報を入力するための入力用Webページが表示されることになる。   For example, let us consider a case where the administrator A who has access rights to the database server 10 executes diagnosis for the server 10 with the management user name “admin” and the password “banana”. In this case, the administrator A may first access the input Web page presenting means 210 from the terminal device 100 via the network 300. Specifically, since the input web page presenting means 210 is constituted by a web server for presenting the input web page, the administrator A activates the web browser of the terminal device 100 to perform the input. What is necessary is just to access the URL address of the Web page presentation means 210. As a result, on the screen of the terminal device 100, an input Web page for inputting diagnosis target designation information including four pieces of information shown in FIG. 4 is displayed.

ここでは、説明の便宜上、診断対象となるデータベースサーバ10が、「XXXのバージョン1.0」という特定種類のDBMSを、「OS−A」という特定種類のOSの環境下で利用するサーバ(すなわち、図2の表におけるカテゴリC111に分類されるサーバ)であったものとしよう。この場合、管理者甲は、診断対象指定情報を構成する第1の情報として、DBMS名「XXX」、そのバージョン「1.0」というDBMSの種類を示す情報を入力することになる。また、第2の情報としては、OSの種類「OS−A」を示す情報を入力し、第3の情報としては、管理ユーザ名「admin」、パスワード「banana」なる情報を入力することになる。更に、第4の情報としては、データベースサーバ10を特定するためのDB識別情報として、データベースサーバ10のIPアドレスおよびそこで動作しているデータベースのインスタンス名およびデータベース名を入力することになる。   Here, for convenience of explanation, the database server 10 to be diagnosed uses a specific type of DBMS “XXX version 1.0” in an environment of a specific type of OS “OS-A” (ie, a server (ie, “OS-A”)). , A server classified into category C111 in the table of FIG. In this case, the administrator A inputs information indicating the DBMS type such as the DBMS name “XXX” and its version “1.0” as the first information constituting the diagnosis target designation information. Further, as the second information, information indicating the OS type “OS-A” is input, and as the third information, information including the management user name “admin” and the password “banana” is input. . Further, as the fourth information, as the DB identification information for specifying the database server 10, the IP address of the database server 10 and the instance name and database name of the database operating there are input.

診断対象指定情報入力手段250は、これら4つの情報からなる診断対象指定情報を入力したら、第1の情報および第2の情報をスクリプト選択手段260に与え、第3の情報および第4の情報を診断実行手段220に与える。   When the diagnosis target designation information input means 250 inputs the diagnosis target designation information consisting of these four pieces of information, the diagnosis target designation information input means 250 gives the first information and the second information to the script selection means 260, and the third information and the fourth information are given. This is given to the diagnosis execution means 220.

スクリプト選択手段260は、診断対象指定情報に含まれているDBMSの種類(第1の情報)およびOSの種類(第2の情報)を示す情報に基づいて、当該DBMSおよびOSの組み合わせに対応した特定の診断用スクリプトを、スクリプト記憶手段280の中から選択する機能を有する。上述の例の場合、DBMSの種類を示す情報として「XXXのバージョン1.0」という情報が与えられ、OSの種類を示す情報として「OS−A」という情報が与えられることになるので、スクリプト選択手段260は、スクリプト記憶手段280に格納されている10通りの診断用スクリプトファイルS111〜S120の中から、カテゴリC111に対応する診断用スクリプトファイルS111を選択する処理を行うことになる。スクリプト選択手段260は、こうして選択した診断用スクリプトファイルS111を、スクリプト記憶手段280から読出し、診断実行手段220に与える機能を有する。   The script selection unit 260 corresponds to the combination of the DBMS and the OS based on the information indicating the DBMS type (first information) and the OS type (second information) included in the diagnosis target designation information. It has a function of selecting a specific diagnostic script from the script storage means 280. In the case of the above-described example, information “XXX version 1.0” is given as information indicating the type of DBMS, and information “OS-A” is given as information indicating the type of OS. The selection unit 260 performs a process of selecting the diagnostic script file S111 corresponding to the category C111 from the ten types of diagnostic script files S111 to S120 stored in the script storage unit 280. The script selection unit 260 has a function of reading the diagnosis script file S111 selected in this way from the script storage unit 280 and giving it to the diagnosis execution unit 220.

診断実行手段220は、スクリプト選択手段260によって選択された診断用スクリプトを、診断対象指定情報入力手段250が入力した診断対象指定情報に含まれている管理ユーザ名およびパスワードとともに、当該診断対象指定情報に含まれているDB識別情報によって特定される診断対象となるデータベースサーバに与え、これを実行させる機能を有する。上述の例の場合、スクリプト選択手段260により、診断用スクリプトファイルS111が選択されることになるので、診断実行手段220は、この診断用スクリプトファイルS111内にSQL文として記述されている診断用スクリプトを、診断対象となるデータベースサーバ10に与え、これを実行させる処理を行うことになる。   The diagnosis execution unit 220 includes the diagnosis target designation information selected by the script selection unit 260 together with the management user name and password included in the diagnosis target designation information input by the diagnosis target designation information input unit 250. Is provided to a database server to be diagnosed specified by the DB identification information included in the database identification information and executed. In the case of the above example, the diagnosis script file S111 is selected by the script selection means 260. Therefore, the diagnosis execution means 220 can execute the diagnosis script described as an SQL statement in the diagnosis script file S111. Is given to the database server 10 to be diagnosed, and processing for executing this is performed.

ただ、データベースサーバ10に所定の診断用スクリプトを実行させるためには、当該データベースサーバ10を、管理者権限でアクセスする必要がある。そこで、診断実行手段220は、診断対象指定情報入力手段250が入力した、管理ユーザ名「admin」、パスワード「banana」なる情報を、診断用スクリプトファイルS111とともに、データベースサーバ10に送信する処理を行う。また、ネットワーク300を経由してデータベースサーバ10を物理的にアクセスするためには、データベースサーバ10のIPアドレスが必要になり、このサーバ10内のデータベースに物理的にアクセスするためには、当該データベースの名前が必要になるが、診断実行手段220は、診断対象指定情報入力手段250が入力したDB識別情報から、データベースサーバ10のIPアドレスや診断対象データベース名を認識することができるので、このDB識別情報を利用して、診断対象を物理的にアクセスすることができる。   However, in order for the database server 10 to execute a predetermined diagnostic script, it is necessary to access the database server 10 with administrator authority. Therefore, the diagnosis execution unit 220 performs processing for transmitting the information of the management user name “admin” and the password “banana” input by the diagnosis target designation information input unit 250 to the database server 10 together with the diagnosis script file S111. . Further, in order to physically access the database server 10 via the network 300, the IP address of the database server 10 is required, and in order to physically access the database in the server 10, the database The diagnosis execution means 220 can recognize the IP address of the database server 10 and the diagnosis target database name from the DB identification information input by the diagnosis target designation information input means 250. The diagnosis object can be physically accessed using the identification information.

図5は、診断実行手段220が、データベースサーバ10に対する診断処理を実行する際に用いるデータを示すブロック図である。診断実行に必要なデータは、図示のとおり、診断用スクリプトファイルS111と、管理ユーザ名およびパスワードと、DB識別情報である。ここで、診断用スクリプトファイルS111は、スクリプト選択手段260によって、スクリプト記憶手段280内から選択されたファイルであるが、管理ユーザ名およびパスワードとDB識別情報は、診断対象指定情報入力手段250によって入力された診断対象指定情報に含まれていた情報である。   FIG. 5 is a block diagram showing data used when the diagnosis execution means 220 executes diagnosis processing for the database server 10. As shown in the figure, the data necessary for the diagnosis execution is a diagnosis script file S111, a management user name and password, and DB identification information. Here, the diagnosis script file S111 is a file selected from the script storage unit 280 by the script selection unit 260, but the management user name, password, and DB identification information are input by the diagnosis target designation information input unit 250. The information included in the diagnosis target designation information.

以上、データベースサーバ10に対する診断を行う場合の処理手順を例にとって説明したが、データベースサーバ20に対する診断も同様の手順で実行されることになる。もちろん、データベースサーバ20において用いられているDBMSやOSが、データベースサーバ10において用いられているものと異なれば、スクリプト選択手段260によって、上述の具体例とは異なるカテゴリに所属する診断用スクリプトファイルが選択されることになる。また、データベースサーバ20の管理者が別な管理者乙であった場合には、当然、管理ユーザ名やパスワードは、管理者乙のものが入力されることになる。   As described above, the processing procedure in the case of performing the diagnosis on the database server 10 has been described as an example, but the diagnosis on the database server 20 is also executed in the same procedure. Of course, if the DBMS or OS used in the database server 20 is different from the one used in the database server 10, the script selection means 260 creates a diagnostic script file belonging to a category different from the above specific example. Will be selected. If the administrator of the database server 20 is another administrator B, naturally, the administrator user name and password are input for the administrator B.

こうして、診断実行手段220から、データベースサーバ10に診断用スクリプトが与えられると、当該スクリプトはデータベースサーバ10上で実行され、実行結果を示す診断結果情報が、システム本体200へと返されることになる。図3に示すとおり、診断用スクリプトファイルの実体は、複数のSQL文であり、個々のSQL文に対する実行結果を示す情報が、所定の書式をもった診断結果情報として、システム本体200へと返されることになる。   Thus, when a diagnosis script is given to the database server 10 from the diagnosis execution means 220, the script is executed on the database server 10, and diagnosis result information indicating the execution result is returned to the system main body 200. . As shown in FIG. 3, the substance of the diagnostic script file is a plurality of SQL statements, and information indicating the execution results for the individual SQL statements is returned to the system main body 200 as diagnostic result information having a predetermined format. Will be.

診断結果受信手段230は、このようにして、診断対象となるデータベースサーバから返される診断結果情報を受け取る機能をもった構成要素である。診断結果情報の書式は、それを返すDBMSの種類によって様々であるが、一般的なDBMSの場合、いずれもテキストデータの形式のファイルになる。   The diagnosis result receiving means 230 is a component having a function of receiving diagnosis result information returned from the database server to be diagnosed in this way. The format of the diagnosis result information varies depending on the type of DBMS that returns the diagnosis result information. In the case of a general DBMS, the format is a text data format file.

図6は、このようなテキストデータの形式で返された診断結果情報の構成例を示す図である。この例では、各SQL文に対する診断結果(各SQL文の実行結果)が、それぞれ「表」の見出しで示されている。たとえば、図示の「□表1□」なる見出しから始まる部分は、第1のSQL文に対する診断結果を示すものであり、「□表2□」なる見出しから始まる部分は、第2のSQL文に対する診断結果を示すものである。この例では、第1のSQL文は、3つの項目についての実行結果を要求するスクリプトとなっており、項目1についての実行結果としては、値1、値2、値3の3つの値が返されており、項目2についての実行結果としては、値1、値2の2つの値が返されており、項目3についての実行結果としては、値1、値2の2つの値が返されている。一方、第2のSQL文は、互いに関連をもった2つの項目についての実行結果を要求するスクリプトとなっており、項目1および項目2についての実行結果として、「値11,値21」なる対、「値12,値22」なる対、「値13,値23」なる対、という3対の値が返されている。   FIG. 6 is a diagram showing a configuration example of diagnosis result information returned in the text data format. In this example, the diagnosis result (execution result of each SQL statement) for each SQL statement is indicated by the heading “Table”. For example, the part starting from the heading “□ Table 1 □” shown in the figure indicates the diagnosis result for the first SQL sentence, and the part starting from the heading “□ Table 2 □” is for the second SQL sentence. It shows the diagnosis result. In this example, the first SQL statement is a script that requests execution results for three items. As the execution result for item 1, three values of value 1, value 2, and value 3 are returned. As an execution result for item 2, two values of value 1 and value 2 are returned, and as an execution result for item 3, two values of value 1 and value 2 are returned. Yes. On the other hand, the second SQL statement is a script that requests execution results for two items that are related to each other. As the execution results for item 1 and item 2, a pair of “value 11, value 21” is obtained. , A pair of “value 12, value 22” and a pair of “value 13, value 23” are returned.

結果表示用Webページ提示手段240は、診断結果受信手段230が受信した診断結果情報を、端末装置100に対して、結果表示Webページとして提示する機能をもった構成要素である。たとえば、図6に示すような診断結果情報が得られたら、このような情報が、端末装置100の画面上にWebページとして提示されることになる。端末装置100の画面上に、情報をWebページとして提示するためには、当該情報をHTML形式のデータとして端末装置100へ送信する必要がある。結果表示用Webページ提示手段240内には、Webページ上での表示書式を示すスタイルシートの情報が格納されており、このスタイルシートに基づいて、診断結果情報をHTML形式に変換する機能を有している。   The result display Web page presentation unit 240 is a component having a function of presenting the diagnosis result information received by the diagnosis result receiving unit 230 to the terminal device 100 as a result display Web page. For example, when diagnosis result information as shown in FIG. 6 is obtained, such information is presented as a Web page on the screen of the terminal device 100. In order to present information as a Web page on the screen of the terminal device 100, it is necessary to transmit the information to the terminal device 100 as HTML format data. The result display Web page presentation unit 240 stores style sheet information indicating the display format on the Web page, and has a function of converting the diagnosis result information into an HTML format based on the style sheet. doing.

たとえば、図6に示すようなテキストデータ形式の診断結果情報を、HTML形式に変換する場合であれば、「□表1□」といった見出し部分、「項目1」といった項目部分、「値1」といった値部分を、それぞれ、どのサイズのどの色の文字で表示するか、背景部分の色は何色にするか、といった事項を定めるスタイルシートを用意しておき、このスタイルシートに基づいて、テキストデータの各部分にHTML用タグを挿入する処理を実行すればよい。このようなスタイルシートを用いて、テキストデータをHTMLデータに変換する処理は既に公知の処理であるため、ここでは詳しい説明は省略する。   For example, in the case of converting the diagnosis result information in the text data format as shown in FIG. 6 into the HTML format, a heading portion such as “□ Table 1 □”, an item portion such as “item 1”, “value 1”, and the like. Prepare a style sheet that defines the value part in which color of what size character and the background part color, and text data based on this style sheet. It is only necessary to execute processing for inserting an HTML tag into each part of the above. Since the process of converting text data into HTML data using such a style sheet is already a known process, a detailed description thereof is omitted here.

なお、図1に示す実施形態の場合、診断結果受信手段230が受信したテキストデータを、結果表示用Webページ提示手段240によって直接HTML形式のデータに変換する代わりに、フォーマット変換手段270によって一度XML形式のデータに変換し、これを結果表示用Webページ提示手段240によってHTML形式のデータに変換する、という手法を採っている。その理由は、この図1に示す例では、診断結果受信手段230が受信した診断結果情報を、すべてXML形式に変換して、診断結果格納手段290に格納するようにしているためである。   In the case of the embodiment shown in FIG. 1, instead of directly converting the text data received by the diagnosis result receiving unit 230 into HTML format data by the result display Web page presentation unit 240, the format conversion unit 270 once converts the XML data. A method is adopted in which the data is converted into data in the format and converted into HTML format data by the result display Web page presentation unit 240. The reason is that in the example shown in FIG. 1, all the diagnosis result information received by the diagnosis result receiving unit 230 is converted into the XML format and stored in the diagnosis result storing unit 290.

フォーマット変換手段270は、診断結果受信手段230が受け取った診断結果情報を、予め定められた所定のフォーマットで記述されたデータに変換する機能をもった構成要素であり、診断結果格納手段290は、こうして変換されたデータを格納する機能をもった構成要素である。ここに示す例では、フォーマット変換手段270は、テキストデータ形式で受け取った診断結果情報を、XML形式で記述されたデータに変換する機能を有する。上述したとおり、各データベースサーバから返される診断結果情報の書式は、DBMSの種類によって様々であるが、フォーマット変換手段270によって、これを共通のフォーマットに変換した上で、診断結果格納手段290に格納するようにすれば、診断結果格納手段290に蓄積される診断結果情報は、DBMSの種類に依存しない共通のフォーマットで記述された情報になるため、後にこれを利用する上での利便性が向上する。   The format conversion unit 270 is a component having a function of converting the diagnosis result information received by the diagnosis result receiving unit 230 into data described in a predetermined format, and the diagnosis result storage unit 290 includes: It is a component having a function of storing the data thus converted. In the example shown here, the format conversion means 270 has a function of converting the diagnosis result information received in the text data format into data described in the XML format. As described above, the format of the diagnosis result information returned from each database server varies depending on the type of DBMS. The format conversion unit 270 converts the format into a common format, and stores it in the diagnosis result storage unit 290. By doing so, since the diagnosis result information accumulated in the diagnosis result storage means 290 is information described in a common format independent of the type of DBMS, convenience in using this later is improved. To do.

ここに示す例では、共通のフォーマットとして、XML形式を採用している。XML形式のデータでは、ユーザが独自のタグを定義して利用することが可能になるため、検索時の利便性などが向上するメリットが得られる。図7は、図6に示すテキストデータとして与えられた診断結果情報を、XML形式のデータに変換した例を示す図である。図6に示すテキストデータにおいて、「□表1□」といった見出しに導かれる内容部分は、図7に示すXMLデータでは、<表1>なるタグと</表1>なるタグとの間に挟まれた状態で記述される。また、各項目とその値は、図7に示すXMLデータでは、<項目1>値1</項目1>のように、各項目名を示すタグの間に、当該項目に対応する値を挟む形で記述される。この図7に示すような形式のXMLデータでは、個々の表名や項目名が所定の意味をもったタグ情報として定義されるので、検索処理などの利便性が向上する。   In the example shown here, the XML format is adopted as a common format. In the XML format data, the user can define and use a unique tag, so that there is an advantage that convenience in searching is improved. FIG. 7 is a diagram showing an example in which the diagnosis result information given as the text data shown in FIG. 6 is converted into XML format data. In the text data shown in FIG. 6, the content portion led to the heading “□ Table 1 □” is sandwiched between the tag <Table 1> and the tag </ Table 1> in the XML data shown in FIG. It is described in the state. In addition, in the XML data shown in FIG. 7, each item and its value are sandwiched with a value corresponding to the item between tags indicating each item name, such as <item 1> value 1 </ item 1>. Described in form. In the XML data in the format as shown in FIG. 7, each table name or item name is defined as tag information having a predetermined meaning, so that convenience such as search processing is improved.

図6に示すようなテキストデータとして記述された診断結果情報を、図7に示すようなXMLデータに変換する処理を行うためには、図6に示す診断結果情報の書式を予め認識しておく必要がある。たとえば、図6に示す例の場合、「□」で挟まれた部分が各表の見出し部分を示す、という規則を認識していれば、「□表1□」と「□表2□」との間に存在する内容部分を、<表1>なるタグと</表1>なるタグで挟む、という変換処理を行えばよいことがわかる。診断結果情報の書式は、DBMSの種類によって様々であるので、フォーマット変換手段270には、図2に示す各カテゴリごとに、それぞれ所定のアルゴリズムに基づく変換処理プログラムを用意しておくようにすればよい。   In order to convert the diagnosis result information described as text data as shown in FIG. 6 into XML data as shown in FIG. 7, the format of the diagnosis result information shown in FIG. 6 is recognized in advance. There is a need. For example, in the example shown in FIG. 6, if the rule that the part between “□” indicates the heading part of each table is recognized, “□ Table 1 □” and “□ Table 2 □” It can be seen that a conversion process of sandwiching a content portion existing between the tags <Table 1> and </ Table 1> may be performed. Since the format of the diagnosis result information varies depending on the type of DBMS, if the format conversion means 270 has a conversion processing program based on a predetermined algorithm for each category shown in FIG. Good.

図1に示す実施形態では、フォーマット変換手段270による変換処理によって得られたXML形式の診断結果情報は、診断結果格納手段290に格納されるとともに、結果表示用Webページ提示手段240へと与えられる。結果表示用Webページ提示手段240は、このXML形式の診断結果情報に、所定のスタイルシートを適用することにより、HTML形式の結果表示用Webページデータを作成し、これを端末装置100へと送信する機能を有している。   In the embodiment shown in FIG. 1, the XML-format diagnostic result information obtained by the conversion process by the format converting unit 270 is stored in the diagnostic result storing unit 290 and also given to the result display Web page presenting unit 240. . The result display Web page presentation unit 240 creates a result display Web page data in HTML format by applying a predetermined style sheet to the diagnosis result information in XML format, and transmits this to the terminal device 100. It has a function to do.

結局、本発明に係るデータベース診断システムを利用すれば、管理者甲は、次のような手順により、データベースサーバ10に対する診断処理を実行することができる。まず、、端末装置100のWebブラウザを起動し、入力用Webページ提示手段210として機能するWebサーバのURLをアクセスする。すると、端末装置100の画面上に、所定の入力用Webページが提示されるので、このWebページ上で、図4に示すような診断対象指定情報を入力する操作を行う。すると、診断実行手段220が、この診断対象指定情報に基づいて、データベースサーバ10に所定の診断用スクリプトを与えて診断を実行する。その結果として得られる診断結果情報は、XMLデータの形式で診断結果格納手段290に格納されるとともに、HTMLデータの形式で、結果表示用Webページ提示手段240から端末装置100へと送信される。こうして送信された診断結果情報は、結局、端末装置100のWebブラウザにより閲覧されることになる。   Eventually, if the database diagnosis system according to the present invention is used, the administrator A can execute diagnosis processing for the database server 10 by the following procedure. First, the Web browser of the terminal device 100 is activated, and the URL of the Web server that functions as the input Web page presentation unit 210 is accessed. Then, since a predetermined input Web page is presented on the screen of the terminal device 100, an operation for inputting diagnosis target designation information as shown in FIG. 4 is performed on this Web page. Then, the diagnosis execution means 220 gives a predetermined diagnosis script to the database server 10 and executes diagnosis based on this diagnosis target designation information. The diagnosis result information obtained as a result is stored in the diagnosis result storage means 290 in the form of XML data, and transmitted from the result display Web page presentation means 240 to the terminal device 100 in the form of HTML data. The diagnosis result information transmitted in this way is eventually browsed by the Web browser of the terminal device 100.

このように、管理者甲から見ると、端末装置100のWebブラウザを用いて、所定の入力用Webページ上で診断対象指定情報を入力する操作を行うと、システム本体200によって自動的に診断処理が実行され、その結果が、結果表示用Webページとして、端末装置100上に表示されることになる。もちろん、入力用Webページ上で入力操作を行ってから、結果表示用Webページ上に診断結果情報が表示されるまでの時間は、診断用スクリプトの内容やサーバの性能によって様々であるが、一般的には、数十秒〜数分程度のオーダーの時間である。したがって、従来の診断方法に比べると、非常に短期間に、かつ、非常に簡便な作業により、データベースサーバに対する診断を行うことが可能になる。   In this way, from the viewpoint of the administrator, when the operation for inputting the diagnosis target designation information is performed on the predetermined input Web page using the Web browser of the terminal device 100, the system body 200 automatically performs the diagnosis process. The result is displayed on the terminal device 100 as a result display Web page. Of course, the time from when an input operation is performed on the input web page until the diagnosis result information is displayed on the result display web page varies depending on the contents of the diagnostic script and the performance of the server. Specifically, the time is on the order of several tens of seconds to several minutes. Therefore, it is possible to make a diagnosis for the database server in a very short time and by a very simple operation as compared with the conventional diagnosis method.

なお、ここに示す実施形態では、診断結果格納手段290に診断結果情報を格納する際に、書誌情報を付加するようにしている。図8は、この書誌情報を付加した診断結果情報の一例を示す図である。図8に矩形で囲って示した部分が、診断結果情報本体部であり、この部分には、たとえば、図7に示すようなXML形式で記述された診断結果情報の本体部が配置される。一方、図8の矩形の上方に記載されている部分が、新たに付加された書誌情報である。図示の例では、この書誌情報の部分もXMLの形式で記述されており、図8に示す診断結果情報全体が、XMLデータとなっている。   In the embodiment shown here, bibliographic information is added when diagnostic result information is stored in the diagnostic result storage means 290. FIG. 8 is a diagram illustrating an example of diagnosis result information to which the bibliographic information is added. The portion surrounded by a rectangle in FIG. 8 is a diagnostic result information main body. In this portion, for example, a main body of diagnostic result information described in XML format as shown in FIG. 7 is arranged. On the other hand, the portion described above the rectangle in FIG. 8 is newly added bibliographic information. In the illustrated example, this bibliographic information portion is also described in XML format, and the entire diagnosis result information shown in FIG. 8 is XML data.

図8の1行目の<診断結果>なるタグは、最終行の</診断結果>なるタグに対応するものであり、これら一対の対応するタグ間の情報が、「診断結果」なる情報であることを示している。   The tag <diagnosis result> on the first line in FIG. 8 corresponds to the tag </ diagnosis result> on the last line, and information between the pair of corresponding tags is information "diagnosis result". It shows that there is.

また、図8の2行目には、<カウンタ>タグに囲まれて「365」なる数値が記載されているが、この数値は、当該診断結果情報のカウンタ値(シリアル番号値)を示している。このカウンタ値は、診断結果格納手段290に診断結果情報が格納されるたびに1ずつ更新されてゆく値であり、図8に示す診断結果情報は、診断結果格納手段290に格納された第365番目の診断結果情報ということになる。診断結果格納手段290内に、新たな診断結果情報を格納する際には、直前に格納された診断結果情報のカウンタ値に1を加えた値(上述の例では、366)を、当該新たな診断結果情報のカウンタ値として付与することなる。   In the second line of FIG. 8, a numerical value “365” is described surrounded by <counter> tags. This numerical value indicates the counter value (serial number value) of the diagnosis result information. Yes. This counter value is a value that is updated by one each time the diagnosis result information is stored in the diagnosis result storage means 290. The diagnosis result information shown in FIG. 8 is the 365th stored in the diagnosis result storage means 290. This is the second diagnosis result information. When new diagnostic result information is stored in the diagnostic result storage unit 290, a value obtained by adding 1 to the counter value of the diagnostic result information stored immediately before (366 in the above example) is used as the new diagnostic result information. It is given as a counter value of diagnosis result information.

一方、図8の3行目には、<データベースID>タグに囲まれて「15」なる数値が記載されているが、この数値は、同一種類のDBMSおよび同一種類のDB識別情報に基づいて実行された診断結果に対して、同一のIDを付すことにより与えられるIDである。たとえば、上述の例の場合、データベースサーバ10に対する診断は、「XXXのバージョン1.0」という特定種類のDBMSと、「データベースサーバ10内のデータベース」という特定種類のDB識別情報と、を用いて実行されることになる。この場合、得られる診断結果情報には、「XXXのバージョン1.0」という特定種類のDBMSと、「データベースサーバ10内のデータベース」という特定種類のDB識別情報という特定の組み合わせに対して、所定のデータベースIDが付与されることになる。この組み合わせ要素のうちの1要素でも異なれば、異なるデータベースIDが付与される。   On the other hand, in the third line of FIG. 8, a numerical value “15” is described surrounded by <database ID> tags. This numerical value is based on the same type of DBMS and the same type of DB identification information. This is an ID given by attaching the same ID to the executed diagnosis result. For example, in the case of the above-described example, the diagnosis for the database server 10 uses a specific type of DBMS “XXX version 1.0” and a specific type of DB identification information “database in the database server 10”. Will be executed. In this case, the obtained diagnosis result information includes a predetermined combination of a specific type of DBMS “XXX version 1.0” and a specific type of DB identification information “database in the database server 10”. The database ID is assigned. If even one of the combination elements is different, a different database ID is assigned.

したがって、この実施形態では、新たな診断結果情報を、診断結果格納手段290に格納する際には、同一種類のDBMS、同一種類のDB識別情報という組み合わせに基づいて実行された過去の診断結果情報が、既に格納されているか否かを確認する処理を実行する。そして、過去に、同一組み合わせによる診断結果情報が格納されていた場合には、当該過去の診断結果情報と同一のデータベースIDを、新たな格納対象となる診断結果情報に付与するが、過去に、同一組み合わせによる診断結果情報が格納されていない場合には、新たなデータベースIDを発行し、これを新たな格納対象となる診断結果情報に付与する。このようなデータベースIDは、特定のデータベースサーバに関して過去に実施された診断結果を検索する場合に利用すると便利である。   Therefore, in this embodiment, when new diagnostic result information is stored in the diagnostic result storage means 290, past diagnostic result information executed based on the combination of the same type of DBMS and the same type of DB identification information. Is executed to check whether it has already been stored. And in the past, when diagnosis result information by the same combination has been stored, the same database ID as the past diagnosis result information is given to the diagnosis result information to be newly stored, If diagnostic result information based on the same combination is not stored, a new database ID is issued and assigned to the new diagnostic result information to be stored. Such a database ID is convenient to use when searching for a diagnosis result performed in the past with respect to a specific database server.

図8の4〜9行目には、<メタデータ>タグに囲まれたデータが記載され、更に、<DBMS名>、<バージョン>、<DB識別情報>、<スクリプト実行時間>なるタグで囲まれたデータが羅列されている。ここで、<DBMS名>、<バージョン>、<DB識別情報>なるタグとともに記載されたデータは、当該診断を実行する際に、診断対象指定情報入力手段250によって入力されたDBMS名、バージョン、DB識別情報であり、<スクリプト実行時間>なるタグとともに記載されたデータは、文字どおり、当該診断を実行した時間を示す情報である。このように、実行された診断に関する書誌情報を、「メタデータ」として、XMLの形式で付加しておけば、種々の検索処理を行う際に便利である。   In the 4th to 9th lines in FIG. 8, data surrounded by the <metadata> tag is described, and the tags <DBMS name>, <version>, <DB identification information>, and <script execution time> are used. The enclosed data is listed. Here, the data described together with the tags <DBMS name>, <version>, and <DB identification information> are the DBMS name, version, and data input by the diagnosis target designation information input means 250 when executing the diagnosis. The data described with the tag <script execution time>, which is DB identification information, is literally information indicating the time when the diagnosis was executed. In this way, if bibliographic information related to the diagnosis performed is added as “metadata” in the XML format, it is convenient when performing various search processes.

このような書誌情報の付加処理は、フォーマット変換手段270において実行できるようにしておけばよい。すなわち、フォーマット変換手段270が、診断結果受信手段230が受け取った診断結果情報に、診断対象となったデータベースサーバについてのDBMSの種類を示す情報、OSの種類を示す情報およびDB識別情報を書誌情報として付加する処理を行うようにしておけば、診断結果格納手段290には、図8に示す例のように、書誌情報を付加した状態の診断結果情報を格納することができ、検索などの便宜を図ることができるようになる。   Such a bibliographic information addition process may be executed by the format conversion means 270. That is, the format conversion unit 270 includes the information indicating the type of DBMS, the information indicating the type of OS, and the DB identification information in the diagnosis result information received by the diagnosis result receiving unit 230 as the bibliographic information. As shown in the example of FIG. 8, the diagnosis result information with the bibliographic information added can be stored in the diagnosis result storage means 290 for convenience such as search. Can be planned.

以上、本発明に係るデータベース診断システムを、図1のブロック図に示す実施形態に基づいて説明したが、このブロック図において個々のブロックとして記載された各手段は、実際には、コンピュータに所定のプログラムを組み込むことにより実現される構成要素である。したがって、図示のシステム本体200は、ネットワーク300に接続された汎用コンピュータに、各手段210〜290として機能するためのプログラムを組み込むことにより構築されるものであり、当該プログラムは、コンピュータ読み取り可能な記録媒体に記録して配付することが可能である。   Although the database diagnosis system according to the present invention has been described based on the embodiment shown in the block diagram of FIG. 1, each means described as an individual block in this block diagram is actually assigned to a computer. It is a component realized by incorporating a program. Therefore, the illustrated system main body 200 is constructed by incorporating a program for functioning as each means 210 to 290 in a general-purpose computer connected to the network 300, and the program is recorded in a computer-readable recording medium. It is possible to record and distribute on a medium.

本発明の一実施形態に係るデータベース診断システムの基本構成を示すブロック図である。It is a block diagram which shows the basic composition of the database diagnostic system which concerns on one Embodiment of this invention. 複数種類のDBMSおよび複数種類のOSの組み合わせの一覧表の一例を示す図である。It is a figure which shows an example of the list of the combination of multiple types of DBMS and multiple types of OS. 図2に示すカテゴリC111に対応して用意された診断用スクリプトファイルS111の内容を示す模式図である。It is a schematic diagram which shows the content of the script file for diagnosis S111 prepared corresponding to the category C111 shown in FIG. 図1に示す診断対象指定情報入力手段250によって入力される診断対象指定情報の具体的内容を示すブロック図である。It is a block diagram which shows the specific content of the diagnostic object designation | designated information input by the diagnostic object designation | designated information input means 250 shown in FIG. 診断実行手段220が、データベースサーバ10に対する診断処理を実行する際に用いるデータを示すブロック図である。It is a block diagram which shows the data used when the diagnostic execution means 220 performs the diagnostic process with respect to the database server 10. FIG. データベースサーバ10から、テキストデータの形式で返された診断結果情報の構成例を示す図である。It is a figure which shows the structural example of the diagnostic result information returned in the format of text data from the database server. 図6に示すテキストデータとして与えられた診断結果情報を、XML形式のデータに変換した例を示す図である。It is a figure which shows the example which converted the diagnostic result information given as text data shown in FIG. 6 into the data of XML format. 書誌情報を付加した診断結果情報の一例を示す図である。It is a figure which shows an example of the diagnostic result information which added bibliographic information.

符号の説明Explanation of symbols

10…データベースサーバ
20…データベースサーバ
100…端末装置(パソコン)
200…システム本体
210…入力用Webページ提示手段
220…診断実行手段
230…診断結果受信手段
240…結果表示用Webページ提示手段
250…診断対象指定情報入力手段
260…スクリプト選択手段
270…フォーマット変換手段
280…スクリプト記憶手段
290…診断結果格納手段
300…ネットワーク(インターネット)
10 ... database server 20 ... database server 100 ... terminal device (personal computer)
200 ... System main body 210 ... Input Web page presentation means 220 ... Diagnosis execution means 230 ... Diagnosis result reception means 240 ... Result display Web page presentation means 250 ... Diagnosis target designation information input means 260 ... Script selection means 270 ... Format conversion means
280 ... Script storage means 290 ... Diagnosis result storage means 300 ... Network (Internet)

Claims (9)

診断対象となるデータベースサーバに対して、診断用スクリプトを与え、これを実行させることにより、当該データベースサーバについての性能の診断を行うデータベース診断システムであって、
ネットワークを介して診断対象となるデータベースサーバに接続可能なシステム本体と、ネットワークを介して前記システム本体に接続可能な端末装置と、によって構成され、
前記端末装置は、Webブラウザプログラムが組み込まれたコンピュータからなり、このWebブラウザプログラムを利用して、診断に必要な情報の入力作業と診断結果の表示処理とが行われるように構成され、
前記システム本体は、
前記端末装置に対して、診断に必要な情報入力を行うための入力用Webページを提示する入力用Webページ提示手段と、
前記入力用Webページ上での前記端末装置のオペレータによる操作に基づいて、診断対象となるデータベースサーバに用いられているDBMSの種類、診断対象となるデータベースサーバに用いられているOSの種類、診断対象となるデータベースサーバについての管理ユーザ名およびパスワード、診断対象となるデータベースサーバを特定するためのDB識別情報、を診断対象指定情報として入力する診断対象指定情報入力手段と、
特定の種類のDBMSおよび特定の種類のOSが用いられている特定のデータベースサーバに対する診断を行うのに適した診断用スクリプトを、複数種類のDBMSおよび複数種類のOSの組み合わせごとに、それぞれ記憶させたスクリプト記憶手段と、
前記診断対象指定情報に含まれているDBMSの種類およびOSの種類に基づいて、当該DBMSおよびOSの組み合わせに対応した特定の診断用スクリプトを選択するスクリプト選択手段と、
選択された診断用スクリプトを、前記診断対象指定情報に含まれている管理ユーザ名およびパスワードとともに、前記診断対象指定情報に含まれているDB識別情報によって特定される診断対象となるデータベースサーバに与え、これを実行させる診断実行手段と、
前記診断対象となるデータベースサーバから、前記診断用スクリプトの実行結果を示す診断結果情報を受け取る診断結果受信手段と、
前記診断結果情報を、前記端末装置に対して、結果表示Webページとして提示する結果表示用Webページ提示手段と、
を備えることを特徴とするデータベース診断システム。
A database diagnosis system for diagnosing performance of a database server by giving a diagnosis script to the database server to be diagnosed and executing the script.
A system main body connectable to a database server to be diagnosed via a network, and a terminal device connectable to the system main body via a network,
The terminal device is composed of a computer in which a web browser program is incorporated, and is configured to perform an input operation of information necessary for diagnosis and display processing of a diagnosis result using the web browser program.
The system main body is
An input web page presenting means for presenting an input web page for inputting information necessary for diagnosis to the terminal device;
Based on the operation of the terminal device operator on the input Web page, the type of DBMS used for the database server to be diagnosed, the type of OS used for the database server to be diagnosed, and diagnosis A diagnostic target designation information input means for inputting, as diagnostic target designation information, a management user name and password for a target database server, DB identification information for specifying a database server to be diagnosed,
Diagnostic scripts suitable for diagnosing a specific type of DBMS and a specific database server using a specific type of OS are stored for each combination of a plurality of types of DBMS and a plurality of types of OS. Script storage means,
Script selection means for selecting a specific diagnosis script corresponding to the combination of the DBMS and the OS based on the type of DBMS and the type of OS included in the diagnosis target designation information;
The selected diagnosis script is given to the database server as the diagnosis target specified by the DB identification information included in the diagnosis target designation information together with the management user name and password included in the diagnosis target designation information. Diagnostic execution means for executing this, and
A diagnostic result receiving means for receiving diagnostic result information indicating an execution result of the diagnostic script from the database server to be diagnosed;
A result display web page presenting means for presenting the diagnosis result information as a result display web page to the terminal device;
A database diagnostic system comprising:
請求項1に記載のデータベース診断システムにおいて、
受け取った診断結果情報を、予め定められた所定のフォーマットで記述されたデータに変換するフォーマット変換手段と、
変換されたデータを格納する診断結果格納手段と、
を更に設けたことを特徴とするデータベース診断システム。
The database diagnostic system according to claim 1,
Format conversion means for converting the received diagnosis result information into data described in a predetermined format;
Diagnostic result storage means for storing the converted data;
A database diagnosis system characterized by further comprising:
請求項2に記載のデータベース診断システムにおいて、
フォーマット変換手段が、テキストデータ形式で受け取った診断結果情報を、XML形式で記述されたデータに変換する機能を有することを特徴とするデータベース診断システム。
The database diagnosis system according to claim 2, wherein
A database diagnostic system, wherein the format conversion means has a function of converting diagnostic result information received in a text data format into data described in an XML format.
請求項2または3に記載のデータベース診断システムにおいて、
フォーマット変換手段が、受け取った診断結果情報に、診断対象となったデータベースサーバについてのDBMSの種類を示す情報、OSの種類を示す情報およびDB識別情報を書誌情報として付加する機能を有し、
診断結果格納手段が、前記書誌情報を付加した状態の診断結果情報を格納する機能を有することを特徴とするデータベース診断システム。
The database diagnosis system according to claim 2 or 3,
The format conversion means has a function of adding information indicating the type of DBMS, information indicating the type of OS, and DB identification information as bibliographic information to the received diagnosis result information, for the database server to be diagnosed,
A database diagnosis system, wherein the diagnosis result storage means has a function of storing diagnosis result information with the bibliographic information added thereto.
請求項1〜4のいずれかに記載のデータベース診断システムにおいて、
DBMS名およびそのバージョンによって、DBMSの種類を特定することを特徴とするデータベース診断システム。
In the database diagnostic system according to any one of claims 1 to 4,
A database diagnostic system characterized by identifying a DBMS type by a DBMS name and its version.
請求項1〜5のいずれかに記載のデータベース診断システムにおいて、
診断対象となるデータベースサーバのIPアドレスおよび診断対象となるデータベースの名称によってDB特定情報を構成することを特徴とするデータベース診断システム。
In the database diagnosis system according to any one of claims 1 to 5,
A database diagnosis system comprising DB specifying information based on an IP address of a database server to be diagnosed and a name of a database to be diagnosed.
請求項1〜6のいずれかに記載のデータベース診断システムにおいて、
結果表示用Webページ提示手段が、Webページ上での表示書式を示すスタイルシートに基づいて、診断結果情報をHTML形式に変換する機能を有することを特徴とするデータベース診断システム。
In the database diagnosis system according to any one of claims 1 to 6,
A database diagnosis system, wherein the result display Web page presentation means has a function of converting diagnosis result information into an HTML format based on a style sheet indicating a display format on a Web page.
請求項1〜7のいずれかに記載のデータベース診断システムを構成するシステム本体。   The system main body which comprises the database diagnostic system in any one of Claims 1-7. 請求項1〜7のいずれかに記載のデータベース診断システムを構成するシステム本体としてコンピュータを機能させるためのプログラムおよび当該プログラムを記録したコンピュータ読み取り可能な記録媒体。   A program for causing a computer to function as a system main body constituting the database diagnosis system according to claim 1, and a computer-readable recording medium storing the program.
JP2004078075A 2004-03-18 2004-03-18 Database diagnostic system Expired - Fee Related JP4476655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004078075A JP4476655B2 (en) 2004-03-18 2004-03-18 Database diagnostic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004078075A JP4476655B2 (en) 2004-03-18 2004-03-18 Database diagnostic system

Publications (2)

Publication Number Publication Date
JP2005267193A true JP2005267193A (en) 2005-09-29
JP4476655B2 JP4476655B2 (en) 2010-06-09

Family

ID=35091684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004078075A Expired - Fee Related JP4476655B2 (en) 2004-03-18 2004-03-18 Database diagnostic system

Country Status (1)

Country Link
JP (1) JP4476655B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101189967B1 (en) * 2011-06-30 2012-10-12 에스케이씨앤씨 주식회사 System auto-compliance method and auto-compliance system using the same
CN103324656A (en) * 2012-03-22 2013-09-25 乐金信世股份有限公司 Database management method and database management server thereof
KR102230442B1 (en) * 2020-12-14 2021-03-22 주식회사 이글루시큐리티 Vulnerability diagnosis device and method in which the subject of collecting the setting files of the server to be diagnosed and diagnosing the vulnerability of the setting files is divided

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101189967B1 (en) * 2011-06-30 2012-10-12 에스케이씨앤씨 주식회사 System auto-compliance method and auto-compliance system using the same
CN103324656A (en) * 2012-03-22 2013-09-25 乐金信世股份有限公司 Database management method and database management server thereof
US20130304695A1 (en) * 2012-03-22 2013-11-14 Lg Cns Co., Ltd. Method for providing database management and the database management server thereof
KR101331452B1 (en) * 2012-03-22 2013-11-21 주식회사 엘지씨엔에스 Method for providing database management and the database management server there of
CN103324656B (en) * 2012-03-22 2018-09-25 乐金信世股份有限公司 Data base management method and its Database Administration Server
KR102230442B1 (en) * 2020-12-14 2021-03-22 주식회사 이글루시큐리티 Vulnerability diagnosis device and method in which the subject of collecting the setting files of the server to be diagnosed and diagnosing the vulnerability of the setting files is divided

Also Published As

Publication number Publication date
JP4476655B2 (en) 2010-06-09

Similar Documents

Publication Publication Date Title
US9606971B2 (en) Rule-based validation of websites
US8132095B2 (en) Auditing a website with page scanning and rendering techniques
US8365062B2 (en) Auditing a website with page scanning and rendering techniques
US10289275B2 (en) Standard commands for native commands
US6832220B1 (en) Method and apparatus for file searching, accessing file identifiers from reference page
US8386931B2 (en) Method and apparatus for providing process guidance
US6996798B2 (en) Automatically deriving an application specification from a web-based application
US20050251513A1 (en) Techniques for correlated searching through disparate data and content repositories
US20100017415A1 (en) Data access control method and data access control apparatus
US20080091775A1 (en) Method and apparatus for parallel operations on a plurality of network servers
US20050268165A1 (en) Method and system for automated testing of web services
JP2017027208A (en) Dialogue information providing system, information processing unit and program
JP2008077611A (en) Log integrated management system
US20080059429A1 (en) Integrated search processing method and device
JP4476655B2 (en) Database diagnostic system
CN116126808A (en) Behavior log recording method, device, computer equipment and storage medium
JP2013114393A (en) Information retrieval device and program
US20090112842A1 (en) Methods and apparatus for web-based research
JP5737249B2 (en) Load simulation apparatus, simulation apparatus, load simulation method, simulation method, and program
CN102063560A (en) Method for automatically scoring in steps in computer test and system thereof
US11593451B2 (en) System and method for comparing zones for different versions of a website based on performance metrics
KR20090105692A (en) Method for Making Expert&#39;s Recommendation Search Result and Recording Medium
JP4846031B2 (en) Operation verification system
US20090125554A1 (en) Statistical process control resource tracker
JP2005267194A (en) Database diagnosis report management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100112

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100209

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100309

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100310

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130319

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130319

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140319

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees