JPH04305742A - Version management processing system - Google Patents

Version management processing system

Info

Publication number
JPH04305742A
JPH04305742A JP3070211A JP7021191A JPH04305742A JP H04305742 A JPH04305742 A JP H04305742A JP 3070211 A JP3070211 A JP 3070211A JP 7021191 A JP7021191 A JP 7021191A JP H04305742 A JPH04305742 A JP H04305742A
Authority
JP
Japan
Prior art keywords
block
update
database
contents
storage area
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
JP3070211A
Other languages
Japanese (ja)
Inventor
Ryoji Kataoka
良治 片岡
Ushio Inoue
潮 井上
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP3070211A priority Critical patent/JPH04305742A/en
Publication of JPH04305742A publication Critical patent/JPH04305742A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute batch processing without interrupting on-line processing and to rapidly execute the on-line processing by registering the unupdated contents of an updating part together with updating time. CONSTITUTION:When block updating is requested by the on-line processing of a user program 101, a version management part 102 requests a block corresponding to a block discriminator applied from the program 101 to a data access control part 105 and reads out the block from a data base storing area 106. Then the unupdated contents of an updating part are extracted from the read block, the extracted unupdated contents and current time information requested and acquired from an updating time managing part 104 are registered in an updating item registering area 103 as a pair of updating information and the updated block is rewritten in the area 106 by the control part 105. Thereby the batch processing can overwrite the updating information on the block contents of the area 106 to refer it and the on-line processing can refer the up-to-date block contents.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、データベースのバージ
ョン管理処理方式に関し、特に最新のデータベース内容
の参照あるいは更新をリアルタイムに行うオンライン処
理と統計情報等を得るために特定時刻のデータベース内
容を参照するバッチ処理とが同一のデータベースに対し
て行われるデータベース処理システムにおいて、オンラ
イン処理とバッチ処理とを同時に行うことを可能にする
バージョン管理処理方式に関する。
[Industrial Application Field] The present invention relates to a database version control processing method, and in particular, online processing that refers to or updates the latest database contents in real time, and refers to database contents at a specific time in order to obtain statistical information, etc. The present invention relates to a version control processing method that allows online processing and batch processing to be performed simultaneously in a database processing system in which batch processing is performed on the same database.

【0002】0002

【従来の技術】オンライン処理により頻繁に更新される
データベースについて特定時刻における統計情報等を得
るバッチ処理を行うためには、一般にオンライン処理を
一時的に中止してデータベースの内容がバッチ処理期間
に変化しないようにする必要があり、オンライン処理の
サービス低下を招くという問題があった。
[Background Art] In order to perform batch processing to obtain statistical information, etc. at a specific time for a database that is frequently updated through online processing, generally the online processing is temporarily stopped and the contents of the database are changed during the batch processing period. There was a problem in that it caused a decline in online processing services.

【0003】この問題を解決する方法として、オンライ
ン処理とバッチ処理とを同一のデータベースに対して同
時に行えるようにするバージョン管理方式が特開昭57
−141766号に詳細に示されている。この方式では
二次記憶装置内にデータベース格納領域と更新項目登録
領域とが設けられ、データベース格納領域にはバッチ処
理を行うデータベースが格納される。また、オンライン
処理がデータベースを更新するときはデータベース格納
領域を直接更新するのではなく更新内容を更新項目登録
領域に登録する。オンライン処理によりデータベースの
ブロックを参照するときは、データベース記憶領域から
読み出した当該ブロックの内容に、更新項目登録領域に
登録された該ブロックに関する更新内容を上書きするこ
とで該ブロックの最新内容を生成する。一方、バッチ処
理によりデータベースを参照するときは、データベース
記憶領域を参照することでオンライン処理による更新前
の古い内容が常に得られる。つまり、データベースの1
つのブロックに対してオンライン処理による更新前後の
2つの内容を同時に生成できることになり、オンライン
処理とバッチ処理とを同一のデータベースに対して同時
に行えることになる。
[0003] As a method to solve this problem, a version control method was developed in Japanese Patent Application Laid-Open No. 57-1991 that allows online processing and batch processing to be performed simultaneously on the same database.
-141766 in detail. In this method, a database storage area and an update item registration area are provided in a secondary storage device, and a database for performing batch processing is stored in the database storage area. Further, when online processing updates the database, the updated contents are registered in the update item registration area instead of directly updating the database storage area. When referring to a block in the database through online processing, the latest contents of the block are generated by overwriting the contents of the block read from the database storage area with the updated contents of the block registered in the update item registration area. . On the other hand, when referring to a database by batch processing, the old contents before being updated by online processing can always be obtained by referring to the database storage area. In other words, 1 of the database
It is possible to simultaneously generate two contents before and after an update by online processing for one block, and online processing and batch processing can be performed simultaneously on the same database.

