JPH02259942A - Data base generation management processing system - Google Patents

Data base generation management processing system

Info

Publication number
JPH02259942A
JPH02259942A JP1081915A JP8191589A JPH02259942A JP H02259942 A JPH02259942 A JP H02259942A JP 1081915 A JP1081915 A JP 1081915A JP 8191589 A JP8191589 A JP 8191589A JP H02259942 A JPH02259942 A JP H02259942A
Authority
JP
Japan
Prior art keywords
generation
record
bit
data
database
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
JP1081915A
Other languages
Japanese (ja)
Inventor
Takaaki Nagae
永江 ▲たか▼明
Masaharu Kitaoka
北岡 正治
Takuya Kishino
岸野 卓哉
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1081915A priority Critical patent/JPH02259942A/en
Publication of JPH02259942A publication Critical patent/JPH02259942A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To efficiently execute the retrieval of information at every generation by storing a bit with a prescribed value representing the validity of data held in a record at every generation in the bit masking field of each record when the addition, the updating, and the erasure of the data are preformed. CONSTITUTION:The bit masking field 2 having prescribed bit length and in which each bit corresponds to the generation number of a prescribed generation, respectively is provided on the record 1. A data base managing means 4 that is a managing means preserves the record 1 corresponding to the updating and erasure when the addition, the updating, and the erasure of the data are performed, and stores the bit with the prescribed value representing the validity of the bit masking field at every generation in the bit mask field 2 of each record 1. In such a manner, since it is possible to select the record of the generation only by the value of the bit corresponding to the requested generation of the bit masking field, a processing to make access to the requested generation selectively can be performed with high efficiency.

Description

