JP2002328823A - Non-covalent parallel database serve system, data writing method and matching processing method in the same system - Google Patents

Non-covalent parallel database serve system, data writing method and matching processing method in the same system

Info

Publication number
JP2002328823A
JP2002328823A JP2001132949A JP2001132949A JP2002328823A JP 2002328823 A JP2002328823 A JP 2002328823A JP 2001132949 A JP2001132949 A JP 2001132949A JP 2001132949 A JP2001132949 A JP 2001132949A JP 2002328823 A JP2002328823 A JP 2002328823A
Authority
JP
Japan
Prior art keywords
data
disk device
local disk
block driver
matching
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
JP2001132949A
Other languages
Japanese (ja)
Inventor
Nobuyuki Morimoto
展行 森本
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2001132949A priority Critical patent/JP2002328823A/en
Publication of JP2002328823A publication Critical patent/JP2002328823A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide an inexpensive non-covalent parallel database server system by using the existing device such as a personal computer as a database server. SOLUTION: In the non-covalent parallel database server system, a matching processing of local disk devices of the respective servers is possible by providing an I/O block driver 14 to perform matching processing in the database server 11 and providing an I/O block driver linking program 13 link the I/O block driver 14 with other servers. In addition, when write and read to the local disk device 15 are performed during the matching processing, a processing is performed without hindering the matching processing by link between the two programs.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークに接
続された複数のサーバにそれぞれに設けられたディスク
装置を具備する非共有型パラレルデータベースサーバシ
ステム、このシステムにおけるデータ書き込み方法及び
一致化処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a non-shared type parallel database server system having disk devices respectively provided in a plurality of servers connected to a network, a data writing method and a matching processing method in this system. .

【0002】[0002]

【従来の技術】従来のパラレルデータベースサーバシス
テムは、図1に示すように、複数のデータベースサーバ
1−1〜1−Nが共有ディスク装置3に接続されてい
る。そして、複数のパラレルデータベースサーバ1−1
〜1−Nが、同一のレコードを更新する場合に、他のサ
ーバとネットワーク2を介して、当該レコードアクセス
に対する排他制御を行なう機構をデータベースサーバが
実装することによって、それぞれのサーバが共有ディス
ク装置に格納されている同一のデータベースにアクセス
することを可能としている。
2. Description of the Related Art In a conventional parallel database server system, a plurality of database servers 1-1 to 1-N are connected to a shared disk device 3, as shown in FIG. Then, a plurality of parallel database servers 1-1
When the same server updates the same record, the database server implements a mechanism for performing exclusive control on the access to the record via another network with the other server. It is possible to access the same database stored in.

【0003】なお、ここで示しているパラレルデータベ
ースサーバとは、複数サーバから共有ディスク装置に設
けられた同一のデータベースへの更新処理を行なうため
に必要とするデータの書き込みの際の排他制御機構を有
するリレーショナルデータベースサーバのことを指す。
[0003] The parallel database server shown here is an exclusive control mechanism for writing data necessary for performing update processing from a plurality of servers to the same database provided in a shared disk device. Refers to a relational database server that has

【0004】[0004]

【発明が解決しようとする課題】しかしながら、近年の
技術進歩により、パーソナルコンピュータのハードディ
スク装置の容量が大容量になり、共有ディスク型パラレ
ルデータベースサーバによらず、非共有型パラレルデー
タベースサーバシステムを実現したいというユーザの要
求が大きくなっている。それにもかかわらず、従来のパ
ラレルデータベースサーバシステムは、ディスク共有型
のシステムしか存在していなかった。
However, due to the recent technical progress, the capacity of the hard disk device of the personal computer has become large, and it is desired to realize a non-shared type parallel database server system without using a shared disk type parallel database server. Demands of users are increasing. Nevertheless, the conventional parallel database server system only has a disk sharing type system.

【0005】また、共有型パラレルデータベースは、ロ
ーカルディスクに比して、高価であり、結果としてシス
テム全体としてかかるという問題があった。
[0005] Further, the shared parallel database is more expensive than the local disk, and as a result, there is a problem that the whole system is used.

【0006】本発明は、上記実情に鑑みてなされたもの
であり、パーソナルコンピュータなどの既存の装置をデ
ータベースサーバとして使用することによって、安価な
非共有型パラレルデータベースサーバシステム、このシ
ステムにおけるデータ書き込み方法及び一致化処理方法
を提供することを目的とする。
The present invention has been made in view of the above circumstances, and uses an existing apparatus such as a personal computer as a database server to provide an inexpensive non-shared parallel database server system and a data writing method in this system. And a matching processing method.

【0007】[0007]

【課題を解決するための手段】したがって、上記目的を
達成するために、本発明の第1の発明は、ローカルディ
スク装置をそれぞれ具備する複数のサーバがネットワー
クを介して接続された非共有型パラレルデータベースサ
ーバシステムにおいて、前記サーバは、自己のローカル
ディスク装置への制御を行なうためのI/Oブロックド
ライバと、他のサーバとのデータのやり取りを制御する
ためのI/Oブロックドライバ連携手段とを具備し、前
記I/Oブロックドライバは、書き込み要求に基づい
て、自己のローカルディスク装置にデータを書き込む第
1の書き込み手段と、前記第1の書き込み手段によって
自己のローカルディスク装置に書き込まれたデータを読
み出すためのデータを自己のI/Oブロックドライバ連
携手段に通知する通知手段とを具備し、前記I/Oブロ
ックドライバ連携手段は、前記通知手段によって通知さ
れた自己のローカルディスク装置に書き込まれたデータ
を読み出すためのデータに基づいて、自己のローカルデ
ィスク装置から前記第1の書き込み手段によって書き込
まれたデータを読み出し、この読み出されたデータを前
記ネットワークを介して他のサーバに送信する第1の送
信手段と、他のサーバの第1の送信手段から送信された
データを受信し、この受信したデータを自己のローカル
ディスク装置に書き込む第2の書き込み手段と、前記第
2の書き込み手段によって自己のローカルディスク装置
にデータの書き込みが完了した場合に、書き込み完了通
知を前記読み出されたデータを送信したサーバに送信す
る第2の送信手段と、他のサーバの前記第2の送信手段
によって送信された書き込み完了通知を受信した場合
に、書き込み要求元に書き込み完了通知を出力する出力
手段とを具備することを特徴とする非共有型パラレルデ
ータベースサーバシステム、である。
Therefore, in order to achieve the above object, a first invention of the present invention is to provide a non-shared type parallel server in which a plurality of servers each having a local disk device are connected via a network. In the database server system, the server includes an I / O block driver for controlling its own local disk device, and an I / O block driver cooperation unit for controlling data exchange with another server. The I / O block driver comprises: first writing means for writing data to its own local disk device based on a write request; and data written to its own local disk device by the first writing means. To notify its own I / O block driver cooperation means of data for reading Means for linking the I / O block driver, the I / O block driver linking means, based on the data for reading data written to the local disk device notified by the notifying means, from the local disk device A first transmitting unit for reading data written by the first writing unit and transmitting the read data to another server via the network; and a first transmitting unit of the other server. Second writing means for receiving the data and writing the received data to its own local disk device; and when the second writing means completes the writing of the data to its own local disk device, a write completion notification is sent. A second transmitting means for transmitting the read data to a server which has transmitted the data, and When receiving the write completion notification transmitted by the second transmission means is a non-shared Parallel database server system, which is characterized by comprising an output means for outputting a write completion notification to the write request source.

【0008】このような発明によれば、ローカルディス
ク装置の内容が一致化している場合において、あるデー
タベースサーバに書き込みが行なわれた場合に、その書
き込まれたデータの一致化処理を行なうことができる。
According to the invention, when the contents of the local disk devices are matched, when writing is performed to a certain database server, the written data can be matched. .

【0009】また、本発明の第2の発明は、ローカルデ
ィスク装置をそれぞれ具備する複数のサーバがネットワ
ークを介して接続された非共有型パラレルデータベース
サーバシステムにおいて、前記サーバは、自己のローカ
ルディスク装置への制御を行なうためのI/Oブロック
ドライバと、他のサーバとのデータのやり取りを制御す
るためのI/Oブロックドライバ連携手段と、ローカル
ディスク装置の内容が最も新しいか否かを示す新旧情報
を格納する格納手段とを具備し、前記I/Oブロックド
ライバ連携手段は、一致化処理要求が行なわれ、かつ前
記新旧情報が自己のローカルディスク装置の内容が他の
サーバのローカルディスク装置の内容よりも新しいこと
を示している場合に、前記I/Oブロックドライバを介
して、自己のローカルディスク装置からデータを読み出
し、この読み出したデータを前記ネットワークを介して
他のサーバに送信する第1の送信手段と、他のサーバの
第1の送信手段から送信されたデータを受信し、この受
信したデータを自己のローカルディスク装置に一致化す
るように書き込む第1の書き込み手段と、前記第1の書
き込み手段によって、自己のローカルディスク装置にデ
ータの書き込みが終了した場合に、書き込み完了通知を
前記読み出されたデータを送信したサーバに送信する第
2の送信手段とを具備することを特徴とする非共有型パ
ラレルデータベースサーバシステム。
According to a second aspect of the present invention, in a non-shared type parallel database server system in which a plurality of servers each having a local disk device are connected via a network, the server has its own local disk device. I / O block driver for controlling the I / O block, I / O block driver coordination means for controlling the exchange of data with other servers, and new and old indicating whether the contents of the local disk device are the newest. Storage means for storing information, wherein the I / O block driver coordination means makes a request for matching processing, and the new / old information stores the contents of its own local disk device in the local disk device of another server. If it indicates that the content is newer than the content, the I / O block driver sends its own row. A first transmission unit for reading the data from the disk device and transmitting the read data to another server via the network; and receiving data transmitted from the first transmission unit of the other server. First writing means for writing the received data to the local disk device so as to match the data; and a write completion notification when the first writing means completes the writing of the data to the local disk device. A non-shared parallel database server system, comprising: a second transmitting unit that transmits the read data to the server that transmitted the read data.

【0010】このような発明によれば、非共有型パラレ
ルデータベースサーバシステムにおいて、一致化処理を
行なうことができる。
[0010] According to the invention, the matching processing can be performed in the non-shared type parallel database server system.

【0011】[0011]

【発明の実施の形態】以下、図面を参照して、本発明の
実施の形態に係る非共有型パラレルデータベースサーバ
システムについて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a non-shared type parallel database server system according to an embodiment of the present invention will be described with reference to the drawings.

【0012】<第1の実施の形態>図2は、本発明の第
1の実施の形態に係る非共有型パラレルデータベースサ
ーバシステムを示す図である。
<First Embodiment> FIG. 2 is a diagram showing a non-shared type parallel database server system according to a first embodiment of the present invention.

【0013】本実施の形態においては、2台系の場合に
おいて、それぞれのデータベースサーバが実装するロー
カルディスク装置内のデータベースが一致している場合
(一致化処理が行なわれている場合)において、データ
ベースサーバ11−1のデータベースアプリケーション
プログラム12−1がローカルディスク15−1に対し
て書き込みを行う場合について説明する。
In the present embodiment, in the case of two systems, when the databases in the local disk devices mounted on the respective database servers match (when matching processing is performed), the database The case where the database application program 12-1 of the server 11-1 writes to the local disk 15-1 will be described.

【0014】同図に示すように、本実施の形態の非共有
型パラレルデータベースサーバシステムは、ネットワー
クにデータベースサーバ11−1、11−2が接続され
ている。各データベースサーバ11−1,11−2は、
データベースサーバアプリケーションプログラム12
(12−1,12−2)、I/Oブロックドライバ連携
プログラム13(13−1,13−2)、I/Oブロッ
クドライバ14(14−1,14−2)及びローカルデ
ィスク装置15(15−1,15−2)をそれぞれ具備
している。
As shown in FIG. 1, in the non-shared type parallel database server system of the present embodiment, database servers 11-1 and 11-2 are connected to a network. Each database server 11-1 and 11-2,
Database server application program 12
(12-1, 12-2), I / O block driver cooperation program 13 (13-1, 13-2), I / O block driver 14 (14-1, 14-2), and local disk device 15 (15 -1, 15-2).

【0015】データベースサーバアプリケーションプロ
グラム12は、データベースサーバ全体の制御を司るプ
ログラムであって、ローカルディスク装置15に対する
書き込み要求、読み出し要求を出力する。
The database server application program 12 is a program for controlling the entire database server, and outputs a write request and a read request to the local disk device 15.

【0016】I/Oブロックドライバ連携プログラム1
3は、他のサーバ及び自己のI/Oブロックドライバ1
4との間のデータの連携を行なうものである。
I / O block driver cooperation program 1
3 is another server and its own I / O block driver 1
4 cooperates with the data.

【0017】I/Oブロックドライバ14は、ローカル
ディスク装置15に対する読み出し、書き込み制御など
を行なう。
The I / O block driver 14 performs read / write control on the local disk device 15 and the like.

【0018】図3は、データベースサーバアプリケーシ
ョンプログラム12、I/Oブロックドライバ連携プロ
グラム13およびI/Oブロックドライバ14の関係を
示す図である。
FIG. 3 is a diagram showing the relationship between the database server application program 12, the I / O block driver cooperation program 13, and the I / O block driver 14.