【0004】0004

【発明が解決しようとする課題】以上説明した従来の方
法は、バッチ処理により参照可能なデータベース内容が
予めデータベース格納領域に格納されているものに限ら
れ、オンライン処理が行われている任意の時刻のデータ
ベースについてバッチ処理を行うためには該時刻に一時
的にオンライン処理を中止してそれまでに登録された更
新項目登録領域の内容をデータベース格納領域に上書き
する必要があり、オンライン処理のサービス低下を招く
という問題があった。また、更新項目登録領域は、オン
ライン処理による最新のデータベース内容を保持するも
のであるため、磁気ディスク等の不揮発性のある二次記
憶装置内に設ける必要がある。オンライン処理でデータ
ベースのブロックを参照するときは、先ずデータベース
格納領域から当該ブロックを読み出し、次に更新項目登
録領域から該ブロックに関連する更新内容を読み出すの
で、本体装置に比べて低速な二次記憶装置を複数回アク
セスすることになり、オンライン処理のリアルタイム性
を低下させるという問題があった。
[Problems to be Solved by the Invention] In the conventional method described above, the database contents that can be referred to by batch processing are limited to those that are stored in advance in the database storage area, and the database contents that can be referred to by batch processing are limited to those that are stored in advance in the database storage area. In order to perform batch processing on a database, it is necessary to temporarily stop online processing at that time and overwrite the contents of the update item registration area that have been registered up to that point in the database storage area, which reduces the service of online processing. There was the problem of inviting Furthermore, since the update item registration area holds the latest database contents obtained through online processing, it needs to be provided in a non-volatile secondary storage device such as a magnetic disk. When referring to a block in the database during online processing, the block is first read from the database storage area, and then the update contents related to the block are read from the update item registration area, so secondary storage is slower than the main unit. There is a problem in that the device must be accessed multiple times, reducing the real-time performance of online processing.

【0005】本発明の目的は、オンライン処理によるデ
ータベースの更新をデータベース格納領域に対して直接
行い、更新部分の更新前の内容を更新時刻と共に更新項
目登録領域に登録することで、オンライン処理が行われ
ている任意の時刻のデータベースについて、バッチ処理
をオンライン処理を中断することなく行えるようにし、
更にオンライン処理はデータベース格納領域のみのアク
セスで最新のデータベースを参照可能として、オンライ
ン処理のサービス性とリアルタイム性を向上させること
にある。
[0005] An object of the present invention is to update the database by online processing directly to the database storage area, and register the contents of the updated part before the update in the update item registration area together with the update time, so that the online processing can be performed. batch processing can be performed on a database at any given time without interrupting online processing.
Furthermore, the purpose of online processing is to improve the serviceability and real-time performance of online processing by making it possible to refer to the latest database by accessing only the database storage area.

【0006】[0006]

