JPH0589060A - Data base input output processing system - Google Patents

Data base input output processing system

Info

Publication number
JPH0589060A
JPH0589060A JP3250764A JP25076491A JPH0589060A JP H0589060 A JPH0589060 A JP H0589060A JP 3250764 A JP3250764 A JP 3250764A JP 25076491 A JP25076491 A JP 25076491A JP H0589060 A JPH0589060 A JP H0589060A
Authority
JP
Japan
Prior art keywords
database
buffer memory
data
computer
output processing
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
JP3250764A
Other languages
Japanese (ja)
Inventor
Junzo Daito
順三 大東
Yoshihiko Yamaguchi
佳彦 山口
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 JP3250764A priority Critical patent/JPH0589060A/en
Publication of JPH0589060A publication Critical patent/JPH0589060A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To solve the complexity of a file control at the time of moving from individual operation to duplex operation to occur by providing a data base at respective computers at a loose coupling duplex computer system. CONSTITUTION:At a data base processor 3, a buffer memory 32 is provided. At the time of writing, the coincidence of data outputted from computers 1 and 2 is confirmed by using the buffer memory 32, and after confirmation, written into a data base file 31. At the time of reading, to the computer requesting earlier, the reading data from the data base file 31 are transferred, stored in the buffer memory 32, and next, to the computer requesting later, the content of the buffer memory 32 is transferred.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータベース入出力処理
方式、特に同一の入力に対して主系の計算機からのみ処
理結果を出力する疎結合二重化計算機システムのデータ
ベース入出力処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database input / output processing system, and more particularly to a database input / output processing system for a loosely coupled redundant computer system in which processing results are output only from a main computer for the same input.

【0002】[0002]

【従来の技術】従来、この種のデータベース入出力処理
方式は、主系および従系の計算機のそれぞれにデータベ
ースを設け、各系ごとにデータの入出力処理を行なうこ
とによって、主系および従系で有するデータベースの内
容を同一にするように処理を行なっている。
2. Description of the Related Art Conventionally, a database input / output processing system of this type is provided with a database for each of a main computer and a slave computer, and data input / output processing is carried out for each system, so that the master system and the slave system are processed. The processing is performed so that the contents of the database held in 1) are the same.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のデータ
ベース処理方式は、主系および従系にそれぞれデータベ
ースを持っているために、単独運転から、二重化運転に
移行する場合に、主系で管理するデータベースの内容を
従系で管理するデータベースに複写する必要がある。そ
のため大容量データベースを有するシステムでは、デー
タベースの複写時間が膨大になり、二重化運転に移行す
る時間がかかり過ぎるので、大容量データベースを有す
るシステムでは、二重化計算機システムを採用すること
が困難であるという欠点がある。また両系にデータベー
スを有するためファイル装置の管理が複雑になるという
問題点を有している。
The above-mentioned conventional database processing method has a database in each of the main system and the sub system, and therefore, the main system manages when operating from the independent operation to the duplex operation. It is necessary to copy the contents of the database to the database managed by the subordinate system. Therefore, in a system having a large-capacity database, the copying time of the database becomes enormous and it takes too much time to shift to the redundant operation. Therefore, it is difficult to adopt the redundant computer system in the system having the large-capacity database. There is. In addition, since both systems have databases, there is a problem that the management of the file device becomes complicated.

【0004】[0004]

【課題を解決するための手段】本発明のデータベース入
出力処理方式は、同一の入力に対して主系の計算機から
のみ処理結果を出力する疎結合二重化計算機システムの
データベース入力出処理方式において、バッファメモリ
と二重化された計算機のそれぞれとの通信手段とを有し
てデータベースファイルの入出力処理を行なうデータベ
ース処理装置を設け、主系および従系の計算機からデー
タベースファイルへの出力時には両系からのデータの一
致を確認してからデータファイルへの出力を行ない、主
系および従系の計算機から要求されるデータベースファ
イルの読出時には、両系の読出要求の早い方の要求に従
って読出しを行ない要求を受けた系の計算機へ転送する
と共に前記バッファメモリに一時記憶させ、後から要求
を受けた系の計算機にはこのバッファメモリに一時記憶
した内容を転送することにより構成される。
According to the database input / output processing method of the present invention, a buffer is used in a database input / output processing method of a loosely coupled redundant computer system in which a processing result is output only from a main computer for the same input. Provide a database processing device that has a memory and communication means with each of the redundant computers to perform input / output processing of the database file, and when outputting from the main and sub computers to the database file, data from both systems Output to the data file after confirming the agreement of the two, and when reading the database file requested by the main computer and the subordinate computer, the request was made according to the earlier read request of both systems. Transfer to the computer of the system and temporarily store it in the buffer memory, and then calculate the system that received the request later. The constructed by transferring the contents stored temporarily in the buffer memory.