【0019】同図に示すように、ディスクドライバ19
は、I/Oブロックドライバ14のの他に、Raw−フ
ァイルシステム19a、ディスククラスドライバ19
b、SCSIポートドライバ19c、HBAミニポード
ドライバ19dを有する。
As shown in FIG.
Are the I / O block driver 14, the raw file system 19a, the disk class driver 19
b, a SCSI port driver 19c and an HBA mini-port driver 19d.

【0020】HBAミニポートドライバ19dは、サー
バに接続されるHBA(ホストバスアダプタ:一般的な
名称)を制御するためのドライバを意味する。
The HBA miniport driver 19d refers to a driver for controlling an HBA (host bus adapter: common name) connected to the server.

【0021】SCSIポートドライバ19cは、複数あ
るどのようなHBAでも動作させ、SCSIを制御する
ための複雑な操作を受け持つために設けられたドライバ
である。
The SCSI port driver 19c is a driver provided to operate any of a plurality of HBAs and to perform complicated operations for controlling SCSI.

【0022】ディスククラスドライバ19bは、下層に
ある異なるHBAとデバイス(ディスク、CD−RO
M、テープなど)を分け上層に対して、同一のインター
フェースを提供するためにある、構造化されて提供され
ているドライバである。
The disk class driver 19b has different HBAs and devices (disks, CD-ROs) underneath.
M, tape, etc.) to provide the same interface to the upper layer.

【0023】I/Oブロックドライバ(フィルタドライ
バ)14は、SCSIクラスドライバの上層、RAW−
ファイルシステムドライバの下層に位置し、以下に本文
で説明する機能を有する。
The I / O block driver (filter driver) 14 is an upper layer of the SCSI class driver,
It is located below the file system driver and has the functions described in the text below.

【0024】Raw−ファイルシステムドライバ19a
は、ディスクを通常使用するためには、パーティション
を作成する。この状態で、パーティションを管理するド
ライバをRaw−ファイルシステムドライバと呼ぶ。通
常は、パーティションを作成し、任意のフォーマットを
行う。その後、フォーマットされた、ファイルシステム
の形式により、ファイルシステムドライバが、パーティ
ションを管理する。ディスクは、フォーマットされたパ
ーティションとして、ファイルシステムドライバにより
ディレクトリやファイルのように、構造化された情報と
して管理することが可能となる。
Raw-file system driver 19a
Create a partition for normal use of the disk. In this state, the driver that manages the partition is called a Raw-file system driver. Usually, you create a partition and do any formatting. Thereafter, the file system driver manages the partitions according to the formatted file system format. The disk can be managed as structured information, such as directories and files, by a file system driver as a formatted partition.

【0025】データベースサーバアプリケーションプロ
グラム12によるI/Oは、図3に示すように、Raw
−ファイルシステム19a、I/Oブロックドライバ
(フィルタドライバ)14、ディスククラスドライバ1
9b、SCSIポートドライバ19c、HBAミニポー
ドドライバ19dを通りディスク15に対してI/O要
求が発行される。発行された要求は、HBAミニポード
ドライバ19d、SCSIポートドライバ19c、ディ
スククラスドライバ19b、I/Oブロックドライバ
(フィルタドライバ)14、Raw−ファイルシステム
ドライバ19aを通り、データベースサーバおよびアプ
リケーションプログラムへI/Oの要求完了が通知され
る。
I / O by the database server application program 12 is, as shown in FIG.
-File system 19a, I / O block driver (filter driver) 14, disk class driver 1
9b, an I / O request is issued to the disk 15 through the SCSI port driver 19c and the HBA mini-port driver 19d. The issued request passes through the HBA mini-port driver 19d, the SCSI port driver 19c, the disk class driver 19b, the I / O block driver (filter driver) 14, and the Raw-file system driver 19a, and sends the I / O to the database server and the application program. O request completion is notified.

【0026】同図に示すように、データベースサーバア
プリケーションプログラム12及びI/Oブロックドラ
イバ連携プログラム13は、I/Oブロックドライバ1
4を介してローカルディスク装置15にアクセスする。
As shown in FIG. 1, the database server application program 12 and the I / O block driver cooperation program 13
4 to access the local disk device 15.

【0027】I/Oブロックドライバ14は、ディスク
ドライバ15内に設けられて、データベースサーバアプ
リケーションプログラム12及びI/Oブロックドライ
バ連携プログラム13からのアクセスに対するフィルタ
ドライバとしての役割を有する。
The I / O block driver 14 is provided in the disk driver 15 and has a role as a filter driver for access from the database server application program 12 and the I / O block driver cooperation program 13.

【0028】次に、本発明の第1の実施の形態に係る非
共有型パラレルデータベースサーバシステムにおいて、
データベースサーバ11−1のデータベースアプリケー
ションプログラム12−1がローカルディスク15−1
に対して書き込みを行う場合について、図4及び図5の
フローチャートを参照して説明する。
Next, in the non-shared type parallel database server system according to the first embodiment of the present invention,
The database application program 12-1 of the database server 11-1 stores the local disk 15-1.
Will be described with reference to the flowcharts of FIGS. 4 and 5.

【0029】データベースサーバ11−1のデータベー
スサーバアプリケーションプログラム12−1から書き
込み対象となるデータ、データサイズ、オフセット、パ
ーティション情報を含む書き込み要求があると(S
1)、この書き込み要求に含まれるデータは、I/Oブ
ロックドライバ14−1を通り、ローカルディスク装置
15−1へ書き込まれる(S2)。
When there is a write request including data to be written, data size, offset, and partition information from the database server application program 12-1 of the database server 11-1 (S
1) The data included in the write request passes through the I / O block driver 14-1 and is written to the local disk device 15-1 (S2).

【0030】ローカルディスク装置15−1へのデータ
の書き込みが行なわれると、書き込み完了通知がローカ
ルディスク装置15−1からI/Oブロックドライバ1
4−1へ通知される。I/Oブロックドライバ14−1
は、書き込み完了通知を受信すると、この受信した書き
込み完了通知を待たせておき(S3)、書き込まれたデ
ータのサイズ、オフセット、パーティション情報をI/
Oブロックドライバ連携プログラム13−1に通知する
(S4)。
When data is written to the local disk device 15-1, a write completion notification is sent from the local disk device 15-1 to the I / O block driver 1.
4-1 is notified. I / O block driver 14-1
When the write completion notification is received, the received write completion notification is made to wait (S3), and the size, offset, and partition information of the written data are stored in the I / O.
The O-block driver cooperation program 13-1 is notified (S4).

【0031】I/Oブロックドライバ連携プログラム1
3−1は、通知を受けた、サイズ、オフセット、パーテ
ィション情報を元に、当該パーティションから書き込ま
れたータを読み出す(S5)。
I / O block driver cooperation program 1
3-1 reads out the data written from the partition based on the notified size, offset, and partition information (S5).

【0032】I/Oブロックドライバ連携プログラム1
3−1は、読み出されたデータを、データのサイズ、オ
フセット、パーティション情報とともに、ネットワーク
16を介して、I/Oブロックドライバ連携プログラム
13−2に転送する(S6)。
I / O block driver cooperation program 1
3-1 transfers the read data together with the data size, offset, and partition information to the I / O block driver cooperation program 13-2 via the network 16 (S6).

【0033】データベースサーバ11−2のI/Oブロ
ックドライバ連携プログラム13−2は、転送されたデ
ータをデータサイズオフセット、パーティション情報を
元にして、ローカルディスク装置15−2へ一致化する
ように書き込む(S7)。
The I / O block driver cooperation program 13-2 of the database server 11-2 writes the transferred data to the local disk device 15-2 based on the data size offset and the partition information so as to match. (S7).

【0034】データの書き込みが終了し、I/Oブロッ
クドライバ連携プログラム13−2が、ローカルディス
ク装置15−2からの書き込み完了通知をI/Oブロッ
クドライバ14−2を介して受信すると、I/Oブロッ
クドライバ連携プログラム13−2は、受信した書き込
み完了通知をネットワーク16を介してI/Oブロック
ドライバ連携プログラム13−1に送信する(S8)。
When the data writing is completed and the I / O block driver cooperation program 13-2 receives a write completion notification from the local disk device 15-2 via the I / O block driver 14-2, the I / O block driver 14-2 The O-block driver cooperation program 13-2 transmits the received write completion notification to the I / O block driver cooperation program 13-1 via the network 16 (S8).

【0035】I/Oブロックドライバ連携プログラム1
3−1は、送信された書き込み完了通知を受信し、I/
Oブロックドライバ14−1に書き込み完了通知を受信
した旨を通知する。I/Oブロックドライバ14−1
は、I/Oブロックドライバ連携プログラム13−1か
らの通知を受信すると、待機させている書き込み完了通
知をデータベースサーバアプリケーションプログラム1
2−1に通知する(S9)。これにより、一致化処理が
行なわれている非共有型パラレルデータベースサーバシ
ステムにおける書き込み処理が終了する。
I / O block driver cooperation program 1
3-1 receives the transmitted write completion notification,
The O-block driver 14-1 is notified that the write completion notification has been received. I / O block driver 14-1
When receiving the notification from the I / O block driver cooperation program 13-1, the database server application program 1
2-1 is notified (S9). As a result, the writing process in the non-shared type parallel database server system in which the matching process is performed ends.

【0036】なお、本実施の形態においては、データベ
ースサーバアプリケーションプログラム12−1から書
き込み要求が発生した場合を想定したが、データベース
サーバアプリケーションプログラム12−2から書き込
み要求が発生した場合にも同様の処理が行なわれる。
In this embodiment, it is assumed that a write request is issued from the database server application program 12-1, but the same processing is performed when a write request is issued from the database server application program 12-2. Is performed.

【0037】したがって、本実施の形態の非共有型パラ
レルデータベースサーバシステムによれば、それぞれの
データベースサーバにI/Oブロックドライバ連携プロ
グラム13及びI/Oブロックドライバ14を設けるこ
とにより、書き込み要求があった場合に、ローカルディ
スク装置15の一致化処理を行なうことができる。
Therefore, according to the non-shared type parallel database server system of the present embodiment, by providing the I / O block driver cooperation program 13 and the I / O block driver 14 in each database server, there is no write request. In this case, the matching process of the local disk device 15 can be performed.

【0038】<第2の実施の形態>第1の実施の形態に
おいては、一致化処理がすでに行なわれている場合にお
いて、データの書き込みを行なう場合について説明し
た。本実施の形態においては、非共有型パラレルデータ
ベースサーバシステムにおける一致化処理及び一致化処
理中における書き込み及び読み込み処理について説明す
る。
<Second Embodiment> In the first embodiment, a case has been described in which data writing is performed when matching processing has already been performed. In the present embodiment, a description will be given of matching processing in a non-shared type parallel database server system and writing and reading processing during matching processing.

【0039】<一致化処理>まず、最初に一致化処理に
ついて説明する。
<Matching Process> First, the matching process will be described.

【0040】この一致化処理は、データベースサーバ1
1−1のローカルディスク装置15−1の内容と、デー
タベースサーバ11−2のローカルディスク装置15−
2の内容とが異なる場合に行なう必要がある。
This matching process is performed by the database server 1
1-1 and the contents of the local disk device 15-1 of the database server 11-2.
This needs to be performed when the content of item 2 is different.

【0041】図5は、本発明の第2の実施の形態に係る
非共有型パラレルデータベースサーバシステムを示す図
である。なお、図2と同一部分には、同一符号を付し、
その説明を省略する。
FIG. 5 is a diagram showing a non-shared type parallel database server system according to the second embodiment of the present invention. Note that the same parts as those in FIG.
The description is omitted.

【0042】同図に示すように、本実施の形態の非共有
型パラレルデータベースサーバシステムは、図2に示し
た構成に加えて、前回情報記憶部15−1a、15−1
b及びメモリ17−1,17−2が追加されている。
As shown in the figure, the non-shared type parallel database server system of the present embodiment has the configuration shown in FIG. 2 and the previous information storage units 15-1a and 15-1.
b and memories 17-1 and 17-2 are added.

【0043】メモリ17−1,17−2には、一致化完
了オフセット情報17−1a、17−1b、新旧情報1
7−1b、17−2bが格納されている。
The memories 17-1 and 17-2 store the coincidence completion offset information 17-1a and 17-1b and the new / old information 1
7-1b and 17-2b are stored.

【0044】前回情報記憶部15−1a,15−1bに
は、I/Oブロックドライバ連携プログラム13−1、
13−2が起動される前のそれぞれ自己のデータベース
サーバ11−1,11−2のローカルディスク装置の内
容が最も新しいか否かを示す新旧情報が格納される。
The previous information storage units 15-1a and 15-1b store the I / O block driver cooperation program 13-1,
The new / old information indicating whether or not the contents of the local disk devices of the respective database servers 11-1 and 11-2 before the activation of 13-2 is the latest is stored.

【0045】一致化完了オフセット情報17−1a、1
7−1bは、一致化処理が完了したローカルディスク装
置15−1、15−2の箇所を示す情報である。
Matching completion offset information 17-1a, 1
7-1b is information indicating the locations of the local disk devices 15-1 and 15-2 for which the matching processing has been completed.