【課題を解決するための手段】これまで述べた問題を解
決するためには、図1を参照して後述する如く、本発明
ではデータベース格納領域106を二次記憶装置内に、
更新項目登録領域103を本体装置内に置き、本体装置
内にデータベース格納領域に対するブロックの読み出し
あるいは書き込みを行うデータアクセス制御部105と
、利用者プログラムによるブロックの更新時刻を管理す
るための更新時刻管理部104と、更新項目登録領域へ
の更新情報の登録およびデータベース格納領域から読み
出したブロック内容への更新情報の上書きを行うバージ
ョン管理部102を設け、バージョン管理部が利用者プ
ログラムによるオンライン処理でブロックの更新を依頼
されたとき、データアクセス制御部により当該ブロック
をデータベース格納領域から読み出し、更新部分の更新
前の内容と更新時刻管理部により与えられる更新時刻を
一組の更新情報として更新項目登録領域へ登録し、更新
を行ったブロックをデータアクセス制御部によりデータ
ベース格納領域へ書き戻すことで、バッチ処理では更新
情報をデータベース格納領域のブロック内容に上書きし
て任意の時刻の内容を参照可能とし、オンライン処理で
はデータベース格納領域をアクセスするのみで最新のブ
ロック内容を参照できるようにする。
[Means for Solving the Problems] In order to solve the problems described above, in the present invention, as will be described later with reference to FIG.
An update item registration area 103 is located in the main unit, and the main unit includes a data access control unit 105 that reads or writes blocks to the database storage area, and an update time management unit that manages update times of blocks by user programs. 104, and a version management unit 102 that registers update information in an update item registration area and overwrites update information on block contents read from a database storage area, and the version management unit blocks blocks in online processing by a user program. When requested to update the block, the data access control unit reads the block from the database storage area, and stores the pre-update content of the updated part and the update time given by the update time management unit as a set of update information in the update item registration area. By registering the updated block in the database storage area and writing the updated block back to the database storage area by the data access control unit, batch processing can overwrite the updated information on the block contents in the database storage area and refer to the contents at any time. Online processing allows the latest block contents to be referenced simply by accessing the database storage area.

【0007】[0007]

【作用】本発明のバージョン管理処理方式では、バージ
ョン管理部が利用者プログラムから依頼されたブロック
の更新を行う際、実際に更新を行う前に更新部分の更新
前の内容を読み出し、それと更新時刻管理部により与え
られる更新時刻の組を更新情報として更新項目登録部に
登録しておくので、更新後のブロック内容に登録した更
新情報を上書きすることで更新前の内容を復元できる。
[Operation] In the version control processing method of the present invention, when the version control unit updates a block requested by a user program, before actually updating the block, it reads out the contents of the updated part before the update, and displays the update time and Since the set of update times given by the management section is registered as update information in the update item registration section, the contents before the update can be restored by overwriting the registered update information on the block contents after the update.

【0008】従って、利用者プログラムのバッチ処理で
指定される任意の時刻のブロック内容を、データベース
格納領域から読み出した該ブロックの内容に、該ブロッ
クに関連する更新情報のうちで指定時刻より遅い更新時
刻を含むものを更新時刻の遅いものから順番に上書きす
ることで生成できる。
[0008] Therefore, the contents of a block at an arbitrary time specified by batch processing of a user program are added to the contents of the block read from the database storage area, including updates later than the specified time among update information related to the block. It can be generated by overwriting those that include the time in order from the one with the latest update time.

【0009】また、ブロックの更新は依頼された時点で
直接データベース格納領域に対して行われるので、利用
者プログラムのオンライン処理でブロックを参照すると
きはデータベース記憶領域をアクセスするのみで該ブロ
ックの最新の内容を得ることができる。
[0009] Furthermore, since block updates are performed directly in the database storage area at the time of request, when a block is referenced in online processing by a user program, the latest update of the block can be updated simply by accessing the database storage area. You can get the contents of

【0010】0010

【実施例】図1は本発明の一実施例を説明するための図
であり、101は利用者プログラム、102はバージョ
ン管理部、103は更新項目登録領域、104は更新時
刻管理部、105はデータアクセス制御部、106はデ
ータベース格納領域である。
[Embodiment] FIG. 1 is a diagram for explaining one embodiment of the present invention, in which 101 is a user program, 102 is a version management section, 103 is an update item registration area, 104 is an update time management section, and 105 is a diagram for explaining an embodiment of the present invention. A data access control unit 106 is a database storage area.