【発明の詳細な説明】 [概 要〕 情報処理システムにおいて、変更履歴を保存するデータ
ベースの世代管理に関し、 世代ごとの情報の検索、世へ間の差分情報の取得等が効
率よく実行でき、データの保存効率もよいデータベース
世代管理処理方式を目的とし、データを格納する1以上
のレコードを有し、該データの所定の追加、更新及び削
除ごとに更新する世代によって管理する履歴データを保
存するデータベースシステムにおいて、該レコードに、
所定のビット長を有し、各ビットをそれぞれ所定の世代
の世代番号に対応させたビットマスクフィールドを設け
、管理手段は該データの該追加、更新及び削除の場合に
、該更新及び削除に該当するレコードを保存し、該追加
及び更新後の内容のレコードを追加し、各該レコードの
該ビットマスクフィールドに、当該レコードに保持する
データの有効性を世代ごとに示す所定値の各ビットを格
納するように構成する。
[Detailed Description of the Invention] [Summary] Regarding generation management of a database that stores change history in an information processing system, it is possible to efficiently search for information for each generation, obtain difference information between generations, etc. A database that stores historical data that has one or more records for storing data and that is managed by generations that are updated every time the data is added, updated, or deleted. In the system, for the record,
A bit mask field is provided that has a predetermined bit length and each bit corresponds to a predetermined generation number, and the management means is configured to add, update, or delete data corresponding to the update or deletion. Save the record to be added, add a record with the contents after the addition and update, and store each bit of a predetermined value indicating the validity of the data held in the record for each generation in the bit mask field of each record. Configure it to do so.

〔産業上の利用分野〕[Industrial application field]

本発明は、情報処理システムにおいて、変更履歴を保存
するデータベースの世代管理処理方式に関する。
The present invention relates to a generation management processing method for a database that stores change history in an information processing system.

プログラム開発等のデータベースにおいては変更経緯を
随時参照できるご七が望まれ、そのような場合には更新
履歴の世代管理が必要になる。
In databases for program development, etc., it is desirable to be able to refer to the history of changes at any time, and in such cases, generation management of update history is necessary.

〔従来の技術と発明が解決しようとする課題〕データベ
ースは、例えば所定長のデータを保持するレコードを最
小単位として、所要のレコードの集まりを例えばパレッ
トとして管理し、一般に複数のパレットからなる。
[Prior Art and Problems to be Solved by the Invention] A database manages a collection of required records as a palette, for example, with a record holding data of a predetermined length as the minimum unit, and generally consists of a plurality of palettes.

データベースの世代管理の一方式である第1の方式では
、データベースの更新があった場合に、一連の更新処理
が完了して、そのデータベースのいわゆるクローズ処理
が行われるごとに、それまでの各世代のデータベースに
追加して、更新後のデータベース全体を新世代として新
たに生成し、第6図(a)のように更新履歴表で各世代
のデータベースを指示するようにして、所要の世代数に
渡るデータベースを保存し管理する。
In the first method, which is a method of database generation management, when a database is updated, every time a series of update processing is completed and the database is closed, each previous generation is database, generate the entire updated database as a new generation, and specify the database of each generation in the update history table as shown in Figure 6 (a) to reach the required number of generations. Save and manage your database.

又第2の方式では、例えばパレットを単位として、第6
図(b)に示すように変更のあったパレットの最初の内
容を共有情報とし、例えば更新部分のレコードを更新情
報として更新ごとに追加する。
In addition, in the second method, for example, the sixth
As shown in Figure (b), the first contents of the changed palette are used as shared information, and, for example, the records of the updated portion are added as updated information each time an update is made.

このデータベースにアクセスする場合には、共通情報に
それらの更新情報を順次積み重ねることにより、所要の
世代のデータを得る。
When accessing this database, data of the required generation is obtained by sequentially stacking the updated information on the common information.

前記第1の方式は、処理は比較的単純で容易に実現でき
、ある世代へアクセスすることも容易でるが、データベ
ース全体を何重にも保存することになるので格納スペー
スの効率が悪い。又第2の方式は、スペース効率は比較
的良いものの、更新履歴をたどらないと特定の世代を得
ることができないので、検索性能が悪いという問題が有
る。
In the first method, the processing is relatively simple and easy to implement, and it is easy to access a certain generation, but the entire database is stored in multiple layers, so the storage space is inefficient. Although the second method has relatively good space efficiency, it has the problem of poor search performance because a specific generation cannot be obtained without tracing the update history.

本発明は、世代ごとの情報の検索、世代間の差分情報の
取得が効率よく実行でき、データの保存効率もよいデー
タベース世代管理処理方式を目的とする。
An object of the present invention is to provide a database generation management processing method that can efficiently search for information for each generation and obtain difference information between generations, and also has good data storage efficiency.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は、本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.

図はデータベース世代管理処理方式の構成を示し、デー
タを格納する1以上のレコード1を有し、該データの所
定の追加、更新及び削除ごとに更新する世代によって管
理する履歴データを保存するデータベース3を有するデ
ータベースシステムにおいて、レコードlに、所定のビ
ット長を有し、各ビットをそれぞれ所定の世代の世代番
号に対応させたビットマスクフィールド2を設け、管理
手段であるデータベース管理部4は該データの該追加、
更新及び削除の場合に、該更新及び削除に該当するレコ
ード1を保存し、該追加及び更新後の内容のレコードl
を追加し、各該レコード1のビットマスクフィールド2
に、当該レコード1に保持するデータの有効性を世代ご
とに示す所定値の各ビットを格納する。
The figure shows the configuration of a database generation management processing method, in which a database 3 has one or more records 1 for storing data, and stores historical data managed by generations that are updated every time a predetermined addition, update, or deletion of the data is made. In a database system having a record L, a bit mask field 2 having a predetermined bit length and each bit corresponding to a predetermined generation number is provided in a record l, and a database management unit 4, which is a management means, stores the data. The addition of
In the case of updates and deletions, record 1 corresponding to the update and deletion is saved, and record 1 of the contents after the addition and update is saved.
and bitmask field 2 of each record 1
, each bit of a predetermined value indicating the validity of data held in the record 1 for each generation is stored.

〔作 用〕[For production]

前記の処理方式により、レコードの追加、更新及び削除
に際して必要になる世代管理のための処理は、当該レコ
ードのビットマスクフィールドの更新のみに局限され、
履歴データはレコード単位で必要部分のみが保存される
ことになるので処理効率及びスペース効率が良い。又ビ
ットマスクフィールドの所要世代に対応するビットの値
のみによって、その世代のレコードを選択することがで
きるので、所要の世代に選択的にアクセスするための処
理も効率良く実行できる。
With the above processing method, the generation management processing required when adding, updating, and deleting records is limited to updating the bit mask field of the record.
Since only necessary portions of historical data are saved in record units, processing efficiency and space efficiency are good. Further, since records of a desired generation can be selected only by the value of the bit corresponding to the desired generation in the bit mask field, processing for selectively accessing the desired generation can be executed efficiently.

〔実施例〕〔Example〕

前記のようにデータベースはレコードをパレットに区分
して管理されるものとする。−例として最大世代数を4
とすると、各レコードは、4ビツトのビットマスクフィ
ールドと、適当な長さのデータフィールド等からなり、
データを格納するレコードからなるデータパレットが識
別名A、B、Cの3パレツトあり、各データパレットが
2しコードからなる場合には、第2図(a)に概念的に
示す構成のデータベースとなる。図の世代管理パレット
と変更管理パレットについては後述する。
As mentioned above, it is assumed that the database is managed by dividing records into palettes. -For example, set the maximum number of generations to 4
Then, each record consists of a 4-bit bitmask field, a data field of appropriate length, etc.
If there are three data palettes with identification names A, B, and C, which are made up of records that store data, and each data palette is made up of two codes, a database with the structure conceptually shown in Figure 2(a) and Become. The generation management palette and change management palette shown in the figure will be described later.

こ−で各ビットマスクフィールドは、左端から順次第1
〜第4世代に対応するビットとし、ビット値が1の場合
にその世代でデータが存効であり、0の場合に無効であ
ることを示し、新たに追加されるレコードのビットマス
クフィールドは、その追加によって設定される世代(指
定の世代)及びそれ以後の世代(未使用の世代)のビッ
トをすべて1にし、それ以前のビットをOにする。従っ
て第2図(a)に示す状態は、6レコードすべてが第1
世代に創成(追加)されたものであることを示している
Each bitmask field is now numbered 1 starting from the left end.
- The bit corresponds to the 4th generation, and when the bit value is 1, it indicates that the data is valid in that generation, and when it is 0, it is invalid. The bit mask field of the newly added record is as follows: The bits of the generation set by the addition (designated generation) and subsequent generations (unused generations) are all set to 1, and the bits before that are set to O. Therefore, in the situation shown in Figure 2(a), all six records are in the first
This indicates that it was created (added) in the same generation.

レコードの削除の場合には、削除されるレコードをその
ま\保存し、そのビットマスクフィールドの指定の世代
と以後の未使用世代のビットをすべてOにし、その他は
元のま−とする。
In the case of record deletion, the record to be deleted is saved as is, all bits of the designated generation and subsequent unused generations in the bit mask field are set to O, and the other bits remain as they were.

又、レコードの更新の場合には、当レコードは更新前の
ま\とし、更新後の内容のデータのレコードを新設し、
前のレコードのビットマスクフィールドは削除レコード
の場合と同様、新設レコードのビットマスクフィールド
は追加レコードの場合と同様に設定する。
In addition, in the case of updating a record, this record will remain as it was before the update, and a new record will be created with the data after the update.
The bitmask field of the previous record is set in the same way as for a deleted record, and the bitmask field of a new record is set in the same way as for an added record.

第2図b)は、このようにしてパレットAにデータA3
のレコードが追加され、パレットBのデータB2のレコ
ードがデータB2’に更新されて、世代が第2世代に進
んだ結果を示し、第2図(C)はパレットCのデータC
2のレコードが削除されて、第3世代に進んだ結果を示
している。
Figure 2 b) shows data A3 on pallet A in this way.
record is added, the record of data B2 of pallet B is updated to data B2', and the generation progresses to the second generation.
This shows the result of deleting the 2nd record and proceeding to the 3rd generation.