【0005】[0005]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0006】図1は本発明の一実施例のブロック図であ
る。図1の実施例は同種の計算機1および2が計算機間
通信装置12および21により接続され間歇的にデータ
照合をとることにより疎結合二重化計算機システムを構
成している。また計算機1および2はそれぞれ高速転送
ができるデータ転送装置13および23を介してデータ
ベース処理装置3に接続され、データベース処理装置3
は内部に少なくとも一回の転送データを蓄積できる容量
のバッファメモリ32を有して、データベースファイル
31の入出力処理を行なう。
FIG. 1 is a block diagram of an embodiment of the present invention. In the embodiment shown in FIG. 1, computers 1 and 2 of the same type are connected by inter-computer communication devices 12 and 21 to intermittently collate data to form a loosely coupled redundant computer system. Further, the computers 1 and 2 are connected to the database processing device 3 via the data transfer devices 13 and 23 capable of high-speed transfer, respectively, and the database processing device 3
Has a buffer memory 32 having a capacity capable of accumulating transfer data at least once, and performs input / output processing of the database file 31.

【0007】図2は図1の計算機からデータベースファ
イルへの書込時、およびデータベースファイルから計算
機への読込時のシーケンス図で、以下図2を参照して図
1の動作について説明を進める。今、計算機1および2
は二重化運転を行なっていて一方が主系、他方が従系に
あるものとする。
FIG. 2 is a sequence diagram at the time of writing from the computer of FIG. 1 to the database file and at the time of reading from the database file to the computer. The operation of FIG. 1 will be described below with reference to FIG. Now calculators 1 and 2
It is assumed that one is in the main system and the other is in the slave system, which is operating in duplicate.

【0008】先ず書込時においては、主系および従系は
疎結合により同一の処理を行なっているので、両系から
略同時に同一の書込要求が発生するので、データベース
処理装置3は、例えば先に要求のあった主系の書込デー
タの転送を受けて、バッファメモリ32に書込む。次い
で従系の書込データの転送を受けて、バッファメモリ3
2の内容との一致をとり、不一致がなければバッファメ
モリ32の内容をデータベースファイル31へ書込む。
First, at the time of writing, since the main system and the slave system perform the same processing by loose coupling, the same write request is generated from both systems at substantially the same time. Upon receiving the transfer of the main system write data requested earlier, the data is written in the buffer memory 32. Then, in response to the transfer of the slave write data, the buffer memory 3
The contents of the buffer memory 32 are written to the database file 31 if there is no mismatch.

【0009】次に、読出時においては、書込時と同様に
略同時に同一の読出要求が発生するので、データベース
処理装置3は、例えば先に要求のあった従系の読出要求
を受けて、データベースファイル31からデータを読出
し、要求を受けた従系に読出したデータを転送すると共
にこのデータをバッファメモリ32に蓄積する。次いで
後から要求を受けた主系に対して、読出要求は同一であ
る筈なので、バッファメモリ31に蓄積したデータを読
出して転送する。
Next, at the time of reading, the same read request is generated almost at the same time as at the time of writing, so that the database processing device 3 receives, for example, the slave read request requested earlier, The data is read from the database file 31, the read data is transferred to the slave system that received the request, and this data is stored in the buffer memory 32. Then, since the read request should be the same for the main system that has received the request later, the data accumulated in the buffer memory 31 is read and transferred.

【0010】なお上述の書込時において、データベース
処理装置3は先に要求のあった系の書込データの転送を
受けて、バッファメモリ32に先ず書込むものとした
が、両系のデータ転送に同期を取らせ、転送されたデー
タの一致を確認しつつバッファメモリ32に蓄積し、誤
りなく蓄積が終了してから、バッファメモリ32の内容
をデータベースファイル31に書込むようにすることも
できる。
At the time of writing as described above, the database processing device 3 receives the write data of the previously requested system and writes it in the buffer memory 32 first. Alternatively, the contents of the buffer memory 32 may be written to the database file 31 after the data is accumulated in the buffer memory 32 while confirming the coincidence of the transferred data, and the accumulation is completed without error. ..

【0011】[0011]

【発明の効果】以上説明したように本発明は、疎結合二
重化計算機システムと、一元化したデータベースとの間
で入出力処理を行なえるデータベース処理装置を設ける
ことにより、大容量データベースを持つ疎結合二重化計
算機システムの構造を容易にするという効果がある。
As described above, the present invention provides a loosely-coupled duplex system having a large-capacity database by providing a database processor capable of performing input / output processing between the loosely-coupled redundant computer system and a centralized database. This has the effect of facilitating the structure of the computer system.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】図1の動作のシーケンス図である。FIG. 2 is a sequence diagram of the operation of FIG.