【0011】データベース格納領域106は、データベ
ースのレコードをブロック単位で格納する部分であり、
各ブロックはブロック識別子と1対1に対応付けられる
。データアクセス制御部105は、バージョン管理部1
02から与えられるブロック識別子に基づきデータベー
ス格納領域106から当該ブロックを読み出してバージ
ョン管理部102へ転送する機能およびバージョン管理
部102から与えられるブロック識別子とブロック内容
に基づきデータベース格納領域106へ該ブロック内容
を書き込む機能とを有する。
[0011] The database storage area 106 is a part that stores database records in blocks.
Each block has a one-to-one correspondence with a block identifier. The data access control unit 105 includes the version management unit 1
The function reads the block from the database storage area 106 based on the block identifier given from 02 and transfers it to the version management unit 102, and the block content is transferred to the database storage area 106 based on the block identifier and block content given from the version management unit 102. It also has a writing function.

【0012】更新時刻管理部104は、現在時刻を管理
する部分であり、バージョン管理部102に対して時刻
情報を提供する。なお、時刻情報は現実の時間そのもの
である必要はなく、例えば利用者プログラム101から
の要求のシーケンス番号のような論理的なものでもよい
。利用者プログラム101は、利用者によるデータベー
スのオンライン処理あるいはバッチ処理を行うプログラ
ムであり、オンライン処理によりデータベースのブロッ
クを参照するときはそのブロックのブロック識別子を、
オンライン処理によりブロックを更新するときはそのブ
ロックのブロック識別子、ブロック内の更新部分を指定
する情報、および更新部分に書き込む内容を、バッチ処
理によりブロックの特定時刻の内容を参照するときは該
時刻とそのブロックのブロック識別子をバージョン管理
部102に与える。
The update time management unit 104 is a part that manages the current time, and provides time information to the version management unit 102. Note that the time information does not need to be the actual time itself, and may be logical information such as a sequence number of a request from the user program 101, for example. The user program 101 is a program that performs online processing or batch processing of a database by the user, and when referring to a block of the database through online processing, the block identifier of the block is
When updating a block using online processing, the block identifier of the block, information specifying the updated part within the block, and the content to be written to the updated part are used. When referring to the contents of a block at a specific time using batch processing, the information is the time and the information to be written to the updated part. The block identifier of the block is given to the version control unit 102.

【0013】バージョン管理部102は、利用者プログ
ラム101のオンライン処理によりブロックの更新を依
頼されたとき、利用者プログラム101より与えられた
ブロック識別子に対応するブロックをデータアクセス制
御部105に要求してデータベース格納領域106から
読み出す。次に、利用者プログラム101より与えられ
た更新部分指定情報に基づいて読み出したブロックから
更新部分の更新前の内容を取り出し、取り出した更新前
の内容と更新時刻管理部104に要求して取得した現在
時刻情報を一組の更新情報として更新項目登録領域10
3に登録する。最後に、利用者プログラム101より与
えられた更新部分への書き込み内容を読み出したブロッ
クに書き込み、書き込みを終えたブロックをデータアク
セス制御部105に要求してデータベース格納領域10
6へ書き戻す。
When the version management unit 102 is requested to update a block through online processing by the user program 101, the version management unit 102 requests the data access control unit 105 for a block corresponding to the block identifier given by the user program 101. Read from the database storage area 106. Next, the content before the update of the updated part is extracted from the block read based on the updated part specification information given by the user program 101, and the retrieved content before the update and the updated content are requested to the update time management unit 104 and obtained. Update item registration area 10 with current time information as a set of update information
Register for 3. Finally, the content written to the updated part given by the user program 101 is written to the read block, and the data access control unit 105 is requested to send the written block to the database storage area 10.
Write back to 6.

【0014】図2は図1における更新項目登録領域10
3の内部構成の一例を示す図であり、201は更新情報
エントリ、202はマッピング部である。更新情報エン
トリ201は、1つの前記更新情報を含み、エントリ間
の連鎖を示すポインタ203、ブロック識別子204、
更新時刻205、ブロック内での相対的な更新部分の開
始位置206、更新部分の長さ207、更新部分の更新
前の内容208から構成される。更新情報エントリ20
1は、例えばブロック識別子のハッシュ値が等しいブロ
ックに関連する更新情報毎にグループ化され、グループ
毎にポインタ203で連結されたエントリリストを形成
する。
FIG. 2 shows the update item registration area 10 in FIG.
3 is a diagram illustrating an example of the internal configuration of No. 3, in which 201 is an update information entry and 202 is a mapping section. The update information entry 201 includes one piece of the update information, and includes a pointer 203 indicating a chain between entries, a block identifier 204,
It consists of an update time 205, a relative start position 206 of the updated portion within the block, a length 207 of the updated portion, and a content 208 of the updated portion before the update. Update information entry 20
1 is grouped by update information related to blocks having the same hash value of block identifiers, and forms an entry list linked by a pointer 203 for each group.