なお、処理の高速化等のために、データパレットと同様
の構成の世代管理パレットと変更管理パレットを設ける
。世代管理パレットは各レコードのビットマスクフィー
ルドを所要世代のビットを1とすることによって世代1
0を示す欄とし、データフィールドをベース欄として、
世代10で示す世代に移行するベースとなった世代を同
様の表示方法による世代10で示す。データフィールド
には更に所要の付加情報を格納してもよい。
Note that in order to speed up processing, etc., a generation management palette and a change management palette, which have the same configuration as the data palette, are provided. The generation management palette sets generation 1 by setting the bitmask field of each record to 1 for the bit of the required generation.
The column indicates 0, and the data field is the base column.
The generation that is the basis for transition to the generation shown as generation 10 is shown as generation 10 using a similar display method. The data field may further store required additional information.

世代管理パレットは、データベースへのアクセスで世代
の移行関係を必要とする場合に使用され、通常は第1世
代、第2世代、第3世代と順番に移行するが、例えばビ
ットマスクフィールドの最後のピッ)<7)世代まで進
んだ場合に、前の例えば第2世代を捨てて、未使用世代
に割り当てる場合があり、そのような場合には、第3世
代のベースに第1世代が設定される。
The generation management palette is used when a generation migration relationship is required when accessing a database. Normally, the generation is migrated in order from the first generation to the second generation to the third generation, but for example, the last generation of a bitmask field Beep) <7) When the generation progresses, the previous generation, for example, the 2nd generation, may be discarded and assigned to an unused generation. In such a case, the 1st generation is set as the base of the 3rd generation. Ru.