【0046】新旧情報は、自己のローカルディスク装置
の内容が他のローカルディスク装置の内容に比して最も
新しいか否かを示す情報である。メモリ17−1、17
−2に格納される新旧情報17−1b,17−2bは、
I/Oブロックドライバ連携プログラム13−1、13
−2が起動されるときに、前回情報記憶部15−1a,
15−1bからそれぞれ読み出されてセットされる。ま
た、システムのシャットダウン時に、メモリ17−1,
17−2に格納されている新旧情報は、自己のローカル
ディスク装置の前回情報記憶部に保存される。
The new / old information is information indicating whether or not the contents of its own local disk device are the newest compared to the contents of other local disk devices. Memory 17-1, 17
-2 stored in old and new information 17-1b and 17-2b,
I / O block driver cooperation programs 13-1, 13
-2 is activated, the previous information storage unit 15-1a,
15-1b are read and set. Also, when the system is shut down, the memories 17-1,
The new / old information stored in 17-2 is stored in the previous information storage unit of its own local disk device.

【0047】次に、本実施の形態に係る非共有型パラレ
ルデータベースサーバシステムにおける一致化処理につ
いて、図6及び図7のフローチャートを参照して説明す
る。
Next, the matching process in the non-shared type parallel database server system according to the present embodiment will be described with reference to the flowcharts of FIGS.

【0048】ここでは、前提として、ローカルディスク
装置15−1の内容が新しく、ローカルディスク装置1
5−2の内容が古いものとする。すなわち、I/Oブロ
ックドライバ連携プログラム13−1の起動時にメモリ
17−1にセットされる新旧情報がデータベースサーバ
11−1のローカルディスク装置15−1の内容が最も
新しいことを示しており、I/Oブロックドライバ連携
プログラム13−2の起動時にメモリ17−2にセット
される新旧情報がデータベースサーバ11−2のローカ
ルディスク装置15−2の内容が最も新しいものではな
いことを示している。
Here, it is assumed that the contents of the local disk device 15-1 are new and the local disk device 1
It is assumed that the contents of 5-2 are old. That is, the new / old information set in the memory 17-1 when the I / O block driver cooperation program 13-1 is activated indicates that the contents of the local disk device 15-1 of the database server 11-1 are the latest. The new / old information set in the memory 17-2 when the / O block driver cooperation program 13-2 is activated indicates that the contents of the local disk device 15-2 of the database server 11-2 are not the latest.

【0049】まず、一致化処理の要求が行なわれると
(S11)、新しい情報を有するデータベースサーバ1
1−1のI/Oブロックドライバ連携プログラム13−
1は、I/Oブロックドライバ14−1を介して、ロー
カルディスク装置15−1から任意長のデータの読み出
しを行なう(S12)。
First, when a request for matching processing is made (S11), the database server 1 having new information
1-1 I / O block driver cooperation program 13-
1 reads data of an arbitrary length from the local disk device 15-1 via the I / O block driver 14-1 (S12).

【0050】I/Oブロックドライバ14−1は、ロー
カルディスク装置15−1からのデータの読み出し毎
に、一致化完了オフセット情報17−1aを更新する
(S13)。I/Oブロックドライバ連携プログラム1
3−1は、上記読み出したデータを、データのサイズ、
オフセット、パーティション情報などの読み出したデー
タを一致化処理するのに必要な情報とともに、ネットワ
ーク16を介して、I/Oブロックドライバ連携プログ
ラム13−2に送信する(S14)。
The I / O block driver 14-1 updates the matching completion offset information 17-1a every time data is read from the local disk device 15-1 (S13). I / O block driver cooperation program 1
3-1 represents the read data as a data size,
The read data, such as the offset and the partition information, is transmitted to the I / O block driver cooperation program 13-2 via the network 16 together with information necessary for performing the matching process (S14).

【0051】I/Oブロックドライバ連携プログラム1
3−2は、I/Oブロックドライバ連携プログラム13
−1からデータ及び一致化処理に必要な情報を受信する
と、一致化処理に必要な情報に基づいて、I/Oブロッ
クドライバ14−2を介して、受信したデータを一致化
するように書き込みを行なう(S15)。
I / O block driver cooperation program 1
3-2 is an I / O block driver cooperation program 13
When the data and the information necessary for the matching processing are received from -1 based on the information necessary for the matching processing, writing is performed via the I / O block driver 14-2 so as to match the received data. Perform (S15).

【0052】I/Oブロックドライバ連携プログラム1
3−2は、書き込みが完了した後は、I/Oブロックド
ライバ14−2に書き込み完了を通知する。I/Oブロ
ックドライバ14−2は、I/Oブロックドライバ連携
プログラム13−2から書き込み完了通知を受信する
と、一致化完了オフセット情報17−2aを書き込み後
の一致化終了箇所を示すように更新する(S16)。
I / O block driver cooperation program 1
3-2 notifies the I / O block driver 14-2 of the completion of the writing after the writing is completed. Upon receiving the write completion notification from the I / O block driver cooperation program 13-2, the I / O block driver 14-2 updates the matching completion offset information 17-2a to indicate the matching end position after writing. (S16).

【0053】一方、I/Oブロックドライバ連携プログ
ラム13−2は、書き込み完了通知をI/Oブロックド
ライバ14−2に通知した後、書き込み完了をI/Oブ
ロックドライバ連携プログラム13−1に通知する(S
17)。
On the other hand, the I / O block driver cooperation program 13-2 notifies the I / O block driver 14-2 of the write completion notification, and then notifies the I / O block driver cooperation program 13-1 of the write completion. (S
17).

【0054】I/Oブロックドライバ連携プログラム1
3−1は、書き込み完了通知を受信すると、S12の処
理に戻り、I/Oブロックドライバ連携プログラム13
−2に対して、データ、データのサイズ、オフセット、
パーティション情報の転送を繰り返す。これにより、非
共有型パラレルデータベースサーバの一致化処理が行な
われる。
I / O block driver cooperation program 1
3-1 receives the write completion notification, returns to the processing of S12, and executes the I / O block driver cooperation program 13
-2, data, data size, offset,
Repeat the transfer of partition information. As a result, the matching process of the non-shared type parallel database server is performed.

【0055】<一致化処理中において、新しいデータを
持つサーバへの書き込み、書き込み領域は一致化オフセ
ット情報の領域内>次に、一致化処理中に、新しいデー
タを持つサーバへの書き込みを行なう場合について説明
する。なお、ここでは、書き込み領域は、一致化完了オ
フセット情報の領域内の場合を想定する。
<Writing to server with new data during matching processing, write area is within area of matching offset information> Next, writing to server with new data during matching processing Will be described. Here, it is assumed that the write area is within the area of the matching completion offset information.

【0056】図8に示すように、一致化処理中の新しい
データを持つデータベースサーバ11−1のローカルデ
ィスク装置15−1への書き込みは、データベースサー
バアプリケーションプログラム12−1からの書き込み
要求をI/Oブロックドライバ14−1が受け取る
(a)。
As shown in FIG. 8, when writing to the local disk device 15-1 of the database server 11-1 having new data under the matching process, a write request from the database server application program 12-1 is sent to the I / O. The O-block driver 14-1 receives (a).

【0057】I/Oブロックドライバ14−1は、書き
込み要求を受け取ると、メモリ17−1の新旧情報17
−1bを調べ、新旧情報17−1bが自己のローカルデ
ィスク装置の内容が他のローカルディスク装置の内容よ
りも新しいことを示している場合に、書き込み要求に含
まれる書き込みの対象となるデータのオフセット+デー
タサイズを一致化完了オフセット情報17−1aと比較
する。
When the I / O block driver 14-1 receives the write request, the new / old information 17 in the memory 17-1
If the new / old information 17-1b indicates that the contents of the local disk device are newer than the contents of the other local disk devices, the offset of the write target data included in the write request is determined. + Compares the data size with the matching completion offset information 17-1a.

【0058】そして、書き込みの対象となるデータのオ
フセット+データサイズが一致化完了オフセット情報1
7−1aの領域内である場合、書き込み対象となるデー
タをローカルディスク装置15−1へ書き込む(b)。
Then, the offset of the data to be written + the data size is equalized completion offset information 1
If it is within the area 7-1a, the data to be written is written to the local disk device 15-1 (b).

【0059】I/Oブロックドライバ14−1によるデ
ータの書き込みが終了すると、ローカルディスク装置1
5−1からの書き込み完了通知をI/Oブロックドライ
バ14−1が受信する(c)。
When the data writing by the I / O block driver 14-1 is completed, the local disk device 1
The I / O block driver 14-1 receives the write completion notification from 5-1 (c).

【0060】I/Oブロックドライバ14−1は、書き
込み完了通知を受信すると、この書き込み完了通知を待
たせ、I/Oブロックドライバ連携プログラム13−1
に対して書き込んだデータを読み出すために必要な情
報、すなわち、データのサイズ、オフセット、パーティ
ション情報などを通知する(d)。
Upon receiving the write completion notification, the I / O block driver 14-1 causes the I / O block driver cooperation program 13-1 to wait for the write completion notification.
Then, information necessary for reading the written data, that is, data size, offset, partition information, etc., is notified (d).

【0061】通知を受けたI/Oブロックドライバ連携
プログラム13−1は、書き込んだデータを読み出すた
めに必要な情報に基づいて、ローカルディスク装置15
−1から書き込まれたデータを読み出し、この読み出し
たデータをI/Oブロックドライバ連携プログラム13
−2にネットワークを介して転送する(e)。
The I / O block driver cooperation program 13-1 having received the notification sends the local disk device 15 based on the information necessary for reading the written data.
-1 is read, and the read data is read by the I / O block driver cooperation program 13.
-2 via the network (e).

【0062】I/Oブロックドライバ連携プログラム1
3−2は、転送されたデータをI/Oブロックドライバ
14−2を介して(f)、ローカルディスク装置15−
2に書き込む(g)。
I / O block driver cooperation program 1
3-2 (f) transfers the transferred data via the I / O block driver 14-2 to the local disk device 15-.
2 (g).

【0063】書き込みが完了すると、ローカルディスク
装置15−2からの書き込み完了通知をI/Oブロック
ドライバ14−2が受信し(h)、この受信した書き込
み完了通知をI/Oブロックドライバ連携プログラム1
3−2に通知する(i)。
When the writing is completed, the I / O block driver 14-2 receives the write completion notification from the local disk device 15-2 (h), and receives the received write completion notification from the I / O block driver cooperation program 1.
Notify 3-2 (i).

【0064】I/Oブロックドライバ連携プログラム1
3−2は、書き込み完了通知を受信すると、I/Oブロ
ックドライバ連携プログラム13−1へ書き込み完了を
通知する(j)。
I / O block driver cooperation program 1
3-2, upon receiving the write completion notification, notifies the I / O block driver cooperation program 13-1 of the write completion (j).

【0065】I/Oブロックドライバ連携プログラム1
3−1は、書き込み完了通知を受信すると、I/Oブロ
ックドライバ14−1に書き込みの完了を通知し
(k)、I/Oブロックドライバ14−1は、I/Oブ
ロックドライバ連携プログラム13−1から書き込みが
通知されると、待たせていたローカルディスク装置15
−1からの書き込み完了通知をデー<一致化処理中にお
いて、新しいデータを持つサーバへの書き込み、書き込
み領域は一致化オフセット情報の領域外>次に、一致化
理中に、新しいデータを持つサーバへの書き込みを行な
う場合について説明する。なお、ここでは、書き込み領
域は、一致化完了オフセット情報の領域外の場合を想定
する。
I / O block driver cooperation program 1
Upon receiving the write completion notification, the 3-1 notifies the I / O block driver 14-1 of the write completion (k), and the I / O block driver 14-1 executes the I / O block driver cooperation program 13- When the write is notified from the local disk device 15, the local disk device 15
-1 is written to the server having new data during the matching process, and the write area is outside the area of the matching offset information> Next, the server having the new data during the matching process The case where data is written to the memory will be described. Here, it is assumed that the writing area is outside the area of the matching completion offset information.

【0066】図9に示すように、一致化処理中の新しい
データを持つデータベースサーバ11−1のローカルデ
ィスク装置15−1への書き込みは、データベースサー
バアプリケーションプログラム12−1からの書き込み
要求をI/Oブロックドライバ14−1が受け取る(a
1)。
As shown in FIG. 9, when writing to the local disk device 15-1 of the database server 11-1 having the new data under the matching process, a write request from the database server application program 12-1 is sent to the I / O. O block driver 14-1 receives (a
1).

【0067】I/Oブロックドライバ14−1は、書き
込み要求を受け取ると、メモリ17−1の新旧情報17
−1bを調べ、新旧情報17−1bが自己のローカルデ
ィスク装置の内容が他のローカルディスク装置の内容よ
りも新しいことを示している場合に、書き込み要求に含
まれる書き込みの対象となるデータのオフセット+デー
タサイズを一致化完了オフセット情報17−1aと比較
する。
When the I / O block driver 14-1 receives the write request, the I / O block driver 14-1 stores the old and new information 17 in the memory 17-1.
If the new / old information 17-1b indicates that the contents of the local disk device are newer than the contents of the other local disk devices, the offset of the write target data included in the write request is determined. + Compares the data size with the matching completion offset information 17-1a.