【0015】マッピング部202はバージョン管理部1
02による更新情報エントリ201の参照あるいは更新
を高速に行うための機構であり、更新情報エントリ20
1が前述の例のようにグループ化されているならば、バ
ージョン管理部102より与えられるブロック識別子の
ハッシュ値から当該エントリリストを求め、該リストの
先頭エントリへのポインタをバージョン管理部102へ
返す。バージョン管理部102はマッピング部202か
ら返されるポインタを、登録する更新情報エントリ20
1のポインタ203として使用する。
The mapping unit 202 is the version management unit 1
This is a mechanism for quickly referencing or updating the update information entry 201 by the update information entry 201.
1 are grouped as in the above example, the corresponding entry list is obtained from the hash value of the block identifier given by the version control unit 102, and a pointer to the first entry of the list is returned to the version control unit 102. . The version management unit 102 uses the update information entry 20 to register the pointer returned from the mapping unit 202.
1 pointer 203.

【0016】バージョン管理部102は、利用者プログ
ラム101のオンライン処理によりブロックの参照を依
頼されたとき、利用者プログラム101より与えられた
ブロック識別子に対応するブロックをデータアクセス制
御部105に要求してデータベース格納領域106から
読み出し、読み出したブロックをそのまま利用者プログ
ラム101へ転送する。
When the version management unit 102 is requested to refer to a block through online processing by the user program 101, the version management unit 102 requests the data access control unit 105 for the block corresponding to the block identifier given by the user program 101. The blocks are read from the database storage area 106 and transferred to the user program 101 as they are.

【0017】バージョン管理部102は利用者プログラ
ム101のバッチ処理により特定時刻のブロックの参照
を依頼されたとき、利用者プログラム101より与えら
れたブロック識別子に対応するブロックのデータアクセ
ス制御部105に要求してデータベース格納領域106
から読み出す。次に、更新項目登録領域103内のマッ
ピング部202に要求して該ブロックに関連する更新情
報を含む前記エントリリストを求める。最後に、求めた
エントリリストを探索して、更新情報エントリ201の
ブロック識別子204が利用者プログラム101より与
えられたものと等しく、かつ更新時刻205が利用者プ
ログラム101より与えられた時刻より遅い更新情報エ
ントリ201を求め、求めたエントリに含まれる更新前
の内容208を更新部分開始位置206と更新部分長2
07に基づいて更新時刻205の新しいものから古いも
のに向かって順に読み出したブロックに上書きし、上書
きを終えたブロックを利用者プログラム101へ返す。
When the version management unit 102 is requested to refer to a block at a specific time by batch processing of the user program 101, the version management unit 102 requests the data access control unit 105 for the block corresponding to the block identifier given by the user program 101. database storage area 106
Read from. Next, a request is made to the mapping unit 202 in the update item registration area 103 to obtain the entry list including update information related to the block. Finally, the obtained entry list is searched and the block identifier 204 of the update information entry 201 is equal to the one given by the user program 101, and the update time 205 is later than the time given by the user program 101. The information entry 201 is obtained, and the pre-update content 208 included in the obtained entry is set to the update part start position 206 and the update part length 2.
07, the read blocks are overwritten in order from the newest update time 205 to the oldest one, and the blocks that have been overwritten are returned to the user program 101.

【0018】[0018]

【発明の効果】以上説明した如く、本発明によれば利用
者プログラムによるデータベースの更新がデータベース
格納領域に対して直接行われるため、オンライン処理で
1つのブロックを参照するときに必要な二次記憶装置の
アクセスは1回となり、オンライン処理のリアルタイム
性が二次記憶装置を複数回アクセスすることによって低
下することがなくなる。
As explained above, according to the present invention, the database is updated by the user program directly in the database storage area, so that the secondary storage required when referencing one block in online processing is reduced. The device is accessed only once, and the real-time performance of online processing is not degraded by accessing the secondary storage device multiple times.

