JPH05120349A - Data base update managing system - Google Patents

Data base update managing system

Info

Publication number
JPH05120349A
JPH05120349A JP3283456A JP28345691A JPH05120349A JP H05120349 A JPH05120349 A JP H05120349A JP 3283456 A JP3283456 A JP 3283456A JP 28345691 A JP28345691 A JP 28345691A JP H05120349 A JPH05120349 A JP H05120349A
Authority
JP
Japan
Prior art keywords
database
real
data base
update
virtual
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
JP3283456A
Other languages
Japanese (ja)
Inventor
Koichi Kato
浩一 加藤
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 Software Kansai Ltd
Original Assignee
NEC Software Kansai 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 NEC Software Kansai Ltd filed Critical NEC Software Kansai Ltd
Priority to JP3283456A priority Critical patent/JPH05120349A/en
Publication of JPH05120349A publication Critical patent/JPH05120349A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To enable the non-stop operation of an on-line system for 24 hours. CONSTITUTION:When a data base retrieving instruction is issued, a retrieving means (not shown in the figure) retrieves a virtual data base 2 and when relevant data do not exist in the virtual data base, a real data base 3 is retrieved. When a data base updating instruction is issued, an updating means (not shown in the figure) stores updating data in the virtual data base 2. A reflecting means (not shown in the figure) fetches all the update history data in the virtual data base 2 in a cycle decided in advance, executes an update processing to the real data base 3 based on these update history data and erases the processed update history data from the virtual data base 2. Backup is executed by damping the contents of the real data base 3 to an MT in a cycle decided in advance.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はオンラインリアルタイム
処理におけるデータベース更新管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database update management system for online real-time processing.

【0002】[0002]

【従来の技術】従来、オンラインリアルタイム処理にお
いては、常に更新された最新データベースを必要とする
ため、あらゆるプログラムは1つの実データベースに対
して検索、更新を行い、バックアップ処理はオンライン
業務の停止している間に行っていた。
2. Description of the Related Art Conventionally, in online real-time processing, an updated latest database is always required. Therefore, every program searches and updates one real database, and backup processing stops online business. I went while I was there.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のデータ
ベース更新管理方式は、バックアップ処理においてオン
ライン業務を停止する必要があるため、24時間無停止
稼働システムの運用ができないという欠点があった。
The above-mentioned conventional database update management method has a drawback in that it is impossible to operate a 24-hour non-stop operation system because it is necessary to stop the online business in the backup process.

【0004】[0004]

【課題を解決するための手段】第1の発明は、更新履歴
データを格納する仮想データベースと業務データが格納
されている実データベースを備え、データベース検索命
令が発行されると前記仮想データベースから検索を行い
前記仮想データベース内に該当データが存在しなかった
場合には前記実データベースから検索を行う検索手段
と、データベース更新命令が発行されると更新データを
前記仮想データベースに格納する更新手段と、予め定め
られたサイクルで前記仮想データベース内の更新履歴デ
ータを全て取り込み前記更新履歴データをもとに前記実
データベースへの更新処理を行い処理した前記更新履歴
データを前記仮想データベースから削除する反映手段と
を備えたことを特徴とする。
A first invention comprises a virtual database for storing update history data and a real database for storing business data. When a database search command is issued, a search is performed from the virtual database. A search means for performing a search from the real database if the corresponding data does not exist in the virtual database, and an update means for storing the update data in the virtual database when a database update command is issued, And a reflection unit that deletes the processed update history data from the virtual database by taking all update history data in the virtual database in a given cycle and updating the real database based on the update history data. It is characterized by that.

【0005】また、第2の発明は、予め定められたサイ
クルで前記実データベースの内容をMTにはぎだすバッ
クアップ手段を有することを特徴とする。
A second aspect of the invention is characterized in that it has a backup means for extracting the contents of the real database to MT in a predetermined cycle.

【0006】[0006]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0007】図1は本発明の一実施例を示す更新、検
索、バックアップ処理の説明図である。
FIG. 1 is an explanatory diagram of update, search and backup processing according to an embodiment of the present invention.

【0008】検索や更新をリアルタイムに処理を行うプ
ログラム1と、更新履歴を格納する仮想データベース
2、業務データが格納されている実データベース3から
構成されている。リアルタイム処理による更新を行う前
は、仮想データベース2にはデータは存在せず、更新さ
れた履歴のみが仮想データベース2に格納される。
It is composed of a program 1 for processing retrieval and update in real time, a virtual database 2 for storing update history, and a real database 3 for storing business data. Before updating by real-time processing, there is no data in the virtual database 2, and only the updated history is stored in the virtual database 2.

