JP2007087121A - Total management apparatus, database system, database management method, and database management program - Google Patents

Total management apparatus, database system, database management method, and database management program Download PDF

Info

Publication number
JP2007087121A
JP2007087121A JP2005275288A JP2005275288A JP2007087121A JP 2007087121 A JP2007087121 A JP 2007087121A JP 2005275288 A JP2005275288 A JP 2005275288A JP 2005275288 A JP2005275288 A JP 2005275288A JP 2007087121 A JP2007087121 A JP 2007087121A
Authority
JP
Japan
Prior art keywords
capacity
database
total
insufficient
reserved
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005275288A
Other languages
Japanese (ja)
Inventor
Hideyuki Nonoyama
秀行 野々山
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2005275288A priority Critical patent/JP2007087121A/en
Publication of JP2007087121A publication Critical patent/JP2007087121A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a shortage of capacity of a database with a constitution for expanding a secured area. <P>SOLUTION: A use area check part 121 for database processors 101-10n output used capacity data indicating a used capacity. The total management apparatus 201 stores the used capacity data in a storage 401 as increase history data 211 when they are inputted, reads the increase history data 211, and generates predicted used capacity data 212 after a period N. The total management apparatus 201 calculates Σ (a shortage of capacity) of each of databases 111 to data base 11n, a total sum Σ of the secured capacity (secured capacity), and a total capacity Z - the total sum Σ (secured capacity) = a remaining capacity. When the remaining capacity is not ≥Σ (a shortage of capacity), the apparatus repeats subtractions until the remaining capacity becomes ≥Σ (a shortage of capacity). When the remaining capacity becomes ≥Σ (a shortage of capacity), the total management apparatus 201 outputs a new secured capacity to the database processors 101 to 10n, whereas the databases 111 to 11n update the secured capacity to the new secured capacity. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、全体管理装置、データベースシステム、データベース管理方法、および、データベース管理プログラムに関し、特に、データベースの容量不足を予防する全体管理装置、データベースシステム、データベース管理方法、および、データベース管理プログラムに関する。   The present invention relates to a total management apparatus, a database system, a database management method, and a database management program, and more particularly to a total management apparatus, a database system, a database management method, and a database management program for preventing a shortage of database capacity.

従来のデータベースの拡張に関する技術の1例が、特許文献1に記載されている。この技術は、データベースに新たなデータを登録する時に、データベースの拡張を実施する構成である。   An example of a technique related to conventional database expansion is described in Patent Document 1. This technique is configured to extend the database when new data is registered in the database.

特開2001−256086JP 2001-256086 A

上述した従来の技術の第1の問題点は、データベースの拡張の処理により性能が低下することである。   The first problem of the above-described conventional technology is that the performance is degraded by the database expansion process.

その理由は、データベースに新たなデータを登録する時に、データベースの拡張を実施する構成をとるので、データベースへの新たなデータが待たされるからである。   The reason is that, when new data is registered in the database, the database is expanded, so that new data in the database is awaited.

本発明の目的は、上記問題点を解決するデータベースシステム、データベース管理方法、および、データベース管理プログラムを提供することである。   An object of the present invention is to provide a database system, a database management method, and a database management program that solve the above problems.

本発明の第1の全体管理装置は、1以上のデータベースを格納する第1の記憶装置と接続され前記データベースにそれぞれアクセスする1以上のデータベース処理装置から前記第1の記憶装置に対する各前記データベースの使用容量データを入力し、増加履歴データに追加し第2の記憶装置に格納し、事前に設定されたアルゴリズムを使用して、増加履歴データから前記データベースごとの一定期間N後の予測使用容量を算出し、前記データベースごとの不足容量=(予測使用容量−各確保容量)を計算し、正になるものの総和Σ(不足容量)を算出し、前記第1の記憶装置の残容量=全容量−総和Σ(前記データベースごとの確保容量)を算出し、残容量≧総和Σ(不足容量)であれば、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手段を有する。   The first overall management apparatus of the present invention is connected to a first storage device that stores one or more databases and accesses each of the databases from one or more database processing devices that respectively access the databases. The used capacity data is input, added to the increased history data, stored in the second storage device, and the predicted used capacity after a certain period N for each database is calculated from the increased history data using a preset algorithm. Calculate and calculate the shortage capacity for each database = (predicted used capacity−reserved capacity), calculate the sum of positive ones Σ (shortage capacity), and the remaining capacity of the first storage device = total capacity− Calculate the total Σ (reserved capacity for each database), and if the remaining capacity ≧ total Σ (insufficient capacity), each predicted usage amount is set as the new reserved capacity for the database. And means for outputting to said database processing unit to respond.

本発明の第2の全体管理装置は、前記第1の全体管理装置であって、一定期間N後に関し、残容量≧総和Σ(不足容量)でなければ、期間N=(N−定数K)後の総和Σ(不足容量)を残容量≧総和Σ(不足容量)になるまで、順次計算し、残容量≧総和Σ(不足容量)になると、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手段を有する。   The second overall management apparatus according to the present invention is the first overall management apparatus, and if the remaining capacity is not equal to the total sum Σ (insufficient capacity) after a certain period N, the period N = (N−constant K) The subsequent total Σ (insufficient capacity) is sequentially calculated until the remaining capacity ≧ total Σ (insufficient capacity), and when the remaining capacity ≧ total Σ (insufficient capacity), each predicted usage is set as the newly secured capacity of the database. And a means for outputting to the corresponding database processing apparatus.

本発明の第1のデータベースシステムは、1以上のデータベースを格納する第1の記憶装置と、前記データベースにそれぞれアクセスする1以上のデータベース処理と、前記データベース、前記データベース処理装置を管理する全体処理装置と、前記全体処理装置に接続され前記データベースごとの確保容量、および、使用する容量の履歴である増加履歴データを格納する第2の記憶装置とを備え、前記データベースのそれぞれの前記第1の記憶装置における使用容量を示す使用容量データを前記データベース処理装置に出力し、前記全体処理装置から新確保容量を入力すると、対応する前記データベースに新確保容量を渡し更新させる前記データベース処理装置と、前記使用容量データを入力し、増加履歴データに追加し前記第2の記憶装置に格納し、事前に設定されたアルゴリズムを使用して、増加履歴データから前記データベースごとの一定期間N後の予測使用容量を算出し、前記データベースごとの不足容量=(予測使用容量−各確保容量)を計算し、正になるものの総和Σ(不足容量)を算出し、前記第1の記憶装置の残容量=全容量−総和Σ(前記データベースごとの確保容量)を算出し、残容量≧総和Σ(不足容量)であれば、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する前記全体管理装置と、を有する。   The first database system of the present invention includes a first storage device that stores one or more databases, one or more database processes that respectively access the databases, and an overall processing device that manages the databases and the database processing devices. And a second storage device connected to the overall processing device for storing the reserved capacity for each database and the increased history data that is a history of the capacity to be used, and the first storage of each of the databases The database processing device which outputs the used capacity data indicating the used capacity in the apparatus to the database processing device, and when the new reserved capacity is input from the overall processing device, passes the new reserved capacity to the corresponding database, and the usage The capacity data is input and added to the increase history data, and the second storage device And using the algorithm set in advance, the predicted use capacity after a certain period N for each database is calculated from the increase history data, and the shortage capacity for each database = (predicted use capacity−each reserved capacity) ) To calculate the sum Σ (insufficient capacity) of the positive ones, calculate the remaining capacity of the first storage device = total capacity−total Σ (reserved capacity for each database), and remaining capacity ≧ total If it is Σ (insufficient capacity), the overall management apparatus outputs each predicted usage amount to the corresponding database processing apparatus as a newly secured capacity of the database.