【0019】また、更新しようとするブロックの更新前
の内容を更新時刻と共に更新項目登録領域に保存するの
で、データベース格納領域内の最新のブロック内容に更
新時刻の新しい順序で更新前の内容を上書きすれば該ブ
ロックの任意の時刻の内容を復元できることになり、オ
ンライン処理のサービス低下を招くことなく任意の時刻
のデータベースに対するバッチ処理を常に行えるように
なる。更新項目登録領域は登録される更新情報がブロッ
クを更新する前の古い内容であることからたとえ失われ
たとしてもデータベースの最新内容を保証することがで
きるため本体装置内のメモリ等に設けることができるの
で、古い時刻の内容へのアクセスが必要であっても比較
的高速にブロック内容が復元できる。
[0019] Also, since the content before update of the block to be updated is saved in the update item registration area along with the update time, the content before update is overwritten on the latest block content in the database storage area in the order of the latest update time. Then, the contents of the block at any time can be restored, and batch processing can always be performed on a database at any time without degrading the online processing service. The update item registration area can be provided in the memory of the main unit because the update information to be registered is the old content before the block was updated, so even if it is lost, the latest content of the database can be guaranteed. Therefore, even if it is necessary to access the contents at an older time, the contents of the block can be restored relatively quickly.

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

【図1】本発明の実施例を示す図である。FIG. 1 is a diagram showing an embodiment of the present invention.

【図2】更新項目登録領域の内部構成を示す図である。FIG. 2 is a diagram showing the internal configuration of an update item registration area.

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

101  利用者プログラム 102  バージョン管理部 103  更新項目登録領域 104  更新時刻管理部 105  データアクセス制御部 106  データベース格納領域 201  更新情報エントリ 202  マッピング部 203  ポインタ 204  ブロック識別子 205  更新時刻 206  更新部分開始位置 207  更新部分長 208  更新前内容 101 User program 102 Version control department 103 Update item registration area 104 Update time management department 105 Data access control unit 106 Database storage area 201 Update information entry 202 Mapping section 203 Pointer 204 Block identifier 205 Update time 206 Update part start position 207 Update part length 208 Contents before update

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  同一のデータベースに対してオンライ
ン処理とバッチ処理とが混在して実行されるデータベー
ス処理システムにおいて、データベースのレコードをブ
ロック単位で格納するデータベース格納領域と、該デー
タベース格納領域に対するブロックの読み出しあるいは
書き込みを行うデータアクセス制御部と、利用者プログ
ラムによるブロックの更新時刻を管理するための更新時
刻管理部と、利用者プログラムによるブロックの更新情
報を更新時刻と共に登録するための更新項目登録領域と
、該更新項目登録領域への更新情報の登録および前記デ
ータアクセス制御部から受け取ったブロック内容への前
記更新情報の上書きを行うバージョン管理部とを備え、
前記バージョン管理部は、オンライン処理を行う利用者
プログラムによりブロックの更新を依頼されたとき、前
記データアクセス制御部に要求して当該ブロックを前記
データベース格納領域から読み出し、該ブロックの更新
部分の更新前の内容と前記更新時刻管理部により与えら
れる更新時刻を一組の更新情報として前記更新項目登録
領域に登録し、依頼された更新を行った該ブロックを前
記データアクセス制御部に要求して前記データベース格
納領域へ書き込み、バッチ処理を行う利用者プログラム
により特定時刻のブロック内容の参照を依頼されたとき
、前記データアクセス制御部に要求して当該ブロックを
前記データベース格納領域から読み出し、該特定時刻以
降に前記更新項目登録領域に登録された該ブロックに関
連する更新情報を更新時刻の新しいものから順番に読み
出したブロック内容へ上書きし、上書きにより得られた
ブロック内容を利用者プログラムに参照させることで、
データベース格納領域内の最新のブロック内容から任意
の時刻の内容を形成できることを特徴とするバージョン
管理処理方式。
Claim 1: In a database processing system in which online processing and batch processing are executed on the same database in a mixed manner, there is a database storage area that stores database records in blocks, and a block storage area for the database storage area. A data access control unit for reading or writing, an update time management unit for managing the block update time by the user program, and an update item registration area for registering block update information by the user program together with the update time. and a version management unit that registers update information in the update item registration area and overwrites the update information on block contents received from the data access control unit,
When the version control unit is requested to update a block by a user program that performs online processing, the version control unit requests the data access control unit to read the block from the database storage area, and updates the updated portion of the block before updating. and the update time given by the update time management unit as a set of update information in the update item registration area, and request the data access control unit to send the block that has undergone the requested update to the database. When a user program that writes to a storage area and performs batch processing requests to refer to the contents of a block at a specific time, the data access control unit is requested to read the block from the database storage area, and after the specific time. By overwriting the update information related to the block registered in the update item registration area over the read block contents in order from the latest update time, and having the user program refer to the block contents obtained by overwriting,
A version control processing method characterized by being able to form content at any time from the latest block content in a database storage area.
JP3070211A 1991-04-03 1991-04-03 Version management processing system Pending JPH04305742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3070211A JPH04305742A (en) 1991-04-03 1991-04-03 Version management processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3070211A JPH04305742A (en) 1991-04-03 1991-04-03 Version management processing system

