JPS5955550A - Processing system optimum to collection of history information - Google Patents

Processing system optimum to collection of history information

Info

Publication number
JPS5955550A
JPS5955550A JP57165578A JP16557882A JPS5955550A JP S5955550 A JPS5955550 A JP S5955550A JP 57165578 A JP57165578 A JP 57165578A JP 16557882 A JP16557882 A JP 16557882A JP S5955550 A JPS5955550 A JP S5955550A
Authority
JP
Japan
Prior art keywords
history information
information
optimization
update
history
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.)
Granted
Application number
JP57165578A
Other languages
Japanese (ja)
Other versions
JPH0210977B2 (en
Inventor
Shiyougo Mukai
向井 彰悟
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 JP57165578A priority Critical patent/JPS5955550A/en
Publication of JPS5955550A publication Critical patent/JPS5955550A/en
Publication of JPH0210977B2 publication Critical patent/JPH0210977B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To obtain the optimum history information, by carrying out a sorting process for each equal iD number and in order of replacement based on the original history information obtained by collecting replaced history information when a code containing an iD number is added, deleted and replaced. CONSTITUTION:An iD number is given to the information on addition, deletion and replacement collected by a history collecting part 7. Then this information is stored in a sort file 11 via a sort program 10. A sort processing part 8 gives a request to the program 10 to array the histories out of the fine 11 for each iD number and in order of replacement and performs processing 9 for optimum history information by noticing the head replaced history information and the end replaced history information. This history information is stored in a history file 12. In such a way, the minimum necessary history information is extracted and preserved to prevent expansion of information quantity. Thus the storage capacity is reduced.

Description

【発明の詳細な説明】 (5)発明の技術分野 本発明は、履歴情報収集最適化処理システム、特にiD
番号が付与されたレコードに対して追加、削除、置換を
含む処理を行った結果の原履歴情報について、履歴保存
のための最適化を行って最適化履歴情報として収集する
ようにした履歴情報収集最適化処理システムに関するも
のである。
Detailed Description of the Invention (5) Technical Field of the Invention The present invention relates to a history information collection optimization processing system, particularly an iD
History information collection in which the original history information resulting from processing including addition, deletion, and replacement of records assigned numbers is optimized for history preservation and collected as optimization history information. This invention relates to an optimization processing system.

CB)  技術の背景と問題点 従来から、データ処理に当ってデータ更新時の履歴情報
を収集しておき、障害が発生した場合などにおいてデー
タ復元を行うために利用される。
CB) Background of the technology and problems Traditionally, historical information at the time of data update is collected during data processing, and is used to restore data in the event of a failure.

しかし、これら8M情報を保持しておくための情報量が
膨大となることから、データタ元のために必要最小限の
履歴情報のみを抽出して保存するようにすることが望ま
れる。
However, since the amount of information required to retain these 8M information is enormous, it is desirable to extract and store only the minimum necessary history information for the data source.

(C)発明の目的と構成 本発明は上記の点に解決を与えることを目的としておシ
、本発明の履歴情報収集最適化処理システムは、tD番
号が付与された夫々のレコードに対して、新しくレコー
ドを追加する追加処理情報、既存のレコードを削除する
削除処理情報、既存のレコード内容について置換を行う
更新前情報と更新後情報とを少なくとも含む更新履歴情
報を収集してなる原履歴情報が与えられ、当該原履歴情
報から保存すべき最適化処理を行って最適化履歴情報を
収集する履歴情報収集最適化処理システムにおいて、上
記原履歴情報に対して上記iD番号にしたがって当該i
f)番号毎にかつ更新順にソートを行うソート処理部を
そなえると共に、該ソート処理部によってソートされた
結果にもとづいて最適化処理を行う最適化処理部をそな
え、該最適化処理部は・各同−LD番号をもつ複数の更
新履歴情報のうちの先頭の更新履歴情報と末尾の更新履
歴情報とに着目して最適化を行い所望の更新履歴情報に
見せかけて保持するよう構成され、最適化された最適化
履歴情報を収集するようにしたことを特徴としている。
(C) Purpose and Structure of the Invention The purpose of the present invention is to provide a solution to the above-mentioned points. The original history information is obtained by collecting update history information that includes at least additional processing information for adding new records, deletion processing information for deleting existing records, and pre-update information and post-update information for replacing the contents of existing records. In a history information collection and optimization processing system that collects optimization history information by performing optimization processing to be saved from the original history information, the original history information is stored according to the iD number.
f) A sorting processing unit that performs sorting by number and in the order of update, and an optimization processing unit that performs optimization processing based on the results sorted by the sorting processing unit, the optimization processing unit: Optimization is performed by focusing on the first update history information and the last update history information among the plurality of update history information having the same LD number, and the optimization is performed so that the update history information is retained disguised as the desired update history information. The feature is that it collects optimization history information.