【符号の説明】[Explanation of symbols]

1,2 計算機 3 データベース処理装置 12,21 計算機間通信装置 13,23 データ転送装置 31 データベースファイル 32 バッファメモリ 1, computer 3 database processing device 12, 21 inter-computer communication device 13, 23 data transfer device 31 database file 32 buffer memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 同一の入力に対して主系の計算機からの
み処理結果を出力する疎結合二重化計算機システムのデ
ータベース入力出処理方式において、バッファメモリと
二重化された計算機のそれぞれとの通信手段とを有して
データベースファイルの入出力処理を行なうデータベー
ス処理装置を設け、主系および従系の計算機からデータ
ベースファイルへの出力時には両系からのデータの一致
を確認してからデータファイルへの出力を行ない、主系
および従系の計算機から要求されるデータベースファイ
ルの読出時には、両系の読出要求の早い方の要求に従っ
て読出しを行ない要求を受けた系の計算機へ転送すると
共に前記バッファメモリに一時記憶させ、後から要求を
受けた系の計算機にはこのバッファメモリに一時記憶し
た内容を転送することを特徴とするデータベース入出力
処理方式。
1. In a database input / output processing method of a loosely coupled redundant computer system in which processing results are output only from a main computer for the same input, a buffer memory and communication means for communicating with each of the redundant computers are provided. A database processor is installed to perform input / output processing of the database file, and when outputting to the database file from the master and slave computers, it is checked whether the data from both systems match before outputting to the data file. When reading the database file requested by the master and slave computers, the read is performed according to the earlier read request of both systems, and the data is transferred to the computer of the system that received the request and is temporarily stored in the buffer memory. Then, the contents temporarily stored in this buffer memory can be transferred to the computer of the system that received the request later. A database input / output processing method characterized by:
JP3250764A 1991-09-30 1991-09-30 Data base input output processing system Pending JPH0589060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3250764A JPH0589060A (en) 1991-09-30 1991-09-30 Data base input output processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3250764A JPH0589060A (en) 1991-09-30 1991-09-30 Data base input output processing system

Publications (1)

Publication Number Publication Date
JPH0589060A true JPH0589060A (en) 1993-04-09

Family

ID=17212698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3250764A Pending JPH0589060A (en) 1991-09-30 1991-09-30 Data base input output processing system

Country Status (1)

Country Link
JP (1) JPH0589060A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2495121A1 (en) 2011-03-01 2012-09-05 Yachiyo Industry Co., Ltd. Mounting structure of buffer member for fuel tank
US9494211B2 (en) 2012-12-18 2016-11-15 Yachiyo Industry Co., Ltd. Fuel tank shock-absorbing member

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2495121A1 (en) 2011-03-01 2012-09-05 Yachiyo Industry Co., Ltd. Mounting structure of buffer member for fuel tank
US9156347B2 (en) 2011-03-01 2015-10-13 Yachiyo Industry Co., Ltd. Mounting structure of buffer member for fuel tank
US9494211B2 (en) 2012-12-18 2016-11-15 Yachiyo Industry Co., Ltd. Fuel tank shock-absorbing member

Similar Documents

Publication Publication Date Title
US7373438B1 (en) System and method for reprioritizing high-latency input/output operations
US8874512B2 (en) Data replication method and system for database management system
US20030229764A1 (en) Data storage subsystem
JPH10508967A (en) System and method for on-line, real-time, data transfer technical field
US20030163553A1 (en) Storage system and method of copying data
CN101187888A (en) Method for coping database data in heterogeneous environment
US7318120B2 (en) Hardware assisted communication between processors
JP2008165431A (en) Mirroring program, mirroring method and information storage device
KR102414075B1 (en) Effective transaction table with page bitmap
CN100442238C (en) Method and apparatus for asynchronous replication of data
JP2004005358A (en) Back up/restoration management method between duplicated volumes and memory controller used for the method
US7069305B2 (en) Computer system and a data transfer method thereof using remote direct memory access
CN107295030B (en) Data writing method and device, data processing method, device and system
WO2019109256A1 (en) Log management method, server and database system
US8612717B2 (en) Storage system
JPH0589060A (en) Data base input output processing system
JP2002222107A (en) Data synchronizing device
CN109343928B (en) Virtual memory file redirection method and system for virtual machine in virtualization cluster
JPH0540721A (en) Computer system
JP2587417B2 (en) File backup and restoration method
US7962710B1 (en) Techniques for creating checkpoints
JP2022082006A (en) Storage device
CN114328364A (en) Data transmission method, device and equipment in full-text search engine and storage medium
WO2023110117A1 (en) Multi-writer centralized logging storage array
JPH1198448A (en) Video server system and access processing method therefor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000509