Publications (1)

Publication Number Publication Date
JPH04305742A true JPH04305742A (en) 1992-10-28

Family

ID=13424964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3070211A Pending JPH04305742A (en) 1991-04-03 1991-04-03 Version management processing system

Country Status (1)

Country Link
JP (1) JPH04305742A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5940813A (en) * 1996-07-26 1999-08-17 Citibank, N.A. Process facility management matrix and system and method for performing batch, processing in an on-line environment
US7017019B2 (en) 2002-11-13 2006-03-21 Hitachi, Ltd. Method of managing generation of backup data and storage control device used therefor
JP2016194826A (en) * 2015-03-31 2016-11-17 富士通株式会社 Database processing control method, processing control program and database server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5940813A (en) * 1996-07-26 1999-08-17 Citibank, N.A. Process facility management matrix and system and method for performing batch, processing in an on-line environment
US7017019B2 (en) 2002-11-13 2006-03-21 Hitachi, Ltd. Method of managing generation of backup data and storage control device used therefor
US7117329B2 (en) 2002-11-13 2006-10-03 Hitachi, Ltd. Method of managing generation of backup data and storage control device used therefor
JP2016194826A (en) * 2015-03-31 2016-11-17 富士通株式会社 Database processing control method, processing control program and database server

Similar Documents

Publication Publication Date Title
KR100233207B1 (en) Cache flush apparatus and computer system having this apparatus
US5664186A (en) Computer file management and backup system
KR100238925B1 (en) A recoverable disk control system with a non-volatile memory
US5701457A (en) Method of designated time interval reservation access process of online updating and backing up of large database versions without reserving exclusive control
US9678996B2 (en) Conflict resolution system for database parallel editing
US20070143287A1 (en) Coordinating access to memory locations for hardware transactional memory transactions and software transactional memory transactions
US20080120349A1 (en) Method for deferred logging and apparatus thereof
US6823514B1 (en) Method and system for caching across multiple contexts
JPH02148235A (en) Data drawback system
JPH04305742A (en) Version management processing system
US20030220950A1 (en) Database controlling system
JPH06274401A (en) Distributed data base control system
US6085036A (en) Data base structure and management
JP2828354B2 (en) Database management device
JPH096653A (en) Data base checking information processor
JP3491379B2 (en) Information processing apparatus and trace information storage method
JP4131579B2 (en) Data management system and data management method
KR20230032654A (en) Interated management method of runtime backup information and system therof
JPH05324435A (en) Method for processing directory management and device therefor
JPH04324541A (en) Network system
JP2523499B2 (en) Access control method
JPH03206535A (en) Shared file control system
JPH09160829A (en) Data processing system;
JP2021096506A (en) Data processing device and data processing method
JPH06290095A (en) File managing device