【0068】そして、書き込みの対象となるデータのオ
フセット+データサイズが一致化完了オフセット情報1
7−1aの領域外である場合、書き込み対象となるデー
タをローカルディスク装置15−1へ書き込む(b
1)。
Then, the offset of the data to be written + the data size is equalized completion offset information 1
If the data is outside the area 7-1a, the data to be written is written to the local disk device 15-1 (b
1).

【0069】I/Oブロックドライバ14−1によるデ
ータの書き込みが終了すると、ローカルディスク装置1
5−1からの書き込み完了通知をI/Oブロックドライ
バ14−1が受信する(c1)。
When the data writing by the I / O block driver 14-1 is completed, the local disk device 1
The I / O block driver 14-1 receives the write completion notification from 5-1 (c1).

【0070】I/Oブロックドライバ14−1は、ロー
カルディスク装置15−1から書き込み完了通知を受信
するすると、その受信した書き込み完了通知をデータベ
ースサーバアプリケーションプログラム12−1に戻す
(d1)。
Upon receiving the write completion notification from the local disk device 15-1, the I / O block driver 14-1 returns the received write completion notification to the database server application program 12-1 (d1).

【0071】<一致化処理中において、新しいデータを
持つサーバからの読み込み>次に、一致化処理中に、新
しいデータを持つサーバからデータの読み込みを行なう
場合について説明する。
<Reading from Server Having New Data During Matching Processing> Next, a case where data is read from a server having new data during matching processing will be described.

【0072】図10に示すように、一致化処理中の新し
いデータを持つデータベースサーバ11−1のローカル
ディスク装置15−1からの読み込みは、データベース
サーバアプリケーションプログラム12−1からの読み
出し要求をI/Oブロックドライバ14−1が受信する
(a2)。
As shown in FIG. 10, when reading from the local disk device 15-1 of the database server 11-1 having new data under the matching process, a read request from the database server application program 12-1 is sent to the I / O. The O-block driver 14-1 receives (a2).

【0073】I/Oブロックドライバ14−1は、メモ
リ17−1の新旧情報17−1bを調べ、新旧情報17
−1bが自己のローカルディスク装置の内容が他のロー
カルディスク装置の内容よりも新しいことを示している
場合に、ローカルディスク装置15−1へ読み出し要求
を出力する(b2)。
The I / O block driver 14-1 checks the new / old information 17-1b in the memory 17-1 and checks the new / old information 17-1b.
If -1b indicates that the contents of the local disk device are newer than the contents of the other local disk devices, a read request is output to the local disk device 15-1 (b2).

【0074】I/Oブロックドライバ14−1は、ロー
カルディスク装置15−1から読み出しの対象となるデ
ータを含む読み出し要求完了通知を受信すると(c
2)、受信した読み出し要求完了通知をデータベースサ
ーバアプリケーションプログラム12−1へ出力する
(d2)。
When the I / O block driver 14-1 receives the read request completion notification including the data to be read from the local disk device 15-1, (c)
2) Output the received read request completion notification to the database server application program 12-1 (d2).

【0075】<一致化処理中において、古いデータを持
つサーバへの書き込み、書き込み領域は一致化オフセッ
ト情報の領域内>次に、一致化処理中に、古いデータを
持つサーバへの書き込みを行なう場合について説明す
る。なお、ここでは、書き込み領域は、一致化完了オフ
セット情報の領域内の場合を想定する。
<Writing to server with old data during matching processing, write area is within area of matching offset information> Next, writing to server with old data during matching processing Will be described. Here, it is assumed that the write area is within the area of the matching completion offset information.

【0076】図11に示すように、一致化処理中の古い
データを持つデータベースサーバ11−2のローカルデ
ィスク装置15−2への書き込みは、データベースサー
バアプリケーションプログラム12−2からの書き込み
要求をI/Oブロックドライバ14−2が受け取る(a
3)。
As shown in FIG. 11, when writing to the local disk device 15-2 of the database server 11-2 having old data undergoing the matching process, a write request from the database server application program 12-2 is sent to the I / O. O block driver 14-2 receives (a
3).

【0077】I/Oブロックドライバ14−2は、書き
込み要求を受け取ると、メモリ17−2の新旧情報17
−2bを調べ、新旧情報17−2bが自己のローカルデ
ィスク装置の内容が他のローカルディスク装置の内容よ
りも新しいことを示していない場合に、書き込み要求に
含まれる書き込みの対象となるデータのオフセット+デ
ータサイズを一致化完了オフセット情報17−2aと比
較する。
When the I / O block driver 14-2 receives the write request, the I / O block driver 14-2 stores the new / old information 17 in the memory 17-2.
If the new / old information 17-2b does not indicate that the content of the local disk device is newer than the content of the other local disk device, the offset of the data to be written included in the write request + Compares the data size with the matching completion offset information 17-2a.

【0078】そして、書き込みの対象となるデータのオ
フセット+データサイズが一致化完了オフセット情報1
7−2aの領域内である場合、書き込み対象となるデー
タをローカルディスク装置15−2へ書き込む(b
3)。
Then, the offset of the data to be written + the data size is equalized completion offset information 1
If it is within the area of 7-2a, the data to be written is written to the local disk device 15-2 (b
3).

【0079】I/Oブロックドライバ14−2によるデ
ータの書き込みが終了すると、ローカルディスク装置1
5−2からの書き込み完了通知をI/Oブロックドライ
バ14−2が受信する(c3)。
When the data writing by the I / O block driver 14-2 is completed, the local disk device 1
The I / O block driver 14-2 receives the write completion notification from 5-2 (c3).

【0080】I/Oブロックドライバ14−2は、書き
込み完了通知を受信すると、この書き込み完了通知を待
たせ、I/Oブロックドライバ連携プログラム13−2
に対して書き込んだデータを読み出すために必要な情
報、すなわち、データのサイズ、オフセット、パーティ
ション情報などを通知する(d3)。
When the I / O block driver 14-2 receives the write completion notification, the I / O block driver cooperation program 13-2 waits for the write completion notification.
Then, information necessary for reading the written data, that is, data size, offset, partition information, etc., is notified (d3).

【0081】通知を受けたI/Oブロックドライバ連携
プログラム13−2は、書き込んだデータを読み出すた
めに必要な情報に基づいて、ローカルディスク装置15
−2から書き込まれたデータを読み出し、この読み出し
たデータをI/Oブロックドライバ連携プログラム13
−1にネットワークを介して転送する(e3)。
The I / O block driver cooperation program 13-2, having received the notification, executes the local disk device 15 based on the information necessary for reading the written data.
-2, and reads the written data from the I / O block driver cooperation program 13
-1 via the network (e3).

【0082】I/Oブロックドライバ連携プログラム1
3−1は、転送されたデータをI/Oブロックドライバ
14−1を介して(f3)、ローカルディスク装置15
−2に書き込む(g3)。
I / O block driver cooperation program 1
3-1 transfers the transferred data to the local disk device 15 via the I / O block driver 14-1 (f3).
-2 (g3).

【0083】書き込みが完了すると、ローカルディスク
装置15−1からの書き込み完了通知をI/Oブロック
ドライバ14−1が受信し(h3)、この受信した書き
込み完了通知をI/Oブロックドライバ連携プログラム
13−1に通知する(i3)。
When the writing is completed, the I / O block driver 14-1 receives a write completion notification from the local disk device 15-1 (h3), and receives the received write completion notification from the I / O block driver cooperation program 13. -1 is notified (i3).

【0084】I/Oブロックドライバ連携プログラム1
3−1は、書き込み完了通知を受信すると、I/Oブロ
ックドライバ連携プログラム13−1へ書き込み完了を
通知する(j3)。
I / O block driver cooperation program 1
3-1 receives the write completion notification, and notifies the I / O block driver cooperation program 13-1 of the write completion (j3).

【0085】I/Oブロックドライバ連携プログラム1
3−2は、書き込み完了通知を受信すると、I/Oブロ
ックドライバ14−2に書き込みの完了を通知し(k
3)、I/Oブロックドライバ14−2は、I/Oブロ
ックドライバ連携プログラム13−2から書き込みが通
知されると、待たせていたローカルディスク装置15−
2からの書き込み完了通知をデータベースサーバアプリ
ケーションプログラム12−2に通知する(l3)。
I / O block driver cooperation program 1
3-2, upon receiving the write completion notification, notifies the I / O block driver 14-2 of the write completion (k
3) When the I / O block driver 14-2 is notified of writing from the I / O block driver cooperation program 13-2, the I / O block driver 14-2 waits for the local disk device 15-
2 is notified to the database server application program 12-2 (13).

【0086】<一致化処理中において、古いデータを持
つサーバへの書き込み、書き込み領域は一致化オフセッ
ト情報の領域外、リモートのサーバにおいても一致化完
了オフセット情報の領域外>次に、一致化処理中に、古
いデータを持つサーバへの書き込みを行なう場合につい
て説明する。なお、ここでは、書き込み領域は、一致化
完了オフセット情報の領域外であって、かつリモートの
サーバにおいても領域外である場合を想定する。
<While the matching processing is being performed, the writing / writing area to the server having the old data is outside the area of the matching offset information, and even the remote server is outside the area of the matching completion offset information> In the following, a case where writing to a server having old data is performed will be described. Here, it is assumed that the writing area is outside the area of the matching completion offset information and is also outside the area in the remote server.

【0087】図12に示すように、一致化処理中の古い
データを持つデータベースサーバ11−2のローカルデ
ィスク装置15−2への書き込みは、データベースサー
バアプリケーションプログラム12−2からの書き込み
要求をI/Oブロックドライバ14−2が受け取る(a
4)。
As shown in FIG. 12, when writing to the local disk device 15-2 of the database server 11-2 having old data undergoing the matching process, a write request from the database server application program 12-2 is sent to the I / O. O block driver 14-2 receives (a
4).

【0088】I/Oブロックドライバ14−2は、書き
込み要求を受け取ると、メモリ17−2の新旧情報17
−2bを調べ、新旧情報17−2bが自己のローカルデ
ィスク装置の内容が他のローカルディスク装置の内容よ
りも新しいことを示していない場合に、書き込み要求に
含まれる書き込みの対象となるデータのオフセット+デ
ータサイズを一致化完了オフセット情報17−2aと比
較する。
When the I / O block driver 14-2 receives the write request, the I / O block driver 14-2 stores the old and new information 17 in the memory 17-2.
If the new / old information 17-2b does not indicate that the content of the local disk device is newer than the content of the other local disk device, the offset of the data to be written included in the write request + Compares the data size with the matching completion offset information 17-2a.

【0089】そして、書き込みの対象となるデータのオ
フセット+データサイズが一致化完了オフセット情報1
7−2aの領域外である場合、I/Oブロックドライバ
14−2は、この書き込み要求を待機させ、I/Oブロ
ックドライバ連携プログラム13−2に対して書き込み
対象となるデータを読み出すための情報、すなわち、オ
フセット、サイズ、パーティション情報をI/Oブロッ
クドライバ連携プログラム13−2に通知する(b
4)。
Then, the offset of the data to be written + the data size is the matching completion offset information 1
If the data is outside the area of 7-2a, the I / O block driver 14-2 waits for this write request and sends information to the I / O block driver cooperation program 13-2 for reading data to be written. That is, the offset / size / partition information is notified to the I / O block driver cooperation program 13-2 (b
4).

【0090】I/Oブロックドライバ連携プログラム1
3−2は、I/Oブロックドライバ14−2から通知さ
れた書き込み対象となるデータを読み出すための情報に
基づいて、I/Oブロックドライバ14−2から書き込
み対象となるデータを読み出し、この読み出された書き
込み対象となるデータ及び書き込み対象となるデータを
読み出すための情報をI/Oブロックドライバ連携プロ
グラム13−1にネットワークを介して転送する(c
4)。
I / O block driver cooperation program 1
3-2 reads the data to be written from the I / O block driver 14-2 based on the information for reading the data to be written notified from the I / O block driver 14-2, The data to be written and the information for reading the data to be written are transferred to the I / O block driver cooperation program 13-1 via the network (c
4).

【0091】I/Oブロックドライバ連携プログラム1
3−1は、転送された情報をI/Oブロックドライバ1
4−1に通知する(d4)。
I / O block driver cooperation program 1
3-1 stores the transferred information in the I / O block driver 1
4-1 is notified (d4).

【0092】I/Oブロックドライバ14−1は、書き
込み要求の対象となるデータのオフセット+サイズを一
致化完了オフセット情報と比較し、一致化完了オフセッ
ト領域外であれば、ローカルディスク装置15−1へデ
ータを書き込む(e4)。
The I / O block driver 14-1 compares the offset + size of the data for which the write request is made with the matching completion offset information, and if it is outside the matching completion offset area, the local disk device 15-1. Data is written to (e4).

【0093】I/Oブロックドライバ14−1によるデ
ータの書き込みが終了すると、ローカルディスク装置1
5−1からの書き込み完了通知をI/Oブロックドライ
バ14−2が受信する(f4)。
When the data writing by the I / O block driver 14-1 is completed, the local disk device 1
The I / O block driver 14-2 receives the write completion notification from 5-1 (f4).

【0094】I/Oブロックドライバ14−1は、ロー
カルディスク装置15−1から書き込み完了通知を受信
すると、I/Oブロックドライバ連携プログラム13−
1へ書き込み完了を通知する(g4)。
When the I / O block driver 14-1 receives the write completion notification from the local disk device 15-1, the I / O block driver cooperation program 13-
1 is notified of the completion of writing (g4).

