JP2005115841A - Database management method and system - Google Patents
Database management method and system Download PDFInfo
- Publication number
- JP2005115841A JP2005115841A JP2003352392A JP2003352392A JP2005115841A JP 2005115841 A JP2005115841 A JP 2005115841A JP 2003352392 A JP2003352392 A JP 2003352392A JP 2003352392 A JP2003352392 A JP 2003352392A JP 2005115841 A JP2005115841 A JP 2005115841A
- Authority
- JP
- Japan
- Prior art keywords
- database
- storage
- management
- amount
- contact information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、データベースの稼動状況を管理する方法およびシステムに関する。 The present invention relates to a method and system for managing the operating status of a database.
一般的に、稼動中のデータベースにおいて容量不足の可能性がある場合、データの記憶領域を拡張させて記憶処理が行われるが、その際、リソースの制限に抵触すると、データベースの稼動が無条件に停止することが知られている。このような事態を未然に回避すべく、例えば、データベースの空き容量を監視する後述の特許文献1のようなシステムが提案されている。
しかしながら、データベースの空き容量を監視する手法では、容量不足に陥るか否かを、監視結果となる空き容量から適宜判断しなければならず、そのために、システム管理者は、定期的にデータベースの状況を確認する必要がある。 However, in the method of monitoring the free space of the database, it is necessary to appropriately determine whether or not the capacity is insufficient from the free space that is the monitoring result. It is necessary to confirm.
本発明は、上記課題に鑑みてなされたものであり、データベースの状況を円滑に把握し得るデータベース管理方法および該方法の実施に好適なシステムを提供することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide a database management method capable of smoothly grasping the state of a database and a system suitable for implementing the method.
本発明に係るデータベース管理方法は、所定の記憶容量を有するデータベースを管理する方法であって、前記データベースに対し許容する記憶量を示す閾値情報と当該データベースの管理結果を報知すべき連絡先を示す連絡先情報とを設定し、前記データベースの記憶量が前記閾値情報の値に達するか否かを監視し、前記監視により前記データベースの記憶量が前記閾値情報の値に達したことを検知したとき、その旨を管理結果として前記連絡先情報の連絡先へ報知する。 A database management method according to the present invention is a method for managing a database having a predetermined storage capacity, and indicates threshold information indicating a storage amount allowed for the database and a contact to which a management result of the database is to be notified. When the contact information is set, monitoring whether or not the storage amount of the database reaches the value of the threshold information, and when it is detected by the monitoring that the storage amount of the database reaches the value of the threshold information , To that effect is notified to the contact information of the contact information as a management result.
また、本発明に上記管理方法を実施するに好適なシステムは、所定の記憶容量を有するデータベースおよび該データベースを管理する管理装置を含むシステムであって、前記データベースは、前記所定の記憶容量を与えられた第1の記憶部と、前記データベースに対し許容する記憶量を示す閾値情報と当該データベースの管理結果を報知すべき連絡先を示す連絡先情報とを保持する第2の記憶部とを有し、前記管理装置は、前記第1の記憶部の記憶量が前記閾値情報の値に達するか否かを監視する監視部と、前記監視部の監視結果により前記第1の記憶部の記憶量が前記閾値情報の値に達したことを検知したとき、その旨を管理結果として前記連絡先情報の連絡先へ報知する報知部とを有する。 A system suitable for carrying out the management method according to the present invention is a system including a database having a predetermined storage capacity and a management device for managing the database, wherein the database provides the predetermined storage capacity. And a second storage unit that holds threshold information indicating a storage amount allowed for the database and contact information indicating a contact to be notified of the management result of the database. The management device monitors whether or not the storage amount of the first storage unit reaches the value of the threshold information, and the storage amount of the first storage unit based on the monitoring result of the monitoring unit When it is detected that the value of the threshold information has been reached, a notification unit that notifies the contact information of the contact information as a management result.
また、本発明に係るプログラムは、データを記憶するための所定の記憶容量を有するデータベースを管理するコンピュータに前記管理方法を実行させるプログラムであり、本発明に係る記録媒体は、前記プログラムを記録した記録媒体である。 A program according to the present invention is a program for causing a computer that manages a database having a predetermined storage capacity for storing data to execute the management method, and the recording medium according to the present invention records the program. It is a recording medium.
本発明に係るデータベース管理方法によれば、第1の記憶部の記憶量に対し閾値を設定し、当該閾値を用いて記憶量を監視することから、第1の記憶部が容量不足に陥る可能性を確実に検知することができる。しかも、記憶量が閾値を超えた場合は、その旨が、予め設定した連絡先へ報知されることから、管理者は、データベースの容量不足を迅速に察知することができる。これにより、データベースの停止に起因する業務への支障を回避することができる。 According to the database management method of the present invention, since a threshold is set for the storage amount of the first storage unit and the storage amount is monitored using the threshold, the first storage unit can fall short of capacity. Sex can be detected reliably. In addition, when the storage amount exceeds the threshold value, the fact is notified to the preset contact information, so the administrator can quickly detect the shortage of the database capacity. Thereby, it is possible to avoid troubles in business due to the stop of the database.
[実施例]
以下、本発明の実施例について図面を用いて詳細に説明する。図1は、本発明に係るデータベース管理システムの実施例の構成を示すブロック図である。実施例のシステム100は、図1に示すように、所定の形式に沿ってリソースを含むデータを記憶するデータベース機能を果たす記憶装置10と、該記憶装置を管理するためのプログラムに沿って記憶装置10を管理する管理装置20と、該管理装置に接続されたキーボードやディスプレイのような入出力装置30と、システム100の管理者が利用する端末装置40とを備える。
[Example]
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of a database management system according to the present invention. As shown in FIG. 1, a system 100 according to an embodiment includes a
本実施例の記憶装置10は、取り扱うデータとなるオブジェクトを2次元のテーブル形式で記憶するリレーショナル型データベースであり、図1に示すように、所定の記憶容量が与えられたデータベース本体となる第1の記憶部11と、管理装置20が用いる管理プログラムおよび後述の閾値情報ならびに連絡先情報を保持する第2の記憶部12と、第1の記憶部11のための予備の記憶領域となる第3の記憶部13とを有する。これらの各記憶部11〜13は、記憶装置10内に指定された記憶領域を示す。
The
第2の記憶部12に保持される閾値情報は、第1の記憶部11に対し許容する記憶量を閾値として示すものであり、この閾値に基づき、第1の記憶部11の稼動時における容量不足の可能性を判断する。閾値の設定にあたっては、例えば、第1の記憶部11が1GBの記憶容量を持つ場合に閾値を800MBとする、あるいは、50MBの記憶容量に対し閾値を39.5MBとする等、適宜設定可能であるが、記憶量が一時的に閾値を超える事態にも対処できるように、第1の記憶部11で取り扱うオブジェクトのデータ量に応じて閾値を設定することが望ましい。
The threshold information held in the
また、同じく第2の記憶部12に保持される連絡先情報は、記憶装置10の管理結果を報知すべき連絡先の情報である。本実施例では、連絡先情報として、システム管理者が閲覧する端末装置40の電子メールアドレスを用いるが、これに限らず、例えば入出力装置30のディスプレイに画面表示するよう指示するための情報としてもよい。
Similarly, the contact information held in the
管理装置20は、第2の記憶部12の管理プログラムに従い動作するコンピュータであり、図1に示すように、記憶装置10に記憶されているテーブルや、そのインデックス毎にオブジェクトを検知すると共に、検知したオブジェクトの累計データ量が閾値情報の閾値に達するか否かを監視する監視部21と、この監視部21の監視結果に応じて連絡先情報の電子メールアドレス宛てに管理結果を報知する報知部22とを有する。なお、これらの監視部21および報知部22は、管理装置20におけるCPU(図示略)が上記管理プログラムに沿って実現する機能的な構成要素である。
The
実施例のシステム100の動作を図2に示すフローチャートに沿って説明する。まず、管理装置20の監視部21は、記憶装置10に保持される管理プログラムを起動し、閾値情報および連絡先情報を、例えば入出力装置30を介して管理者から取得して第2の記憶部12へ格納する(ステップS1)。
The operation of the system 100 according to the embodiment will be described with reference to the flowchart shown in FIG. First, the
監視部21は、第1の記憶部11に対し、リソースを含むデータを走査して、定期的に現在の記憶量を確認する(ステップS2)。そして、第2の記憶部12の閾値情報を参照し、第1の記憶部11の記憶量が当該閾値に達するか否かを監視する(ステップS3)。閾値に達しない間は、監視を継続する(ステップS3:No)。また、監視の間に、第1の記憶部11の記憶量が当該閾値に達したことを検知したとき(ステップS3:Yes)、監視部21は、報知部22を起動すると共に、従来と同様な手法により、閾値を超える分のデータを第3の記憶部13に記憶させる(ステップS4)。
The
報知部22は、起動後、第1の記憶部11の記憶量が閾値を超えたことを管理結果として端末装置40に報知すべく、第3の記憶部13に記憶された超過分のデータ量を確認し、管理結果を示す電子メールを作成する。そして、作成した電子メールを、第2の記憶部12に保持されたアドレス宛てに送信する(ステップS5)。これにより、端末装置40には例えば図3に示すような電子メールが届けられる。管理結果の記述内容は適宜設定可能であるが、図示の例のように、第1の記憶部11の記憶容量、閾値、および、超過分の記憶量を提示することにより、システム管理者がデータベースの状況を迅速に把握することができる。
After the activation, the notifying
以上説明したように、実施例のシステム100によれば、データベース本体である第1の記憶部11に対し閾値を設定し、この閾値に基づき監視部21が記憶量を監視することから、容量不足の可能性を的確に判定することができる。また、第1の記憶部11の記憶量が閾値を超えたとき、その旨が自動的にシステム管理者の端末装置40へ報知されることから、管理者は、容量不足の可能性があることを迅速に把握でき、これにより、データベースの停止を未然に防ぐことができる。さらに、上記実施例では、オブジェクト単位で記憶状況を監視するので、たとえ監視対象の記憶量が僅少であっても、それらを確実に検知することができる。
As described above, according to the system 100 of the embodiment, a threshold is set for the first storage unit 11 that is the database main body, and the
なお、上記実施例では、記憶装置10をリレーショナル型のデータベースとして説明したが、本発明の適用範囲は、この例に限らず、例えば、データをツリー構造で取り扱う階層型データベースや、ネットワークを介してデータが関連付けられるネットワーク型データベース等にも本発明を適用することができる。
In the above embodiment, the
100 データベース管理システム
10 記憶装置
11〜13 第1〜第3の記憶部
20 管理装置
21 監視部
22 報知部
30 入出力装置
40 管理者用端末装置
DESCRIPTION OF SYMBOLS 100
Claims (8)
前記データベースに対し許容する記憶量を示す閾値情報と当該データベースの管理結果を報知すべき連絡先を示す連絡先情報とを設定し、
前記データベースの記憶量が前記閾値情報の値に達するか否かを監視し、
前記監視により前記データベースの記憶量が前記閾値情報の値に達したことを検知したとき、その旨を管理結果として前記連絡先情報の連絡先へ報知することを特徴とするデータベース管理方法。 A method of managing a database having a predetermined storage capacity,
Set threshold information indicating the amount of storage allowed for the database and contact information indicating a contact to be notified of the management result of the database,
Monitoring whether the storage amount of the database reaches the value of the threshold information;
When the monitoring detects that the storage amount of the database has reached the value of the threshold information, the management information is notified as a management result to the contact information of the contact information.
前記データベースは、
前記所定の記憶容量を与えられた第1の記憶部と、
前記データベースに対し許容する記憶量を示す閾値情報と当該データベースの管理結果を報知すべき連絡先を示す連絡先情報とを保持する第2の記憶部とを有し、
前記管理装置は、
前記第1の記憶部の記憶量が前記閾値情報の値に達するか否かを監視する監視部と、
前記監視部の監視結果により前記第1の記憶部の記憶量が前記閾値情報の値に達したことを検知したとき、その旨を管理結果として前記連絡先情報の連絡先へ報知する報知部とを有することを特徴とするデータベース管理システム。 A system including a database having a predetermined storage capacity and a management device for managing the database,
The database is
A first storage unit given the predetermined storage capacity;
A second storage unit that holds threshold information indicating a storage amount allowed for the database and contact information indicating a contact to be notified of a management result of the database;
The management device
A monitoring unit that monitors whether the storage amount of the first storage unit reaches the value of the threshold information;
A notification unit for notifying the contact information of the contact information as a management result when detecting that the storage amount of the first storage unit has reached the value of the threshold information based on the monitoring result of the monitoring unit; A database management system comprising:
前記報知部は、当該アドレス宛てに前記管理結果を記載した電子メールを送信することを特徴とする請求項4記載のデータベース管理システム。 The second storage unit holds a predetermined email address as the contact information,
The database management system according to claim 4, wherein the notification unit transmits an e-mail describing the management result to the address.
前記データベースに対し許容する記憶量を示す閾値情報と当該データベースの管理結果を報知すべき連絡先を示す連絡先情報とを設定するステップと、
前記データベースの記憶量が前記閾値情報の値に達するか否かを監視するステップと、
前記監視により前記データベースの記憶量が前記閾値情報の値に達したことを検知したとき、その旨を管理結果として前記連絡先情報の連絡先へ報知するステップとを前記コンピュータに実行させることを特徴とするデータベース管理プログラム。 A program for operating a computer that manages a database having a predetermined storage capacity,
Setting threshold information indicating the amount of storage allowed for the database and contact information indicating a contact to be notified of the management result of the database;
Monitoring whether the amount of storage in the database reaches the value of the threshold information;
When the monitoring detects that the storage amount of the database has reached the value of the threshold information, the computer is caused to execute a step of notifying the contact information of the contact information as a management result. A database management program.
前記データベースに対し許容する記憶量を示す閾値情報と当該データベースの管理結果を報知すべき連絡先を示す連絡先情報とを設定するステップと、
前記データベースの記憶量が前記閾値情報の値に達するか否かを監視するステップと、
前記監視により前記データベースの記憶量が前記閾値情報の値に達したことを検知したとき、その旨を管理結果として前記連絡先情報の連絡先へ報知するステップとを前記コンピュータに実行させるプログラムを記録したことを特徴とする記録媒体。 A recording medium recording a program for operating a computer that manages a database having a predetermined storage capacity,
Setting threshold information indicating the amount of storage allowed for the database and contact information indicating a contact to be notified of the management result of the database;
Monitoring whether the amount of storage in the database reaches the value of the threshold information;
When the monitoring detects that the storage amount of the database has reached the value of the threshold information, a program for causing the computer to execute a step of notifying the contact information of the contact information as a management result is recorded. A recording medium characterized by that.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003352392A JP2005115841A (en) | 2003-10-10 | 2003-10-10 | Database management method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003352392A JP2005115841A (en) | 2003-10-10 | 2003-10-10 | Database management method and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2005115841A true JP2005115841A (en) | 2005-04-28 |
Family
ID=34543350
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003352392A Withdrawn JP2005115841A (en) | 2003-10-10 | 2003-10-10 | Database management method and system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2005115841A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016009346A (en) * | 2014-06-25 | 2016-01-18 | キヤノン株式会社 | Image forming apparatus, image forming apparatus control method, and program |
-
2003
- 2003-10-10 JP JP2003352392A patent/JP2005115841A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016009346A (en) * | 2014-06-25 | 2016-01-18 | キヤノン株式会社 | Image forming apparatus, image forming apparatus control method, and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111026621B (en) | Monitoring alarm method, device, equipment and medium for Elasticissearch cluster | |
| CN107479836A (en) | Disk failure monitoring method, device and storage system | |
| CN107608860A (en) | A kind of method, apparatus, the equipment of error log classification storage | |
| EP3229403A1 (en) | Samba configuration management method for network device and system | |
| CN107590056A (en) | The dump method and device of audit log in a kind of storage system | |
| CN106354884A (en) | Data object deleting method and device based on distributed file system | |
| CN104410512A (en) | A resource monitoring alarm framework and method suitable for cloud computing | |
| CN108920263A (en) | The method and apparatus kept for application | |
| CN107908505A (en) | A kind of date storage method, device, equipment and system | |
| CN101103331B (en) | Enforce application-specific management policies on content-addressed storage devices | |
| JP2005115841A (en) | Database management method and system | |
| JP2003242045A (en) | Data backup method | |
| CN108255678A (en) | Monitoring nodes method, apparatus and storage medium based on Rack whole machine cabinets | |
| CN107229394A (en) | A kind of method and device of interface alarm | |
| JP2006172401A (en) | Information collection apparatus | |
| CN106294576A (en) | The method for cleaning of a kind of Android system memory space and system | |
| CN116541362A (en) | Log processing method, device, storage medium and electronic equipment | |
| CN117743307A (en) | Data cleaning method, device and computer equipment | |
| CN108170819A (en) | A kind of blog management method and device for baseboard management controller | |
| CN104463550A (en) | Management device used for notifying error messages and notification method utilizing management device | |
| CN109656875B (en) | Classification management method and device for storage space, terminal and storage medium | |
| CN114510433A (en) | Memory management method, device and storage medium for optical transmission device | |
| CN107562889B (en) | Metadata aging method and device | |
| JP2017162138A (en) | Information processing device and information processing program | |
| JPH11338729A (en) | System and method for predicting fault and recording medium recording fault predictive program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070109 |