以下図面を参照しつつ説明する。This will be explained below with reference to the drawings.

(D)  発明の実施例 第1図は本発明による一実施例最適化処理を説明する説
明図、第2図は本発明による一実施例最適化アルゴリズ
ムを説明する説明図、第3図は本発明の一実施例構成、
第4図(A)■)は第3図図示のソート処理部と最適化
処理部とにおける処理を表わす一実施例フローチャート
を示す。
(D) Embodiment of the Invention FIG. 1 is an explanatory diagram for explaining an optimization process according to an embodiment of the present invention, FIG. 2 is an explanatory diagram for explaining an optimization algorithm according to an embodiment of the present invention, and FIG. Configuration of an embodiment of the invention,
FIG. 4(A) (2) is a flowchart of an embodiment showing the processing in the sort processing section and the optimization processing section shown in FIG.

第1図において、1は修正前ソース・レコード、2は修
正(更新)が行われた態様、3は修正後ソース・レコー
ド、4は原履歴情報、5はソートされた結果の履歴情報
、6は最適化履歴情報を表わしている。
In FIG. 1, 1 is the source record before modification, 2 is the mode in which the modification (update) was performed, 3 is the source record after modification, 4 is the original history information, 5 is the history information of the sorted result, 6 represents optimization history information.

第1図は次の事柄を表わしている。即ち、(リ 修正前
ソース・レコード1として、例えば行番号(本発明にい
うiD番号に対応する)rlOJのレコードについてそ
の内容がrABCJであり、行番号「30」のレコード
の内容がrXYZjであり、・・・・・・・・・の如き
レコードが存在していた。
Figure 1 represents the following: In other words, as source record 1 before modification, for example, the contents of the record with line number rlOJ (corresponding to the iD number referred to in the present invention) are rABCJ, and the contents of the record with line number "30" are rXYZj. There were records like...

(2)  この状態の下で、(1ン行番号「20」のレ
コードを追加(I)シてその内容を「カイウ」とし、履
歴情報4として情報αが収集され、(if)行番号「4
o」のレコードが削除(2)されて、11M情報4とし
て情報すが収集され、(tit)行番号「20」のレコ
ードについてその内容中の「力」が「ア」に置換されて
、履歴情報4として情報Cが更新前CB)情報の形で収
集され、かつ情報dが更新後(A)情報の形で収集され
、・・・・・四で行ったとし、(3)  これら修正の
後において、修正後ソース・レコード3として、0)行
番号「10」のレコードの内容がrABcjであシ、(
it)行番号「20」のレコードの内容が「アカザ」で
あり、(tit)行番号「30」のレコードの内容がr
XYZJであシ、行番号1「40」のレコードの内容が
「678Jであるようになった。
(2) Under this condition, (I) adds a record with line number “20” and sets its content to “Kaiu”, information α is collected as history information 4, and (if) line number “20” is added. 4
The record of "o" is deleted (2), the information is collected as 11M information 4, and "power" in the record of line number "20" is replaced with "a", and the history is As information 4, information C was collected in the form of CB) information before update, and information d was collected in the form of information after update (A), and (3) these corrections were made in 4. Later, as the corrected source record 3, the contents of the record with line number 0) "10" are rABcj, and (
it) The content of the record with line number "20" is "Akaza", and (tit) the content of the record with line number "30" is r
In XYZJ, the content of the record at line number 1 "40" is now "678J".