本発明の第2のデータベースシステムは、前記第1のデータベースシステムであって、一定期間N後に関し、残容量≧総和Σ(不足容量)でなければ、期間N=(N−定数K)後の総和Σ(不足容量)を残容量≧総和Σ(不足容量)になるまで、順次計算し、残容量≧総和Σ(不足容量)になると、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する前記全体管理装置を有する。   The second database system of the present invention is the first database system according to the first database system, and after the predetermined period N, if the remaining capacity is not equal to the total sum Σ (insufficient capacity), after the period N = (N−constant K) The total sum Σ (insufficient capacity) is calculated sequentially until the remaining capacity ≧ total sum Σ (insufficient capacity), and when the remaining capacity ≧ total Σ (insufficient capacity), each predicted usage amount corresponds to the newly secured capacity of the database. The overall management device for outputting to the database processing device.

本発明の第3のデータベースシステムは、前記第2のデータベースシステムであって、前記全体管理装置から新確保容量を入力し、前記データベースへのアクセスの負荷が一定値以下になると、対応する前記データベースに新確保容量を渡し更新させる前記データベース処理装置を有する。   The third database system of the present invention is the second database system, wherein a new reserved capacity is input from the overall management apparatus, and when the load of access to the database becomes a predetermined value or less, the corresponding database The database processing apparatus is provided for transferring and renewing the newly reserved capacity.

本発明の第1のデータベース管理方法は、全体管理装置が、1以上のデータベースを格納する第1の記憶装置と接続され前記データベースにそれぞれアクセスする1以上のデータベース処理装置から前記第1の記憶装置に対する各前記データベースの使用容量データを入力し増加履歴データに追加し第2の記憶装置に格納する手順と、事前に設定されたアルゴリズムを使用して、増加履歴データから前記データベースごとの一定期間N後の予測使用容量を算出する手順と、前記データベースごとの不足容量=(予測使用容量−各確保容量)を計算し、正になるものの総和Σ(不足容量)を算出する手順と、前記第1の記憶装置の残容量=全容量−総和Σ(前記データベースごとの確保容量)を算出する手順と、残容量≧総和Σ(不足容量)であれば、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順とを含む。   According to a first database management method of the present invention, the overall management device is connected to a first storage device that stores one or more databases, and is connected to the first storage device from one or more database processing devices that respectively access the database. The used capacity data of each of the databases is input, added to the increase history data, and stored in the second storage device, and a predetermined period N for each database is determined from the increase history data using a preset algorithm. A procedure for calculating a later predicted used capacity; a procedure for calculating a shortage capacity for each database = (predicted used capacity−each reserved capacity) and calculating a sum Σ (insufficient capacity) of positive ones; The remaining capacity of the storage device = total capacity−total Σ (reserved capacity for each database) and the remaining capacity ≧ total Σ (insufficient capacity) If, and a procedure for outputting the database processing apparatus corresponding to the estimated usage amount as a new reserved capacity of the database.

本発明の第2のデータベース管理方法は、前記第1のデータベース管理方法であって、前記全体管理装置が、一定期間N後に関し、残容量≧総和Σ(不足容量)でなければ、期間N=(N−定数K)後の総和Σ(不足容量)を残容量≧総和Σ(不足容量)になるまで、順次計算する手順と、残容量≧総和Σ(不足容量)になると、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順とを含む。   The second database management method of the present invention is the first database management method, wherein the overall management device is not in the remaining capacity ≧ total sum Σ (insufficient capacity) after a certain period N, the period N = (N−constant K) The total Σ (insufficient capacity) after the remaining capacity ≧ total Σ (insufficient capacity) is sequentially calculated, and the remaining capacity ≧ total Σ (insufficient capacity) Output to the corresponding database processing apparatus as the newly secured capacity of the database.

本発明の第3のデータベース管理方法は、1以上のデータベースを格納する第1の記憶装置と、前記データベースにそれぞれアクセスする1以上のデータベース処理と、前記データベース、前記データベース処理装置を管理する全体処理装置と、前記全体処理装置に接続され前記データベースごとの確保容量、および、使用する容量の履歴である増加履歴データを格納する第2の記憶装置とを備えるデータベースシステムにおけるデータベース制御方法であって、前記データベース処理装置が、前記データベースのそれぞれの前記第1の記憶装置における使用容量を示す使用容量データを前記データベース処理装置に出力する手順と、前記全体処理装置から新確保容量を入力すると、対応する前記データベースに新確保容量を渡し更新させる手順と、前記全体管理装置が、前記使用容量データを入力し、増加履歴データに追加し前記第2の記憶装置に格納する手順と、事前に設定されたアルゴリズムを使用して、増加履歴データから前記データベースごとの一定期間N後の予測使用容量を算出する手順と、前記データベースごとの不足容量=(予測使用容量−各確保容量)を計算し、正になるものの総和Σ(不足容量)を算出する手順と、前記第1の記憶装置の残容量=全容量−総和Σ(前記データベースごとの確保容量)を算出する手順と、残容量≧総和Σ(不足容量)であれば、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順と、を含む。   The third database management method of the present invention includes a first storage device that stores one or more databases, one or more database processes that respectively access the databases, and an overall process that manages the databases and the database processing apparatuses. A database control method in a database system comprising: a storage device connected to the overall processing device; and a second storage device that stores increase history data that is a history of a capacity to be used and a capacity to be used; When the database processing apparatus inputs the used capacity data indicating the used capacity in the first storage device of each of the databases to the database processing apparatus, and a new reserved capacity is input from the overall processing apparatus, it corresponds Pass the newly secured capacity to the database and update it In order, from the increase history data, the overall management device inputs the used capacity data, adds to the increase history data and stores it in the second storage device, and a preset algorithm. The procedure for calculating the predicted used capacity after a certain period N for each database and the shortage capacity for each database = (predicted used capacity−each reserved capacity) are calculated, and the sum Σ (insufficient capacity) of positive ones is calculated. And the remaining capacity of the first storage device = total capacity−total sum Σ (reserved capacity for each database), and remaining capacity ≧ total Σ (insufficient capacity) Output to the corresponding database processing apparatus as the newly secured capacity of the database.

本発明の第4のデータベース管理方法は、前記第3のデータベース管理方法であって、前記全体管理装置が、一定期間N後に関し、残容量≧総和Σ(不足容量)でなければ、期間N=(N−定数K)後の総和Σ(不足容量)を残容量≧総和Σ(不足容量)になるまで、順次計算する手順と、残容量≧総和Σ(不足容量)になると、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順と含む。   A fourth database management method according to the present invention is the third database management method, wherein the overall management apparatus is in a period N = if the remaining capacity ≧ total Σ (insufficient capacity) after a certain period N. (N−constant K) The total Σ (insufficient capacity) after the remaining capacity ≧ total Σ (insufficient capacity) is sequentially calculated, and the remaining capacity ≧ total Σ (insufficient capacity) Output to the corresponding database processing apparatus as the newly secured capacity of the database.

本発明の第5のデータベース管理方法は、前記第4のデータベース管理方法であって、前記データベース処理装置が、前記全体管理装置から新確保容量を入力し、前記データベースへのアクセスの負荷が一定値以下になると、対応する前記データベースに新確保容量を渡し更新させる手順を含む。   The fifth database management method of the present invention is the fourth database management method, wherein the database processing device inputs a new reserved capacity from the overall management device, and a load of access to the database is a constant value. When it becomes below, it includes a procedure for transferring the new reserved capacity to the corresponding database and updating it.

