JPH0324646A - Information processor - Google Patents

Information processor

Info

Publication number
JPH0324646A
JPH0324646A JP1159051A JP15905189A JPH0324646A JP H0324646 A JPH0324646 A JP H0324646A JP 1159051 A JP1159051 A JP 1159051A JP 15905189 A JP15905189 A JP 15905189A JP H0324646 A JPH0324646 A JP H0324646A
Authority
JP
Japan
Prior art keywords
information
index
update
index file
update information
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
JP1159051A
Other languages
Japanese (ja)
Other versions
JP2507604B2 (en
Inventor
Kazumasa Iwamoto
岩本 和眞
Katsuhiko Osada
長田 克彦
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
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP1159051A priority Critical patent/JP2507604B2/en
Publication of JPH0324646A publication Critical patent/JPH0324646A/en
Application granted granted Critical
Publication of JP2507604B2 publication Critical patent/JP2507604B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To increase the using rate of an I/O buffer and to improve updating processing performance by distinguishing stored updating information by deciding whether it is inputted before the latest rest point information or after and collectively retrieving and updating an index file. CONSTITUTION:At the time of receiving a restoration request, an updating information storage device 5 is inspected to detect the latest rest point information and updating information arranged after the latest rest point information is deleted by a restoration informing device 3. At the time of receiving a retrieval request, the device 5 is retrieved, the latest rest point information is detected, updating information up to the latest rest point information is stored in an index file 10 by starting an index storage device 7, updating information after the latest rest point information is stored in the file 10 by starting an index substitution storage device 8, and the file 10 is retrieved by a retrieving means 9. At the time of receiving a fault restoration request, the updating information obtained after the latest rest point information is deleted by the device 3. Since the file 10 is collectively retrieved, the using rate of the I/O buffer can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置におけるデータ処理に利用され、
特に、データベースシステムで複数タスクから同時に検
索および更新が行われる索引ファイルの制御手段を備え
た情報処理装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention is used for data processing in an information processing device,
In particular, the present invention relates to an information processing apparatus including a means for controlling an index file that is simultaneously searched and updated by multiple tasks in a database system.

〔概要〕〔overview〕

本発明は、索引ファイルと、この索引ファイルの検索お
よび更新を複数のタスクから同時に行うことができる手
段とを備えた情報処理装置において、 前記索引ファイルの更新情報を一時格納する更新情報記
憶装置を設け、各タスクの更新情報はその静止点にまた
がって前記更新情報記憶装置に一時格納しておき、格納
された更新情報が最新の静止点情報までのものか以降の
ものかによって区分して、一括して前記索引ファイルの
検索および更新を行うようにすることにより、 人出力バッファの使用率を高め、更新処理性能の向上を
図ったものである。
The present invention provides an information processing apparatus equipped with an index file and a means for simultaneously searching and updating the index file from a plurality of tasks, including an update information storage device that temporarily stores update information of the index file. The update information of each task is temporarily stored in the update information storage device across the stationary point, and the stored update information is classified according to whether it is up to the latest stationary point information or after the latest stationary point information, By searching and updating the index files all at once, the utilization rate of the human output buffer is increased and update processing performance is improved.

〔従来の技術〕[Conventional technology]

従来の情報処理装置において、索引ファイルは、データ
ファイルと索引ファイルの整合性を保つために、複数タ
スクから同時に検索および更新を行う場合には、索引フ
ァイルに対する更新は即座に行われていた。また、静止
点をまたがって更新を遅延する場合には、一つのタスク
からの検索および更新しか許されていなかった。
In conventional information processing apparatuses, in order to maintain consistency between the data file and the index file, when searching and updating the index file from multiple tasks at the same time, the index file is updated immediately. Furthermore, when updating is delayed across a stationary point, only search and update from one task is allowed.

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

前述した従来の情報処理装置における索引ファイルの制
御手段では、複数タスクで索引ファイルを共有している
ときは、一タスクが索引ファイルを更新し、他のタスク
は索引ファイルにアクセスを行っていない場合であって
も索引ファイルの更新は即座に行われるので、データレ
コードに複数個の索引ファイルを付けることが可能なデ
ータベースシステムにおいては索引ファイルの数が増加
すれば人出力バッファの使用率が低下し、性能が低下し
やすくなる欠点があった。
With the index file control means in the conventional information processing device described above, when an index file is shared by multiple tasks, one task updates the index file and the other tasks do not access the index file. However, index files are updated immediately, so in database systems where multiple index files can be attached to a data record, as the number of index files increases, the usage rate of the human output buffer decreases. However, there was a drawback that performance tended to deteriorate.

本発明の目的は、前記の欠点を除去することにより、索
引ファイルの人出力バッファの使用率を高め、更新処理
性能を向上できる索引ファイルの制御手段を備えた情報
処理装置を提供することにある。
An object of the present invention is to provide an information processing apparatus equipped with an index file control means that can increase the utilization rate of the human output buffer of the index file and improve the update processing performance by eliminating the above-mentioned drawbacks. .

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

本発明は、データレコードの一部または全部を検索キー
値として格納するための索引ファイルと、この索引ファ
イルに対する検索および更新を複数のタスクから同時に
行うことが可能な手段とを備えた情報処理装置において
、前記索引ファイルの更新情報を一時的に格納する更新
情報記憶装置と、この更新情報記憶装置の更新情報を前
記索引ファイルに格納し静止点を確立する索引格納手段
と、前記更新情報記憶装置の更新情報をそれを格納した
タスクに代わって前記索引ファイルに格納する索引代行
格納手段と、前記ファイルの更新情報の格納開始を前記
更新情報記憶装置に通知する更新開始通知手段と、静止
点確立要求時に前記更新情報記憶装置に静止点情報を格
納する静止点通知手段と、前記索引ファイルの更新時に
前記更新情報記憶装置を検索し、空き領域が見つかった
場合にはその空き領域に更新情報を格納し、見つからな
かった場合には最新の静止点情報を見つけ最新の静止点
情報までの更新情報を前記索引格納手段を起動すること
により前記索引ファイルに格納し、その空き領域に更新
情報を格納する更新手段と、復旧要求時に前記更新情報
記憶装置を検査し最新の静止点情報を見つけ最新の静止
点情報以降の更新情報を削除する復旧通知手段と、検索
要求時に前記更新情報記憶装置を検索し、最新の静止点
情報を見つけ最新の静止点情報までの更新情報を前記索
引格納手段を起動することにより前記索引ファイルに格
納し、最新の静止点情報以降の更新情報を前記索引代行
格納手段を起動することにより前記索引ファイルに格納
し前記索引ファイルを検索する検索手段と、前記索引フ
ァイルの更新終了時に前記更新情報記憶装置を検索し格
納されている更新情報を前記索引格納手段を起動するこ
とにより前記索引ファイルの更新を完了させる更新終了
通知手段とを備えたことを特徴とする。
The present invention provides an information processing apparatus that includes an index file for storing part or all of data records as search key values, and means that allows multiple tasks to simultaneously search and update the index file. , an update information storage device for temporarily storing update information of the index file; an index storage means for storing update information of the update information storage device in the index file to establish a quiescent point; and the update information storage device. index proxy storage means for storing update information of the file in the index file on behalf of the task that stored it; update start notification means for notifying the update information storage device of the start of storing update information of the file; and stationary point establishment. still point notification means for storing still point information in the update information storage device at the time of a request; and searching the update information storage device when updating the index file, and if a free area is found, updating information is stored in the free area. If the latest still point information is not found, the updated information up to the latest still point information is stored in the index file by activating the index storage means, and the updated information is stored in the free area. updating means for inspecting the update information storage device to find the latest quiescent point information and deleting updated information subsequent to the latest quiescent point information when a recovery request is made; recovery notification means for searching the update information storage device when a search request is made; The latest static point information is found and the updated information up to the latest static point information is stored in the index file by activating the index storage means, and the updated information after the latest static point information is stored in the index proxy storage means. a search means for storing in the index file and searching the index file by activating the index file, and activating the index storage means for searching the update information storage device and searching the stored update information when the update of the index file is completed. The present invention is characterized by comprising update completion notification means for completing the update of the index file.

〔作用〕[Effect]

各タスクの索引ファイルの更新情報は、直接索引ファイ
ルに格納されてることなく、その静止点をまたがって遅
延され、更新情報記憶装置に索引更新情報の形で一時格
納される。この格納された索引更新情報は例えばタスク
名、索引ファイル名、静止点情報および実際の更新情報
を含み、静止点通知手段により静止点情報が格納される
。そして、索引ファイルの更新時においては、更新手段
により、前記更新情報記憶装置に空き領域があるときそ
の空き領域に更新情報を格納し、空き領域がないときは
格納されている最新の静止点情報までの更新情報を索引
格納手段により前記索引ファイルに格納し、その結果新
たに生じた空き領域に新しい更新情報を格納する。また
、索引ファイルの索引時においては、前記索引手段によ
り前記更新情報記憶手段を検索し最新の静止点情報を見
つけ、最新の静止点情報までの更新情報は前記索引格納
手段により前記索引ファイルに格納し、最新の静止点情
報以降の更新情報は索引代行格納手段により前記索引フ
ァイルを格納し索引を行う。そして、障害復旧要求時に
は復旧通知手段により最新の静止点情報以降の更新情報
を削除する。
The update information of the index file of each task is not directly stored in the index file, but is delayed across its rest point and temporarily stored in the update information storage device in the form of index update information. This stored index update information includes, for example, a task name, an index file name, still point information, and actual update information, and the still point information is stored by the still point notification means. When updating the index file, the update means stores the update information in the free space when there is free space in the update information storage device, and stores the latest stored still point information when there is no free space. The updated information up to this point is stored in the index file by the index storage means, and the new updated information is stored in the newly created free area as a result. Furthermore, when indexing an index file, the index means searches the update information storage means to find the latest still point information, and the index storage means stores the updated information up to the latest still point information in the index file. However, updated information after the latest stationary point information is stored in the index file and indexed by the index proxy storage means. Then, when a failure recovery is requested, the update information after the latest still point information is deleted by the recovery notification means.

従って、複数のタスクで共有される索引ファイルを整合
性を保って、一括更新することができ、入出力バッファ
の使用率を高め、更新処理性能を向上させることが可能
となる。
Therefore, index files shared by a plurality of tasks can be updated all at once while maintaining consistency, increasing the usage rate of input/output buffers and improving update processing performance.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して説明する
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示すブロック構或図、およ
6び第2図(a)、わ)および(C)はデータ形式を示
す説明図である。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIGS. 6 and 2 are explanatory diagrams showing data formats.