【0009】まず、プログラム1において、検索命令が
発行されると、検索手段(図示せず)により最新の状態
である仮想データベース2から検索が行われる。仮想デ
ータベース内に該当データが存在しなかった場合には、
実データベース3の検索が行われ、該当データがプログ
ラム1に取り込まれる。
First, in the program 1, when a search command is issued, a search means (not shown) searches the virtual database 2 in the latest state. If the corresponding data does not exist in the virtual database,
The actual database 3 is searched, and the relevant data is loaded into the program 1.

【0010】また、プログラム1において、更新命令が
発行されると、更新手段(図示せず)により更新内容は
常に仮想データベース2に格納される、即ち、仮想デー
タベース2内は最新のデータ更新内容が格納されること
になるが、この時実データベース3への更新は一切行わ
れない。従って、実データベース3はリアルタイム処理
中であっても、磁気テープ等によるバックアップ処理を
随時並行して行うことができる。
Further, in the program 1, when an update command is issued, the update content is always stored in the virtual database 2 by the update means (not shown), that is, the latest data update content is stored in the virtual database 2. Although it is stored, the actual database 3 is not updated at this time. Therefore, even if the real database 3 is being processed in real time, backup processing using a magnetic tape or the like can be performed in parallel at any time.

【0011】図2は、反映手段(図示せず)により仮想
データベース2の内容を実データベース3に反映させる
処理の説明図である。これは、実データベース3に対し
てリアルタイム処理により更新された仮想データベース
2の内容を実更新する処理を示している。この処理は、
リアルタイム処理による実データベース3への更新が行
われないため、実データベースからMTへのバックアッ
プ処理中を除けば、随時仮想データベース2から実デー
タベース3への更新が行える。この反映処理方法は、ま
ず、仮想データベース2の履歴データを取り込み、次に
履歴データをもとに実データベース3に対し更新処理を
行い、処理した履歴データを仮想データベース2から削
除する。これを仮想データベース2の内容がすべて反映
されるまで繰り返す。この反映処理中にリアルタイム処
理のプログラム1と仮想データベース2におけるアクセ
ス競合が発生した場合は、データ矛盾の発生を避けるた
めに排他制御が行われる。この反映処理は、随時行える
ため、業務システムに合わせた自由なサイクルで、例え
ば半日あるいは一日単位で行うことができる。また、仮
想データベース2の容量は、設定した1サイクルに発生
する更新データ量だけを考慮すればよく、実データベー
ス3に対し極めて小量でよいため、仮想データベースの
障害発生率は非常に小さいものとなる。
FIG. 2 is an explanatory diagram of a process of reflecting the contents of the virtual database 2 on the real database 3 by the reflecting means (not shown). This shows a process of actually updating the contents of the virtual database 2 updated by the real-time process with respect to the real database 3. This process is
Since the real database 3 is not updated by the real-time processing, the virtual database 2 can be updated to the real database 3 at any time except during the backup process from the real database to the MT. In this reflection processing method, first, the history data of the virtual database 2 is fetched, then the real database 3 is updated based on the history data, and the processed history data is deleted from the virtual database 2. This is repeated until all the contents of the virtual database 2 are reflected. If an access conflict occurs between the real-time processing program 1 and the virtual database 2 during this reflection processing, exclusive control is performed in order to avoid data contradiction. Since this reflection processing can be performed at any time, it can be performed in a free cycle according to the business system, for example, every half day or every day. Further, the capacity of the virtual database 2 only needs to consider the amount of update data that occurs in the set one cycle, and the capacity of the virtual database 2 can be extremely small compared to the actual database 3, so the failure occurrence rate of the virtual database is extremely small. Become.

【0012】以上に示したように、図1で説明したバッ
クアップ処理、図2で説明した実データベース反映処理
ともにオンラインリアルタイム処理と並行して行うこと
ができるため、リアルタイム処理を停止する必要はまっ
たくない。また、実データベース3に対する障害が万一
発生しても、リアルタイム処理と並行して、磁気テープ
などから実データベース3へ復旧させることができる。
As described above, the backup process described with reference to FIG. 1 and the real database reflection process described with reference to FIG. . Further, even if a failure occurs in the real database 3, the real database 3 can be restored from the magnetic tape or the like in parallel with the real-time processing.

【0013】[0013]