本発明の第1のデータベース管理プログラムは、全体管理装置に、1以上のデータベースを格納する第1の記憶装置と接続され前記データベースにそれぞれアクセスする1以上のデータベース処理装置から前記第1の記憶装置に対する各前記データベースの使用容量データを入力し増加履歴データに追加し第2の記憶装置に格納する手順と、事前に設定されたアルゴリズムを使用して、増加履歴データから前記データベースごとの一定期間N後の予測使用容量を算出する手順と、前記データベースごとの不足容量=(予測使用容量−各確保容量)を計算し、正になるものの総和Σ(不足容量)を算出する手順と、前記第1の記憶装置の残容量=全容量−総和Σ(前記データベースごとの確保容量)を算出する手順と、残容量≧総和Σ(不足容量)であれば、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順と実行させる。   A first database management program according to the present invention includes a first storage device that is connected to a first storage device that stores one or more databases in the overall management device and that accesses each of the databases from the one or more database processing devices. The used capacity data of each of the databases is input, added to the increase history data, and stored in the second storage device, and a predetermined period N for each database is determined from the increase history data using a preset algorithm. A procedure for calculating a later predicted used capacity; a procedure for calculating a shortage capacity for each database = (predicted used capacity−each reserved capacity) and calculating a sum Σ (insufficient capacity) of positive ones; Storage capacity = total capacity−total Σ (reserved capacity for each database) and remaining capacity ≧ total Σ (insufficient capacity) If, to execute the steps of outputting to the database processing device corresponding to the estimated usage amount as a new reserved capacity of the database.

本発明の第2のデータベース管理プログラムは、前記第1のデータベース管理プログラムであって、前記全体管理装置に、一定期間N後に関し、残容量≧総和Σ(不足容量)でなければ、期間N=(N−定数K)後の総和Σ(不足容量)を残容量≧総和Σ(不足容量)になるまで、順次計算する手順と、残容量≧総和Σ(不足容量)になると、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順とを実行させる。   The second database management program according to the present invention is the first database management program, wherein the overall management apparatus is in a state where the remaining capacity ≧ total sum Σ (insufficient capacity) after a certain period N, the period N = (N−constant K) The total Σ (insufficient capacity) after the remaining capacity ≧ total Σ (insufficient capacity) is sequentially calculated, and the remaining capacity ≧ total Σ (insufficient capacity) Is output to the corresponding database processing apparatus as the newly secured capacity of the database.

本発明の第4のデータベースシステムは、ある期間ごとに、1以上のデータベースの使用容量から一定のアルゴリズムを使用し一定期間後の予測使用容量を算出し、前記データベースの確保容量を予測使用容量>確保容量あれば、前記データベースの確保容量を予測使用容量に更新する手段を有す。   The fourth database system of the present invention calculates a predicted used capacity after a certain period using a certain algorithm from the used capacity of one or more databases every certain period, and calculates a reserved capacity of the database as a predicted used capacity> If there is a reserved capacity, there is means for updating the reserved capacity of the database to the predicted used capacity.

本発明の第6のデータベース管理方法は、ある期間ごとに、1以上のデータベースの使用容量から一定のアルゴリズムを使用し一定期間後の予測使用容量を算出する手順と、前記データベースの確保容量を予測使用容量>確保容量あれば、前記データベースの確保容量を予測使用容量に更新する手順とを含む。   According to a sixth database management method of the present invention, a procedure for calculating a predicted used capacity after a certain period using a certain algorithm from a used capacity of one or more databases every predetermined period, and predicting a reserved capacity of the database If used capacity> reserved capacity, a procedure for updating the reserved capacity of the database to the predicted used capacity is included.

本発明の第3のデータベース管理プログラムは、データベースシステムに、ある期間ごとに、1以上のデータベースの使用容量から一定のアルゴリズムを使用し一定期間後の予測使用容量を算出する手順と、前記データベースの確保容量を予測使用容量>確保容量あれば、前記データベースの確保容量を予測使用容量に更新する手順とを実行させる。   According to a third database management program of the present invention, a database system is configured to calculate a predicted usage capacity after a certain period using a certain algorithm from the usage capacity of one or more databases for each period, If the reserved capacity is the predicted used capacity> the reserved capacity, the procedure of updating the reserved capacity of the database to the predicted used capacity is executed.

本発明の効果は、データベースの拡張(確保領域の拡張)の処理による性能低下を防止できることである。   The effect of the present invention is that it is possible to prevent performance degradation due to database expansion (reserved area expansion) processing.

その理由は、データベースに新たなデータを登録する時点ではなく、事前に、データベースの確保領域を拡張する構成をとるからである。   The reason is that it takes a configuration in which the reserved area of the database is expanded in advance, not at the time of registering new data in the database.

次に、本発明を実施するための第1の最良の形態について図面を参照して詳細に説明する。   Next, a first best mode for carrying out the present invention will be described in detail with reference to the drawings.

図1は、本発明を実施するための第1の最良の形態のデータベースシステムのブロック図である。   FIG. 1 is a block diagram of a database system according to a first best mode for carrying out the present invention.

図1を参照すると、本発明を実施するための第1の最良の形態のデータベースシステムは、n台のデータベース処理装置101、データベース処理装置102、…、データベース処理装置10n(たとえば、サーバ等のコンピュータ)と、全体管理装置201(たとえば、管理サーバ等のコンピュータ)と、記憶装置301(たとえば、ハードディスク装置)と、記憶装置401(たとえば、メモリ、ハードディスク装置)とを含む。データベース処理装置101〜データベース処理装置10nと記憶装置301とは、I/Oバス等で接続される。データベース処理装置101〜データベース処理装置10nと全体管理装置201とは、システムバス等で接続される。全体管理装置201と記憶装置401とは、I/Oバス(または、メモリバス)等で接続される。   Referring to FIG. 1, a database system according to a first best mode for carrying out the present invention includes n database processing devices 101, database processing devices 102,..., Database processing device 10n (for example, a computer such as a server). ), A general management device 201 (for example, a computer such as a management server), a storage device 301 (for example, a hard disk device), and a storage device 401 (for example, a memory, a hard disk device). The database processing device 101 to database processing device 10n and the storage device 301 are connected by an I / O bus or the like. The database processing device 101 to database processing device 10n and the overall management device 201 are connected by a system bus or the like. The overall management device 201 and the storage device 401 are connected by an I / O bus (or memory bus) or the like.

記憶装置301は、データベース処理装置101用のデータベース111、データベース処理装置102用のデータベース112、…、データベース処理装置10n用のデータベース11nを異なる領域に格納する。データベース処理装置101〜データベース処理装置10nは、それぞれ、データベース111〜データベース11nにアクセスする。   The storage device 301 stores the database 111 for the database processing device 101, the database 112 for the database processing device 102,..., The database 11n for the database processing device 10n in different areas. The database processing device 101 to the database processing device 10n access the database 111 to the database 11n, respectively.

データベース処理装置101〜データベース処理装置10nは、それぞれ、使用領域確認部121と、領域拡張部122と、データベース負荷監視部123と含む。   Each of the database processing device 101 to database processing device 10n includes a use area confirmation unit 121, an area expansion unit 122, and a database load monitoring unit 123.