又、変更管理パレットのレコードは、ビットマスクフィ
ールドを前記と同様の世代10を表示する欄とし、デー
タフィールドには世代[0で示す世代に移行する要因と
なったレコードを含むパレットの識別名を示すようにす
る。変更管理パレットは、ある世代で変更のあったレコ
ードを高速に検出するため等に使用される。
In addition, for the record of the change management palette, the bitmask field is a field that displays generation 10 similar to the above, and the data field is the identification name of the palette that contains the record that caused the transition to the generation indicated by 0. Do as shown. The change management palette is used to quickly detect records that have changed in a certain generation.

第3図は、第1図のデータベース管理部4による変更処
理を示す処理の流れ図である。なお、データベース管理
部4は適当な記憶域に前記の指定世代10を記憶してい
て、その値を使用してビットマスクフィールドの制御を
行い、本処理が行われた場合には、クローズ処理におい
て指定世代10を次の世代へ進めておくものとする。
FIG. 3 is a process flowchart showing the change process by the database management unit 4 of FIG. 1. Note that the database management unit 4 stores the specified generation 10 in an appropriate storage area, uses the value to control the bit mask field, and when this process is performed, the specified generation 10 is stored in a suitable storage area. It is assumed that designated generation 10 is advanced to the next generation.

データベース管理部4は、データベース3のレコードの
追加、更新、削除処理を要求された場合に、処理ステッ
プ10で処理を識別すると、追加の場合には、処理ステ
ップ11テ新レコードを生成する処理を行った後、処理
ステップ15で新レコードのビットマスクフィールドを
指定世代IDに基づいて前記のように設定する。
When the database management unit 4 is requested to add, update, or delete a record in the database 3, it identifies the process in a process step 10, and in the case of an addition, it executes a process to generate a new record in a process step 11. After that, in processing step 15, the bit mask field of the new record is set as described above based on the designated generation ID.

更新の場合には、処理ステップ13で例えば元のレコー
ドの内容を複写した新レコードのデータに指定の変更を
行って、更新後の内容の新レコードを生成した後、処理
ステップ14で旧レコードのビットマスクフィールドを
前記の削除レコードのように設定し、処理ステップ15
で新レコードのビットマスクフィールドを設定する。
In the case of updating, in processing step 13, for example, a specified change is made to the data of a new record that is a copy of the contents of the original record, and a new record with the updated contents is generated, and then in processing step 14, the data of the old record is changed. Set the bitmask field as in the deletion record above and process step 15.
to set the bitmask field of the new record.

又、削除の場合には処理ステップ12で、削除指定のレ
コードのビットマスクフィールドを前記のように設定す
る。その後、処理ステップ16で世代管理パレットを更
新し、処理ステップ17で変更管理パレットを更新して
処理を終わる。
Further, in the case of deletion, in processing step 12, the bit mask field of the record designated for deletion is set as described above. Thereafter, the generation management palette is updated in processing step 16, the change management palette is updated in processing step 17, and the processing ends.

第4図は以上のような構成のデータベースで、ある世代
のレコードにアクセスする処理の流れ図であり、例えば
世代とパレットを指定してアクセス要求があるき、第4
図の処理ステップ20で識別して所定のレコード終了記
号を検出するまで以下の処理を指定のパレットのレコー
ドを順次読み出して実行する。処理ステップ21では取
り出したレコードについて、ビットマスクフィールドの
指定の世代に対応するビットが1か識別し、0であれば
次のレコードの処理のために直ちに処理ステップ20に
戻るが、ビットが1であれば処理ステップ22でそのレ
コードを有効レコードとして記憶した後、処理ステップ
20に戻る。
Figure 4 is a flowchart of the process of accessing records of a certain generation in a database configured as described above. For example, when an access request is made by specifying a generation and a palette,
The following processing is executed by sequentially reading the records of the designated palette until a predetermined record end symbol is detected in processing step 20 of the figure. In processing step 21, for the extracted record, it is determined whether the bit corresponding to the specified generation in the bit mask field is 1 or not. If it is 0, the process immediately returns to processing step 20 to process the next record, but if the bit is 1, If so, the record is stored as a valid record in process step 22, and then the process returns to process step 20.

このようにして、指定パレットの全レコードを処理する
と、処理ステップ20から処理ステップ23に分岐し、
有効レコードとして記憶したレコードを要求元に渡して
処理を終わる。
In this way, when all records of the specified palette are processed, processing branches from processing step 20 to processing step 23,
The record stored as a valid record is passed to the request source and the process ends.

例えば、第2図(C)の状態のデータベースでパレット
Bの第2世代(世代l0=0100)へのアクセスが要
求された場合には、この世代10とパレットBの各レコ
ードのビットマスクフィールドとの論理積でビット稙が
1のビットが残るレコードが所要のレコードであるので
、B1とB2°が要求元に渡される。
For example, if access is requested to the second generation of palette B (generation l0 = 0100) in the database in the state shown in Figure 2 (C), this generation 10 and the bit mask field of each record of palette B The record in which a bit with a bit value of 1 remains in the logical product is the required record, so B1 and B2° are passed to the request source.

第5図はある世代とその前の世代との差分情報を検索す
る処理の例であり、第5図(a)の処理ステップ30で
識別してレコード終了記号を検出するまで以下の処理を
変更管理パレットのレコードを順次読み出して実行する
。先ず処理ステップ31で変更管理パレットから取り出
したルコードについて、ビットマスクフィールドの指定
の世代に対応するビットが1か識別し、0であれば次の
レコードの処理のために直ちに処理ステップ30に戻る
が、ビットが1であれば処理ステップ32でそのレコー
ドに保持されているパレット識別名を記憶した後、処理
ステップ30に戻る。
FIG. 5 is an example of processing to search for difference information between a certain generation and the previous generation, and the following processing is changed until the identification and record end symbol is detected in processing step 30 of FIG. 5(a). Read and execute records in the management palette sequentially. First, for the code taken out from the change management palette in processing step 31, it is determined whether the bit corresponding to the specified generation in the bit mask field is 1, and if it is 0, the process immediately returns to processing step 30 to process the next record. , if the bit is 1, the palette identification name held in the record is stored in processing step 32, and then processing returns to processing step 30.

このようにして、変更管理パレットの全レコードを処理
すると、処理ステップ30から処理ステップ33に分岐
する。
When all records in the change management palette are processed in this way, processing branches from processing step 30 to processing step 33.

処理ステップ33では世代管理パレットにアクセスして
、指定の世代1口からそのベースの世代IOを取得し、
処理ステップ34で識別してレコード終了記号を検出す
るまで以下の処理を、前記のパレットa別名が記憶され
ているデータパレットの1つについてレコードを順次読
み出して実行する。
In processing step 33, the generation management palette is accessed, and the base generation IO is obtained from the specified generation unit.
The following process is executed by sequentially reading records for one of the data palettes in which the palette a alias is stored until the record end symbol is identified and detected in process step 34.

即ち、処理ステップ35でデータパレットから読み出し
たレコードのビットマスクフィールドについて、指定世
代10及びベース世代10とそれぞれ比較すると、対応
する2ビツトの組合わせによって表に示すような状態が
識別できるので、00及び11の場合は直ちに処理ステ
ップ34に戻って次のレコードの処理をするが、01及
び10の場合は処理ステップ36でそのレコードのデー
タと追加/更新又は削除の状態情報を差分情報として記
憶した後、処理ステップ34に戻る。
That is, when comparing the bit mask field of the record read from the data palette in processing step 35 with the specified generation 10 and the base generation 10, the states shown in the table can be identified by the corresponding 2-bit combinations, so 00 In the case of 01 and 11, the process immediately returns to processing step 34 to process the next record, but in the case of 01 and 10, the data of that record and the addition/update or deletion status information are stored as difference information in processing step 36. After that, the process returns to step 34.

このようにして、識別名の記憶されている1パレツトの
全レコードを処理すると、処理ステップ34から処理ス
テップ37に分岐して、識別名の記憶されている未処理
のパレットがあれば処理ステップ34に戻って次のパレ
ットを処理する。全パレットの処理が終わった場合には
処理ステップ38に進み、以上の処理で記憶した差分情
報を要求元に渡して処理を終わる。
In this way, when all records of one palette in which identification names are stored are processed, processing branches from processing step 34 to processing step 37, and if there is an unprocessed palette in which identification names are stored, processing step 34 is performed. Return to process the next pallet. If all palettes have been processed, the process proceeds to step 38, where the difference information stored in the above process is passed to the request source, and the process ends.

例えば、第2図(C)の状態のデータベースで変更管理
パレットを第3世代(世代ID=OO10)を指定して
検索すると、処理ステップ31でパレットCが検出され
る。パレ・yトCのレコードを指定世代l0=0010
と、ベース世代ID=0100で検索することにより、
処理ステップ35でデータC2のレコードがlOの状態
、即ち削除、として該当するので、C2が差分情報とし
て要求元に渡される。
For example, if a change management palette is searched for in the database in the state shown in FIG. 2(C) by specifying the third generation (generation ID=OO10), palette C is detected in processing step 31. Specify the record of pare ytoC generation l0 = 0010
By searching with base generation ID=0100,
In processing step 35, since the record of data C2 corresponds to the state of IO, that is, deletion, C2 is passed to the request source as difference information.

表 (発明の効果〕 以上の説明から明らかなように本発明によれば、更新履
歴を保存するデータベースの世代管理において、データ
ベースの変更処理、世代ごとの情報の検索処理、世代間
の差分情報の取得処理等が効率よく実行でき、データの
保存のスペース効率もよいという著しい工業的効果があ
る。
Table (Effects of the Invention) As is clear from the above description, according to the present invention, in generation management of a database that stores update history, database change processing, information search processing for each generation, and difference information between generations are performed. It has remarkable industrial effects in that acquisition processing and the like can be executed efficiently, and data storage is space-efficient.

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

第1図は本発明の構成を示すブロック図、第2図は本発
明のデータベース例の説明図、第3図は本発明の処理の
流れ図、 第4図は世代検索処理の流れ図、 第5図は差分情報検索処理の流れ図、 第6図は従来の世代管理方式例の説明図である。 図において、 lはレコード、 2はビットマスクフィールド、 3はデータベース、   4はデータベース管理部、本
発明の処理の流れ図 第3図 本発明の構成を示すブロック図 第1図 本発明のデータベース例の説明図 第 2 図 世代検索処理の流れ図 第4図 従来の世代管理方式例の説明図 第6図
Fig. 1 is a block diagram showing the configuration of the present invention, Fig. 2 is an explanatory diagram of an example of a database of the present invention, Fig. 3 is a flow chart of the processing of the present invention, Fig. 4 is a flow chart of generation search processing, Fig. 5 is a flowchart of differential information search processing, and FIG. 6 is an explanatory diagram of an example of a conventional generation management method. In the figure, l is a record, 2 is a bit mask field, 3 is a database, 4 is a database management unit, Fig. 3 is a flowchart of the processing of the present invention. Fig. 3 is a block diagram showing the configuration of the present invention. Fig. 1 is an explanation of an example of a database of the present invention. Figure 2 Figure 2 Flowchart of generation search processing Figure 4 Illustration of an example of conventional generation management method Figure 6

Claims (1)

【特許請求の範囲】 データを格納する1以上のレコード(1)を有し、該デ
ータの所定の追加、更新及び削除ごとに更新する世代に
よって管理する履歴データを保存するデータベースシス
テムにおいて、 該レコード(1)に、所定のビット長を有し、各ビット
をそれぞれ所定の世代の世代番号に対応させたビットマ
スクフィールド(2)を設け、管理手段(4)は該デー
タの該追加、更新及び削除の場合に、該更新及び削除に
該当するレコード(1)を保存し、該追加及び更新後の
内容のレコードを追加し、各該レコードの該ビットマス
クフィールド(2)に、当該レコードに保持するデータ
の有効性を世代ごとに示す所定値の各ビットを格納する
ように構成されていることを特徴とするデータベース世
代管理処理方式。
[Scope of Claim] A database system that stores historical data that has one or more records (1) that store data, and that stores historical data that is managed by generations that are updated every time a predetermined addition, update, or deletion of the data, comprising: (1) is provided with a bit mask field (2) which has a predetermined bit length and each bit corresponds to a generation number of a predetermined generation, and the management means (4) controls the addition, updating, and processing of the data. In the case of deletion, save the record (1) corresponding to the update and deletion, add a record with the content after the addition and update, and store it in the bitmask field (2) of each record. 1. A database generation management processing method, characterized in that the database generation management processing method is configured to store each bit of a predetermined value indicating the validity of data for each generation.
JP1081915A 1989-03-31 1989-03-31 Data base generation management processing system Pending JPH02259942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1081915A JPH02259942A (en) 1989-03-31 1989-03-31 Data base generation management processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1081915A JPH02259942A (en) 1989-03-31 1989-03-31 Data base generation management processing system

Publications (1)

Publication Number Publication Date
JPH02259942A true JPH02259942A (en) 1990-10-22

Family

ID=13759749

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1081915A Pending JPH02259942A (en) 1989-03-31 1989-03-31 Data base generation management processing system

Country Status (1)

Country Link
JP (1) JPH02259942A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09265419A (en) * 1996-03-28 1997-10-07 Mitsubishi Electric Corp Device and method for managing version
JPH1124972A (en) * 1997-06-30 1999-01-29 Fujitsu Ltd Job electronic manual providing device and program storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09265419A (en) * 1996-03-28 1997-10-07 Mitsubishi Electric Corp Device and method for managing version
JPH1124972A (en) * 1997-06-30 1999-01-29 Fujitsu Ltd Job electronic manual providing device and program storage medium

Similar Documents

Publication Publication Date Title
EP0124097B1 (en) Method for storing and retrieving data in a data base
US4677550A (en) Method of compacting and searching a data index
JP2908810B2 (en) Database
US4893232A (en) Data management system for efficiently searching data elements and having a flexible registration order of data elements
JP2002501256A (en) Database device
CN109033278B (en) Data processing method and device, electronic equipment and computer storage medium
GB2196764A (en) Hierarchical file system
US7269589B2 (en) Database managing method and system having data backup function and associated programs
CN116881243A (en) Learning type indexing method and system based on time sequence data characteristics
EP1208479A1 (en) Method for organizing directories
JPH02259942A (en) Data base generation management processing system
JPH09305622A (en) Method and system for managing data base having document retrieval function
JP3980326B2 (en) Data management method and computer-readable recording medium
JP2604787B2 (en) Two-dimensional data storage method
JPS62287350A (en) Index integrally updating system
JPS59146339A (en) Information retrieving system
JPS6058492B2 (en) Database search method
CN112434047A (en) Method for managing basic data by database system
JPH02176838A (en) Record control system
JP4228267B2 (en) Collective attribute search system, collective attribute search method, and collective attribute search program
JP2540821B2 (en) Database search system
JPH06214849A (en) Data base system
JP2785966B2 (en) Foreign key dynamic resolution processing method
JP2000076106A (en) Management method for indexed sequential file
JPS63172334A (en) Data processing system for data base system