第1図によると、本実施例は、データレコードの一部ま
たは全部を検索キー値として格納するための索引ファイ
ル10と、この索引ファイル10に対する検索および更
新を複数のタスクから同時に行うことが可能な手段とを
備えた情報処理装置において、 索引ファイル10の更新情報を一時的に格納する更新情
報記憶装置5と、この更新情報記憶装置5の更新情報を
索引ファイル10に格納し静止点を確立する索引格納手
段7と、更新情報記憶装置5の更新情報を記憶したタス
クに代わって索引ファイル10に格納する索引代行格納
手段8と、索引ファイルIOの更新情報の格納開始を更
新情報記憶装置5に通知する更新開始通知手段lと、静
止点確立要求時に更新情報記憶装置5に静止点情報を格
納する静止点通知手段2と、索引ファイル10の更新時
に更新情報記憶装置5を検索し、空き領域が見つかった
場合にはその空き領域に更新情報を格納し、見つからな
かった場合には最新の静止点情報を見つけ最新の静止点
情報までの更新情報を索引格納手段7を起動することに
より索引ファイル10に格納し、その空き領域に更新情
報を格納する更新手段6と、復旧要求時に更新情報記憶
装置5を検索し、最新の静止点情報を見つけ最新の静止
点情報以降の更新情報を削除する復旧通知手段3と、検
索要求時に更新情報記憶装置5を検索し、最新の静止点
情報を見つけ最新の静止点情報までの更新情報を索引格
納手段7を起動することにより索引ファイル10に格納
し、最新の静止点情報以降の更新情報を索引代行格納手
段8を起動することにより索引ファイル10に格納し索
引ファイルlOを検索する検索手段9と、索引ファイル
10の更新終了時に更新情報記憶装置5を検索し、格納
している更新情報を索引格納手段7を起動することによ
り索引ファイル10の更新を完了させる更新終了通知手
段4とを備える。
According to FIG. 1, this embodiment has an index file 10 for storing part or all of data records as search key values, and it is possible to simultaneously search and update this index file 10 from multiple tasks. An information processing device comprising: an update information storage device 5 for temporarily storing update information of an index file 10; and a method for storing update information in the update information storage device 5 in the index file 10 to establish a static point. index storage means 7 for storing update information in the update information storage device 5 in the index file 10 on behalf of the stored task; an update start notification means 1 for notifying the update start notification means 1, a rest point notification means 2 for storing the rest point information in the update information storage device 5 when a rest point establishment request is made, and a rest point notification means 2 for storing the rest point information in the update information storage device 5 when updating the index file 10; If an area is found, the updated information is stored in the free area, and if not found, the latest still point information is found and the updated information up to the latest still point information is indexed by activating the index storage means 7. An update means 6 stores update information in a file 10 and stores the updated information in the free space thereof, and searches the update information storage device 5 at the time of a recovery request to find the latest still point information and delete updated information after the latest still point information. When a search request is made, the recovery notification means 3 searches the update information storage device 5, finds the latest still point information, and stores the updated information up to the latest still point information in the index file 10 by activating the index storage means 7. A search means 9 stores the update information after the latest still point information in the index file 10 by activating the index proxy storage means 8 and searches the index file IO, and an update information storage device when the update of the index file 10 is completed. 5 and activating the stored update information in the index storage means 7, thereby completing the update of the index file 10.