(リ 本発明の場合、上述の如く収集された原履歴情報
4について、同じ行番号をもつ情報について更新順にソ
ートを行って、ソートされた結果の履歴情報5を得る。
(In the case of the present invention, the original history information 4 collected as described above is sorted in the order of update for information having the same line number, and the history information 5 as a sorted result is obtained.

(5)そして、例えば行番号「20」についての更新に
関して、先頭の更新に関連する情報”カイウニ 20′
と最後の更新に関連する情報1アイウ B 20;アカ
ザ A 20′とのみに着目する。また行番号「40」
についての更新に関して、先頭の更新に関連する情報゛
123D  40“と最後の更新に関連する情報167
9B  40;  678  A  40 ′とのみに
着目する。
(5) For example, regarding the update of line number "20", information related to the first update "Kaiuni 20'"
We will focus only on the information related to the last update: 1 Aiu B 20; Pigweed A 20'. Also, line number “40”
Regarding the update, information related to the first update "123D 40" and information related to the last update 167
We will focus only on 9B 40; 678 A 40'.

(6)行番号「20」についての更新の場合、新らたに
追加された後に色々の更新が行われた結果として最後に
内容が「アカザ」となっていることから、内容[アカザ
jをもつ行番号「20」のものが追加されたとみなして
も差支えないことが判る。
(6) In the case of the update for line number "20", since the content is "Akaza" at the end as a result of various updates after the new addition, the content [Akaza j] It can be seen that it is safe to assume that the line with line number "20" has been added.

また行番号「40」についての更新の場合、一旦削除さ
れた後に追加されて最後の内容がr678Jとなってい
ることから、内容r123Jのものが直接内容r678
Jに置換されたとみなし、履歴情報として更新前CB)
情報として’123  B40’をもてば良いことが判
る。
In addition, in the case of updating the line number "40", it was deleted and then added, and the last content is r678J, so the content r123J is directly updated to the content r678
It is assumed that it has been replaced by J, and the CB before update is used as historical information)
It turns out that it is sufficient to have '123 B40' as the information.

(7)  これらの結果、最適化履歴情報6が保存され
れば良いこととなシ、当該情報6が保存される。
(7) As a result, it is sufficient that the optimization history information 6 is saved, and the information 6 is saved.

即ち、9個の情報が2個の情報に集約される。That is, nine pieces of information are aggregated into two pieces of information.

第2図は最適化アルゴリズムを説明する説明図を示す。FIG. 2 shows an explanatory diagram for explaining the optimization algorithm.

図中、■は追加情報、Dは削除情報、Bは更新前情報、
Aは更新後情報、Sは先頭の更新履歴情報であることを
示すサフィックス、Eは最後の更新履歴情報であること
を示すサフィックスを表わしている。
In the figure, ■ is additional information, D is deletion information, B is information before update,
A represents the updated information, S represents the suffix indicating that it is the first update history information, and E represents the suffix that represents the last update history information.

図示(注1)は第1図に関連して説明した行番号「20
」のものについての最適化に対応し、図示(注2)は第
1図に関連して説明した行番号「40」のものについて
の最適化に対応している。他の最適化については説明を
省略するが、第2図図示の結果を利用して最適化が行わ
れれば足9ることか判る。
The illustration (note 1) is the line number “20” explained in relation to Figure 1.
'', and the illustration (note 2) corresponds to the optimization for the line number ``40'' explained in connection with FIG. 1. Although a description of other optimizations will be omitted, it can be seen that if optimization is performed using the results shown in FIG. 2, the result will be 9.

第3図は本発明の一実施例構成を示し、第4図(5)C
B)は第3図図示のソート処理部と最適化処理部とにお
ける処理を表わす一実施例フローチャートを示している
FIG. 3 shows the configuration of an embodiment of the present invention, and FIG. 4 (5)C
B) shows a flowchart of an embodiment showing processing in the sorting processing section and the optimization processing section shown in FIG.

図中、7は、履歴収集処理部であって、第1図図示の原
履歴情報4がソート・ファイル11上に保持されておυ
、これにもとづいて履歴収集の処理を起動せしめる。8
は、ソート処理部であって、ソート−プログラム10に
依頼して第1図図示のソートされた結果の履歴情報5を
得る処理を行わせる。9は、最適化処理部であって、第
2図図示の最適化を行って、第1図図示の最適化履歴情
報を履歴ファイル12に格納する。
In the figure, 7 is a history collection processing unit, in which the original history information 4 shown in FIG.
, based on this, the history collection process is started. 8
1 is a sorting processing section that requests the sorting program 10 to perform a process of obtaining history information 5 of the sorted results shown in FIG. Reference numeral 9 denotes an optimization processing unit that performs the optimization shown in FIG. 2 and stores the optimization history information shown in FIG. 1 in the history file 12.