【0095】I/Oブロックドライバ連携プログラム1
3−1は、書き込み完了通知をI/Oブロックドライバ
連携プログラム13−2に通知する(h4)。
I / O block driver cooperation program 1
3-1 notifies a write completion notification to the I / O block driver cooperation program 13-2 (h4).

【0096】I/Oブロックドライバ連携プログラム1
3−2は、I/Oブロックドライバ連携プログラム13
−1からの書き込み完了通知を受信すると、I/Oブロ
ックドライバ14−2に書き込み完了を通知する(i
4)。
I / O block driver cooperation program 1
3-2 is an I / O block driver cooperation program 13
-1 is notified of the write completion to the I / O block driver 14-2 (i
4).

【0097】I/Oブロックドライバ14−2は、I/
Oブロックドライバ連携プログラム13−2からの書き
込み完了通知を受信すると、ローカルディスク装置15
−2からの待たせていた書き込み完了通知をデータベー
スサーバアプリケーションプログラム12−2に返す
(j4)。
The I / O block driver 14-2 has an I / O block driver 14-2.
Upon receiving the write completion notification from the O-block driver cooperation program 13-2, the local disk device 15
-2 returns the waiting write completion notification from the database server application program 12-2 (j4).

【0098】<一致化処理中において、古いデータを持
つサーバへの書き込み、書き込み領域は一致化オフセッ
ト情報の領域外、リモートのサーバにおいては一致化完
了オフセット情報の領域内>次に、一致化処理中に、古
いデータを持つサーバへの書き込みを行なう場合につい
て説明する。なお、ここでは、書き込み領域は一致化オ
フセット情報の領域外であって、かつリモートのサーバ
において領域内である場合を想定する。
<While the matching processing is being performed, the writing and writing area to the server having the old data is outside the area of the matching offset information, and the remote server is within the area of the matching completion offset information> In the following, a case where writing to a server having old data is performed will be described. Here, it is assumed that the writing area is outside the area of the coincidence offset information and inside the area in the remote server.

【0099】図13に示すように、一致化処理中の古い
データを持つデータベースサーバ11−2のローカルデ
ィスク装置15−2への書き込みは、データベースサー
バアプリケーションプログラム12−2からの書き込み
要求をI/Oブロックドライバ14−2が受け取る(a
5)。
As shown in FIG. 13, when writing to the local disk device 15-2 of the database server 11-2 having old data undergoing the matching process, a write request from the database server application program 12-2 is sent to the I / O. O block driver 14-2 receives (a
5).

【0100】I/Oブロックドライバ14−2は、書き
込み要求を受け取ると、メモリ17−2の新旧情報17
−2bを調べ、新旧情報17−2bが自己のローカルデ
ィスク装置の内容が他のローカルディスク装置の内容よ
りも新しいことを示していない場合に、書き込み要求に
含まれる書き込みの対象となるデータのオフセット+デ
ータサイズを一致化完了オフセット情報17−2aと比
較する。
When the I / O block driver 14-2 receives the write request, the I / O block driver 14-2 stores the old and new information 17 in the memory 17-2.
If the new / old information 17-2b does not indicate that the content of the local disk device is newer than the content of the other local disk device, the offset of the data to be written included in the write request + Compares the data size with the matching completion offset information 17-2a.

【0101】そして、書き込みの対象となるデータのオ
フセット+データサイズが一致化完了オフセット情報1
7−2aの領域外である場合、I/Oブロックドライバ
14−2は、この書き込み要求を待機させ、I/Oブロ
ックドライバ連携プログラム13−2に対して書き込み
対象となるデータを読み出すための情報、すなわち、オ
フセット、サイズ、パーティション情報をI/Oブロッ
クドライバ連携プログラム13−2に通知する(b
5)。
Then, the offset of the data to be written + the data size is equalized completion offset information 1
If the data is outside the area of 7-2a, the I / O block driver 14-2 waits for this write request and sends information to the I / O block driver cooperation program 13-2 for reading data to be written. That is, the offset / size / partition information is notified to the I / O block driver cooperation program 13-2 (b
5).

【0102】I/Oブロックドライバ連携プログラム1
3−2は、I/Oブロックドライバ14−2から通知さ
れた書き込み対象となるデータを読み出すための情報に
基づいて、I/Oブロックドライバ14−2から書き込
み対象となるデータを読み出し、この読み出された書き
込み対象となるデータ及び書き込み対象となるデータを
読み出すための情報をI/Oブロックドライバ連携プロ
グラム13−1にネットワークを介して転送する(c
5)。
I / O block driver cooperation program 1
3-2 reads the data to be written from the I / O block driver 14-2 based on the information for reading the data to be written notified from the I / O block driver 14-2, The data to be written and the information for reading the data to be written are transferred to the I / O block driver cooperation program 13-1 via the network (c
5).

【0103】I/Oブロックドライバ連携プログラム1
3−1は、転送された情報をI/Oブロックドライバ1
4−1に通知する(d5)。
I / O block driver cooperation program 1
3-1 stores the transferred information in the I / O block driver 1
4-1 is notified (d5).

【0104】I/Oブロックドライバ14−1は、書き
込み要求の対象となるデータのオフセット+サイズを一
致化完了オフセット情報17−1aと比較し、一致化完
了オフセット領域外であれば、ローカルディスク装置1
5−1へデータを書き込む(e5)。
The I / O block driver 14-1 compares the offset + size of the data for which a write request is made with the matching completion offset information 17-1a. 1
Write data to 5-1 (e5).

【0105】I/Oブロックドライバ14−1によるデ
ータの書き込みが終了すると、ローカルディスク装置1
5−1からの書き込み完了通知をI/Oブロックドライ
バ14−2が受信する(f5)。
When data writing by the I / O block driver 14-1 is completed, the local disk device 1
The I / O block driver 14-2 receives the write completion notification from 5-1 (f5).

【0106】I/Oブロックドライバ14−1は、ロー
カルディスク装置15−1から書き込み完了通知を受信
すると、I/Oブロックドライバ連携プログラム13−
1へ書き込んだデータを読み出すためのデータ(オフセ
ット、サイズ、パーティション情報)を通知する(g
5)。
When the I / O block driver 14-1 receives the write completion notification from the local disk device 15-1, the I / O block driver cooperation program 13-
Notify the data (offset, size, partition information) for reading the data written in 1 (g)
5).

【0107】I/Oブロックドライバ連携プログラム1
3−1は、I/Oブロックドライバ14−1から書き込
んだデータを読み出すためのデータ(オフセット、サイ
ズ、パーティション情報)を受信すると、当該受信した
データに基づいてローカルディスク装置15−1から書
き込んだデータを読み出し、この読み出したデータをネ
ットワークを介して、I/Oブロックドライバ連携プロ
グラム13−2に通知する(h5)。
I / O block driver cooperation program 1
3-1 receives the data (offset, size, partition information) for reading the data written from the I / O block driver 14-1, and writes the data from the local disk device 15-1 based on the received data. The data is read, and the read data is notified to the I / O block driver cooperation program 13-2 via the network (h5).

【0108】I/Oブロックドライバ連携プログラム1
3−2は、I/Oブロックドライバ連携プログラム13
−1からのデータを受信すると、受信したデータをI/
Oブロックドライバ14−2を介してローカルディスク
装置15−2に書き込む(i5、j5)。
I / O block driver cooperation program 1
3-2 is an I / O block driver cooperation program 13
-1 is received, the received data is
The data is written to the local disk device 15-2 via the O-block driver 14-2 (i5, j5).

【0109】ローカルディスク装置15−2からの書き
込み完了通知は、I/Oブロックドライバ14−2を介
して、I/Oブロックドライバ連携プログラム13−2
からネットワークを介してI/Oブロックドライバ連携
プログラム13−1に通知される(k5、l5、m
5)。
The write completion notification from the local disk device 15-2 is sent to the I / O block driver cooperation program 13-2 via the I / O block driver 14-2.
Is notified to the I / O block driver cooperation program 13-1 via the network (k5, l5, m
5).

【0110】I/Oブロックドライバ連携プログラム1
3−2から通知を受けたI/Oブロックドライバ連携プ
ログラム13−1は、I/Oブロックドライバ14−1
へ書き込み完了の通知をし(n5)、I/Oブロックド
ライバ14−1において待機させている書き込み完了通
知を復帰させる(o5)。
I / O block driver cooperation program 1
The I / O block driver cooperation program 13-1 notified from 3-2 is the I / O block driver 14-1.
The I / O block driver 14-1 returns a notification of completion of writing to the I / O block driver 14-1 (o5).

【0111】I/Oブロックドライバ連携プログラム1
3−1は、書き込み完了通知をI/Oブロックドライバ
14−1kら受信すると、その書き込み完了通知をネッ
トワークを介してI/Oブロックドライバ連携プログラ
ム13−2に通知する(p5)。
I / O block driver cooperation program 1
Upon receiving the write completion notification from the I / O block driver 14-1k, the 3-1 notifies the I / O block driver cooperation program 13-2 of the write completion notification via the network (p5).

【0112】I/Oブロックドライバ連携プログラム1
3−2は、I/Oブロックドライバ連携プログラム13
−1からの書き込み完了通知を受信すると、その書き込
み完了通知をI/Oブロックドライバ14−2に通知す
る(q5)。
I / O block driver cooperation program 1
3-2 is an I / O block driver cooperation program 13
Upon receiving the write completion notification from -1, the write completion notification is sent to the I / O block driver 14-2 (q5).

【0113】I/Oブロックドライバ14−2は、I/
Oブロックドライバ連携プログラム13−2からの書き
込み完了通知を受信すると、I/Oブロックドライバ1
4−2において待たせてある書き込み完了通知を復帰さ
せる(r5)。
The I / O block driver 14-2 has an I / O block driver 14-2.
Upon receiving the write completion notification from the O-block driver cooperation program 13-2, the I / O block driver 1
The write completion notification kept waiting in 4-2 is restored (r5).

【0114】<一致化処理中において、古いデータを持
つサーバの読み出し、読み出し領域は一致化オフセット
情報の領域内>次に、一致化処理中に、古いデータを持
つサーバからデータを読み出す場合について説明する。
なお、ここでは、読み出し領域は、一致化オフセット情
報の領域内である場合を想定する。
<Reading of server with old data during matching processing, read area is within area of matching offset information> Next, a case where data is read from a server having old data during matching processing will be described. I do.
Here, it is assumed that the read area is within the area of the matched offset information.

【0115】図14に示すように、一致化処理中の古い
データを持つデータベースサーバ11−2のローカルデ
ィスク装置15−2からの読み出しは、データベースサ
ーバアプリケーションプログラム12−1からの読み出
し要求を、I/Oブロックドライバ14−2が受信する
(a6)。
As shown in FIG. 14, reading from the local disk device 15-2 of the database server 11-2 having old data undergoing the matching process is performed according to a read request from the database server application program 12-1. The / O block driver 14-2 receives (a6).

【0116】I/Oブロックドライバ14−2は、読み
出し要求を受け取ると、メモリ17−2の新旧情報17
−2bを調べ、新旧情報17−2bが自己のローカルデ
ィスク装置の内容が他のローカルディスク装置の内容よ
りも新しいことを示していない場合に、読み出しの対象
となるデータのオフセット+データサイズを一致化完了
オフセット情報17−2aと比較する。
When the I / O block driver 14-2 receives the read request, the I / O block driver 14-2 stores the new / old information 17 in the memory 17-2.
If the new / old information 17-2b does not indicate that the content of the local disk device is newer than the content of the other local disk device, the offset + data size of the data to be read is matched. With the completion completion offset information 17-2a.

【0117】そして、読み出しの対象となるデータのオ
フセット+データサイズが一致化完了オフセット情報1
7−2aの領域内である場合、I/Oブロックドライバ
14−2は、ローカルディスク装置15−2に読み出し
要求を出し(b6)、ローカルディスク装置15−2か
らデータを読み出す(c6)。そして、I/Oブロック
ドライバ14−2は、データベースサーバアプリケーシ
ョンプログラム12−2に読み出したデータを送信する
(d6)。
Then, the offset of the data to be read + the data size is equalized completion offset information 1
If it is within the area of 7-2a, the I / O block driver 14-2 issues a read request to the local disk device 15-2 (b6), and reads data from the local disk device 15-2 (c6). Then, the I / O block driver 14-2 transmits the read data to the database server application program 12-2 (d6).

【0118】<一致化処理中において、古いデータを持
つサーバの読み出し、読み出し領域は一致化オフセット
情報の領域外>次に、一致化処理中に、古いデータを持
つサーバからデータを読み出す場合について説明する。
なお、ここでは、読み出し領域は、一致化オフセット情
報の領域外である場合を想定する。
<Read of server with old data during matching processing, read area is outside of matching offset information area> Next, a case where data is read from a server with old data during matching processing will be described. I do.
Here, it is assumed that the read area is outside the area of the coincidence offset information.

