JPS62245444A - Update journal generation system for index part of data base control system - Google Patents

Update journal generation system for index part of data base control system

Info

Publication number
JPS62245444A
JPS62245444A JP61090706A JP9070686A JPS62245444A JP S62245444 A JPS62245444 A JP S62245444A JP 61090706 A JP61090706 A JP 61090706A JP 9070686 A JP9070686 A JP 9070686A JP S62245444 A JPS62245444 A JP S62245444A
Authority
JP
Japan
Prior art keywords
index
update
data base
update journal
journal
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
JP61090706A
Other languages
Japanese (ja)
Inventor
Tsugunori Doi
土居 嗣典
Toru Kurasawa
倉沢 徹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP61090706A priority Critical patent/JPS62245444A/en
Publication of JPS62245444A publication Critical patent/JPS62245444A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To improve the simultaneous run of update transactions of a data base under its multiple update environment and to improve the throughput of a computer body by providing a means which records the update transactions of an index part in an update journal. CONSTITUTION:This system includes the electronic computer body 1, an index update journal generating means 2, and an external storage medium 3. An index update journal file 4 is present on the external storage medium 3. The index update journal generating means 2 stores the index update journal composed of an index name part 5, an index value part 6, a record identification part 7, and a transaction indication part 8 in the index update journal file 4 when the index part of the data base is updated. The index update journal consists of pieces of information independent of pages as input/output units of the index part of the data base, so plural update transactions of the data base including the update of the same page of the index part of the data base are simultaneously carried out.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データベース管理システムにおける索引部を
更新するための更新ジャーナル生成方式%式% 〔従来の技術〕 従来のデータベース管理システムにおける索引部の障害
復旧などに使用する更新ジャーナルは、データベースの
索引部の入出力単位である複数個のページのうち、デー
タベース更新トランザクションによって更新されたペー
ジの内容そのものを更新ジャーナルとしていた。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an update journal generation method for updating an index section in a database management system. [Prior Art] [Prior Art] The update journal used for failure recovery, etc. is the content of the page updated by the database update transaction among the multiple pages that are the input/output unit of the index section of the database.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のデータベースにおける索引部の更新ジャ
ーナル生成方式はデータベースに対する多重更新環境下
では、同一ページに対する更新が行なわれるデータベー
スに対する複数個の更新トランザクションは1トランザ
クシヨンのみ処理され他のトランザクションの処理は上
記のトランザクションの処理が完了するまで待たされる
ので、全体的な処理性能が低下する欠点がある。
In the above-mentioned conventional database update journal generation method for the index section, in an environment where multiple updates are made to the database, only one transaction is processed for multiple update transactions to the database in which updates are made to the same page, and other transactions are processed as described above. This has the disadvantage that the overall processing performance decreases because the user has to wait until the transaction processing is completed.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のデータベース管理システムにおける索引部の更
新ジャーナル生成方式は、前記索引部に対する更新トラ
ンザクションを前記更新ジャーナルとする手段を具備し
、前記データベースに対する複数個の前記更新トランザ
クションを同時に処理するようにして構成される。
The update journal generation method for the index section in the database management system of the present invention is configured to include means for making an update transaction for the index section into the update journal, and to simultaneously process a plurality of the update transactions for the database. be done.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示す構成図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

第1図において本実施例は電子計算機本体1と、索引更
新ジャーナル生成手段2と、外部記憶媒体3とを含む。
In FIG. 1, this embodiment includes a computer main body 1, an index update journal generating means 2, and an external storage medium 3.

