JPH06214856A - Data backup system - Google Patents
Data backup systemInfo
- Publication number
- JPH06214856A JPH06214856A JP5007369A JP736993A JPH06214856A JP H06214856 A JPH06214856 A JP H06214856A JP 5007369 A JP5007369 A JP 5007369A JP 736993 A JP736993 A JP 736993A JP H06214856 A JPH06214856 A JP H06214856A
- Authority
- JP
- Japan
- Prior art keywords
- backup
- data
- update
- database
- computer
- 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
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、LANを利用したデー
タベース管理システムにおけるデータバックアップ方式
及びそのシステムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data backup system and its system in a database management system using a LAN.
【0002】[0002]
【従来の技術】一般に、LANを利用したデータベース
管理システムのデータバックアップ機能は、データベー
ス全体あるいは稼動状況を記録したファイルをバックア
ップコンピュータあるいは外部記録装置に転送するた
め、データ量が膨大で処理に時間が掛っていた。2. Description of the Related Art Generally, a data backup function of a database management system using a LAN transfers a whole database or a file recording an operating condition to a backup computer or an external recording device, so that the amount of data is enormous and the processing time is long. It was hanging.
【0003】[0003]
【発明が解決しようとする課題】上記のような従来技術
においては、データベース全体あるいは稼動情報のバッ
クアップであり、いづれもデータ量が膨大なためその処
理に時間が掛っていた。In the prior art as described above, the entire database or operation information is backed up, and since the amount of data in each case is enormous, it takes time to process it.
【0004】例えば、株式会社アスキー社製データベー
スシステムinformix「informix−on
line ADMINISTRATOR`S MANU
AL96ページ〜101ページ」記載の復旧システムの
操作では、バックアップの単位がデータベース全体ある
いはページ、論理ログのバックアップ方式が報告されて
いる。しかし、データベーステーブル単位のバックアッ
プ方式は触れられていない。For example, a database system "infomix-informix-on" manufactured by ASCII Co., Ltd.
line ADMINISTRATORS S MANU
In the operation of the recovery system described in "AL96 pages to 101 pages", the unit of backup is the entire database or page, and the backup method of the logical log is reported. However, the backup method for each database table is not mentioned.
【0005】本発明の目的は、アプリケーションプログ
ラムの処理終了時に、アクセスされたテーブルのアクセ
スされた項目のみをバックアップコンピュータに転送す
ることで処理時間を短縮できるデータバックアップシス
テムを提供することにある。An object of the present invention is to provide a data backup system capable of shortening the processing time by transferring only the accessed item of the accessed table to the backup computer at the end of the processing of the application program.
【0006】[0006]
【課題を解決するための手段】本発明では上記目的を達
成するために、データベーステーブルを更新頻度の高い
項目で構成する更新系テーブルと更新頻度の低い項目で
構成する参照系テーブルとに分け、データバックアップ
は更新系テーブルのみとすることでデータ量を削減し、
データバックアップ処理時間を短縮する。In order to achieve the above object, the present invention divides a database table into an update system table composed of items having a high update frequency and a reference system table composed of items having a low update frequency. Data backup reduces the amount of data by using only update type tables,
Reduce data backup processing time.
【0007】[0007]
【作用】本発明によれば、バックアップすべきデータテ
ーブルがあらかじめ定義されているため、アプリケーシ
ョンプログラムと連動してデータバックアップ処理を従
来より短時間で行える。According to the present invention, since the data table to be backed up is defined in advance, the data backup process can be performed in a shorter time than the conventional case in cooperation with the application program.
【0008】[0008]
【実施例】本発明の一実施例について図面により詳細に
説明する。図1は、本発明を実施する装置の構成例を示
すものである。図中の001はファイルサーバコンピュ
ータであり、002はファイルサーバコンピュータ上で
実行されるアプリケーションプログラムである。003
はアプリケーションプログラムがデータベースのどのテ
ーブルをアクセスしたかを監視するプログラムで、00
4はファイルサーバコンピュータ上で稼動するデータベ
ース管理システムである。005はデータベースが格納
されているディスク装置で006は他のコンピュータと
の通信を制御する通信管理プログラムである。007は
LANに接続されたバックアップコンピュータであり、
008はファイルサーバコンピュータから転送されてき
たデータをもとにデータベースを更新するプログラムで
ある。009はバックアップデータベースを管理するデ
ータベース管理システムであり、010は他コンピュー
タとの通信を制御する通信管理プログラムである。01
1はバックアップデータベースを格納するディスク装置
である。012はLANケーブルであり、ファイルサー
バコンピュータとバックアップコンピュータが接続され
ている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 shows a configuration example of an apparatus for carrying out the present invention. In the figure, 001 is a file server computer, and 002 is an application program executed on the file server computer. 003
Is a program that monitors which table in the database is accessed by the application program.
A database management system 4 operates on the file server computer. Reference numeral 005 is a disk device in which a database is stored, and 006 is a communication management program for controlling communication with other computers. 007 is a backup computer connected to the LAN,
008 is a program for updating the database based on the data transferred from the file server computer. Reference numeral 009 is a database management system that manages a backup database, and reference numeral 010 is a communication management program that controls communication with other computers. 01
Reference numeral 1 is a disk device that stores a backup database. A LAN cable 012 connects the file server computer and the backup computer.
【0009】図2は、本発明における一実施例のテーブ
ル構成を示している。101はデータベーステーブルで
あり、バックアップコンピュータ007にも同一のもの
を有する。102はデータベーステーブル101を構成
する項目の中で、キーとなる項目(T1)と更新頻度の
低い項目(T2、T4、T5)で構成される参照系テー
ブルであり、103はデータベーステーブル101を構
成する項目の中で、キーとなる項目(T1)と更新頻度
の高い項目(T3、T6)で構成される更新系テーブル
である。FIG. 2 shows the table structure of an embodiment of the present invention. Reference numeral 101 denotes a database table, and the backup computer 007 has the same one. Reference numeral 102 is a reference system table composed of key items (T1) and items with low update frequency (T2, T4, T5) among the items constituting the database table 101, and 103 constitutes the database table 101. Among the items to be set, it is an update system table including a key item (T1) and items with high update frequency (T3, T6).
【0010】次に本発明を適用したデータバックアップ
システムの一実施例における処理フローを図3、図4を
参照して説明する。処理31においてアプリケーション
プログラム002のデータベースアクセスを監視するプ
ログラム001が実行それる(31)。アプリケーショ
ンプログラム002が実行され(32)、更新プログラ
ム001が更新されたテーブルがあるかを判定する(3
3)。テーブルが更新された場合は、テーブル名を記録
し(34)、アプリケーションプログラム002の終了
まで繰り返す(35)。そしてアプリケーションプログ
ラム002の終了時に更新されたテーブルがあれば(3
6)、バックアップコンピュータにテーブルデータを転
送し(37)、なければ終了する(38)。Next, a processing flow in one embodiment of the data backup system to which the present invention is applied will be described with reference to FIGS. In process 31, the program 001 that monitors the database access of the application program 002 executes (31). The application program 002 is executed (32), and the update program 001 determines whether there is an updated table (3
3). When the table has been updated, the table name is recorded (34) and repeated until the end of the application program 002 (35). If there is a table updated at the end of the application program 002 (3
6) The table data is transferred to the backup computer (37), and if not present, the process ends (38).
【0011】図4はバックアップコンピュータの処理フ
ローを示す。ファイルサーバコンピュータの起動と共に
バックアップコンピュータも起動されるものとする。通
信管理プログラム010は、ファイルサーバコンピュー
タからデータが転送されてきたかを監視し(41)、転
送データがあれば転送テーブルのキー項目(103のT
1)とバックアップコンピュータ上のデータベーステー
ブルのキー項目(101のT1)でマッチング処理を行
い、バックアップデータベースを更新する(42)。そ
してファイルサーバコンピュータが稼動している間、繰
り返す(43)。FIG. 4 shows a processing flow of the backup computer. It is assumed that the backup computer is also started when the file server computer is started. The communication management program 010 monitors whether data has been transferred from the file server computer (41), and if there is transfer data, the key item of the transfer table (T of 103).
1) and the key item (T1 of 101) of the database table on the backup computer are matched to update the backup database (42). Then, while the file server computer is operating, it is repeated (43).
【0012】[0012]
【発明の効果】本発明によれば、アプリケーションプロ
グラムの終了時にデータバックアップ処理が開始され、
障害発生時の直前までに実行されたアプリケーションプ
ログラムのバックアップが取得でき、また転送データ量
が少ないことから、その処理も短時間で行える。According to the present invention, the data backup process is started at the end of the application program,
The backup of the application program executed up to immediately before the occurrence of the failure can be acquired, and the amount of transferred data is small, so that the processing can be performed in a short time.
【図1】本発明の一実施例を構成する機器構成図であ
る。FIG. 1 is a block diagram of a device constituting an embodiment of the present invention.
【図2】本発明の一実施例におけるデータベーステーブ
ルの構成図である。FIG. 2 is a configuration diagram of a database table according to an embodiment of the present invention.
【図3】実施例1におけるファイルサーバコンピュータ
のデータバックアップ処理フロー図である。FIG. 3 is a data backup processing flowchart of the file server computer according to the first embodiment.
【図4】実施例1におけるバックアップコンピュータの
データバックアップ処理フロー図である。FIG. 4 is a data backup processing flowchart of the backup computer according to the first embodiment.
001…ファイルサーバコンピュータ、 002…バックアップコンピュータ、 101…データベーステーブル、 102…参照系データベーステーブル、 103…更新系データベーステーブル。 001 ... File server computer, 002 ... Backup computer, 101 ... Database table, 102 ... Reference system database table, 103 ... Update system database table.
Claims (1)
ーバコンピュータのデータベースと同一のデータベース
テーブルを有するバックアップコンピュータが接続され
たLANシステムにおいて、データベーステーブルの各
項目の更新頻度により参照系テーブルと更新系テーブル
とに分け、更新テーブルデータをバックアップコンピュ
ータに転送しデータベースを更新することを特徴とする
データバックアップ方式。1. In a LAN system to which a file server computer and a backup computer having the same database table as the database of the file server computer are connected, a reference system table and an update system table are divided according to the update frequency of each item of the database table. , A data backup method characterized by transferring update table data to a backup computer and updating the database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5007369A JPH06214856A (en) | 1993-01-20 | 1993-01-20 | Data backup system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5007369A JPH06214856A (en) | 1993-01-20 | 1993-01-20 | Data backup system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06214856A true JPH06214856A (en) | 1994-08-05 |
Family
ID=11664060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5007369A Pending JPH06214856A (en) | 1993-01-20 | 1993-01-20 | Data backup system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06214856A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1091638A (en) * | 1996-09-17 | 1998-04-10 | Toshiba Corp | Retrieval system |
WO1999064966A1 (en) * | 1998-06-05 | 1999-12-16 | British Telecommunications Public Limited Company | Distributed database system |
WO2023275945A1 (en) * | 2021-06-28 | 2023-01-05 | 日本電信電話株式会社 | Database management device, database management method, and database management program |
-
1993
- 1993-01-20 JP JP5007369A patent/JPH06214856A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1091638A (en) * | 1996-09-17 | 1998-04-10 | Toshiba Corp | Retrieval system |
WO1999064966A1 (en) * | 1998-06-05 | 1999-12-16 | British Telecommunications Public Limited Company | Distributed database system |
WO2023275945A1 (en) * | 2021-06-28 | 2023-01-05 | 日本電信電話株式会社 | Database management device, database management method, and database management program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7610314B2 (en) | Online tablespace recovery for export | |
US5890159A (en) | Data transfer mechanism between databases using a separate pipe at each database | |
US7412451B2 (en) | Method for persisting a schedule and database schema | |
US6622152B1 (en) | Remote log based replication solution | |
US6493720B1 (en) | Method and system for synchronization of metadata in an information catalog | |
WO1999066401B1 (en) | Backup and restore for heterogeneous file server environment | |
US6915452B2 (en) | Method, system and program products for operationally migrating a cluster through emulation | |
KR20000052929A (en) | Regeneration agent for back-up software | |
US20130173543A1 (en) | Materialized query table journaling in a computer database system | |
US8250313B1 (en) | Conflict avoidance in data store replication | |
US7200625B2 (en) | System and method to enhance availability of a relational database | |
JPH05120110A (en) | Automatic backup system for file | |
JPH06214856A (en) | Data backup system | |
JPH0218635A (en) | Decentralized process file control system | |
US7305395B1 (en) | Centralized storage and management of database parameters | |
US6219663B1 (en) | Method and computer program product for implementing pushdown query in a distributed object management system | |
JPH1040123A (en) | System and method for job management | |
JP2741999B2 (en) | Data storage management method | |
JP2677282B2 (en) | File management system | |
JPH0320863A (en) | Micro mainframe link type document processing system | |
JPH03282746A (en) | Master file updating system for distributed computers | |
JPH02297231A (en) | Data deleting/restoring system for document control system | |
JPS63296148A (en) | Page buffer access system | |
JPH03100744A (en) | Data base control system | |
JPH04344954A (en) | File recovery and control system |