【0119】図15に示すように、一致化処理中の古い
データを持つデータベースサーバ11−2のローカルデ
ィスク装置15−2からの読み出しは、データベースサ
ーバアプリケーションプログラム12−1からの読み出
し要求を、I/Oブロックドライバ14−2が受信する
(a7)。
As shown in FIG. 15, reading from the local disk device 15-2 of the database server 11-2 having old data undergoing the matching process is performed according to a read request from the database server application program 12-1. The / O block driver 14-2 receives (a7).

【0120】I/Oブロックドライバ14−2は、読み
出し要求を受け取ると、メモリ17−2の新旧情報17
−2bを調べ、新旧情報17−2bが自己のローカルデ
ィスク装置の内容が他のローカルディスク装置の内容よ
りも新しいことを示していない場合に、読み出しの対象
となるデータのオフセット+データサイズを一致化完了
オフセット情報17−2aと比較する。
When the I / O block driver 14-2 receives the read request, the I / O block driver 14-2 stores the new / old information 17 in the memory 17-2.
If the new / old information 17-2b does not indicate that the content of the local disk device is newer than the content of the other local disk device, the offset + data size of the data to be read is matched. With the conversion completion offset information 17-2a.

【0121】そして、読み出しの対象となるデータのオ
フセット+データサイズが一致化完了オフセット情報1
7−2aの領域外である場合、この読み出し要求を待た
せ、I/Oブロックドライバ14−2は、I/Oブロッ
クドライバ連携プログラム13−2に対して、データを
読み出すための情報、すなわち、読み出しの対象となる
データのオフセット、サイズ、パーティション情報を通
知する(b7)。
Then, the offset of the data to be read + the data size is the matching completion offset information 1
If it is out of the area of 7-2a, the read request is made to wait, and the I / O block driver 14-2 informs the I / O block driver cooperation program 13-2 of information for reading data, that is, The offset, size, and partition information of the data to be read are notified (b7).

【0122】I/Oブロックドライバ連携プログラム1
3−2は、データを読み出すための情報をI/Oブロッ
クドライバ連携プログラム13−1へ転送する(c
7)。
I / O block driver cooperation program 1
3-2 transfers information for reading data to the I / O block driver cooperation program 13-1 (c
7).

【0123】I/Oブロックドライバ連携プログラム1
3−1は、I/Oブロックドライバ連携プログラム13
−2から転送された情報をI/Oブロックドライバ14
−1へ通知する(d7)。
I / O block driver cooperation program 1
3-1 is an I / O block driver cooperation program 13
-2 transfers the information transferred from the I / O block driver 14
-1 is notified (d7).

【0124】I/Oブロックドライバ14−1は、I/
Oブロックドライバ連携プログラム13−1から通知さ
れたデータを読み出すための情報に基づいて、ローカル
ディスク装置15−1からデータを読み出す(e7,f
7)。
The I / O block driver 14-1 has an I / O block driver 14-1.
Data is read from the local disk device 15-1 based on the information for reading the data notified from the O-block driver cooperation program 13-1 (e7, f
7).

【0125】I/Oブロックドライバ14−1は、読み
出したデータを読み出し完了通知とともにI/Oブロッ
クドライバ連携プログラム13−1へ出力し(g7)、
この読み出されたデータ及び読み出し完了通知をI/O
ブロックドライバ連携プログラム13−2にへ転送する
(h7)。
The I / O block driver 14-1 outputs the read data to the I / O block driver cooperation program 13-1 together with a read completion notification (g7).
The read data and the read completion notification are sent to the I / O
The data is transferred to the block driver cooperation program 13-2 (h7).

【0126】I/Oブロックドライバ連携プログラム1
3−2は、I/Oブロックドライバ連携プログラム13
−1から転送された読み出し完了通知及び読み出された
データをI/Oブロックドライバ14−2へ出力する
(i7)。
I / O block driver cooperation program 1
3-2 is an I / O block driver cooperation program 13
-1 and outputs the read completion notification and the read data transferred to the I / O block driver 14-2 (i7).

【0127】I/Oブロックドライバ14−2は、I/
Oブロックドライバ連携プログラム13−2から読み出
し完了通知及び読み出されたデータを受け取ると、待た
せていたデータベースサーバアプリケーションプログラ
ム12−2からの読み出し要求に対する読み出し完了通
知及び読み出されたデータをデータベースサーバアプリ
ケーションプログラム12−2に返す(j7)。
The I / O block driver 14-2 has an I / O block driver 14-2.
When receiving the read completion notification and the read data from the O-block driver cooperation program 13-2, the read completion notification and the read data in response to the read request from the database server application program 12-2 which has been waiting are transferred to the database server. It returns to the application program 12-2 (j7).

【0128】したがって、本実施の形態の非共有型パラ
レルデータベースシステムによれば、一致化処理中にサ
ーバへの書き込み、読み出し要求があった場合にも、パ
ラレルデータベースサーバシステムとしての動作を行な
うことが可能となる。
Therefore, according to the non-shared type parallel database system of the present embodiment, the operation as the parallel database server system can be performed even when there is a write / read request to the server during the matching process. It becomes possible.

【0129】なお、本願発明は、上記各実施形態に限定
されるものでなく、実施段階ではその要旨を逸脱しない
範囲で種々に変形することが可能である。また、各実施
形態は可能な限り適宜組み合わせて実施してもよく、そ
の場合組み合わされた効果が得られる。さらに、上記各
実施形態には種々の段階の発明が含まれており、開示さ
れる複数の構成要件における適宜な組み合わせにより種
々の発明が抽出され得る。例えば実施形態に示される全
構成要件から幾つかの構成要件が省略されることで発明
が抽出された場合には、その抽出された発明を実施する
場合には省略部分が周知慣用技術で適宜補われるもので
ある。
The present invention is not limited to the above embodiments, and various modifications can be made at the stage of implementation without departing from the scope of the invention. In addition, the embodiments may be implemented in appropriate combinations as much as possible, and in that case, the combined effects can be obtained. Further, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, when an invention is extracted by omitting some constituent elements from all constituent elements described in the embodiment, when implementing the extracted invention, the omitted part is appropriately supplemented by well-known conventional techniques. It is something to be done.

【0130】[0130]

【発明の効果】以上詳記したように、本発明によれば、
パーソナルコンピュータなどの既存の装置をデータベー
スサーバとして使用することによって、安価な非共有型
パラレルデータベースサーバシステムを提供することが
できる。
As described above in detail, according to the present invention,
By using an existing device such as a personal computer as the database server, an inexpensive non-shared parallel database server system can be provided.

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

【図1】従来のパラレルデータベースサーバシステムを
示す図である。
FIG. 1 is a diagram showing a conventional parallel database server system.

【図2】本発明の第1の実施の形態に係る非共有型パラ
レルデータベースサーバシステムを示す図である。
FIG. 2 is a diagram showing a non-shared type parallel database server system according to the first embodiment of the present invention.

【図3】データベースサーバアプリケーションプログラ
ム、I/Oブロックドライバ連携プログラムおよびI/
Oブロックドライバの関係を示す図である。
FIG. 3 shows a database server application program, an I / O block driver cooperation program, and an I / O block driver.
FIG. 4 is a diagram illustrating a relationship between O block drivers.

【図4】本発明の第1の実施の形態に係る非共有型パラ
レルデータベースサーバシステムの動作を説明するため
のフローチャートである。
FIG. 4 is a flowchart for explaining the operation of the non-shared type parallel database server system according to the first embodiment of the present invention.

【図5】本発明の第1の実施の形態に係る非共有型パラ
レルデータベースサーバシステムの動作を説明するため
のフローチャートである。
FIG. 5 is a flowchart for explaining an operation of the non-shared type parallel database server system according to the first embodiment of the present invention.

【図6】本発明の第2の実施の形態に係る非共有型パラ
レルデータベースサーバシステムの一致化処理を説明す
るためのフローチャートである。
FIG. 6 is a flowchart illustrating a matching process of the non-shared type parallel database server system according to the second embodiment of the present invention.

【図7】本発明の第2の実施の形態に係る非共有型パラ
レルデータベースサーバシステムの一致化処理を説明す
るためのフローチャートである。
FIG. 7 is a flowchart illustrating a matching process of the non-shared type parallel database server system according to the second embodiment of the present invention.

【図8】一致化処理中に、新しいデータを持つサーバへ
の書き込みを行なう場合を説明するための図である。
FIG. 8 is a diagram for explaining a case where writing to a server having new data is performed during the matching processing;

【図9】一致化理中に、新しいデータを持つサーバへの
書き込みを行なう場合について説明するための図であ
る。
FIG. 9 is a diagram for explaining a case in which writing to a server having new data is performed during matching;

【図10】一致化処理中に、新しいデータを持つサーバ
からデータの読み込みを行なう場合について説明するた
めの図である。
FIG. 10 is a diagram for explaining a case where data is read from a server having new data during the matching processing;

【図11】一致化処理中に、古いデータを持つサーバへ
の書き込みを行なう場合について説明するための図であ
る。
FIG. 11 is a diagram for describing a case where writing to a server having old data is performed during the matching processing;

【図12】一致化処理中に、古いデータを持つサーバへ
の書き込みを行なう場合について説明するための図であ
る。
FIG. 12 is a diagram for describing a case where writing to a server having old data is performed during the matching processing;

【図13】一致化処理中に、古いデータを持つサーバへ
の書き込みを行なう場合について説明するための図であ
る。
FIG. 13 is a diagram for describing a case where writing to a server having old data is performed during the matching processing;

【図14】一致化処理中に、古いデータを持つサーバか
らデータを読み出す場合について説明するための図であ
る。
FIG. 14 is a diagram for describing a case where data is read from a server having old data during the matching processing;

【図15】一致化処理中に、古いデータを持つサーバか
らデータを読み出す場合について説明するための図であ
る。
FIG. 15 is a diagram for describing a case where data is read from a server having old data during the matching processing;

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