第4図図示において、原履歴情報4がルコードずつリー
ドされて処理されてゆく最初においては、「レコード数
≦0」であることから、ルート囚を通る。また新らたに
リードしてきたレコードの行番号が以前の行番号と一致
していればルートノ)ヲ通って、現レコード格納レジス
タ13の内容を後格納域レジスタ15に転記しかつレコ
ード数を更新する。また「レコード数=1」の場合には
ルー)(Qを通ってレジスタ14の内容カーレジスタ1
5に転記される。同一行番号をもつレコードの数が2以
上であった場合には、ルート(ハ)を通り、レジスタ1
4の内容を調べてルート(ト)と(ト)とに別れる。ル
ート(ト)は先頭のレコードの履歴種別が追加(I)で
あった場合であり、ルート(5)は同じく削除■)が置
換(R即ちAかB)かであった場合である。
In the illustration in FIG. 4, at the beginning when the original history information 4 is read and processed code by code, since "number of records≦0", the process goes through the route. Also, if the line number of the newly read record matches the previous line number, the process goes through route (), transfers the contents of the current record storage register 13 to the rear storage area register 15, and updates the number of records. do. In addition, in the case of "number of records = 1", the contents of register 14 through Q
Posted to 5. If the number of records with the same line number is 2 or more, it goes through route (c) and is stored in register 1.
Examine the contents of 4 and divide into root (g) and root (g). Route (g) is a case where the history type of the first record is addition (I), and route (5) is a case where deletion (■) is also a replacement (R, ie, A or B).

これらのルートによって、第2図図示の最適化アルゴリ
ズムが実行されてゆく。
The optimization algorithm shown in FIG. 2 is executed through these routes.

(ト)発明の詳細 な説明した如く、本発明によれば、最適化された形で履
歴情報を集約してゆくことが可能となシ、必要とする記
憶容量が大幅に節約できる。また、ソース復元時におい
ても処理時間が短縮できる。
(g) As described in detail, according to the present invention, it is possible to aggregate historical information in an optimized form, and the required storage capacity can be significantly reduced. Furthermore, the processing time can be reduced even when restoring the source.

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

第1図は本発明による一実施例最適化処理を説明する説
明図、第2図は本発明による一実施例最適化アルゴリズ
ムを説明する説明図、第3図は本発明の一実施例構成、
第4図(5)CB)は第3図図示のソート処理部と最適
化処理部とにおける処理を表わす一実施例フローチャー
トを示す。 図中、1は修正前ソース・レコード、2は修正が行われ
た態様、3は修正後ソース・レコード、4は原履歴情報
、5はソートされた結果の履歴情報、6は最適化履歴情
報、8はソート処理部、9は最適化処理部を表わしてい
る。 特許出願人 富士通株式会社 代理人 弁理士 第 3 図 −292−
FIG. 1 is an explanatory diagram for explaining an optimization process according to an embodiment of the present invention, FIG. 2 is an explanatory diagram for explaining an optimization algorithm according to an embodiment of the present invention, and FIG. 3 is an explanatory diagram for explaining an embodiment of an optimization algorithm according to the present invention.
FIG. 4 (5) CB) shows a flowchart of an embodiment showing the processing in the sort processing section and the optimization processing section shown in FIG. In the figure, 1 is the source record before modification, 2 is the mode in which the modification was made, 3 is the source record after modification, 4 is the original history information, 5 is the history information of the sorted result, and 6 is the optimization history information , 8 represents a sort processing section, and 9 represents an optimization processing section. Patent applicant Fujitsu Limited Representative Patent Attorney Figure 3 -292-

Claims (1)