外部記憶媒#3には索引更新ジャーナルファイル4が存
在する。索引更新ジャーナル生成手段2はデータベース
の索引部の更新時に第2図に示される索引基部5と、索
引値部6と、レコード識別部7と、トランザクション指
示部8とからなる索引更新ジャーナルを索引更新ジャー
ナルファイル4に蓄積する。本発明における索引更新ジ
ャーナルはデータベースの索引部の入出力単位であるペ
ージとは独立した情報で構成されているので、データベ
ースの索引部の同一ページに対する更新を含むデータベ
ースに対する複数個の更新トランザクションは同時処理
が可能となる。第3図(a)は従来の方式、第3図(b
)は本発明の方式におけるデータベースに対する多重更
新環境下でのトランザクションの処理の過程をそれぞれ
示している。すなわち同図(b)のように更新ジャーナ
ル生成時間が短縮される。
An index update journal file 4 exists in external storage medium #3. When updating the index section of the database, the index update journal generating means 2 updates an index update journal consisting of an index base section 5, an index value section 6, a record identification section 7, and a transaction instruction section 8 shown in FIG. Accumulate in journal file 4. Since the index update journal in the present invention is composed of information independent of pages, which are the input/output unit of the index section of the database, multiple update transactions to the database including updates to the same page of the index section of the database can be performed simultaneously. processing becomes possible. Figure 3(a) shows the conventional method, Figure 3(b)
) respectively show the process of transaction processing under the multiple update environment for the database in the method of the present invention. In other words, the update journal generation time is shortened as shown in FIG. 4(b).

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、データベースに対する多
重更新環境下でのデータベースに対する更新トランザク
ションの同時走行性を高めることにより、計算機本体の
処理能力を高める効果がある。
As described above, the present invention has the effect of increasing the processing capacity of the computer itself by increasing the concurrent execution of update transactions for a database in an environment of multiple database updates.

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

第1図は本発明の一実施例を示す構成図、第2図は本実
施例に於ける索引部の更新ジャーナルの形式を示す図、
第3図は従来方式及び本方式に於けるデータベースに対
する多重更新環境下での更新トランザクションの処理過
程を示す図である。 1・・・電子計算機本体、2・・・索引更新ジャーナル
生成手段、3・・・外部記憶媒体、4・・・索引更新ジ
ャーナルファイル。 茅 1 回 辛 3  図
FIG. 1 is a configuration diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing the format of an update journal of the index section in this embodiment,
FIG. 3 is a diagram showing the process of processing update transactions in a multiple update environment for databases in the conventional method and the present method. DESCRIPTION OF SYMBOLS 1... Computer main body, 2... Index update journal generation means, 3... External storage medium, 4... Index update journal file. Kaya 1 spicy 3 figures

Claims (1)

【特許請求の範囲】[Claims] データベースの索引部を更新する更新ジャーナルの生成
方式において、前記索引部に対する更新トランザクショ
ンを更新ジャーナルとする手段を具備し、前記データベ
ースに対する複数個の前記更新トランザクションを同時
に処理することを特徴とするデータベース管理システム
における索引部の更新ジャーナル生成方式。
A database management method for generating an update journal for updating an index section of a database, comprising means for making an update transaction for the index section an update journal, and processing a plurality of the update transactions for the database at the same time. An update journal generation method for the index section in the system.
JP61090706A 1986-04-18 1986-04-18 Update journal generation system for index part of data base control system Pending JPS62245444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61090706A JPS62245444A (en) 1986-04-18 1986-04-18 Update journal generation system for index part of data base control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61090706A JPS62245444A (en) 1986-04-18 1986-04-18 Update journal generation system for index part of data base control system

Publications (1)

Publication Number Publication Date
JPS62245444A true JPS62245444A (en) 1987-10-26

Family

ID=14005968

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61090706A Pending JPS62245444A (en) 1986-04-18 1986-04-18 Update journal generation system for index part of data base control system

Country Status (1)

Country Link
JP (1) JPS62245444A (en)

Similar Documents

Publication Publication Date Title
JPS60218142A (en) Dynamic format conversion system of data
JPS62245444A (en) Update journal generation system for index part of data base control system
JPS6175925A (en) Index maintenance system for file having plural indexes
JP2557953B2 (en) Interface definition and analysis support method
JPH0512087A (en) System for outputting pre-updating journal
JPH03271841A (en) Recovery system for data base
JPH0465427B2 (en)
JPH06214856A (en) Data backup system
JPH0296277A (en) Picture data control system
JPS63268050A (en) Continuous converting device for multiple file
JPS63100590A (en) Ic card
JPS62217339A (en) Data storing system for data base management system
JPH04310142A (en) Journal processing system
JPH05216730A (en) Data base managing processor
JPH10326307A (en) Schedule management method and management system
JPH01189741A (en) Journal output system
JPS6257041A (en) Recovery system of data
JPS6221136B2 (en)
JPS59180763A (en) System for accessing data base system
JPS6312044A (en) Data managing system for electronic computer system
JPH02148126A (en) Data save processor
JPH02257284A (en) Data processor
JPH0236415A (en) Printer output processing system
JPH03226829A (en) Information processor
JPH02130681A (en) Image processing system