1−1〜1−N…データベースサーバ、 2…ネットワーク、 3…共有ディスク装置、 11−1、11−2…データベースサーバ、 12−1、12−2…データベースサーバアプリケーシ
ョンプログラム、 13−1、13−2…I/Oブロックドライバ連携プロ
グラム, 14−1,14−2…I/Oブロックドライバ、 15−1、15−2…ローカルディスク装置、 15−1a、15−2a…前回情報記憶部、 16…ネットワーク、 19…ディスクドライバ、 17−1、17−2…メモリ、 17−1a、17−2a…一致化完了オフセット情報、 17−1b、17−2b…新旧情報。
1-1 to 1-N: database server, 2: network, 3: shared disk device, 11-1, 11-2: database server, 12-1, 12-2: database server application program, 13-1, 13 -2 ... I / O block driver cooperation program, 14-1, 14-2 ... I / O block driver, 15-1, 15-2 ... local disk device, 15-1a, 15-2a ... previous information storage unit, 16: network, 19: disk driver, 17-1, 17-2: memory, 17-1a, 17-2a: matching completion offset information, 17-1b, 17-2b: new and old information.

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 ローカルディスク装置をそれぞれ具備す
る複数のサーバがネットワークを介して接続された非共
有型パラレルデータベースサーバシステムにおいて、 前記サーバは、 自己のローカルディスク装置への制御を行なうためのI
/Oブロックドライバと、 他のサーバとのデータのやり取りを制御するためのI/
Oブロックドライバ連携手段とを具備し、 前記I/Oブロックドライバは、 書き込み要求に基づいて、自己のローカルディスク装置
にデータを書き込む第1の書き込み手段と、 前記第1の書き込み手段によって自己のローカルディス
ク装置に書き込まれたデータを読み出すためのデータを
自己のI/Oブロックドライバ連携手段に通知する通知
手段とを具備し、 前記I/Oブロックドライバ連携手段は、 前記通知手段によって通知された自己のローカルディス
ク装置に書き込まれたデータを読み出すためのデータに
基づいて、自己のローカルディスク装置から前記第1の
書き込み手段によって書き込まれたデータを読み出し、
この読み出されたデータを前記ネットワークを介して他
のサーバに送信する第1の送信手段と、 他のサーバの第1の送信手段から送信されたデータを受
信し、この受信したデータを自己のローカルディスク装
置に書き込む第2の書き込み手段と、 前記第2の書き込み手段によって自己のローカルディス
ク装置にデータの書き込みが完了した場合に、書き込み
完了通知を前記読み出されたデータを送信したサーバに
送信する第2の送信手段と、 他のサーバの前記第2の送信手段によって送信された書
き込み完了通知を受信した場合に、書き込み要求元に書
き込み完了通知を出力する出力手段とを具備することを
特徴とする非共有型パラレルデータベースサーバシステ
ム。
1. In a non-shared parallel database server system in which a plurality of servers each having a local disk device are connected via a network, the server has an I / O for controlling its own local disk device.
I / O block driver and I / O for controlling the exchange of data with other servers
An I / O block driver linking unit, wherein the I / O block driver writes first data into its own local disk device based on a write request; Notification means for notifying the data for reading the data written to the disk device to its own I / O block driver cooperation means, wherein the I / O block driver cooperation means comprises: Reading data written by the first writing means from its own local disk device based on data for reading data written to the local disk device,
A first transmitting means for transmitting the read data to another server via the network; receiving data transmitted from the first transmitting means of the other server; Second writing means for writing to the local disk device; and when the data writing to the local disk device is completed by the second writing device, transmitting a write completion notification to the server which transmitted the read data. A second transmission unit that performs the above operation, and an output unit that outputs a write completion notification to a write request source when the write completion notification transmitted by the second transmission unit of another server is received. A non-shared type parallel database server system.
【請求項2】 前記ローカルディスク装置は、互いのデ
ィスク内容を一致させる一致化処理が施されていること
を特徴とする請求項1記載の非共有型パラレルデータベ
ースシステム。
2. The non-shared type parallel database system according to claim 1, wherein the local disk device is subjected to a matching process for matching disk contents of each other.
【請求項3】 ローカルディスク装置をそれぞれ具備す
る複数のサーバがネットワークを介して接続された非共
有型パラレルデータベースサーバシステムにおいて、 前記サーバは、 自己のローカルディスク装置への制御を行なうためのI
/Oブロックドライバと、 他のサーバとのデータのやり取りを制御するためのI/
Oブロックドライバ連携手段とローカルディスク装置の
内容が最も新しいか否かを示す新旧情報を格納する格納
手段とを具備し、 前記I/Oブロックドライバ連携手段は、 一致化処理要求が行なわれ、かつ前記新旧情報が自己の
ローカルディスク装置の内容が他のサーバのローカルデ
ィスク装置の内容よりも新しいことを示している場合
に、前記I/Oブロックドライバを介して、自己のロー
カルディスク装置からデータを読み出し、この読み出し
たデータを前記ネットワークを介して他のサーバに送信
する第1の送信手段と、 他のサーバの第1の送信手段から送信されたデータを受
信し、この受信したデータを自己のローカルディスク装
置に一致化するように書き込む第1の書き込み手段と、 前記第1の書き込み手段によって、自己のローカルディ
スク装置にデータの書き込みが終了した場合に、書き込
み完了通知を前記読み出されたデータを送信したサーバ
に送信する第2の送信手段とを具備することを特徴とす
る非共有型パラレルデータベースサーバシステム。
3. In a non-shared type parallel database server system in which a plurality of servers each having a local disk device are connected via a network, the server is an I / O for controlling its own local disk device.
I / O block driver and I / O for controlling the exchange of data with other servers
The I / O block driver cooperation means comprises an O block driver cooperation means and a storage means for storing new / old information indicating whether or not the content of the local disk device is the newest. When the new / old information indicates that the content of the local disk device of the server is newer than the content of the local disk device of another server, data is transmitted from the local disk device via the I / O block driver. A first transmitting means for reading and transmitting the read data to another server via the network; receiving data transmitted from the first transmitting means of the other server; A first writing unit that writes data to the local disk device so as to be consistent with the local disk device; A non-shared type parallel database server system, comprising: a second transmission unit that transmits a write completion notification to a server that has transmitted the read data when data writing to the local disk device is completed. .
【請求項4】 前記格納手段は、一致化処理が完了した
箇所を示す一致化完了オフセット情報をさらに具備し、 前記サーバは、 前記データの読み出し及び書き込み毎に、前記一致化完
了オフセット情報を更新する更新手段と、 書き込み要求を受信する書き込み要求受信手段と、 前記格納手段に格納された新旧情報が自己のローカルデ
ィスク装置の内容が最も新しいことを示しているか否か
を判断する第1の判断手段と、 前記第1の判断手段によって前記新旧情報が自己のロー
カルディスク装置の内容が最も新しいことを示している
と判断された場合に、前記書き込み要求の対象となるデ
ータのオフセットとサイズとを合わせた値が前記格納手
段に格納された一致化完了オフセット情報の範囲内であ
るか否かを判断する第2の判断手段と、 前記第2の判断手段によって、一致化完了オフセット情
報の範囲内であると判断された場合に、前記書き込み要
求の対象となるデータを自己のローカルディスク装置に
書き込むとともに、他のサーバのローカルディスク装置
に書き込む第3の書き込み手段とをさらに具備すること
を特徴とする請求項3記載の非共有型パラレルデータベ
ースサーバシステム。
4. The storage unit further includes matching completion offset information indicating a location where matching processing has been completed, and the server updates the matching completion offset information every time the data is read and written. Updating means, a write request receiving means for receiving a write request, and a first judgment for judging whether or not the new / old information stored in the storage means indicates that the content of the local disk device is the latest. Means, when the first determining means determines that the new / old information indicates that the content of the local disk device is the newest, the offset and size of the data to be subjected to the write request are determined. Second determining means for determining whether the combined value is within the range of the matching completion offset information stored in the storage means; When it is determined by the second determining means that the data is within the range of the matching completion offset information, the data to be written is written to its own local disk device, and the local disk device of another server is written. 4. The non-shared type parallel database server system according to claim 3, further comprising: third writing means for writing the data into the parallel database server.
【請求項5】 前記格納手段は、一致化処理が完了した
箇所を示す一致化完了オフセット情報をさらに具備し、 前記サーバは,前記I/Oブロックドライバは、前記デ
ータの読み出し及び書き込み毎に、前記一致化完了オフ
セット情報を更新する更新手段と、 書き込み要求を受信する書き込み要求受信手段と、 前記格納手段に格納された新旧情報が自己のローカルデ
ィスク装置の内容が最も新しいことを示しているか否か
を判断する第1の判断手段と、 前記第1の判断手段によって前記新旧情報が自己のロー
カルディスク装置の内容が最も新しいことを示している
と判断された場合に、前記書き込み要求の対象となるデ
ータのオフセットとサイズとを合わせた値が前記格納手
段に格納された一致化完了オフセット情報の範囲内であ
るか否かを判断する第2の判断手段と、 前記第2の判断手段によって、一致化完了オフセット情
報の範囲外であると判断された場合に、前記書き込み要
求の対象となるデータを自己のローカルディスク装置に
書き込む書き込み手段とをさらに具備することを特徴と
する請求項3記載の非共有型パラレルデータベースサー
バシステム。
5. The storage unit further includes matching completion offset information indicating a location where matching processing has been completed, wherein the server is arranged so that the I / O block driver reads and writes the data each time. Updating means for updating the coincidence completion offset information; write request receiving means for receiving a write request; and whether the new / old information stored in the storage means indicates that the content of the local disk device is the latest. First determining means for determining whether or not the new / old information indicates that the content of the local disk device is the newest; Whether the combined value of the offset and the size of the data is within the range of the matching completion offset information stored in the storage means. Second determining means for determining, and when the second determining means determines that the data is out of the range of the matching completion offset information, the data to be written is written to its own local disk device. 4. The non-shared type parallel database server system according to claim 3, further comprising a writing unit.
【請求項6】 前記サーバは、 読み出し要求を受信する読み出し要求受信手段と、 前記格納手段に格納された新旧情報が自己のローカルデ
ィスク装置の内容が最も新しいことを示しているか否か
を判断する第1の判断手段と、 前記第1の判断手段によって前記新旧情報が自己のロー
カルディスク装置の内容が最も新しいことを示している
と判断された場合に、自己のローカルディスク装置から
読み出し要求によって要求されたデータを読み出す読み
出し手段とをさらに具備することを特徴とする請求項3
記載の非共有型パラレルデータベースサーバシステム。
6. The server, wherein: a read request receiving means for receiving a read request; and a determination is made as to whether the new / old information stored in the storage means indicates that the content of the local disk device is the latest. A first judging means, and when the first judging means judges that the new / old information indicates that the content of the local disk device is the newest, a request is issued from the local disk device by a read request. 4. A reading means for reading out the read data.
A non-shared parallel database server system as described.
【請求項7】 前記格納手段は、一致化処理が完了した
箇所を示す一致化完了オフセット情報をさらに具備し、 前記サーバは、 前記データの読み出し及び書き込み毎に、前記一致化完
了オフセット情報を更新する更新手段と、 書き込み要求を受信する書き込み要求受信手段と、 前記格納手段に格納された新旧情報が自己のローカルデ
ィスク装置の内容が最も新しいことを示しているか否か
を判断する第1の判断手段と、 前記第1の判断手段によって前記新旧情報が自己のロー
カルディスク装置の内容が最も新しいことを示していな
いと判断された場合に、前記書き込み要求の対象となる
データのオフセットとサイズとを合わせた値が前記格納
手段に格納された一致化完了オフセット情報の範囲内で
あるか否かを判断する第2の判断手段と、 前記第2の判断手段によって、一致化完了オフセット情
報の範囲内であると判断された場合に、前記書き込み要
求の対象となるデータを自己のローカルディスク装置に
書き込むとともに、他のサーバのローカルディスク装置
に書き込む第3の書き込み手段とをさらに具備すること
を特徴とする請求項3記載の非共有型パラレルデータベ
ースサーバシステム。
7. The storage unit further includes matching completion offset information indicating a location where matching processing has been completed, and the server updates the matching completion offset information every time the data is read and written. Updating means, a write request receiving means for receiving a write request, and a first judgment for judging whether or not the new / old information stored in the storage means indicates that the content of the local disk device is the latest. Means, when the first determining means determines that the new / old information does not indicate that the content of the local disk device is the newest, the offset and size of the data to be subjected to the write request are determined. Second determining means for determining whether the combined value is within the range of the matching completion offset information stored in the storage means, When it is determined by the second determining means that the data is within the range of the matching completion offset information, the data to be written is written to its own local disk device, and the local disk device of another server is written. 4. The non-shared type parallel database server system according to claim 3, further comprising: third writing means for writing the data into the parallel database server.
【請求項8】 前記格納手段は、一致化処理が完了した
箇所を示す一致化完了オフセット情報をさらに具備し、 前記サーバは、 前記データの読み出し及び書き込み毎に、前記一致化完
了オフセット情報を更新する更新手段と、 書き込み要求を受信する書き込み要求受信手段と、 前記格納手段に格納された新旧情報が自己のローカルデ
ィスク装置の内容が最も新しいことを示しているか否か
を判断する第1の判断手段と、 前記第1の判断手段によって前記新旧情報が自己のロー
カルディスク装置の内容が最も新しいことを示していな
いと判断された場合に、前記書き込み要求の対象となる
データのオフセットとサイズとを合わせた値が前記格納
手段に格納された一致化完了オフセット情報の範囲内で
あるか否かを判断する第2の判断手段と、 前記第2の判断手段によって、一致化完了オフセット情
報の範囲外であると判断された場合に、前記書き込み要
求の対象となるデータのオフセットとサイズとを合わせ
た値が前記新旧情報が自己のローカルディスク装置の内
容が最も新しいことを示しているサーバの格納手段に格
納された一致化完了オフセット情報の範囲内であるか否
かを判断する第3の判断手段と、 前記第3の判断手段によって、一致化完了オフセット情
報の範囲外であると判断された場合に、前記新旧情報が
自己のローカルディスク装置の内容が最も新しいことを
示しているサーバのローカルディスク装置に前記書き込
み要求の対象となるデータを書き込む第3の書き込み手
段とを具備することを特徴とする請求項3記載の非共有
型パラレルデータベースサーバシステム。
8. The storage unit further includes matching completion offset information indicating a location where matching processing has been completed, and the server updates the matching completion offset information every time the data is read and written. Updating means, a write request receiving means for receiving a write request, and a first judgment for judging whether or not the new / old information stored in the storage means indicates that the content of the local disk device is the latest. Means, when the first determining means determines that the new / old information does not indicate that the content of the local disk device is the newest, the offset and size of the data to be subjected to the write request are determined. Second determining means for determining whether the combined value is within the range of the matching completion offset information stored in the storage means, If the second determining means determines that the new and old information is out of the range of the matching completion offset information, the value obtained by combining the offset and the size of the data to be written is changed by the local and local information. A third determining unit that determines whether the content of the disk device is within the range of the matching completion offset information stored in the storing unit of the server indicating that the content is the newest; If it is determined that the content is out of the range of the matching completion offset information, the new / old information is subjected to the write request to the local disk device of the server indicating that the content of the local disk device is the latest. 4. The non-shared type parallel database server system according to claim 3, further comprising third writing means for writing data. .
【請求項9】 前記格納手段は、一致化処理が完了した
箇所を示す一致化完了オフセット情報をさらに具備し、 前記サーバは、 前記データの読み出し及び書き込み毎に、前記一致化完
了オフセット情報を更新する更新手段と、 書き込み要求を受信する書き込み要求受信手段と、 前記格納手段に格納された新旧情報が自己のローカルデ
ィスク装置の内容が最も新しいことを示しているか否か
を判断する第1の判断手段と、 前記第1の判断手段によって前記新旧情報が自己のロー
カルディスク装置の内容が最も新しいことを示していな
いと判断された場合に、前記書き込み要求の対象となる
データのオフセットとサイズとを合わせた値が前記格納
手段に格納された一致化完了オフセット情報の範囲内で
あるか否かを判断する第2の判断手段と、 前記第2の判断手段によって、一致化完了オフセット情
報の範囲外であると判断された場合に、前記書き込み要
求の対象となるデータのオフセットとサイズとを合わせ
た値が前記新旧情報が自己のローカルディスク装置の内
容が最も新しいことを示しているサーバの格納手段に格
納された一致化完了オフセット情報の範囲内であるか否
かを判断する第3の判断手段と、 前記第3の判断手段によって、一致化完了オフセット情
報の範囲内であると判断された場合に、前記新旧情報が
自己のローカルディスク装置の内容が最も新しいことを
示しているサーバのローカルディスク装置及び自己のロ
ーカルディスク装置に前記書き込み要求の対象となるデ
ータを書き込む第3の書き込み手段とをさらに具備する
ことを特徴とする請求項3記載の非共有型パラレルデー
タベースサーバシステム。
9. The storage unit further includes matching completion offset information indicating a location where matching processing has been completed, and the server updates the matching completion offset information every time the data is read and written. Updating means, a write request receiving means for receiving a write request, and a first judgment for judging whether or not the new / old information stored in the storage means indicates that the content of the local disk device is the latest. Means, when the first determining means determines that the new / old information does not indicate that the content of the local disk device is the newest, the offset and size of the data to be subjected to the write request are determined. Second determining means for determining whether the combined value is within the range of the matching completion offset information stored in the storage means, If the second determining means determines that the new and old information is out of the range of the matching completion offset information, the value obtained by combining the offset and the size of the data to be written is changed by the local and local information. A third determining unit that determines whether the content of the disk device is within the range of the matching completion offset information stored in the storing unit of the server indicating that the content is the newest; If it is determined that the content is within the range of the matching completion offset information, the new / old information indicates that the content of the local disk device is the newest in the local disk device of the server and the local disk device of the server. 4. The non-shared device according to claim 3, further comprising: third writing means for writing data to be written. Type parallel database server system.
【請求項10】 前記格納手段は、一致化処理が完了し
た箇所を示す一致化完了オフセット情報をさらに具備
し、 前記サーバは、 前記データの読み出し及び書き込み毎に、前記一致化完
了オフセット情報を更新する更新手段と、 読み出し要求を受信する読み出し要求受信手段と、 前記格納手段に格納された新旧情報が自己のローカルデ
ィスク装置の内容が最も新しいことを示しているか否か
を判断する第1の判断手段と、 前記第1の判断手段によって前記新旧情報が自己のロー
カルディスク装置の内容が最も新しいことを示していな
いと判断された場合に、前記読み出し要求の対象となる
データのオフセットとサイズとを合わせた値が前記格納
手段に格納された一致化完了オフセット情報の範囲内で
あるか否かを判断する第2の判断手段と、 前記第2の判断手段によって、一致化完了オフセット情
報の範囲内であると判断された場合に、前記読み出し要
求の対象となるデータを自己のローカルディスク装置か
ら読み込む読み込み手段とをさらに具備することを特徴
とする請求項3記載の非共有型パラレルデータベースサ
ーバシステム。
10. The storage unit further includes matching completion offset information indicating a location where matching processing has been completed, and the server updates the matching completion offset information every time the data is read or written. Update means, read request receiving means for receiving a read request, and first determination for determining whether the new / old information stored in the storage means indicates that the content of the local disk device is the latest. Means, when the first determining means determines that the new / old information does not indicate that the content of the local disk device is the newest, the offset and the size of the data to be read are requested. Second determining means for determining whether or not the combined value is within the range of the matching completion offset information stored in the storage means; A reading unit that reads, from the local disk device, data targeted for the read request when the second determining unit determines that the data is within the range of the matching completion offset information. 4. The non-shared type parallel database server system according to claim 3, wherein:
【請求項11】 前記格納手段は、一致化処理が完了し
た箇所を示す一致化完了オフセット情報をさらに具備
し、 前記サーバは、 前記データの読み出し及び書き込み毎に、前記一致化完
了オフセット情報を更新する更新手段と、 読み出し要求を受信する読み出し要求受信手段と、 前記格納手段に格納された新旧情報が自己のローカルデ
ィスク装置の内容が最も新しいことを示しているか否か
を判断する第1の判断手段と、 前記第1の判断手段によって前記新旧情報が自己のロー
カルディスク装置の内容が最も新しいことを示していな
いと判断された場合に、前記読み出し要求の対象となる
データのオフセットとサイズとを合わせた値が前記格納
手段に格納された一致化完了オフセット情報の範囲内で
あるか否かを判断する第2の判断手段と、 前記第2の判断手段によって、一致化完了オフセット情
報の範囲外であると判断された場合に、前記読み出し要
求の対象となるデータを前記新旧情報が自己のローカル
ディスク装置の内容が最も新しいことを示しているサー
バのローカルディスク装置から読み込む読み込み手段と
をさらに具備することを特徴とする請求項3記載の非共
有型パラレルデータベースサーバシステム。
11. The storage unit further includes matching completion offset information indicating a location where matching processing has been completed, and the server updates the matching completion offset information every time the data is read and written. Update means, read request receiving means for receiving a read request, and first determination for determining whether the new / old information stored in the storage means indicates that the content of the local disk device is the latest. Means, when the first determining means determines that the new / old information does not indicate that the content of the local disk device is the newest, the offset and the size of the data to be read are requested. Second determining means for determining whether or not the combined value is within the range of the matching completion offset information stored in the storage means; When the second determination means determines that the data is out of the range of the matching completion offset information, the new and old information is used to determine that the content of the local disk device is the newest. 4. The non-shared type parallel database server system according to claim 3, further comprising reading means for reading from a local disk device of the server shown.
【請求項12】 一致化処理が行なわれたローカルディ
スク装置をそれぞれ具備する複数のサーバがネットワー
クを介して接続された非共有型パラレルデータベースサ
ーバシステムにおけるデータ書き込み方法において、 前記サーバは、 自己のローカルディスク装置への制御を行なうためのI
/Oブロックドライバと、 他のサーバとのデータのやり取りを制御するためのI/
Oブロックドライバ連携手段とを具備し、 前記I/Oブロックドライバが、書き込み要求に基づい
て、データを自己のローカルディスク装置に書き込み、 前記I/Oブロックドライバ連携手段が、ローカルディ
スク装置に書き込まれたデータを読み込み、この読み込
まれたデータを他のサーバのI/Oブロックドライバ連
携手段に転送し、 転送先のサーバのI/Oブロックドライバ連携手段は、
前記転送されたデータを自己のローカルディスク装置に
書き込み、書き込み完了通知を転送元のサーバのI/O
ブロックドライバ連携手段に通知し、 転送元のI/Oブロックドライバ連携手段が、前記転送
元のサーバのI/Oブロックドライバ連携手段から書き
込み完了通知を受信した場合に、転送元のI/Oブロッ
クドライバから書き込み要求元へ書き込み完了通知を返
信することを特徴とする非共有型パラレルデータベース
サーバシステムにおけるデータ書き込み方法。
12. A data writing method in a non-shared type parallel database server system in which a plurality of servers each having a local disk device on which a matching process has been performed is connected via a network. I for controlling the disk device
I / O block driver and I / O for controlling the exchange of data with other servers
An I / O block driver cooperation unit, wherein the I / O block driver writes data to its own local disk device based on a write request, and the I / O block driver cooperation unit writes data to the local disk device. The read data is read, and the read data is transferred to the I / O block driver cooperation means of another server, and the I / O block driver cooperation means of the transfer destination server is
The transferred data is written to its own local disk device, and a write completion notification is sent to the I / O of the transfer source server.
When the I / O block driver cooperation unit of the transfer source receives the write completion notification from the I / O block driver cooperation unit of the transfer source server, the I / O block of the transfer source is notified to the block driver cooperation unit. A data write method in a non-shared type parallel database server system, wherein a write completion notification is returned from a driver to a write request source.
【請求項13】 ローカルディスク装置をそれぞれ具備
する複数のサーバがネットワークを介して接続された非
共有型パラレルデータベースサーバシステムにおける一
致化処理方法において、 前記サーバは、 自己のローカルディスク装置への制御を行なうためのI
/Oブロックドライバと、 他のサーバとのデータのやり取りを制御するためのI/
Oブロックドライバ連携手段と ローカルディスク装置の内容が最も新しいか否かを示す
新旧情報を格納する格納手段とを具備し、 一致化処理要求が行なわれ、かつ前記新旧情報が自己の
ローカルディスク装置の内容が他のサーバのローカルデ
ィスク装置の内容よりも新しいことを示している場合
に、前記I/Oブロックドライバを介して、自己のロー
カルディスク装置からデータを読み出し、この読み出し
たデータを前記ネットワークを介して他のサーバに送信
し、 前記他のサーバにおいて、送信されたデータを受信し、
この受信したデータを自己のローカルディスク装置に一
致化するように書き込み、書き込み完了通知を前記読み
出されたデータを送信したサーバに送信し、 書き込み完了通知を一致化処理要求要求元に返すことを
特徴とする非共有型パラレルデータベースサーバシステ
ムにおける一致化処理方法。
13. A matching processing method in a non-shared type parallel database server system in which a plurality of servers each having a local disk device are connected via a network, wherein the server controls its own local disk device. I to do
I / O block driver and I / O for controlling the exchange of data with other servers
O block driver cooperation means and storage means for storing new / old information indicating whether or not the contents of the local disk device are the newest. A matching process request is made, and the new / old information is If the contents indicate that the contents are newer than the contents of the local disk device of another server, data is read from the local disk device via the I / O block driver, and the read data is transferred to the network. Transmitting to another server via the other server, receiving the transmitted data,
The received data is written to its own local disk device so as to be consistent, a write completion notification is transmitted to the server that transmitted the read data, and a write completion notification is returned to the source of the matching processing request. A matching processing method in a non-shared type parallel database server system.
JP2001132949A 2001-04-27 2001-04-27 Non-covalent parallel database serve system, data writing method and matching processing method in the same system Pending JP2002328823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001132949A JP2002328823A (en) 2001-04-27 2001-04-27 Non-covalent parallel database serve system, data writing method and matching processing method in the same system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001132949A JP2002328823A (en) 2001-04-27 2001-04-27 Non-covalent parallel database serve system, data writing method and matching processing method in the same system