【特許請求の範囲】[Claims] iD番号が付与された夫々のレコードに対して、新しく
レコードを追加する追加処理情報、既存のレコードを削
除する削除処理情報、既存のレコード内容について置換
を行う更新前情報と更新後情報とを少なくとも含む更新
履歴情報を収集してなる原履歴情報が与えられ、当該原
履歴情報から保存すべき最適化処理を行って最適化履歴
情報を収集する履歴情報収集最適化処理システムにおい
て、上記原履歴情報に対して上記if)番号にしたがっ
て当該if)番号毎にかつ更新順にソートを行うソート
処理部をそなえると共に、該ノート処理部によってソー
トされた結果にもとづいて最適化処理を行う最適化処理
部をそなえ、該最適化処理部は、各回−iD番号をもつ
複数の更新履歴情報のうちの先頭の更新履歴情報と末尾
の更新履歴情報とに着目して最適化を行い所望の更新履
歴情報に見せかけて保持するよう構成され、最適化され
た最適化履歴情報を収集するようにしたことを特徴とす
る履歴情報収集最適化処理システム。
For each record assigned an ID number, at least additional processing information for adding a new record, deletion processing information for deleting an existing record, pre-update information and post-update information for replacing the contents of the existing record. In a history information collection and optimization processing system that is given original history information obtained by collecting update history information including update history information, and performs an optimization process to be saved from the original history information to collect optimization history information, the original history information is It is provided with a sorting processing unit that performs sorting for each if) number and in the order of update according to the above if) number, and an optimization processing unit that performs optimization processing based on the results sorted by the note processing unit. In preparation, the optimization processing unit performs optimization by focusing on the first update history information and the last update history information among the plurality of update history information having each ID number to make it look like desired update history information. What is claimed is: 1. A historical information collection and optimization processing system configured to collect optimized optimization history information.
JP57165578A 1982-09-22 1982-09-22 Processing system optimum to collection of history information Granted JPS5955550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57165578A JPS5955550A (en) 1982-09-22 1982-09-22 Processing system optimum to collection of history information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57165578A JPS5955550A (en) 1982-09-22 1982-09-22 Processing system optimum to collection of history information

Publications (2)

Publication Number Publication Date
JPS5955550A true JPS5955550A (en) 1984-03-30
JPH0210977B2 JPH0210977B2 (en) 1990-03-12

Family

ID=15815013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57165578A Granted JPS5955550A (en) 1982-09-22 1982-09-22 Processing system optimum to collection of history information

Country Status (1)

Country Link
JP (1) JPS5955550A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH025137A (en) * 1988-06-24 1990-01-10 Nec Corp Converted result informing system for source program
JPH03222046A (en) * 1990-01-29 1991-10-01 Nec Corp Overflow prevention system for log file
JPH07225755A (en) * 1994-02-15 1995-08-22 Nippon Telegr & Teleph Corp <Ntt> Method and device for managing change cancel information
JP2012038002A (en) * 2010-08-05 2012-02-23 Nippon Telegr & Teleph Corp <Ntt> Journal data management method and journal data management unit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH025137A (en) * 1988-06-24 1990-01-10 Nec Corp Converted result informing system for source program
JPH03222046A (en) * 1990-01-29 1991-10-01 Nec Corp Overflow prevention system for log file
JPH07225755A (en) * 1994-02-15 1995-08-22 Nippon Telegr & Teleph Corp <Ntt> Method and device for managing change cancel information
JP2012038002A (en) * 2010-08-05 2012-02-23 Nippon Telegr & Teleph Corp <Ntt> Journal data management method and journal data management unit

Also Published As

Publication number Publication date
JPH0210977B2 (en) 1990-03-12

Similar Documents

Publication Publication Date Title
Severance et al. Differential files: Their application to the maintenance of large databases
US7558802B2 (en) Information retrieving system
CA2232938C (en) Method and apparatus for performing a join query in a database system
US5335343A (en) Distributed transaction processing using two-phase commit protocol with presumed-commit without log force
US20050102295A1 (en) Database utilities
US11409616B2 (en) Recovery of in-memory databases after a system crash
US10990573B2 (en) Fast index creation system for cloud big data database
CN108984343B (en) Virtual machine backup and storage management method based on content analysis
JP2000357115A (en) Device and method for file retrieval
JPS5955550A (en) Processing system optimum to collection of history information
JP3896077B2 (en) Computer system and file management method
JPH04141721A (en) Disk sector substituting system
JP2925042B2 (en) Information link generation method
JPH0394377A (en) Map file updating system
JP4026278B2 (en) Data storage system
JP3240990B2 (en) Transaction record management device and transaction record management method
JPH1173353A (en) Transaction retrieval processor based on specified time
JPH03122728A (en) Saving/restoration system
Tang et al. RepKV: A Replicated Key-Value Store to Boost Multiple Indices for Key-Value Separation
JPS6129937A (en) Retrieval method
JPH01140353A (en) System for maintaining data in data base
JPH05274196A (en) Secondary storage managing method by multiple file
JP2001101047A (en) Device and method for managing data and storage medium
US9350383B2 (en) Run total encoded data processing
JPH07175702A (en) File system with index table