また、各データベース111〜データベース11nには、使用容量と、確保容量とが定義される。使用容量とは、各データベース111〜データベース11nがその時点で使用している記憶装置301の容量である。確保容量とは、各データベース111〜データベース11nが使用可能な記憶装置301の容量である。また、各データベース111〜データベース11nは、データ部分のみでなくプログラム部分も含んでいる。   In addition, in each of the databases 111 to 11n, a used capacity and a reserved capacity are defined. The used capacity is the capacity of the storage device 301 used by each database 111 to 11n at that time. The reserved capacity is the capacity of the storage device 301 that can be used by each of the databases 111 to 11n. Each of the databases 111 to 11n includes not only a data part but also a program part.

記憶装置401は、各データベース111〜データベース11nの使用容量の増加履歴を示す増加履歴データ211と、各データベース111〜データベース11nの将来の増加を示す予測使用容量データ212と、各データベース111〜データベース11nの将来の一定期間後の予測不足容量を示す予測不足容量データ213と、各データベース111〜データベース11nに対する確保容量を示す確保容量データ214とを格納する。   The storage device 401 includes increase history data 211 indicating an increase history of the used capacity of each database 111 to database 11n, predicted use capacity data 212 indicating a future increase of each database 111 to database 11n, and each database 111 to database 11n. The predicted shortage capacity data 213 indicating the predicted shortage capacity after a certain period in the future and the reserved capacity data 214 indicating the reserved capacity for each of the databases 111 to 11n are stored.

全体管理装置201は、インタフェース部221と、事前に設定された予測アルゴリズム(たとえば、外挿法が挙げられるが、これに限定されない)に基づいて将来の予測使用容量データ212を生成する予測使用容量生成部222と、予測使用容量データ212に基づいて将来の一定期間後の予測不足容量を算出する予測不足容量データ213を生成する確保容量生成部223とを含む。   The overall management apparatus 201 generates a predicted usage capacity data 212 for generating future predicted usage capacity data 212 based on the interface unit 221 and a preset prediction algorithm (for example, but not limited to an extrapolation method). It includes a generation unit 222 and a reserved capacity generation unit 223 that generates predicted insufficient capacity data 213 that calculates a predicted insufficient capacity after a certain period of time based on the predicted used capacity data 212.

本発明を実施するための第1の最良の形態は、ある期間ごとに、1以上のデータベース111〜11nの使用容量から一定のアルゴリズムを使用し一定期間後の予測使用容量を算出し、前記データベースの確保容量を予測使用容量>確保容量あれば、前記データベースデータベース111〜11nの確保容量を予測使用容量に更新するデータベースシステムである。   The first best mode for carrying out the present invention is to calculate a predicted usage capacity after a certain period using a certain algorithm from the usage capacity of one or more databases 111 to 11n every certain period, In the database system, the reserved capacity of the database databases 111 to 11n is updated to the predicted used capacity if the reserved capacity is greater than the predicted used capacity.

次に、本発明を実施するための第1の最良の形態の動作について図面を参照して説明する。   Next, the operation of the first best mode for carrying out the present invention will be described with reference to the drawings.

図2、図3は、本発明を実施するための第1の最良の形態の動作を示すフローチャートである。   2 and 3 are flowcharts showing the operation of the first best mode for carrying out the present invention.

図2を参照すると、まず、データベース処理装置101〜データベース処理装置10nの使用領域確認部121は、動作中に、たとえば、一定時間間隔で、それぞれ、データベース111〜データベース11nのその時点の使用容量(たとえば、バイト単位)を示す使用容量データを全体管理装置201に出力する(図2ステップS1)。全体管理装置201のインタフェース部221は、使用容量データを入力すると、増加履歴データ211として記憶装置401に格納する(ステップS2)。   Referring to FIG. 2, first, the used area confirmation unit 121 of the database processing apparatus 101 to the database processing apparatus 10 n operates, for example, at a certain time interval, at each of the used capacity of the database 111 to the database 11 n at that time ( For example, the used capacity data indicating bytes) is output to the overall management apparatus 201 (step S1 in FIG. 2). When the used capacity data is input, the interface unit 221 of the overall management apparatus 201 stores the increase capacity data 211 in the storage device 401 (step S2).

図4は、増加履歴データ211の1例を示す説明図である。   FIG. 4 is an explanatory diagram showing an example of the increase history data 211.

図4を参照すると、増加履歴データ211は、各データベース111〜データベース11nを識別する識別情報と、各データベース111〜データベース11nの時点ごと(1月、2月、3月、4月、5月)の使用容量との対を含む。たとえば、データベース111の容量は、10[メガバイト]、11[メガバイト]、12[メガバイト]、14[メガバイト]、15[メガバイト]である。   Referring to FIG. 4, the increase history data 211 includes identification information for identifying each of the databases 111 to 11n and each time point of each of the databases 111 to 11n (January, February, March, April, May). Including a pair of used capacity. For example, the capacity of the database 111 is 10 [megabytes], 11 [megabytes], 12 [megabytes], 14 [megabytes], and 15 [megabytes].

次に、予測使用容量生成部222は、一定期間Nに値(たとえば、3か月)を設定する(ステップS3)。次に、予測使用容量生成部222は、記憶装置401から増加履歴データ211を読み出し、3か月後の予測使用容量データ212を生成し、記憶装置401に格納する(ステップS4)。たとえば、現在、5月であれば、3か月後の8月の予測使用容量データ212を生成する。アルゴリズムは、たとえば、「今月を含む3ヶ月以前の容量の変化」+「現在の使用容量」である。   Next, the predicted usage capacity generation unit 222 sets a value (for example, 3 months) for the certain period N (step S3). Next, the predicted usage capacity generation unit 222 reads the increase history data 211 from the storage device 401, generates predicted usage capacity data 212 after three months, and stores it in the storage device 401 (step S4). For example, if the current month is May, the predicted usage capacity data 212 for August three months later is generated. The algorithm is, for example, “change in capacity before three months including this month” + “current used capacity”.

図5は、予測使用容量データ212の1例を示す説明図である。   FIG. 5 is an explanatory diagram showing an example of the predicted usage capacity data 212.