Publications (1)

Publication Number Publication Date
JP2002328823A true JP2002328823A (en) 2002-11-15

Family

ID=18980889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001132949A Pending JP2002328823A (en) 2001-04-27 2001-04-27 Non-covalent parallel database serve system, data writing method and matching processing method in the same system

Country Status (1)

Country Link
JP (1) JP2002328823A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006508469A (en) * 2002-11-27 2006-03-09 オラクル・インターナショナル・コーポレイション Clustering system and method having interconnections
JP2006513469A (en) * 2002-12-16 2006-04-20 ユニシス コーポレイシヨン General-purpose multipath driver for storage systems
JP2007088936A (en) * 2005-09-22 2007-04-05 Oki Electric Ind Co Ltd Data matching method for subscriber database network
WO2017158794A1 (en) * 2016-03-17 2017-09-21 楽天株式会社 File management system, file management method, collection program, and non-transitory computer-readable information recording medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006508469A (en) * 2002-11-27 2006-03-09 オラクル・インターナショナル・コーポレイション Clustering system and method having interconnections
JP4653490B2 (en) * 2002-11-27 2011-03-16 オラクル・インターナショナル・コーポレイション Clustering system and method having interconnections
JP2006513469A (en) * 2002-12-16 2006-04-20 ユニシス コーポレイシヨン General-purpose multipath driver for storage systems
JP2007088936A (en) * 2005-09-22 2007-04-05 Oki Electric Ind Co Ltd Data matching method for subscriber database network
WO2017158794A1 (en) * 2016-03-17 2017-09-21 楽天株式会社 File management system, file management method, collection program, and non-transitory computer-readable information recording medium
JPWO2017158794A1 (en) * 2016-03-17 2018-12-06 楽天株式会社 File management system, file management method, collection program, and non-transitory computer-readable information recording medium

Similar Documents

Publication Publication Date Title
JP3645270B2 (en) System and method for the technical field of online, real-time, data transport
US7565503B2 (en) Method and apparatus implementing virtualization for data migration with volume mapping based on configuration information and with efficient use of old assets
US6862632B1 (en) Dynamic RDF system for transferring initial data between source and destination volume wherein data maybe restored to either volume at same time other data is written
US6851022B2 (en) Raid controller and control method thereof
CN102272751B (en) Data integrity in a database environment through background synchronization
US6260109B1 (en) Method and apparatus for providing logical devices spanning several physical volumes
JPH11338641A (en) Disk controller and its control method
JP2005258918A (en) Storage system, and cache memory control method for storage system
US6105076A (en) Method, system, and program for performing data transfer operations on user data
US6681291B2 (en) Storage controller and control method thereof
US6629199B1 (en) Digital data storage system including directory for efficiently providing formatting information for stored records and utilization of a check value for verifying that a record is from a particular storage location
US7117249B1 (en) Computer system and data sharing method between computers
JP2002328823A (en) Non-covalent parallel database serve system, data writing method and matching processing method in the same system
US11262952B2 (en) Concurrent tape modification
JP2018180688A (en) Update processing program, device and method
JP4390618B2 (en) Database reorganization program, database reorganization method, and database reorganization apparatus
JP2002222107A (en) Data synchronizing device
JP2002312210A (en) Method for providing disc array with file system access
US6594726B1 (en) Digital data storage subsystem including arrangement for efficiently controlling fast write storage operation
JPH0844652A (en) Computer system and method for issuing input/output instruction
JP3411402B2 (en) Seal registration device
JP2994917B2 (en) Storage system
JPH11259363A (en) Memory control unit
JPH04342041A (en) Backup maintenance method for computer system
JP2003308174A (en) Inter-device data transfer apparatus, inter-device data transfer method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071016

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080304