【発明の効果】以上説明したように、本発明は、仮想デ
ータベースと実データベースを設け、更新履歴は仮想デ
ータベースに格納し、自由なサイクルで仮想データベー
スの内容を実データベースに反映できるようにしたこと
により、オンラインリアルタイム処理とは独立して実デ
ータベースからバックアップ処理が行えるようになり、
システムの24時間無停止稼働運用が可能になる効果が
ある。
As described above, according to the present invention, the virtual database and the real database are provided, the update history is stored in the virtual database, and the contents of the virtual database can be reflected in the real database in a free cycle. Will enable backup processing from the real database independently of online real-time processing.
There is an effect that the system can be operated without interruption for 24 hours.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例を示す更新、検索、バックア
ップ処理の説明図である。
FIG. 1 is an explanatory diagram of update, search, and backup processing according to an embodiment of the present invention.

【図2】本実施例の仮想データベース2の内容を実デー
タベース3に反映させる処理の説明図である。
FIG. 2 is an explanatory diagram of a process of reflecting the contents of the virtual database 2 in the real database 3 of this embodiment.

【符号の説明】[Explanation of symbols]

1 プログラム 2 仮想データベース 3 実データベース 1 program 2 virtual database 3 real database

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】更新履歴データを格納する仮想データベー
スと業務データが格納されている実データベースを備
え、データベース検索命令が発行されると前記仮想デー
タベースから検索を行い前記仮想データベース内に該当
データが存在しなかった場合には前記実データベースか
ら検索を行う検索手段と、データベース更新命令が発行
されると更新データを前記仮想データベースに格納する
更新手段と、予め定められたサイクルで前記仮想データ
ベース内の更新履歴データを全て取り込み前記更新履歴
データをもとに前記実データベースへの更新処理を行い
処理した前記更新履歴データを前記仮想データベースか
ら削除する反映手段とを備えたことを特徴とするデータ
ベース更新管理方式。
1. A virtual database for storing update history data and a real database for storing business data. When a database search command is issued, a search is performed from the virtual database and the corresponding data exists in the virtual database. If not, a search means for performing a search from the real database, an update means for storing update data in the virtual database when a database update command is issued, and an update in the virtual database at a predetermined cycle. A database update management system comprising: a reflection unit that takes in all history data, updates the real database based on the update history data, and deletes the processed update history data from the virtual database. .
【請求項2】予め定められたサイクルで前記実データベ
ースの内容をMTにはぎだすバックアップ手段を有する
ことを特徴とする請求項1記載のデータベース更新管理
方式。
2. The database update management system according to claim 1, further comprising a backup means for extracting the contents of the real database to MT in a predetermined cycle.
JP3283456A 1991-10-30 1991-10-30 Data base update managing system Pending JPH05120349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3283456A JPH05120349A (en) 1991-10-30 1991-10-30 Data base update managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3283456A JPH05120349A (en) 1991-10-30 1991-10-30 Data base update managing system

Publications (1)

Publication Number Publication Date
JPH05120349A true JPH05120349A (en) 1993-05-18

Family

ID=17665785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3283456A Pending JPH05120349A (en) 1991-10-30 1991-10-30 Data base update managing system

Country Status (1)

Country Link
JP (1) JPH05120349A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08305755A (en) * 1995-04-28 1996-11-22 Nippon Riyokou:Kk Facsimile reservation system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08305755A (en) * 1995-04-28 1996-11-22 Nippon Riyokou:Kk Facsimile reservation system

Similar Documents

Publication Publication Date Title
KR20010050667A (en) Transaction processing system using efficient file update processing and recovery processing
JPH05120349A (en) Data base update managing system
JP3484440B2 (en) Distributed database update method
JPH0934758A (en) Relational data base access control system
JPH01245344A (en) Distributed data base commitment processor
JP2870308B2 (en) Database management system
JPS62131349A (en) Data base processing system
JPH03198142A (en) Automatic data processing device
JPS6380325A (en) Information retrieval method and index used therefor
JPH05250335A (en) Data base update processing system of loosely coupled multiprocessor system
JPH11212838A (en) System and method for change record history management by table split
JP2006209316A (en) Database access management system, management method, and its program
JPH04252342A (en) Data archive controller for information processing system
JPH05143422A (en) Updated journal managing system
JPH0713831A (en) Device and method for file management
JPH01120621A (en) Retrieving/updating system for data base
JPH0566928A (en) Generation control system for program source file
JPH04330535A (en) Management method for data base
JPH06259293A (en) Useless document batch deleting device
JPH0944384A (en) Database inquiry system
JPS6327927A (en) Index generation system in reserved information retrieval system
JPH0573392A (en) Data base update system
JPH05181726A (en) File access system
JPH03206535A (en) Shared file control system
JPH1185593A (en) Method and device for distributedly arranging counter tables