図5を参照すると、各予測使用容量データ212は、データベース111〜データベース11nごとの変化量(今月を含む3ヶ月以前の容量の変化)、および、予測使用容量を含む。たとえば、図4から、データベース111に関しては、予測使用容量は、変化量{15(5月の使用容量)−11(2月の使用容量)}+15(5月の使用容量)=19[メガバイト」である。データベース112に関しては、予測使用容量は、変化量{20(5月の使用容量)−20(2月の使用容量)}+20(5月の使用容量)=20[メガバイト」である。データベース11nに関しては、予測使用容量は、変化量{70(5月の使用容量)−40(2月の使用容量)}+70(5月の使用容量)=100[メガバイト」である。   Referring to FIG. 5, each predicted used capacity data 212 includes a change amount for each of the databases 111 to 11n (change in capacity before three months including this month) and a predicted used capacity. For example, from FIG. 4, regarding the database 111, the predicted usage capacity is the change amount {15 (used capacity in May) −11 (used capacity in February)} + 15 (used capacity in May) = 19 [megabytes]. It is. With respect to the database 112, the predicted used capacity is the change amount {20 (used capacity in May) −20 (used capacity in February)} + 20 (used capacity in May) = 20 [megabytes]. Regarding the database 11n, the predicted usage capacity is the change amount {70 (used capacity in May) −40 (used capacity in February)} + 70 (used capacity in May) = 100 [megabytes].

次に、確保容量生成部223は、記憶装置401から確保容量データ214と、予測使用容量データ212とを読み出す。   Next, the reserved capacity generation unit 223 reads the reserved capacity data 214 and the predicted used capacity data 212 from the storage device 401.

図6は、確保容量データ214の1例を示す説明図である。   FIG. 6 is an explanatory diagram showing an example of the reserved capacity data 214.

図6を参照すると、確保容量データ214は、各データベース111〜データベース11nを識別する識別情報と、確保容量との対を含む。たとえば、データベース111の確保容量は、18[メガバイト]である。   Referring to FIG. 6, the reserved capacity data 214 includes a pair of identification information for identifying each of the databases 111 to 11n and a reserved capacity. For example, the secured capacity of the database 111 is 18 [megabytes].

確保容量生成部223は、各データベース111〜データベース11nの不足容量=(予測使用容量−各確保容量(確保容量データ214から読み出す))を計算し、正になるものの総和Σ(不足容量)を算出する(ステップS5)。次に、確保容量生成部223は、データベース111〜データベース11nの確保容量の総和Σ(確保容量)を算出する(ステップS6)。次に、確保容量生成部223は、記憶装置301の全容量Z−総和Σ(確保容量)=残容量を算出する(ステップS7)。次に、確保容量生成部223は、残容量と総和Σ(不足容量)とを比較する(ステップS8)。ここで、確保容量生成部223は、事前に、全容量Z(データベース111〜データベース11nが確保できる全容量)を保持している。   The reserved capacity generation unit 223 calculates the shortage capacity of each of the databases 111 to 11n = (predicted used capacity−each reserved capacity (read from the reserved capacity data 214)), and calculates the sum Σ (insufficient capacity) of the positive ones. (Step S5). Next, the reserved capacity generation unit 223 calculates the sum Σ (reserved capacity) of the reserved capacity of the databases 111 to 11n (step S6). Next, the reserved capacity generation unit 223 calculates the total capacity Z−total sum Σ (reserved capacity) = remaining capacity of the storage device 301 (step S7). Next, the reserved capacity generation unit 223 compares the remaining capacity with the sum Σ (insufficient capacity) (step S8). Here, the reserved capacity generation unit 223 holds the total capacity Z (the total capacity that can be secured in the databases 111 to 11n) in advance.

残容量≧Σ(不足容量)であれば(ステップS8/YES)、確保容量生成部223は、予測使用容量データ212の各予測使用容量をインタフェース部221に出力する。インタフェース部221は、各予測使用容量を新確保容量として確保容量の更新指示とともに対応するデータベース111〜データベース11nに出力する(図3ステップS10)。   If the remaining capacity ≧ Σ (insufficient capacity) (step S8 / YES), the reserved capacity generation unit 223 outputs each predicted used capacity of the predicted used capacity data 212 to the interface unit 221. The interface unit 221 outputs each predicted used capacity as a newly secured capacity to the corresponding database 111 to database 11n together with an instruction to update the secured capacity (step S10 in FIG. 3).

もし、残容量≧Σ(不足容量)でなければ(ステップS8/NO)、3か月から一定数Kを減じた時点(N−K)における予測使用容量データ212を計算する。たとえば、N=N−Kとする(ステップS9)。K=0.1とすると、3−0.1=2.9ヶ月後の予測使用容量データ212を計算する(ステップS4)。以降ステップS4〜ステップS8までを残容量≧Σ(不足容量)になるまで繰り返し、残容量≧Σ(不足容量)になると((ステップS8/YES)、確保容量生成部223は、予測使用容量データ212の各予測使用容量をインタフェース部221に出力する。インタフェース部221は、各予測使用容量を新確保容量として確保容量の更新指示とともに対応するデータベース111〜データベース11nに出力する(図3ステップS10)。   If the remaining capacity is not greater than Σ (insufficient capacity) (step S8 / NO), the predicted used capacity data 212 at the time of subtracting a certain number K from three months (N−K) is calculated. For example, N = N−K (step S9). Assuming that K = 0.1, the predicted used capacity data 212 after 3-0.1 = 2.9 months is calculated (step S4). Thereafter, steps S4 to S8 are repeated until the remaining capacity ≧ Σ (insufficient capacity), and when the remaining capacity ≧ Σ (insufficient capacity) is satisfied (step S8 / YES), the reserved capacity generating unit 223 calculates the predicted used capacity data. Each predicted usage capacity 212 is output to the interface unit 221. The interface unit 221 outputs each predicted usage capacity as a new reserved capacity to the corresponding database 111 to database 11n together with an instruction to update the reserved capacity (step S10 in FIG. 3). .

また、確保容量生成部223は、ステップS5、ステップS9を実行すると、確保容量データ214の内容を新確保容量に更新する(ステップS11)。   In addition, when the reserved capacity generation unit 223 executes step S5 and step S9, the contents of the reserved capacity data 214 are updated to the new reserved capacity (step S11).

データベース処理装置101〜データベース処理装置10nの領域拡張部122は、全体管理装置201から新確保容量、確保容量の更新指示を入力すると、新確保容量を内部に記憶する(ステップS12)。データベース負荷監視部123は、記憶装置301への負荷、または、アクセス率(たとえば、I/Oバスの使用率)を算出し、一定値以下になると、低負荷情報を領域拡張部122に出力する(ステップS13)。領域拡張部122は、低負荷情報を入力すると、記憶装置301内のデータベース111〜データベース11nを起動し、確保領域拡張指示、新確保容量を渡す(ステップS14)。データベース111〜データベース11nは、確保領域拡張指示、新確保容量を受け取ると、確保容量を新確保容量に更新する(ステップS15)。   When the area expansion unit 122 of the database processing apparatus 101 to the database processing apparatus 10n inputs a new reserved capacity and an instruction to update the reserved capacity from the overall management apparatus 201, the area expanding unit 122 stores the new reserved capacity therein (step S12). The database load monitoring unit 123 calculates a load on the storage device 301 or an access rate (for example, an I / O bus usage rate), and outputs the low load information to the area expansion unit 122 when the load is below a certain value. (Step S13). When the low-load information is input, the area expansion unit 122 activates the databases 111 to 11n in the storage device 301, and passes the reserved area expansion instruction and the new reserved capacity (step S14). Upon receiving the reserved area expansion instruction and the new reserved capacity, the databases 111 to 11n update the reserved capacity to the new reserved capacity (step S15).

また、残容量≧Σ(不足容量)でなければ(ステップS8/NO)、確保容量生成部223は、ディスプレイ等に警告を表示する構成が可能である。   If the remaining capacity is not greater than or equal to Σ (insufficient capacity) (step S8 / NO), the reserved capacity generation unit 223 can be configured to display a warning on a display or the like.

以上のように、事前に、確保領域を拡張する構成により、データベース111〜データベース11nの容量不足を予防することができる。   As described above, it is possible to prevent the capacity of the databases 111 to 11n from being insufficient by the configuration in which the reserved area is expanded in advance.

次に、本発明を実施するための第2の最良の形態について図面を参照して詳細に説明する。   Next, a second best mode for carrying out the present invention will be described in detail with reference to the drawings.

本発明を実施するための第2の最良の形態は、残容量≧Σ(不足容量)でなければ(ステップS8/NO)、確保容量生成部223は、新確保量容量を式1により算出する(データベース111〜データベース11nごとに)。   In the second best mode for carrying out the present invention, if the remaining capacity ≧ Σ (insufficient capacity) is not satisfied (step S8 / NO), the reserved capacity generation unit 223 calculates the new reserved quantity capacity by Equation 1. (For each database 111 to database 11n).

新確保量容量=確保容量+(残容量)×(変化量/全変化量)・・・式1。   New secured amount capacity = secured capacity + (remaining capacity) × (change amount / total change amount) Equation 1

本発明を実施するための第2の最良の形態は、式1を用いるので、計算量が少ないという効果がある。   The second best mode for carrying out the present invention uses Equation 1, so that the calculation amount is small.

なお、使用領域確認部121、領域拡張部122、データベース負荷監視部123、インタフェース部221、予測使用容量生成部222、確保容量生成部223をソフトウェア(プログラム)で実現することが可能である。   The used area confirmation unit 121, the area expansion unit 122, the database load monitoring unit 123, the interface unit 221, the predicted used capacity generation unit 222, and the reserved capacity generation unit 223 can be realized by software (program).

本発明を実施するための第1の最良の形態のデータベースシステムのブロック図。The block diagram of the database system of the 1st best form for implementing this invention. 本発明を実施するための第1の最良の形態の動作を示すフローチャート。The flowchart which shows operation | movement of the 1st best form for implementing this invention. 本発明を実施するための第1の最良の形態の動作を示すフローチャート。The flowchart which shows operation | movement of the 1st best form for implementing this invention. 増加履歴データの1例を示す説明図。Explanatory drawing which shows an example of increase log | history data. 予測使用容量データの1例を示す説明図。Explanatory drawing which shows one example of estimated use capacity data. 確保容量データの1例を示す説明図。Explanatory drawing which shows one example of reserved capacity data.

符号の説明Explanation of symbols

101 データベース処理装置
102 データベース処理装置
10n データベース処理装置
111 データベース
112 データベース
11n データベース
121 使用領域確認部
122 領域拡張部
123 データベース負荷監視部
201 全体管理装置
211 増加履歴データ
212 予測使用容量データ
213 予測不足容量データ
214 確保容量データ
221 インタフェース部
222 予測使用容量生成部
223 確保容量生成部
301 記憶装置
401 記憶装置
DESCRIPTION OF SYMBOLS 101 Database processing apparatus 102 Database processing apparatus 10n Database processing apparatus 111 Database 112 Database 11n Database 121 Use area confirmation part 122 Area expansion part 123 Database load monitoring part 201 Overall management apparatus 211 Increase history data 212 Predicted use capacity data 213 Prediction use capacity data 214 Secured Capacity Data 221 Interface Unit 222 Predicted Used Capacity Generation Unit 223 Secured Capacity Generation Unit 301 Storage Device 401 Storage Device

Claims (15)

1以上のデータベースを格納する第1の記憶装置と接続され前記データベースにそれぞれアクセスする1以上のデータベース処理装置から前記第1の記憶装置に対する各前記データベースの使用容量データを入力し、増加履歴データに追加し第2の記憶装置に格納し、事前に設定されたアルゴリズムを使用して、増加履歴データから前記データベースごとの一定期間N後の予測使用容量を算出し、前記データベースごとの不足容量=(予測使用容量−各確保容量)を計算し、正になるものの総和Σ(不足容量)を算出し、前記第1の記憶装置の残容量=全容量−総和Σ(前記データベースごとの確保容量)を算出し、残容量≧総和Σ(不足容量)であれば、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手段を有することを特徴とする全体管理装置。 The usage capacity data of each database for the first storage device is input from one or more database processing devices connected to a first storage device storing one or more databases and accessing the databases, and the increase history data Add and store it in the second storage device, and use the algorithm set in advance to calculate the predicted used capacity after a certain period N for each database from the increase history data, and the insufficient capacity for each database = ( (Predicted used capacity-reserved capacity) is calculated, the sum Σ (insufficient capacity) of the positive ones is calculated, and the remaining capacity of the first storage device = total capacity-total Σ (reserved capacity for each database) If the remaining capacity is equal to or greater than the total sum Σ (insufficient capacity), the database processing device corresponding to each predicted usage amount as the newly secured capacity of the database Overall management apparatus characterized by having a means for outputting to. 一定期間N後に関し、残容量≧総和Σ(不足容量)でなければ、期間N=(N−定数K)後の総和Σ(不足容量)を残容量≧総和Σ(不足容量)になるまで、順次計算し、残容量≧総和Σ(不足容量)になると、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手段を有することを特徴とする請求項1記載の全体管理装置。 If the remaining capacity is not equal to the total sum Σ (insufficient capacity) after a certain period N, the sum Σ (insufficient capacity) after the period N = (N−constant K) is changed to the remaining capacity ≧ total Σ (insufficient capacity). 2. The method according to claim 1, further comprising means for sequentially calculating and, when remaining capacity ≧ total Σ (insufficient capacity), each predicted usage amount is output to the corresponding database processing apparatus as a newly secured capacity of the database. Overall management device. 1以上のデータベースを格納する第1の記憶装置と、前記データベースにそれぞれアクセスする1以上のデータベース処理と、前記データベース、前記データベース処理装置を管理する全体処理装置と、前記全体処理装置に接続され前記データベースごとの確保容量、および、使用する容量の履歴である増加履歴データを格納する第2の記憶装置とを備え、
前記データベースのそれぞれの前記第1の記憶装置における使用容量を示す使用容量データを前記データベース処理装置に出力し、前記全体処理装置から新確保容量を入力すると、対応する前記データベースに新確保容量を渡し更新させる前記データベース処理装置と、
前記使用容量データを入力し、増加履歴データに追加し前記第2の記憶装置に格納し、事前に設定されたアルゴリズムを使用して、増加履歴データから前記データベースごとの一定期間N後の予測使用容量を算出し、前記データベースごとの不足容量=(予測使用容量−各確保容量)を計算し、正になるものの総和Σ(不足容量)を算出し、前記第1の記憶装置の残容量=全容量−総和Σ(前記データベースごとの確保容量)を算出し、残容量≧総和Σ(不足容量)であれば、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する前記全体管理装置と、
を有することを特徴とするデータベースシステム。
A first storage device that stores one or more databases; one or more database processes that respectively access the databases; an overall processing apparatus that manages the databases and the database processing apparatus; A secured storage capacity for each database, and a second storage device that stores increase history data that is a history of the capacity to be used,
When used capacity data indicating the used capacity in the first storage device of each of the databases is output to the database processing apparatus and a new reserved capacity is input from the overall processing apparatus, the new reserved capacity is transferred to the corresponding database. The database processing device to be updated;
The usage capacity data is input, added to the increase history data, stored in the second storage device, and predicted use after a certain period N for each database from the increase history data using a preset algorithm Calculate the capacity, calculate the shortage capacity for each database = (predicted used capacity−each reserved capacity), calculate the sum Σ (insufficient capacity) of positive ones, and the remaining capacity of the first storage device = total Capacity-total Σ (reserved capacity for each database) is calculated, and if remaining capacity ≧ total Σ (insufficient capacity), each predicted usage is output to the corresponding database processing apparatus as the newly reserved capacity of the database. The overall management device;
A database system comprising:
一定期間N後に関し、残容量≧総和Σ(不足容量)でなければ、期間N=(N−定数K)後の総和Σ(不足容量)を残容量≧総和Σ(不足容量)になるまで、順次計算し、残容量≧総和Σ(不足容量)になると、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する前記全体管理装置を有することを特徴とする請求項3記載のデータベースシステム。 If the remaining capacity is not equal to the total sum Σ (insufficient capacity) after a certain period N, the sum Σ (insufficient capacity) after the period N = (N−constant K) is changed to the remaining capacity ≧ total Σ (insufficient capacity). The overall management device that sequentially calculates and outputs each predicted usage amount to the corresponding database processing device as a newly reserved capacity of the database when remaining capacity ≧ total Σ (insufficient capacity). 3. The database system according to 3. 前記全体管理装置から新確保容量を入力し、前記データベースへのアクセスの負荷が一定値以下になると、対応する前記データベースに新確保容量を渡し更新させる前記データベース処理装置を有することを特徴とする請求項4記載のデータベースシステム。 The database processing apparatus according to claim 1, further comprising: a database processing apparatus that inputs a new reserved capacity from the overall management apparatus and passes the new reserved capacity to the corresponding database when a load of access to the database becomes a predetermined value or less. Item 5. The database system according to Item 4. 全体管理装置が、1以上のデータベースを格納する第1の記憶装置と接続され前記データベースにそれぞれアクセスする1以上のデータベース処理装置から前記第1の記憶装置に対する各前記データベースの使用容量データを入力し増加履歴データに追加し第2の記憶装置に格納する手順と、事前に設定されたアルゴリズムを使用して、増加履歴データから前記データベースごとの一定期間N後の予測使用容量を算出する手順と、前記データベースごとの不足容量=(予測使用容量−各確保容量)を計算し、正になるものの総和Σ(不足容量)を算出する手順と、前記第1の記憶装置の残容量=全容量−総和Σ(前記データベースごとの確保容量)を算出する手順と、残容量≧総和Σ(不足容量)であれば、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順とを含むことを特徴とするデータベース管理方法。 The general management device inputs the used capacity data of each database for the first storage device from one or more database processing devices connected to the first storage device for storing the one or more databases and accessing the database respectively. A procedure of adding to the increase history data and storing it in the second storage device; a procedure of calculating a predicted use capacity after a certain period N for each database from the increase history data using a preset algorithm; Insufficient capacity for each database = (predicted used capacity−reserved capacity), a procedure for calculating the sum Σ (insufficient capacity) of positive ones, and the remaining capacity of the first storage device = total capacity−total If Σ (reserved capacity for each database) and the remaining capacity ≧ total Σ (insufficient capacity), each predicted usage is Database management method characterized by including the steps of outputting to the database processing device corresponding as reserved capacity. 前記全体管理装置が、一定期間N後に関し、残容量≧総和Σ(不足容量)でなければ、期間N=(N−定数K)後の総和Σ(不足容量)を残容量≧総和Σ(不足容量)になるまで、順次計算する手順と、残容量≧総和Σ(不足容量)になると、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順とを含むことを特徴とする請求項6記載のデータベース管理方法。 If the total management apparatus does not have a remaining capacity ≧ total sum Σ (insufficient capacity) after a certain period N, the remaining capacity ≧ total sum Σ (insufficient) is calculated as a sum Σ (insufficient capacity) after a period N = (N−constant K). The remaining capacity ≥ total sum Σ (insufficient capacity), and the procedure of outputting each predicted usage amount to the corresponding database processing apparatus as the newly secured capacity of the database. The database management method according to claim 6. 1以上のデータベースを格納する第1の記憶装置と、前記データベースにそれぞれアクセスする1以上のデータベース処理と、前記データベース、前記データベース処理装置を管理する全体処理装置と、前記全体処理装置に接続され前記データベースごとの確保容量、および、使用する容量の履歴である増加履歴データを格納する第2の記憶装置とを備えるデータベースシステムにおけるデータベース制御方法であって、
前記データベース処理装置が、前記データベースのそれぞれの前記第1の記憶装置における使用容量を示す使用容量データを前記データベース処理装置に出力する手順と、前記全体処理装置から新確保容量を入力すると、対応する前記データベースに新確保容量を渡し更新させる手順と、
前記全体管理装置が、前記使用容量データを入力し、増加履歴データに追加し前記第2の記憶装置に格納する手順と、事前に設定されたアルゴリズムを使用して、増加履歴データから前記データベースごとの一定期間N後の予測使用容量を算出する手順と、前記データベースごとの不足容量=(予測使用容量−各確保容量)を計算し、正になるものの総和Σ(不足容量)を算出する手順と、前記第1の記憶装置の残容量=全容量−総和Σ(前記データベースごとの確保容量)を算出する手順と、残容量≧総和Σ(不足容量)であれば、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順と、
を含むことを特徴とするデータベース管理方法。
A first storage device that stores one or more databases; one or more database processes that respectively access the databases; an overall processing apparatus that manages the databases and the database processing apparatus; A database control method in a database system comprising a secured capacity for each database and a second storage device that stores increase history data that is a history of the capacity to be used,
When the database processing apparatus inputs the used capacity data indicating the used capacity in the first storage device of each of the databases to the database processing apparatus, and a new reserved capacity is input from the overall processing apparatus, it corresponds A procedure for passing and updating the newly secured capacity to the database;
The overall management device inputs the used capacity data, adds it to the increase history data and stores it in the second storage device, and uses a preset algorithm for each database from the increase history data. A procedure for calculating a predicted used capacity after a certain period N of the data, a procedure for calculating a shortage capacity for each database = (predicted used capacity−each reserved capacity), and calculating a sum Σ (insufficient capacity) of positive ones; If the remaining capacity of the first storage device = total capacity−total Σ (reserved capacity for each database) and the remaining capacity ≧ total Σ (insufficient capacity), each predicted usage amount is calculated in the database. A procedure for outputting to the database processing apparatus corresponding to the newly secured capacity;
A database management method comprising:
前記全体管理装置が、一定期間N後に関し、残容量≧総和Σ(不足容量)でなければ、期間N=(N−定数K)後の総和Σ(不足容量)を残容量≧総和Σ(不足容量)になるまで、順次計算する手順と、残容量≧総和Σ(不足容量)になると、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順と含むことを特徴とする請求項8記載のデータベース管理方法。 If the total management apparatus does not have a remaining capacity ≧ total sum Σ (insufficient capacity) after a certain period N, the remaining capacity ≧ total sum Σ (insufficient) is calculated as a sum Σ (insufficient capacity) after period N = (N−constant K). The remaining capacity ≥ total sum Σ (insufficient capacity), and a procedure for outputting each predicted usage amount to the corresponding database processing apparatus as a newly secured capacity of the database. The database management method according to claim 8, wherein: 前記データベース処理装置が、前記全体管理装置から新確保容量を入力し、前記データベースへのアクセスの負荷が一定値以下になると、対応する前記データベースに新確保容量を渡し更新させる手順を含むことを特徴とする請求項9記載のデータベース管理方法。 The database processing apparatus includes a procedure of inputting a new reserved capacity from the general management apparatus and passing the new reserved capacity to the corresponding database for updating when a load of access to the database becomes a predetermined value or less. The database management method according to claim 9. 全体管理装置に、1以上のデータベースを格納する第1の記憶装置と接続され前記データベースにそれぞれアクセスする1以上のデータベース処理装置から前記第1の記憶装置に対する各前記データベースの使用容量データを入力し増加履歴データに追加し第2の記憶装置に格納する手順と、事前に設定されたアルゴリズムを使用して、増加履歴データから前記データベースごとの一定期間N後の予測使用容量を算出する手順と、前記データベースごとの不足容量=(予測使用容量−各確保容量)を計算し、正になるものの総和Σ(不足容量)を算出する手順と、前記第1の記憶装置の残容量=全容量−総和Σ(前記データベースごとの確保容量)を算出する手順と、残容量≧総和Σ(不足容量)であれば、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順と実行させることを特徴とするデータベース管理プログラム。 The usage data of each database for the first storage device is input to the overall management device from one or more database processing devices connected to the first storage device for storing one or more databases. A procedure of adding to the increase history data and storing it in the second storage device; a procedure of calculating a predicted use capacity after a certain period N for each database from the increase history data using a preset algorithm; Insufficient capacity for each database = (predicted used capacity−reserved capacity), a procedure for calculating the sum Σ (insufficient capacity) of positive ones, and the remaining capacity of the first storage device = total capacity−total If Σ (reserved capacity for each database) and the remaining capacity ≧ total Σ (insufficient capacity), each predicted usage is Database management program, characterized in that to execute the procedure for output to the database processing device corresponding as reserved capacity. 前記全体管理装置に、一定期間N後に関し、残容量≧総和Σ(不足容量)でなければ、期間N=(N−定数K)後の総和Σ(不足容量)を残容量≧総和Σ(不足容量)になるまで、順次計算する手順と、残容量≧総和Σ(不足容量)になると、各予測使用量を前記データベースの新確保容量として対応する前記データベース処理装置に出力する手順とを実行させることを特徴とする請求項11記載のデータベース管理プログラム。 If the remaining capacity ≥ total sum Σ (insufficient capacity) after a certain period N, the total management device determines the total capacity Σ (insufficient capacity) after period N = (N−constant K) as remaining capacity ≧ total Σ (insufficient) The remaining capacity ≥ total sum Σ (insufficient capacity), and the process of outputting each predicted usage amount to the corresponding database processing device as the newly secured capacity of the database. The database management program according to claim 11, wherein: ある期間ごとに、1以上のデータベースの使用容量から一定のアルゴリズムを使用し一定期間後の予測使用容量を算出し、前記データベースの確保容量を予測使用容量>確保容量あれば、前記データベースの確保容量を予測使用容量に更新する手段を有すことを特徴とするデータベースシステム。 For each certain period, the predicted use capacity after a certain period is calculated from the use capacity of one or more databases using a certain algorithm, and if the reserved capacity of the database is greater than the predicted use capacity> the reserved capacity, the reserved capacity of the database A database system characterized by having means for updating the capacity to the predicted usage capacity. ある期間ごとに、1以上のデータベースの使用容量から一定のアルゴリズムを使用し一定期間後の予測使用容量を算出する手順と、前記データベースの確保容量を予測使用容量>確保容量あれば、前記データベースの確保容量を予測使用容量に更新する手順とを含むことを特徴とするデータベース管理方法。 For each period, a procedure for calculating a predicted usage capacity after a certain period using a certain algorithm from the usage capacity of one or more databases, and if the reserved capacity of the database is greater than the predicted used capacity> the reserved capacity, And a procedure for updating the reserved capacity to the predicted used capacity. データベースシステムに、ある期間ごとに、1以上のデータベースの使用容量から一定のアルゴリズムを使用し一定期間後の予測使用容量を算出する手順と、前記データベースの確保容量を予測使用容量>確保容量あれば、前記データベースの確保容量を予測使用容量に更新する手順とを実行させることを特徴とするデータベース管理プログラム。
In the database system, if a certain algorithm is used to calculate the predicted used capacity after a certain period from the used capacity of one or more databases every certain period, and if the reserved capacity of the database is predicted used capacity> reserved capacity And a procedure for updating the reserved capacity of the database to a predicted used capacity.
JP2005275288A 2005-09-22 2005-09-22 Total management apparatus, database system, database management method, and database management program Pending JP2007087121A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005275288A JP2007087121A (en) 2005-09-22 2005-09-22 Total management apparatus, database system, database management method, and database management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005275288A JP2007087121A (en) 2005-09-22 2005-09-22 Total management apparatus, database system, database management method, and database management program

Publications (1)

Publication Number Publication Date
JP2007087121A true JP2007087121A (en) 2007-04-05

Family

ID=37974037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005275288A Pending JP2007087121A (en) 2005-09-22 2005-09-22 Total management apparatus, database system, database management method, and database management program

Country Status (1)

Country Link
JP (1) JP2007087121A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012194755A (en) * 2011-03-16 2012-10-11 Ricoh Co Ltd Information processor and information processing system
JP2017520029A (en) * 2015-04-03 2017-07-20 バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド Capacity prediction method, system and computer equipment based on Kalman filter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH052510A (en) * 1991-06-25 1993-01-08 Nec Corp System for forecasting increment of data base reorganization data
JPH08235034A (en) * 1995-02-23 1996-09-13 Nec Corp Data base monitoring system
JP2003263346A (en) * 2002-03-11 2003-09-19 Dainippon Printing Co Ltd Server capacity management system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH052510A (en) * 1991-06-25 1993-01-08 Nec Corp System for forecasting increment of data base reorganization data
JPH08235034A (en) * 1995-02-23 1996-09-13 Nec Corp Data base monitoring system
JP2003263346A (en) * 2002-03-11 2003-09-19 Dainippon Printing Co Ltd Server capacity management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012194755A (en) * 2011-03-16 2012-10-11 Ricoh Co Ltd Information processor and information processing system
JP2017520029A (en) * 2015-04-03 2017-07-20 バイドゥ オンライン ネットワーク テクノロジー (ベイジン) カンパニー リミテッド Capacity prediction method, system and computer equipment based on Kalman filter

Similar Documents

Publication Publication Date Title
US8140319B2 (en) Method and system for predicting system performance and capacity using software module performance statistics
CN110427258B (en) Resource scheduling control method and device based on cloud platform
JP6959975B2 (en) How to determine computer system and resource allocation
Guikema et al. Component choice for managing risk in engineered systems with generalized risk/cost functions
CN112416957A (en) Data increment updating method and device based on data model layer and computer equipment
CN103713990A (en) Method and device for predicting defaults of software
JP2007087121A (en) Total management apparatus, database system, database management method, and database management program
CN113282538A (en) File system management method, device, equipment, storage medium and program product
EP4148575A1 (en) Method and system for providing maintenance service for recording medium included in electronic device
CN111967806B (en) User risk updating method and device based on periodic retrace and electronic equipment
CN114186976A (en) Workflow transfer method and device, computer equipment and storage medium
CN113568959A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN103176862A (en) Device and method for managing data backup task
KR102406242B1 (en) Blockchain-based patch management device for patent specification management in patent brokering process
CN117318052B (en) Reactive power prediction method and device for phase advance test of generator set and computer equipment
CN116684306B (en) Fault prediction method, device, equipment and readable storage medium
JP6194683B2 (en) Asset information management apparatus, control method, and program
CN111193617B (en) Webpage tampering identification method and device, electronic equipment and storage medium
JP2009151381A (en) Information processor, information processing method, and program
CN116881584A (en) Routing process management method, device, equipment and storage medium
Todinov Risk-based reliability allocation and topological optimisation based on minimising the total cost
CN113824590A (en) Method for predicting problem of micro service network, computer device and storage medium
JP5797994B2 (en) Job management system
CN111199476A (en) Method and device for generating credit granting strategy based on academic prediction model and electronic equipment
JP2020194498A (en) Learning device, information processing device, learning method, and program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20070122

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080613

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080812

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20090512

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110426

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110622

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20110705

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111213