第2図(a)によると、更新情報記憶装置5に格納され
る更新情報は、索引更新情報2lの形で格納され、索引
更新情報21は第2図(b)に示すように、タスク名2
2、索引ファイル名23、静止点情報24および実際の
更新情報25を含み、更新情報25は第2図(C)に示
すように、処理モード26、キー値27およびデータポ
インタ28を含んでいる。
According to FIG. 2(a), the update information stored in the update information storage device 5 is stored in the form of index update information 2l, and the index update information 21 has a task name as shown in FIG. 2(b). 2
2. It includes an index file name 23, static point information 24, and actual update information 25, and the update information 25 includes a processing mode 26, a key value 27, and a data pointer 28, as shown in FIG. 2(C). .

本発明の特徴は、第1図において、更新開始通知手段1
、静止点通知手段2、復旧通信手段3、更新終了通知手
段4、更新情報記憶装置5、更新手段6、索引格納手段
7、索引代行格納手段8、および検索手段9を設けたこ
とにある。
The feature of the present invention is that in FIG.
, a still point notification means 2, a recovery communication means 3, an update completion notification means 4, an update information storage device 5, an update means 6, an index storage means 7, an index proxy storage means 8, and a search means 9.

次に、本実施例の動作について、第3図ないし第7図に
示す流れ図を参照して説明する。ここで、第3vilI
は静止点通知手段、第4図は検索手段、第5図は更新終
了通知手段、第6図は更新手段、および第7図は復旧通
知手段の動作を示す流れ図である。
Next, the operation of this embodiment will be explained with reference to the flowcharts shown in FIGS. 3 to 7. Here, the third vilI
4 is a flowchart showing the operation of the still point notification means, FIG. 4 is a search means, FIG. 5 is an update completion notification means, FIG. 6 is an update means, and FIG. 7 is a flowchart showing the operation of the recovery notification means.

