JPH03246737A - Data base update control system - Google Patents
Data base update control systemInfo
- Publication number
- JPH03246737A JPH03246737A JP2045155A JP4515590A JPH03246737A JP H03246737 A JPH03246737 A JP H03246737A JP 2045155 A JP2045155 A JP 2045155A JP 4515590 A JP4515590 A JP 4515590A JP H03246737 A JPH03246737 A JP H03246737A
- Authority
- JP
- Japan
- Prior art keywords
- data
- update
- database
- image file
- updated
- 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
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はデータベース更新制御方式に関し、特にデータ
ベース自体を更新せずにデータベースの更新処理をシミ
ュレートするデータベース更新制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a database update control method, and particularly to a database update control method that simulates database update processing without updating the database itself.
従来、この種のデータベース更新制御方式では、データ
ベースの更新処理をシミュレートする場合には、第5図
に示すように、データベース全体を別線体に複写して複
写されたデータベースに対して更新処理を行うか、ある
いは第6図に示すように、データベース自体を更新して
更新イメージをジャーナルデータとして出力し更新処理
の終了後にジャーナルデータを用いてデータベース自体
を元に戻すようにしていた。Conventionally, in this type of database update control method, when simulating a database update process, as shown in FIG. 5, the entire database is copied to a separate body and the update process is performed on the copied database. Alternatively, as shown in FIG. 6, the database itself is updated, the updated image is output as journal data, and after the update process is completed, the journal data is used to restore the database itself.
上述した従来のデータベース更新制御方式では、データ
ベースの更新処理をシミュレートする際に、データベー
ス全体を別媒体に複写し複写されたデータベースに対し
て更新処理を行う場合には、大容量のデータベースであ
ると別媒体としての二次記憶装置のファイル容量が大量
に必要になるという欠点がある。In the conventional database update control method described above, when simulating database update processing, if the entire database is copied to another medium and update processing is performed on the copied database, it is necessary to copy the entire database to another medium and perform update processing on the copied database. The disadvantage is that a large amount of file capacity is required in a secondary storage device as a separate medium.
また、データベース自体を更新し更新イメージをジャー
ナルデータとして出力し更新処理の終了後にジャーナル
データを用いてデータベース自体を元に戻す場合には、
実際の業務で使用中のデータベースでは業務の運用を停
止しなければならず6業務運用中に同時に更新処理をシ
ミュレートすることはできないという欠点がある。Also, when updating the database itself, outputting the updated image as journal data, and restoring the database itself using the journal data after the update process is complete,
A database currently in use in an actual business has the drawback that the business operation must be stopped, and update processing cannot be simulated simultaneously during six business operations.
本発明の目的は、上述の点に鑑み、更新されたデータを
更新イメージファイルに登録して、データベースを実更
新することなしにデータベースの更新処理をシミュレー
トするようにしたデータベース更新制御方式を提供する
ことにある。In view of the above, an object of the present invention is to provide a database update control method in which updated data is registered in an update image file and database update processing is simulated without actually updating the database. It's about doing.
〔課題を解決するための手段〕
本発明のデータベース更新制御方式は、データベース管
理システムにおいて、検索要求があったデータの最新イ
メージがデータベースにあるか更新イメージファイルに
あるかを判定するデータ位置判定手段と、このデータ位
置判定手段によりデータの最新イメージがデータベース
にあると判定された場合にデータベースからデータを取
り出し更新イメージファイルにあると判定された場合に
更新イメージファイルからデータを取り出すデータ検索
処理手段と、このデータ検索処理手段により取り出され
たデータを更新し更新されたデータを更新イメージファ
イルに登録するデータ更新処理手段と、このデータ更新
処理手段により更新されたデータの最新イメージが更新
イメージファイルにあることを管理するデータ位置管理
手段とを有する。[Means for Solving the Problems] The database update control method of the present invention provides a data position determination means for determining whether the latest image of data for which a search request is made is in the database or in an update image file in a database management system. and a data search processing means that retrieves the data from the database when the data position determining means determines that the latest image of the data is in the database and retrieves the data from the updated image file when it is determined that the latest image of the data is located in the updated image file. , a data update processing means for updating the data retrieved by this data search processing means and registering the updated data in an update image file; and a latest image of the data updated by this data update processing means is in the update image file. and a data location management means for managing the information.
本発明のデータベース更新制御方式では、データ位置判
定手段が検索要求があったデータの最新イメージがデー
タベースにあるか更新イメージファイルにあるかを判定
し、データ検索処理手段がデータ位置判定手段によりデ
ータの最新イメージがデータベースにあると判定された
場合にデータベースからデータを取り出し更新イメージ
ファイルにあると判定された場合に更新イメージファイ
ルからデータを取り出し、データ更新処理手段がデータ
検索処理手段により取り出されたデータを更新し更新さ
れたデータを更新イメージファイルに登録し、データ位
置管理手段がデータ更新処理手段により更新されたデー
タの最新イメージが更新イメージファイルにあることを
管理する。In the database update control method of the present invention, the data position determination means determines whether the latest image of the data for which a search request is made is in the database or in the update image file, and the data search processing means uses the data position determination means to update the data. When it is determined that the latest image is in the database, the data is retrieved from the database; when it is determined that the latest image is in the update image file, the data is retrieved from the update image file, and the data update processing means retrieves the data by the data search processing means. and registers the updated data in the update image file, and the data position management means manages that the latest image of the data updated by the data update processing means is in the update image file.
次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.
第2図は、本発明の一実施例に係るデータベース更新制
御方式が適用されるデータベース処理システムのハード
ウェア構成を示すブロック図である。このデータベース
処理システムは、主記憶装置1と、中央処理装置2と、
データベース処理装置3と、高速・小容量外部記憶装置
4および中低速・大容量外部記憶装置5の階層化された
外部記憶装置とを含んで構成されている。FIG. 2 is a block diagram showing the hardware configuration of a database processing system to which a database update control method according to an embodiment of the present invention is applied. This database processing system includes a main storage device 1, a central processing unit 2,
It is configured to include a database processing device 3, and hierarchized external storage devices including a high-speed/small-capacity external storage device 4 and a medium-low-speed/large-capacity external storage device 5.
第1図は、本発明の一実施例に係るデータベース更新制
御方式が通用されたデータベース管理システム22の構
成を示すブロック図である。このデータベース管理シス
テム22は、データベース処理装置3上に搭載されてお
り、データの検索要求および更新要求を行う入力手段2
1と、中低速・大容量外部記憶装置5上に設けられたデ
ータベース23と、高速・小容量外部記憶装置4上に設
けられた更新イメージファイル24とに接続されている
。FIG. 1 is a block diagram showing the configuration of a database management system 22 in which a database update control method according to an embodiment of the present invention is applied. This database management system 22 is installed on the database processing device 3, and includes input means 2 for making data search requests and update requests.
1, a database 23 provided on a medium/low speed/large capacity external storage device 5, and an update image file 24 provided on a high speed/small capacity external storage device 4.
データベース管理システム22は、検索要求があったデ
ータの最新イメージがデータベース23上にあるか更新
イメージファイル24上にあるかをデータ位置管理手段
224を参照して判定するデータ位置判定手段221と
、検索要求があったデータをデータベース23または更
新イメージファイル24から主記憶装置fl上に取り出
すデータ検索処理手段222と、主記憶装置1上に取り
出されたデータを更新して更新されたデータを更新イメ
ージファイル24に登録するデータ更新処理手段223
と、データの最新イメージがデータベース23上にある
か更新イメージファイル24上にあるかを管理するデー
タ位置管理手段224とを含んで構成されている。The database management system 22 includes a data position determining means 221 that determines whether the latest image of the data for which a search request is made is on the database 23 or on the update image file 24 by referring to the data position managing means 224; A data search processing means 222 retrieves requested data from the database 23 or update image file 24 onto the main storage device fl, and updates the retrieved data onto the main storage device 1 and transfers the updated data to an update image file. Data update processing means 223 registered in 24
and a data location management means 224 that manages whether the latest image of data is on the database 23 or the updated image file 24.
データベース23は、レコード部231と、索引部23
2とを含んで構成されている。The database 23 includes a record section 231 and an index section 23.
2.
更新イメージファイル24は、更新イメージデータ24
1を含む。The update image file 24 is the update image data 24
Contains 1.
第3図を参照すると、本実施例のデータベース更新制御
方式におけるデータの検索要求時の処理は、データ検索
要求ステップ31と、データ最新イメージ格納位置判定
ステップ32と、データベースからのデータ取出しステ
ップ33と、更新イメージファイルからのデータ取出し
ステップ34とからなる。Referring to FIG. 3, the processing at the time of a data search request in the database update control method of this embodiment includes a data search request step 31, a data latest image storage position determination step 32, and a data retrieval step 33 from the database. , and a data retrieval step 34 from the updated image file.
第4図を参照すると、本実施例のデータベース更新制御
方式におけるデータの更新要求時の処理は、データ更新
要求ステップ41と、データ更新ステップ42と、更新
データ更新イメージファイル書込みステップ43と、デ
ータ最新イメージ位置管理ステップ44とからなる。Referring to FIG. 4, the processing at the time of a data update request in the database update control method of this embodiment includes a data update request step 41, a data update step 42, an update data update image file write step 43, and a data update request step 41. and an image position management step 44.
次に、このように構成された本実施例のデータベース更
新制御方式の動作について説明する。Next, the operation of the database update control system of this embodiment configured as described above will be explained.
データベース23に対するデータの検索要求および更新
要求は、入力手段21を通してデータベース管理システ
ム22に入力される。Data search requests and update requests for the database 23 are input to the database management system 22 through the input means 21 .
データの更新要求に先立ってデータの検索要求があると
(ステップ31)、データベース管理システム22は、
データ位置判定手段221を用いて、データ位置管理手
段224を参照することにより検索要求されたデータの
最新イメージが中低速・大容量外部記憶装置5上のデー
タベース23に存在するか高速・小容量外部記憶装置4
上の更新イメージファイル24に存在するかを判定する
(ステップ32)、検索要求されたデータの最新イメー
ジが更新イメージファイル24に存在しない場合には、
データベース管理システム22は、データ検索処理手段
222を用いて、中低速・大容量外部記憶装置5上のデ
ータベース23から主記憶装置1上にデータを取り出す
(ステップ33)、検索要求されたデータの最新イメー
ジが更新イメージファイル24に存在する場合には、デ
ータベース管理システム22は、データ検索処理手段2
22を用いて、高速・小容量外部記憶装置4上の更新イ
メージファイル24から主記憶装置1上にデータを取り
出す(ステップ34)。When there is a data search request prior to a data update request (step 31), the database management system 22
Using the data position determining means 221, the data position management means 224 is used to check whether the latest image of the requested data exists in the database 23 on the medium/low speed/large capacity external storage device 5. Storage device 4
It is determined whether the latest image of the search-requested data exists in the update image file 24 (step 32). If the latest image of the requested data does not exist in the update image file 24,
The database management system 22 retrieves data from the database 23 on the medium-low speed/large-capacity external storage device 5 onto the main storage device 1 using the data search processing means 222 (step 33), and retrieves the latest data requested for search. If the image exists in the update image file 24, the database management system 22 uses the data retrieval processing means 2.
22 is used to retrieve data from the update image file 24 on the high-speed, small-capacity external storage device 4 onto the main storage device 1 (step 34).
データの検索要求に続いてデータの更新要求があると(
ステップ41)、データベース管理システム22は、デ
ータ更新処理手段223を用いて、先のデータの検索要
求に基づいて主記憶装置1上にすでに取り出されている
データを更新しくステップ42)、更新したデータを高
速・小容量外部記憶装置4上の更新イメージファイル2
4に書き込む(ステップ43)、さらに、データベース
管理システム22は、データ位置管理手段224を用い
て、更新されたデータの最新イメージが更新イメージフ
ァイル24にあることを管理する(ステップ44)。When a data update request follows a data search request (
Step 41), the database management system 22 uses the data update processing means 223 to update the data already retrieved on the main storage device 1 based on the previous data search request.Step 42), the updated data Update image file 2 on high-speed, small-capacity external storage device 4
Further, the database management system 22 uses the data location management means 224 to manage that the latest image of the updated data is in the updated image file 24 (step 44).
以上説明したように本発明は、データベースのデータの
更新処理において、データベース自体を更新せずに更新
イメージのみを更新イメージファイルに登録するように
したことにより、実業務で使用中のデータベースについ
て実際の業務運用時間帯にデータベースの更新処理をシ
ミュレートすることができるという効果がある。As explained above, the present invention registers only the update image in the update image file without updating the database itself in the database data update process, thereby making it possible to update the database in use in actual business. This has the effect of being able to simulate database update processing during business operation hours.
さらに、シミュレート処理時間の高速化、シミュレート
処理で必要となる外部記憶装置上のファイル容量の削減
、データベース自体を更新することによるデータ破壊の
危険性の低減等を達成することができるという効果があ
る。Furthermore, it is possible to speed up simulation processing time, reduce the file size on external storage devices required for simulation processing, and reduce the risk of data destruction by updating the database itself. There is.
第1図は本発明の一実施例に係るデータベース更新制御
方式が適用されたデータベース管理システムの構成を示
すブロック図、
第2図は第1図に示したデータベース管理システムを搭
載するデータベース処理システムのハードウェア構成を
示すブロック図、
第3図は本実施例のデータベース更新制御方式における
データの検索要求時の処理を示す流れ図、第4図は本実
施例のデータベース更新制御方式におけるデータの更新
要求時の処理を示す流れ図、第5図は従来のデータヘー
スの更新処理の一例を示す説明図、
第6図は従来のデータベースの更新処理の他の例を示す
説明図である。
図において、
■・・・主記憶装置、
2・・・中央処理装置、
3・・・データ検索処理手段、
4・・・高速・小容量外部記憶装置、
5・・・中低速・大容量外部記憶装置、21・・入力手
段、
22・・データベース管理システム、
23・・データヘース、
24・・更新イメージファイル、
22トデ一タ位置判定手段、
222・データ検索処理手段、
223・データ更新処理手段、
24
31
32
24 ト
データ位置管理手段、
・レコード部、
・索引部、
・更新イメージデータである。FIG. 1 is a block diagram showing the configuration of a database management system to which a database update control method according to an embodiment of the present invention is applied, and FIG. 2 is a block diagram of a database processing system equipped with the database management system shown in FIG. A block diagram showing the hardware configuration. FIG. 3 is a flowchart showing the processing at the time of a data search request in the database update control method of this embodiment. FIG. 4 is a flow chart showing the processing at the time of a data update request in the database update control method of this embodiment. FIG. 5 is an explanatory diagram showing an example of conventional data header update processing. FIG. 6 is an explanatory diagram showing another example of conventional database update processing. In the figure, ■...Main storage device, 2...Central processing unit, 3...Data search processing means, 4...High speed/small capacity external storage device, 5...Medium/low speed/large capacity external Storage device, 21. Input means, 22. Database management system, 23. Data database, 24. Update image file, 22. Data position determination means, 222. Data search processing means, 223. Data update processing means. 24 31 32 24 Data position management means: - record section; - index section; - update image data.
Claims (1)
にあるか更新イメージファイルにあるかを判定するデー
タ位置判定手段と、 このデータ位置判定手段によりデータの最新イメージが
データベースにあると判定された場合にデータベースか
らデータを取り出し更新イメージファイルにあると判定
された場合に更新イメージファイルからデータを取り出
すデータ検索処理手段と、 このデータ検索処理手段により取り出されたデータを更
新し更新されたデータを更新イメージファイルに登録す
るデータ更新処理手段と、 このデータ更新処理手段により更新されたデータの最新
イメージが更新イメージファイルにあることを管理する
データ位置管理手段と を有することを特徴とするデータベース更新制御方式。[Scope of Claim] In a database management system, data position determining means determines whether the latest image of the data for which a search request is made is in the database or in an update image file; data search processing means for extracting data from the database when it is determined that the data is in the database and extracting the data from the update image file when it is determined that the data is in the update image file; It has a data update processing means for updating and registering the updated data in an update image file, and a data position management means for managing that the latest image of the data updated by the data update processing means is in the update image file. A database update control method characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2045155A JPH03246737A (en) | 1990-02-26 | 1990-02-26 | Data base update control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2045155A JPH03246737A (en) | 1990-02-26 | 1990-02-26 | Data base update control system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03246737A true JPH03246737A (en) | 1991-11-05 |
Family
ID=12711378
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2045155A Pending JPH03246737A (en) | 1990-02-26 | 1990-02-26 | Data base update control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03246737A (en) |
-
1990
- 1990-02-26 JP JP2045155A patent/JPH03246737A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6192444B1 (en) | Method and system for providing additional addressable functional space on a disk for use with a virtual data storage subsystem | |
| EP0789877B1 (en) | System and method for on-line, real-time, data migration | |
| JP2001510598A (en) | Device drive for accessing computer files | |
| US20040078533A1 (en) | Low overhead snapshot in a storage array using a tree-of-slabs metadata | |
| JP2006268829A (en) | Method and apparatus for mirroring objects between storage systems | |
| US20070239806A1 (en) | Methods and apparatus for a fine grained file data storage system | |
| JPS6369066A (en) | Data correcting system on unrewritable medium | |
| US7254672B1 (en) | Translation device driver for translating between disk device driver and tape device driver commands | |
| JPH03246737A (en) | Data base update control system | |
| JPH0667811A (en) | Multiplexed disk control device | |
| KR100460245B1 (en) | Systems and methods for on-line, real-time data execution | |
| JP3330006B2 (en) | Network system including information storage system, input system of the system, and | |
| JPH06187201A (en) | File system | |
| JPH04336638A (en) | Disk exchange system in system working mode | |
| JP3711817B2 (en) | Database access method and apparatus, and machine-readable recording medium recording program | |
| JPH0498546A (en) | Duplicate data updating system | |
| JP2771986B2 (en) | Magnetic tape unit | |
| JP2641399B2 (en) | File management device | |
| JPH0327470A (en) | Data storage system for electronic file | |
| JP2767966B2 (en) | High-speed file access method | |
| JPH0756695A (en) | Method for processing real time staging and device therefor | |
| JPH1198448A (en) | Video server device and access processing method therefor | |
| JPH0319014A (en) | Area control system for optical disk medium | |
| JPH03276239A (en) | Record control system | |
| JPH0573396A (en) | Optical disc differential information extraction method |