更新開始通知手段1は、更新情報記憶装置5に、更新処
理を行うタスク名22と索引ファイル名23とを格納し
本手段を終了する。
The update start notification means 1 stores the task name 22 that performs the update process and the index file name 23 in the update information storage device 5, and ends this means.

静止点通知手段2は、第3図に示すように、更新情報記
憶装置5内で通知のあったタスクの最初の索引更新情報
21を得(ステップSll) 、その情報に静止点情報
24を格納する(ステップS12)。
As shown in FIG. 3, the stationary point notification means 2 obtains the first index update information 21 of the notified task in the update information storage device 5 (step Sll), and stores the stationary point information 24 in that information. (Step S12).

そして、ステップ313で最後の索引更新情報21かど
うか調達する。最後でない場合、更新情報記憶装置5内
で同一タスクの次の索引更新情報21を得(ステップS
14) 、以下最後になるまで処理を繰り返す。最後だ
った場合は本手段を終了する。
Then, in step 313, it is determined whether the index update information 21 is the last one. If it is not the last index update information 21 of the same task in the update information storage device 5 (step S
14) , repeat the process until the end. If it is the last one, this means ends.

検索手段9は、第4図に示すように、更新情報記憶装置
5内で要求のあった索引ファイル10の索引更新情報2
1があるかどうかを調査する(ステップS21)。索引
更新情報21がない場合は、索引ファイルlOを検索し
くステップ328)、本手段を終了する。索引更新情報
21がある場合は、要求のあったファイルの最初の索引
更新情報を得(ステップS22〉、索引更新情報21内
で最新の静止点情報24を得る(ステップS23〉。そ
して、最新の静止点情報24までの更新情報25を用い
て索引格納手段7を起動しくステップS24〉、最新の
静止点情報24以降の更新情報25を用いて索引代行格
納手段8を起動しくステップS25〉、その索引更新情
報2lが更新情報記憶装置5内で最後の索引更新情報2
1かどうか調査する(ステップS26〉。最後でない場
合、更新情報記憶装置5内で同一索引ファイルlOの次
の索引更新情報2lを得(ステップS 27) 、以下
最後になるまで処理を繰り返す。最後だった場合は索引
ファイルlOを検索しくステップ828〉、本手段を終
了する。
As shown in FIG. 4, the search means 9 retrieves the index update information 2 of the requested index file 10 in the update information storage device 5.
1 is present (step S21). If there is no index update information 21, the index file IO is searched (step 328), and this means ends. If there is index update information 21, the first index update information of the requested file is obtained (step S22), and the latest still point information 24 in the index update information 21 is obtained (step S23). Step S24> to start the index storage means 7 using the updated information 25 up to the still point information 24; step S25> to start the index storage means 8 using the updated information 25 after the latest still point information 24; The index update information 2l is the last index update information 2 in the update information storage device 5.
1 (Step S26). If it is not the last, obtain the next index update information 2l of the same index file IO in the update information storage device 5 (Step S27), and repeat the process until the last. If so, the index file IO is searched (step 828), and the present means ends.

更新終了通知手段4は、第5図に示すように、更新情報
記憶装置5内で要求のあったタスクの索引更新情報21
を得(ステップS31〉、索引更新情報21内に更新情
報25があるかどうかを調査し(ステップS32) 、
更新情報25がない場合は本手段を終了とし、更新情報
25がある場合は索引格納手段7を起動した後(ステッ
プS33) 、本手段を終わりとする。
As shown in FIG. 5, the update end notification means 4 updates the index update information 21 of the requested task in the update information storage device 5.
is obtained (step S31), and it is investigated whether there is update information 25 in the index update information 21 (step S32),
If there is no update information 25, this means ends, and if there is update information 25, after starting the index storage means 7 (step S33), this means ends.

更新手段6は、第6図に示すように、更新情報記憶装置
5内で要求のあったタスクの索引更新情報21を得(ス
テップS41〉、更新情報記憶装置5内に空き領域があ
るかどうかを調査する(ステップS42)。空き領域が
見つからない場合は、索引更新情報21内で最新の静止
点情報24を捜し(ステップ343) 、最新の静止点
情報24までの更新情報25を用いて索引格納手段7を
起動する(ステップS44〉  ことによって、更新情
報記憶装置5内に空き領域を作る。その空き領域に、処
理モード26と、キー値27と、データポインタ28と
を格納し(ステップS45)、本手段を終了する。
As shown in FIG. 6, the updating means 6 obtains the index update information 21 of the requested task in the update information storage device 5 (step S41), and checks whether there is free space in the update information storage device 5. (Step S42). If no free space is found, the latest still point information 24 is searched for in the index update information 21 (Step 343), and the index is updated using the updated information 25 up to the latest still point information 24. By activating the storage means 7 (step S44), a free space is created in the update information storage device 5. The processing mode 26, key value 27, and data pointer 28 are stored in the free space (step S45). ), this means ends.

復旧通知手段3は、第7図に示すように更新情報記憶装
置5内で通知のあったタスクの最初の索引更新情報21
を得(ステップS51)、索引更新情報2l内で最新の
静止点情報24を捜し(ステップS52)、最新の静止
点情報24以降の更新情報25を削除しくステップS5
3)、その索引更新情報21が更新情報記憶装置5内で
最後の索引更新情報2lであるかどうか調査し(ステッ
プS54)、最後でない場合は、更新情報記憶装置5内
で同一索引ファイル10の次の索引更新情報2lを得(
ステップS55〉 、以下最後になるまで処理を繰り返
す。最後の場合は本手段を終了する。
As shown in FIG. 7, the recovery notification means 3 stores the first index update information 21 of the notified task in the update information storage device 5
(step S51), searches for the latest still point information 24 in the index update information 2l (step S52), and deletes the updated information 25 after the latest still point information 24 (step S5).
3) Check whether the index update information 21 is the last index update information 2l in the update information storage device 5 (step S54), and if it is not the last one, check if the index update information 21 is the last index update information 2l in the update information storage device 5. Get the next index update information 2l (
Step S55>, the process is repeated until the end. In the last case, this means is terminated.

索引格納手段7は、特定のタスクで更新情報25を索引
ファイルlOに格納し、静止点を設定して本手段を終了
する。
The index storage means 7 stores the update information 25 in the index file IO in a specific task, sets a rest point, and ends this means.

索引代行格納手段8は、更新情報25を格納したタスク
に代わって、更新情報25を索引ファイル10に格納し
、本手段を終了する。
The index proxy storage means 8 stores the update information 25 in the index file 10 in place of the task that stored the update information 25, and ends this means.

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

以上説明したように、本発明は、索引ファイルに対する
更新を静止点をまたがって遅延することにより、複数タ
スクで共有している索引ファイルの更新を索引ファイル
ごとに一括して行い、入出力用バッファの使用率を高め
、更新処理性能を向上させる効果がある。
As explained above, the present invention delays updates to index files across quiescing points, updates the index files shared by multiple tasks at once for each index file, and buffers the input/output buffer. This has the effect of increasing the usage rate and improving update processing performance.

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

第1図は本発明の一実施例を示すブロック構或図。 第2図(a)、(ロ)および(C)はデータ形式を示す
説明図。 第3図は静止点通知手段の動作を示す流れ図。 第4図は検索手役の動作を示す流れ図。 第5図は更新終了通知手段の動作を示す流れ図。 第6図は更新手段の動作を示す流れ図。 第7図は復旧通知手段の動作を示す流れ図。 l・・・更新開始通知手段、2・・・静止点通知手段、
3・・・復旧通知手段、4・・・更新終了通知手段、5
・・・更新情報記憶装置、6・・・更新手段、7・・・
索引格納手段、8・・・索引代行格納手段、9・・・検
索手段、10・・・索引ファイル、311〜S14、S
21〜S2g、S31〜S33、S41〜345、35
1〜S55・・・ステップ。
FIG. 1 is a block diagram showing an embodiment of the present invention. FIGS. 2A, 2B, and 2C are explanatory diagrams showing data formats. FIG. 3 is a flowchart showing the operation of the stationary point notification means. FIG. 4 is a flowchart showing the operation of the search hand. FIG. 5 is a flowchart showing the operation of the update completion notification means. FIG. 6 is a flowchart showing the operation of the updating means. FIG. 7 is a flowchart showing the operation of the recovery notification means. l... Update start notification means, 2... Still point notification means,
3... Recovery notification means, 4... Update completion notification means, 5
... update information storage device, 6... update means, 7...
Index storage means, 8... Index agency storage means, 9... Search means, 10... Index file, 311-S14, S
21~S2g, S31~S33, S41~345, 35
1-S55...step.

Claims (1)

【特許請求の範囲】 1、データレコードの一部または全部を検索キー値とし
て格納するための索引ファイルと、この索引ファイルに
対する検索および更新を複数のタスクから同時に行うこ
とが可能な手段とを備えた情報処理装置において、 前記索引ファイルの更新情報を一時的に格納する更新情
報記憶装置と、 この更新情報記憶装置の更新情報を前記索引ファイルに
格納し静止点を確立する索引格納手段と、前記更新情報
記憶装置の更新情報をそれを格納したタスクに代わって
前記索引ファイルに格納する索引代行格納手段と、 前記ファイルの更新情報の格納開始を前記更新情報記憶
装置に通知する更新開始通知手段と、静止点確立要求時
に前記更新情報記憶装置に静止点情報を格納する静止点
通知手段と、 前記索引ファイルの更新時に前記更新情報記憶装置を検
索し、空き領域が見つかった場合にはその空き領域に更
新情報を格納し、見つからなかった場合には最新の静止
点情報を見つけ最新の静止点情報までの更新情報を前記
索引格納手段を起動することにより前記索引ファイルに
格納し、その空き領域に更新情報を格納する更新手段と
、復旧要求時に前記更新情報記憶装置を検索し最新の静
止点情報を見つけ最新の静止点情報以降の更新情報を削
除する復旧通知手段と、 検索要求時に前記更新情報記憶装置を検索し、最新の静
止点情報を見つけ最新の静止点情報までの更新情報を前
記索引格納手段を起動することにより前記索引ファイル
に格納し、最新の静止点情報以降の更新情報を前記索引
代行格納手段を起動することにより前記索引ファイルに
格納し前記索引ファイルを検索する検索手段と、 前記索引ファイルの更新終了時に前記更新情報記憶装置
を検索し格納されている更新情報を前記索引格納手段を
起動することにより前記索引ファイルの更新を完了させ
る更新終了通知手段とを備えたことを特徴とする情報処
理装置。
[Claims] 1. An index file for storing part or all of a data record as a search key value, and means capable of simultaneously searching and updating this index file from a plurality of tasks. An information processing device comprising: an update information storage device that temporarily stores update information of the index file; an index storage unit that stores update information of the update information storage device in the index file to establish a quiescent point; index proxy storage means for storing update information in the update information storage device in the index file on behalf of the task that stored it; and update start notification means for notifying the update information storage device of the start of storing the update information for the file; , still point notification means for storing still point information in the update information storage device when a request to establish a static point is made, and searching the update information storage device when updating the index file and, if a free area is found, storing the free area. If the updated information is not found, the latest still point information is found and the updated information up to the latest still point information is stored in the index file by activating the index storage means, and the updated information is stored in the free space. an update means for storing update information; a recovery notification means for searching the update information storage device to find the latest still point information and deleting updated information after the latest still point information when a recovery request is made; The storage device is searched, the latest static point information is found, the updated information up to the latest static point information is stored in the index file by activating the index storage means, and the updated information after the latest static point information is stored in the index file. a search means for storing in the index file and searching the index file by activating an index proxy storage means; and a search means for searching the update information storage device and storing the stored update information in the index storage when the update of the index file is completed. An information processing apparatus comprising update completion notification means for activating the means to complete the update of the index file.
JP1159051A 1989-06-21 1989-06-21 Information processing device Expired - Lifetime JP2507604B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1159051A JP2507604B2 (en) 1989-06-21 1989-06-21 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1159051A JP2507604B2 (en) 1989-06-21 1989-06-21 Information processing device

Publications (2)

Publication Number Publication Date
JPH0324646A true JPH0324646A (en) 1991-02-01
JP2507604B2 JP2507604B2 (en) 1996-06-12

Family

ID=15685154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1159051A Expired - Lifetime JP2507604B2 (en) 1989-06-21 1989-06-21 Information processing device

Country Status (1)

Country Link
JP (1) JP2507604B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200390A (en) * 1993-12-28 1995-08-04 Toshiba Corp Data access method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0212460A (en) * 1988-04-08 1990-01-17 Internatl Business Mach Corp <Ibm> Parallel accessing to index tree

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0212460A (en) * 1988-04-08 1990-01-17 Internatl Business Mach Corp <Ibm> Parallel accessing to index tree

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200390A (en) * 1993-12-28 1995-08-04 Toshiba Corp Data access method

Also Published As

Publication number Publication date
JP2507604B2 (en) 1996-06-12

Similar Documents

Publication Publication Date Title
US8103621B2 (en) HSM two-way orphan reconciliation for extremely large file systems
JPH07105064A (en) File name detection system
CN110597835B (en) Transaction data deleting method and device based on blockchain
JP2000357115A (en) Device and method for file retrieval
JPH0324646A (en) Information processor
US6625614B1 (en) Implementation for efficient access of extended attribute data
JPH07319742A (en) Physical deleting system for logically deleted data
JPH0844609A (en) Data backup method
JPS62131349A (en) Data base processing system
JP2003296349A (en) Data retrieval device and update method by server
JP2000148548A (en) Unnecessary record deleting device
JPH09171480A (en) Network system provided with information storage system, input system and automatic operation system of the network system, and automatic operating method for the network system
JPH0744426A (en) File management method for file system
JP2740238B2 (en) File exclusive control unit
JP3497053B2 (en) Processing method in online database management system and online database management system
JPH0784849A (en) Data access control method
JPH05242176A (en) Generation control system for drawing
JPH06290095A (en) File managing device
JPS63138442A (en) Restoring and processing system for deleted file
JPH0566985A (en) Updating system for data base
JP2746952B2 (en) Image processing method
JPH01166232A (en) Data recovery system
JPH05274199A (en) Record storing system in file system
JPH02141874A (en) Image information filing and retrieving system
JPH03276238A (en) Record control system