JP5071518B2 - Database processing method, database processing system, and database management program - Google Patents

Database processing method, database processing system, and database management program Download PDF

Info

Publication number
JP5071518B2
JP5071518B2 JP2010099385A JP2010099385A JP5071518B2 JP 5071518 B2 JP5071518 B2 JP 5071518B2 JP 2010099385 A JP2010099385 A JP 2010099385A JP 2010099385 A JP2010099385 A JP 2010099385A JP 5071518 B2 JP5071518 B2 JP 5071518B2
Authority
JP
Japan
Prior art keywords
database processing
database
failure
switching destination
processing apparatus
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.)
Active
Application number
JP2010099385A
Other languages
Japanese (ja)
Other versions
JP2010160822A (en
Inventor
克志 八高
憲宏 原
徹 河島
雅巳 樋川
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2010099385A priority Critical patent/JP5071518B2/en
Publication of JP2010160822A publication Critical patent/JP2010160822A/en
Application granted granted Critical
Publication of JP5071518B2 publication Critical patent/JP5071518B2/en
Anticipated expiration legal-status Critical
Active legal-status Critical Current

Links

Images

Description

本発明は、データベース処理方法、データベース処理システム及びデータベース管理プログラムに係り、特に、データ処理技術に関し、系切り替え機能を有するデータベース管理システム(DBMS)に適用して有効なデータベース処理方法、データベース処理システム及びデータベース管理プログラムに関する。   The present invention relates to a database processing method, a database processing system, and a database management program, and more particularly to a database processing method, a database processing system, and a database processing system that are effective when applied to a database management system (DBMS) having a system switching function. It relates to a database management program.

サービスの停止が重大なビジネスチャンスの喪失に直結するネットビジネスの世界では、24時間365日稼動し続ける堅牢性を備えたシステムが求められる。その中でも特に、障害発生時の影響の局所化と迅速なシステム回復が重要である。従来より、データベース(DB)システムでは、障害発生時の迅速なシステム回復のために、サービス実行用の実行系マシンとは別に待機系マシンと用意し、障害発生時に待機系マシンにサービスの実行を切り替える「系切り替え」という技術が用いられてきた。   In the world of Internet business, where the suspension of service is directly linked to the loss of a significant business opportunity, a robust system that continues to operate 24 hours a day, 365 days a year is required. In particular, localization of the impact at the time of failure and rapid system recovery are important. Conventionally, in a database (DB) system, a standby machine is prepared separately from an execution machine for service execution in order to quickly recover a system when a failure occurs, and the standby machine executes services when a failure occurs. A technique called “system switching” has been used.

例えば、非特許文献1(Jim Gray and Andreas Reuter:"TRANSACTION PROCESSING:CONCEPTS AND TECHNIQUES",Morgan Kaufmann Publishers, 1993)は、HA(High Availability)システム構成によるDB障害対策としてホットスタンバイ無停止運用について開示している。   For example, Non-Patent Document 1 (Jim Gray and Andreas Reuter: "TRANSACTION PROCESSING: CONCEPTS AND TECHNIQUES", Morgan Kaufmann Publishers, 1993) discloses hot standby non-stop operation as a DB failure countermeasure by HA (High Availability) system configuration. ing.

一方、非特許文献2("Parallel Database Systems :The Future of High Performance Database Systems",COMMUNICATIONS OF THE ACM, Vol.35, No.6, 1992, P.85-P.98)には、データベースの処理負荷を複数のプロセッサに分散させ並列に実行するアーキテクチャが開示されている。上記従来技術に記載のShared Everything, Shared Disk(共用型)アーキテクチャでは、DB処理を実行する全ての計算機が全てのデータをアクセスすることが可能であり、Shared Nothing(非共用型)アーキテクチャでは、自計算機に接続されたディスクに格納されたデータのみアクセス可能である。   On the other hand, Non-Patent Document 2 ("Parallel Database Systems: The Future of High Performance Database Systems", COMMUNICATIONS OF THE ACM, Vol.35, No.6, 1992, P.85-P.98) An architecture is disclosed in which a load is distributed to a plurality of processors and executed in parallel. In the Shared Everything, Shared Disk (shared type) architecture described in the above prior art, all computers that execute DB processing can access all data. In the Shared Nothing (non-shared type) architecture, Only data stored on a disk connected to the computer can be accessed.

Shared Nothing(非共用型)アーキテクチャは、共用型アーキテクチャにくらべ、DB処理を実行する構成単位の間での共有リソースが少なく、スケーラビリティの点で非常に優れている。Shared Nothing(非共用型)アーキテクチャにおいても、高可用性を提供するために系切り替えの技術を用いることが多い。   The Shared Nothing (non-shared) architecture has fewer shared resources among the structural units that execute DB processing than the shared architecture, and is extremely superior in terms of scalability. Even in Shared Nothing (non-shared) architectures, system switching technology is often used to provide high availability.

非特許文献3(Aslam Nomani:"Implementing IBM DB2 Universal Database V8.1 Enterprise Server Edition with Microsoft Cluster Server", International Business Machines Corporation, 2003)には、各マシンに複数のDB格納領域を配置したデータベース管理システムにおいてDB格納領域を切り替え単位とする系切り替え方式(負荷分散型系切り替え方式)が開示されている。DB格納領域ごとに実行系と待機系を定義し、通常時は実行系が当該DB格納領域にアクセスし、障害発生時には待機系が当該DB格納領域にアクセスすることでサービスを継続する。この方式では、同一マシンに属する複数のDB格納領域に関して、別々のマシンに分散して待機系を定義する。1つのマシンで障害が発生した場合に、当該マシン中に属する複数のDB格納領域は別々のマシンに引き継がれる。これにより、系切り替え後の処理実行負荷を複数マシンに分散し、システム全体のスループット低下を軽減することができる。   Non-Patent Document 3 (Aslam Nomani: “Implementing IBM DB2 Universal Database V8.1 Enterprise Server Edition with Microsoft Cluster Server”, International Business Machines Corporation, 2003) describes a database management system in which a plurality of DB storage areas are arranged on each machine. Discloses a system switching method using a DB storage area as a switching unit (load distribution type system switching method). For each DB storage area, an execution system and a standby system are defined. In normal times, the execution system accesses the DB storage area, and when a failure occurs, the standby system accesses the DB storage area to continue the service. In this method, a plurality of DB storage areas belonging to the same machine are distributed to different machines and standby systems are defined. When a failure occurs in one machine, a plurality of DB storage areas belonging to the machine are taken over by different machines. As a result, it is possible to distribute the processing execution load after system switching to a plurality of machines, and to reduce the throughput reduction of the entire system.

Jim Gray and Andreas Reuter:"TRANSACTION PROCESSING:CONCEPTS AND TECHNIQUES",Morgan Kaufmann Publishers, 1993Jim Gray and Andreas Reuter: "TRANSACTION PROCESSING: CONCEPTS AND TECHNIQUES", Morgan Kaufmann Publishers, 1993 David Dewitt and Jim Gray:"Parallel Database Systems :The Future of High Performance Database Systems", COMMUNICATIONS OF THE ACM, Vol.35, No.6, 1992David Dewitt and Jim Gray: "Parallel Database Systems: The Future of High Performance Database Systems", COMMUNICATIONS OF THE ACM, Vol.35, No.6, 1992 Aslam Nomani:"Implementing IBM DB2 Universal Database V8.1 Enterprise Server Edition with Microsoft Cluster Server", International Business Machines Corporation, 2003Aslam Nomani: "Implementing IBM DB2 Universal Database V8.1 Enterprise Server Edition with Microsoft Cluster Server", International Business Machines Corporation, 2003

しかし、系切り替えでは、実行系マシンとは別に待機系マシンとを用意しなければならず、通常サービス実行時には待機系マシンは遊んでいる状態である。また、系切り替えでも「相互待機」という形態で、待機系マシンにも通常のサービス実行を割り当てることもできるが、切り替え時のシステム回復の高速化を図るために、待機系でのシステム立上げをあらかじめ途中まで行っておく(「ウォームスタンバイ」、「ホットスタンバイ」)ことが多く、待機系システムのリソース(プロセスやメモリなど)を余分に用意しなければならない。   However, in system switching, a standby machine must be prepared in addition to the executing machine, and the standby machine is idle during normal service execution. In addition, system switching can also be assigned to the standby machine in the form of “mutual standby”, but normal service execution can be assigned to the standby machine. It is often performed in advance ("warm standby", "hot standby"), and standby system resources (such as processes and memory) must be prepared.

上記のような通常時未稼動状態である待機専用のリソースを必要とするシステムにおいては通常時にリソースを有効に利用できておらず、システム構築・運用におけるTCO(Total Cost of Ownership)削減の観点で問題である。さらにまた、ある稼動状態のマシンに障害が発生し、系切り替えにより他の稼動中マシンにフェイルオーバしても、切り替え先マシンに処理負荷が集中(通常片寄せされていない場合の負荷が2倍になることもありうる)し、システム全体としての処理性能が劣化してしまう。   In systems that require standby-only resources that are not in normal operation as described above, resources cannot be used effectively during normal operations. From the perspective of reducing total cost of ownership (TCO) in system construction and operation It is a problem. Furthermore, even if a machine in a certain operating state fails and failover occurs to another operating machine due to system switchover, the processing load is concentrated on the switching destination machine (usually doubles the load when it is not offset) In other words, the processing performance of the entire system deteriorates.

本発明の目的は、前述のような通常時未稼動状態である待機専用のリソースを抑えることにある。他の目的は、障害発生時の系切り替え後におけるシステム全体の処理性能劣化や負荷のアンバランスを改善することにある。   An object of the present invention is to suppress the standby-only resources that are normally inactive as described above. Another object is to improve processing performance degradation and load imbalance of the entire system after system switching when a failure occurs.

上記目的を達成するために、Shared Nothing(非共用型)アーキテクチャを用いたデータベース管理システムにおいて、障害発生時に稼動中ユニットに切り替える手段を提供するようにしたものである。かつ、障害が発生したユニットに含まれる複数のサーバ(DBMSにおけるDBアクセス機能を提供する論理コンポーネント)を複数の稼動中ユニットに分散するように切り替える手段を提供するようにしたものである。その手段においては、切り替え先ユニットに対して、切り替え対象のサーバを構成上追加する機能、および切り替え対象のサーバを起動し、当該サーバがアクセスを担当するDB格納領域に対するDB回復処理および当該サーバが障害にあった際に実行中であった処理に関してトランザクション回復を施す機能を有するものである。さらに、障害発生時の系切り替え後にシステム全体の処理性能の安定化を図るために、障害発生時のサーバ移動先(系切り替え先ユニット)を決定する方法について、予めユーザが指定したサーバ移動先にしたがいサーバ移動先を決定する機能、予めユーザが指定した指針(ポリシー)に従いシステムが内部にて静的にサーバ移動先を決定する機能、もしくは予めユーザが指定した指針(ポリシー)にしたがいDBMSが障害発生の際に動的にサーバ移動先を決定する機能を備えたものである。   In order to achieve the above object, in a database management system using a Shared Nothing (non-shared type) architecture, means for switching to an operating unit when a failure occurs is provided. In addition, a means for switching a plurality of servers (logical components providing a DB access function in a DBMS) included in a unit in which a failure has occurred to be distributed to a plurality of operating units is provided. In the means, a function for adding a server to be switched in the configuration to the switching destination unit, a server to be switched, and a DB recovery process for the DB storage area that the server is responsible for accessing and the server It has a function of performing transaction recovery for processing that was being executed when there was a failure. Furthermore, in order to stabilize the processing performance of the entire system after system switchover at the time of failure, the method of determining the server move destination (system switchover destination unit) at the time of failure has Therefore, the function to determine the server move destination, the function that the system statically determines the server move destination internally according to the guideline (policy) specified by the user in advance, or the DBMS fails according to the guideline (policy) specified by the user in advance It has a function of dynamically determining the server migration destination when it occurs.

本発明によれば、待機専用のリソースを削減することが可能となる。   According to the present invention, it is possible to reduce standby dedicated resources.

本発明の概念図である。It is a conceptual diagram of this invention. 本実施形態のデータベース処理システムの機能ブロックを示す図である。It is a figure which shows the functional block of the database processing system of this embodiment. 本実施形態におけるコンピュータシステムのハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of the computer system in this embodiment. 本実施形態のサーバ−DB格納領域担当情報の一例を示す図である。It is a figure which shows an example of the server-DB storage area charge information of this embodiment. 本実施形態における障害時のサーバ移動先情報の一例を示す図である。It is a figure which shows an example of the server movement destination information at the time of the failure in this embodiment. 本実施形態のサーバ−ユニット構成情報の一例を示す図である。It is a figure which shows an example of the server-unit structure information of this embodiment. 本実施形態の系監視・系切り替え制御機構での障害発生時の系切り替え処理の手順を示すフローチャートである。5 is a flowchart illustrating a procedure of system switching processing when a failure occurs in the system monitoring / system switching control mechanism according to the embodiment. 本実施形態の切り替え先のユニットでの障害発生時の系切り替え処理の手順を示すフローチャートである。6 is a flowchart illustrating a procedure for system switching processing when a failure occurs in a switching destination unit according to the present exemplary embodiment. 本実施形態の障害発生時の系切り替え処理におけるサーバ移動先ユニット決定の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of server movement destination unit determination in the system switching process at the time of the failure generation of this embodiment. さらに別の実施形態における障害発生時の系切り替え処理におけるサーバ移動先ユニット決定の処理手順を示すフローチャートである。10 is a flowchart illustrating a processing procedure for determining a server migration destination unit in a system switching process when a failure occurs according to another embodiment. 本実施形態の処理要求制御部での障害発生時切り替え処理後のユーザ問合せ処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the user inquiry process after the switching process at the time of failure occurrence in the process request control part of this embodiment.

以下、本発明を実施するための最良の形態について図面を用いて具体的に説明する。
まず、図1を用いて本発明の概念を簡単に説明する。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
First, the concept of the present invention will be briefly described with reference to FIG.

本実施例のデータベース管理システムは、処理要求受付サーバ(FES:Front End Server)10およびDBアクセスサーバ(BES:Back End Server)20を具備する。DBアクセスサーバはDB処理サーバとも言う。ここでのサーバとはデータベース管理システム内の論理的な機能コンポーネントであり、物理的なマシンすなわち情報処理装置のことを指しているわけではない。本例での各種のサーバは、プログラムやオブジェクト、プロセス、スレッドにより実現されるものである。   The database management system of the present embodiment includes a processing request reception server (FES: Front End Server) 10 and a DB access server (BES: Back End Server) 20. The DB access server is also called a DB processing server. The server here is a logical functional component in the database management system, and does not indicate a physical machine, that is, an information processing apparatus. The various servers in this example are realized by programs, objects, processes, and threads.

処理要求受付サーバ(FES)10は、ユーザからの問合せ70を受け付け解析し、DBアクセス要求を生成し、DBアクセスサーバへDBアクセス要求を行う。そしてDBアクセスの結果を必要に応じてユーザに返す。DBアクセスサーバ(BES)20は、処理要求受付サーバ10からのDBアクセス要求を受け取り、要求にしたがってDB格納領域上のデータを操作し、必要に応じて結果を処理要求受付サーバに返す。FES10およびBES20とも1つもしくは複数のプロセスまたはスレッドによって実現される。   The processing request reception server (FES) 10 receives and analyzes a query 70 from a user, generates a DB access request, and makes a DB access request to the DB access server. Then, the DB access result is returned to the user as necessary. The DB access server (BES) 20 receives a DB access request from the processing request receiving server 10, operates data in the DB storage area according to the request, and returns a result to the processing request receiving server as necessary. Both FES 10 and BES 20 are implemented by one or more processes or threads.

本実施例のデータベース管理システムのアーキテクチャは、Shared Nothing(非共用型)アーキテクチャであり、本システムが管理するデータベース(例えばテーブル、インデクス)は、さまざまな手法により複数の分割テーブルおよび分割インデクスに分割され、複数のDB格納領域に分散格納される。あるDB格納領域は決まったDBアクセスサーバに対応付けられており、DBアクセスサーバは、そのDBアクセスサーバに対応付けられたDB格納領域内のデータ(例えばテーブルデータ、インデクスデータ)のみをアクセスする。   The architecture of the database management system of this embodiment is a Shared Nothing (non-shared type) architecture, and the database (for example, table and index) managed by this system is divided into a plurality of divided tables and divided indexes by various methods. , Distributedly stored in a plurality of DB storage areas. A certain DB storage area is associated with a predetermined DB access server, and the DB access server accesses only data (for example, table data and index data) in the DB storage area associated with the DB access server.

図1の例では、通常、BES1は、DB格納領域1へのアクセス要求のみを、BES2は、DB格納領域2へのアクセス要求のみを処理する。また、同様に、BES3は、DB格納領域3へのアクセス要求のみを、BES4は、DB格納領域4へのアクセス要求のみを、そしてBES5は、DB格納領域5へのアクセス要求のみを処理する。BES1、BES2、BES3、BES4およびBES5は同じDB格納領域をアクセスすることはない。あるDB格納領域に対するアクセス要求をどのBESが処理するかは、後述するサーバ−DB格納領域担当情報50によってシステム内で静的に決定する。   In the example of FIG. 1, the BES 1 normally processes only the access request to the DB storage area 1, and the BES 2 processes only the access request to the DB storage area 2. Similarly, the BES 3 processes only the access request to the DB storage area 3, the BES 4 processes only the access request to the DB storage area 4, and the BES 5 processes only the access request to the DB storage area 5. BES1, BES2, BES3, BES4 and BES5 do not access the same DB storage area. Which BES processes an access request for a certain DB storage area is statically determined in the system by server-DB storage area handling information 50 described later.

通常時、BES1、BES2、BES3、BES4およびBES5とも稼動状態であり、すべてのリソース(DBアクセスサーバを実現するプロセス、メモリ等)が有効に活用されている。   Normally, BES1, BES2, BES3, BES4, and BES5 are all in an operating state, and all resources (process, memory, and the like for realizing the DB access server) are effectively utilized.

ここで、例えば情報処理装置3200に電源等の障害が発生し、BES1、BES2およびBES3を有するDBMS2(unit2)がダウンした場合、他の稼動中のDBMSユニット(本例ではunit1およびunit3)にBESごとに処理を引き継いでサービスを続行する。すなわち、稼動中ユニットunit1へと障害対象のBES1およびBES2が移動する。同様に、稼動中ユニットunit3へと障害対象のBES3が移動する。   Here, for example, when a failure such as a power supply occurs in the information processing apparatus 3200 and the DBMS 2 (unit 2) having the BES 1, BES 2, and BES 3 goes down, the BES is in the other active DBMS unit (unit 1 and unit 3 in this example). Take over the processing every time and continue the service. That is, the failure target BES1 and BES2 move to the operating unit unit1. Similarly, the fault target BES 3 moves to the operating unit unit 3.

具体的には、ユニットunit2に障害が発生したことをユニットunit1と同一の情報処装置
上に配置されている系監視・系切り替え制御機構5およびユニットunit3同一の情報処
理装置上に配置されている系監視・系切り替え制御機構5が検知し、BES1、BES2
、BES3おのおののBESに関して以下で述べる系切り替えを実行制御する。以降BE
S1の系切り替えを例に説明する。
Specifically, disposed in the system monitoring and system switching control mechanism 5 and the unit unit3 same information processing apparatus on the disposed that the unit unit2 failure in the unit unit1 same information processing apparatus and on the The system monitoring / system switching control mechanism 5 is detected and BES1, BES2
, BES3 executes and controls the system switching described below for each BES. BE
An example of system switching in S1 will be described.

まず、BES1の障害を検知した系監視・系切り替え制御機構5では、障害対象のBES1のサーバ移動先(系切り替え先)のユニットを障害時のサーバ移動先情報30により決定する(703)。ここではユニットunit1に決定したとしよう。その場合、BES1がアクセスを担当しているDB格納領域1(61)が格納されている共用ディスク装置(60)の切り替えを行い、ユニットunit1が配置されている情報処理装置からアクセスができるような状態にする(704)。そして、DBMS2(ユニットunit1)に対して系切り替え連絡をBES1指定により行う(705)。   First, the system monitoring / system switching control mechanism 5 that has detected the failure of the BES 1 determines the unit of the server movement destination (system switching destination) of the failure target BES 1 from the server movement destination information 30 at the time of the failure (703). Let's say that unit unit1 is decided. In that case, the shared disk device (60) in which the DB storage area 1 (61) to which the BES1 is responsible for the access is switched so that the information processing device in which the unit unit1 is arranged can be accessed. State (704). Then, the system switching communication is made to DBMS 2 (unit unit 1) by designating BES 1 (705).

系監視・系切り替え制御機構5からの連絡を受けたDBMS2(ユニットunit1)は、まず、ユニットunit1に切り替え対象のBES1を追加するため構成情報を変更する(712)。次にユニットunit1にBES1を追加した旨を他の情報処理装置に配置されている他のユニットに対して通知する。そして、切り替え対象であるBES1の起動(開始)を行う(714)。起動処理の延長で、DB格納領域1に対するDB回復処理を行う。   The DBMS 2 (unit unit 1) that has received the communication from the system monitoring / system switching control mechanism 5 first changes the configuration information to add the BES 1 to be switched to the unit unit 1 (712). Next, the fact that BES1 has been added to the unit unit1 is notified to another unit arranged in another information processing apparatus. Then, activation (start) of BES1 to be switched is performed (714). DB recovery processing for the DB storage area 1 is performed as an extension of the startup processing.

以上のサーバ単位の系切り替え処理は、稼動中の系切り替え先のユニットにおいて稼動していた他のBES(BES4)の処理には影響を与えない。他の障害対象サーバBES2、BES3もBES1と同様にサーバ単位に稼動中ユニット(それぞれユニットunit1、ユニットunit3)に、おのおの独立に切り替えを実行する。   The server-based system switching process described above does not affect the processes of other BESs (BES4) that are operating in the system switching destination unit that is operating. Similarly to BES1, the other failure target servers BES2 and BES3 are independently switched to active units (unit unit1 and unit unit3, respectively).

ここで、切り替え後にユーザ(すなわちアプリケーションプログラム)からの問合せ要求70を受け取ったFES(10)は、問合せ要求を解析し、アクセスするデータが存在するDB格納領域を決定する。決定されたDB格納領域へのアクセスを担当するDBアクセスサーバが現在(系切り替え後)稼動中であるユニットに対してDBアクセス要求80を送信する。   Here, the FES (10) that has received the query request 70 from the user (that is, the application program) after switching analyzes the query request and determines a DB storage area in which data to be accessed exists. The DB access request 80 is transmitted to the unit currently operating (after system switchover) in the DB access server in charge of access to the determined DB storage area.

要求された稼動中ユニットは、受け取ったDBアクセス処理を指定サーバ(BES1)で実行し、DB格納領域1をアクセスして要求されたデータ操作を行う。本例では、データベース60内のDB格納領域1(61)に格納されたテーブルデータ(62)の"12"を実行結果として、FESに送信する。送信されたテーブルデータは問合せ結果としてFES(10)によってユーザに返却される。すなわち、障害発生前からユニットunit1で稼動しているBES4と全く同じ処理で障害対象のBES1へのDBアクセス処理要求を実現することができる。   The requested operating unit executes the received DB access processing at the designated server (BES1), accesses the DB storage area 1 and performs the requested data operation. In this example, “12” of the table data (62) stored in the DB storage area 1 (61) in the database 60 is transmitted to the FES as an execution result. The transmitted table data is returned to the user as an inquiry result by FES (10). That is, it is possible to realize a DB access processing request to the failure target BES 1 by exactly the same processing as the BES 4 operating in the unit unit 1 before the occurrence of the failure.

本例でも分かるように、障害対象のユニットunit2で稼動していたBES1、BES2、BES3がすべてある1つの特定ユニットへ切り替わるわけではないため、障害発生後の負荷分散が図られ、切り替え先(移動先)の指定により、切り替え後のシステム全体の処理性能劣化を最小限に抑えることも可能である。ここでは、切り替え先である稼動中ユニットに対するトランザクション到着率を負荷として考えると、ユニットunit1で対切り替え前300%、ユニットunit3で対切り替え前200%。特定1ユニットとしてユニットunit1もしくはユニットunit3を想定した場合の400%に比べ1ユニットに着目した場合でも負荷分散の効果が伺える。ユニットunit1およびユニットunit3に関しては実システムではユニットunit2と同等のBESを通常時より配置および稼動されるのがシステム設計上望ましく、その場合3つのBESが稼動中の状態に1つのBESが切り替わって(移動して)くるため対切り替え前133%となる。   As can be seen in this example, the BES1, BES2, and BES3 that were operating in the fault target unit unit2 are not all switched to one specific unit. It is also possible to minimize the degradation of the processing performance of the entire system after switching by specifying the first). Here, considering the transaction arrival rate for the active unit that is the switching destination as a load, unit unit1 is 300% before pair switching and unit unit3 is 200% before pair switching. Compared to 400% when unit unit1 or unit3 is assumed as a specific unit, the effect of load distribution can be seen even when focusing on one unit. For the unit unit1 and unit3, it is desirable in the system design that the BES equivalent to the unit unit2 is placed and operated in the actual system from the normal time. In that case, one BES is switched to the state in which three BES are in operation ( It will be 133% before the pair is switched.

ここでの障害時のサーバ移動先情報30は、DBMSの管理者などのユーザによりあらかじめDBMSに登録されているものとして記述しているが、DBMSが内部で自動生成することにより管理者の負担を低減することができる。その場合、システム内のユニット数に対し全てBESの数が均等になるように割り振るなどが考えられる。管理者の負担軽減のためにもちろん障害時のサーバ移動先情報30をシステムのサーバ−ユニット構成情報等を入力としたツールにより生成してもよい。   Here, the server destination information 30 at the time of failure is described as being registered in the DBMS in advance by a user such as the administrator of the DBMS, but the burden of the administrator is automatically generated by the DBMS internally. Can be reduced. In that case, it can be considered that the number of BESs is allotted to be equal to the number of units in the system. Of course, in order to reduce the burden on the administrator, the server migration destination information 30 at the time of failure may be generated by a tool that receives the server-unit configuration information of the system.

また、障害発生時に動的にサーバ移動先ユニットを決定してもよい。その場合、サーバ移動先を決定するための指針(ポリシー)90をあらかじめDBMSの管理者などが指定しておくことが考えられる。サーバ移動先を決定するための指針(ポリシー)として、例えば以下のようなものが挙げられる。
(1)CPU利用率、トランザクション到着率、ディスクアクセス率等の負荷の軽い稼動中ユニットをサーバ移動先(切り替え先)を選定する。
(2)メモリ等のリソースに空きがある稼動中ユニットをサーバ移動先(切り替え先)を選定する。
(3)複数稼動中ユニットを切り替えBESが数的に均等になるようにサーバ移動先(切り替え先)を割り振る。
Further, the server migration destination unit may be dynamically determined when a failure occurs. In that case, it is conceivable that a DBMS administrator or the like designates a guideline (policy) 90 for determining a server migration destination in advance. Examples of guidelines (policy) for determining the server migration destination include the following.
(1) A server movement destination (switching destination) is selected for an operating unit with a light load such as a CPU usage rate, a transaction arrival rate, and a disk access rate.
(2) A server movement destination (switching destination) is selected for an active unit in which resources such as memory are available.
(3) A plurality of active units are switched, and server movement destinations (switching destinations) are allocated so that BESs are numerically equal.

上記(1)、(2)および(3)に挙げられた負荷、リソースの空き等の情報を稼動情報100としてDBMS内に蓄積し、系切り替え時に参照する。   Information such as the load and resource availability listed in (1), (2) and (3) above is stored in the DBMS as operation information 100 and is referred to during system switching.

以上のように、障害発生時に、障害対象のユニットに含まれる複数のDBアクセスサーバ(BES)をサーバごとに複数の稼動中ユニットに分散されて切り替えることにより、障害発生時の系切り替え後、システム全体の処理性能劣化を最小限に抑えることが可能となる。   As described above, when a failure occurs, a plurality of DB access servers (BESs) included in the failure target unit are distributed and switched to a plurality of active units for each server, thereby switching the system after the system switching at the time of the failure. It is possible to minimize the overall processing performance deterioration.

ここでは、FESとBESとを別々の情報処理装置上に配置したが、同一の情報処理装置上に配置することによりハードウェア資源の有効活用が可能である。また、本実施例で示したFESの機能およびBESの機能を1つのDBサーバとして実装することにより、データベース管理システムの管理者は、FESとBESとを意識して管理する必要がなくなり、管理コストを低減することができる。本例における切替先のDBサーバは、サーバ移動先情報30が設定されたときにユニットで実行可能な状態で待機させてもよい。   Here, the FES and the BES are arranged on separate information processing apparatuses, but hardware resources can be effectively used by arranging them on the same information processing apparatus. Further, by implementing the FES function and the BES function shown in this embodiment as a single DB server, the administrator of the database management system does not have to be aware of the FES and BES, and the management cost is reduced. Can be reduced. The switching destination DB server in this example may wait in a state that can be executed by the unit when the server movement destination information 30 is set.

次に図2を用いて、本実施形態のデータベース管理システムの概略構成を説明する。
ユーザが作成したアプリケーションプログラム6と、問い合わせ処理やリソース管理などのデータベースシステム全体の管理を行うデータベース管理システム2がある。上記のデータベース管理システム2は、処理要求受付サーバ(FES)10、DBアクセスサーバ(BES)20を具備する。また、データベース管理システム2はデータベースバッファ230を具備し、データベースアクセス対象となるデータを永続的にあるいは一時的に格納するデータベース3、そして障害時のサーバ移動先情報30、サーバ−ユニット構成情報40、サーバ−DB格納領域担当情報50、系切り替え先決定指針90および稼動情報100を有する。
Next, the schematic configuration of the database management system of this embodiment will be described with reference to FIG.
There is an application program 6 created by a user and a database management system 2 that manages the entire database system such as inquiry processing and resource management. The database management system 2 includes a processing request reception server (FES) 10 and a DB access server (BES) 20. In addition, the database management system 2 includes a database buffer 230, a database 3 that permanently or temporarily stores data to be accessed by the database, server movement destination information 30 at the time of failure, server-unit configuration information 40, Server-DB storage area charge information 50, system switching destination determination guideline 90, and operation information 100 are included.

処理要求受付サーバ(FES)10は、アプリケーションプログラム6から投入される問合せを受け付け解析し、DBアクセス要求を生成し、DBアクセスサーバへDBアクセス要求を行う。そしてDBアクセスの結果を必要に応じてアプリケーションプログラム6に返す。DBアクセスサーバ(BES)20は、処理要求受付サーバ10からのDBアクセス要求を受け取り、要求にしたがって外部記憶装置上に記憶されるデータベース3に対しデータベースバッファ230を通じてアクセスする。先に図1において説明した系切り替え対象のDBアクセスサーバのDBアクセス処理では、もともと切り替え先ユニットで稼動していたBESが使用しているものと同じデータベースバッファを利用することもありうる。すなわち、もともとのBESと系切り替えにより移ってきたBESとではデータベースバッファを共用する。   The processing request reception server (FES) 10 receives and analyzes a query input from the application program 6, generates a DB access request, and makes a DB access request to the DB access server. Then, the DB access result is returned to the application program 6 as necessary. The DB access server (BES) 20 receives a DB access request from the processing request receiving server 10 and accesses the database 3 stored on the external storage device through the database buffer 230 according to the request. In the DB access processing of the DB access server to be switched as described above with reference to FIG. 1, the same database buffer as that used by the BES that was originally operating in the switching destination unit may be used. That is, the database buffer is shared between the original BES and the BES moved by the system switching.

上記データベース管理システム2はネットワークなどを介して他のシステムと接続されている。また、処理要求受け付けサーバ(FES)10およびDBアクセスサーバ(BES)20は必ずしも同一の情報処理装置上に配置される必要はない。それぞれ別々の情報処理装置上に配置され、ネットワーク等を介して1つのデータベース管理システムとして機能すればよい。また、1つのデータベース管理システムは複数のFESを配置することにより多量のユーザからの要求の負荷を分散させることができる。また、複数のBESを有することによりデータ処理の並列度が高まり、大規模なデータベースに対するデータ処理も高速に実現することができる。以降、1情報処理装置に配置されるFESもしくはBESを具備したデータベース管理システムの単位をユニットもしくはインスタンスと呼ぶことにする。   The database management system 2 is connected to other systems via a network or the like. Further, the processing request receiving server (FES) 10 and the DB access server (BES) 20 are not necessarily arranged on the same information processing apparatus. Each may be arranged on a separate information processing apparatus and function as one database management system via a network or the like. In addition, one database management system can distribute a load of requests from a large number of users by arranging a plurality of FESs. Further, by having a plurality of BESs, the degree of parallelism of data processing is increased, and data processing for a large-scale database can be realized at high speed. Hereinafter, a unit of a database management system having FES or BES arranged in one information processing apparatus will be called a unit or an instance.

上記処理要求受付サーバ10は、問合せの構文解析・意味解析を行い、適切な処理手順を決定し、その処理手順に対応したコードを生成し、DBアクセスサーバ20に対しDBアクセス要求を行う処理要求制御部211を具備している。   The processing request receiving server 10 performs syntax analysis / semantic analysis of the query, determines an appropriate processing procedure, generates a code corresponding to the processing procedure, and issues a DB access request to the DB access server 20. A control unit 211 is provided.

上記DBアクセスサーバ20は、処理要求受付サーバ10から受け取ったDBアクセス要求(生成したコード)にしたがってデータベース3上のデータのアクセス制御等を行うデータ処理制御部221を具備している。   The DB access server 20 includes a data processing control unit 221 that performs access control of data on the database 3 in accordance with a DB access request (generated code) received from the processing request receiving server 10.

また、上記DBアクセスサーバ20は、他の情報処理装置もしくは他の情報処理装置に配置されたユニットに障害が発生した場合、系管理および系切り替え機能5と連携し、系切り替え要求を受け取りサーバ単位の系切り替え処理を起動する系監視・系切り替え機構連携部222、222から要請を障害対象の指定サーバの系切り替え処理を制御するサーバ単位系切り替え処理部223、223制御の下で切り替え処理の一部として切り替え対象サーバの当該ユニットへの構成上の追加を行うサーバ−ユニット構成情報管理部224、さらに切り替えサーバを起動し当該サーバがアクセスを担当しているDB格納領域ほかの回復を行い、実行中だった処理の更新結果を取り消すトランザクション回復を制御するサーバ起動制御部225を具備する。サーバ−ユニット構成情報管理部224は、前述の処理受付サーバ10にも具備される。   The DB access server 20 receives a system switching request in cooperation with the system management and system switching function 5 when a failure occurs in another information processing apparatus or a unit disposed in another information processing apparatus. A request from the system monitoring / system switching mechanism cooperation unit 222, 222 for starting the system switching processing is performed under the control of the server unit system switching processing units 223, 223 for controlling the system switching processing of the designated server subject to failure. Server-unit configuration information management unit 224 that adds the configuration of the server to be switched to the relevant unit as a part, and also starts the switching server, recovers the DB storage area that the server is responsible for accessing, and executes it A server activation control unit 225 for controlling transaction recovery for canceling the update result of the processing that was in progress That. The server-unit configuration information management unit 224 is also provided in the above-described processing reception server 10.

図3は本実施形態におけるコンピュータシステムのハードウェア構成の一例を示す図である。この例のコンピュータシステムは、情報処理装置3000、3100および3200を含む。   FIG. 3 is a diagram illustrating an example of a hardware configuration of the computer system according to the present embodiment. The computer system of this example includes information processing apparatuses 3000, 3100, and 3200.

情報処理装置3000は、CPU3002、主記憶装置3001、通信制御装置3003、I/O制御装置3004及び端末3006により構成される。主記憶装置3001上には、アプリケーションプログラム3008が置かれ、CPU3002を用いて稼動している。アプリケーションプログラム3008がDBMS2の処理要求受付サーバ10にユーザ問合せを行うと、情報処理装置3000の通信制御装置3003と情報処理装置3100の通信制御装置3003によって、ネットワーク3007を経由して処理要求受付サーバ10に問合せ要求が送られる。   The information processing device 3000 includes a CPU 3002, a main storage device 3001, a communication control device 3003, an I / O control device 3004, and a terminal 3006. An application program 3008 is placed on the main storage device 3001 and operates using the CPU 3002. When the application program 3008 makes a user inquiry to the processing request reception server 10 of the DBMS 2, the processing request reception server 10 is transmitted via the network 3007 by the communication control device 3003 of the information processing device 3000 and the communication control device 3003 of the information processing device 3100. An inquiry request is sent to

情報処理装置3100は、CPU3002、主記憶装置3001、通信制御装置3003、I/O制御装置3004、磁気ディスク装置等の外部記憶装置3005及び端末3006により構成される。情報処理装置3100の主記憶装置3001上には、図2を用いて先に説明した処理要求受付サーバ10を有するデータベース管理システムが置かれ、CPU3002を用いて稼動している。外部記憶装置3005上にはデータベース管理システムが管理するデータベース3が格納される。また、データベース管理システム2を実現する処理プログラム3100も外部記憶装置300上に格納される。処理要求受付サーバ10は、I/O制御装置3004により外部記憶装置3005からデータの読み出し/書き込みを行い、通信制御装置3003によりネットワーク3007で接続された他の情報処理装置とデータの送受信を行う。 The information processing device 3100 includes a CPU 3002, a main storage device 3001, a communication control device 3003, an I / O control device 3004, an external storage device 3005 such as a magnetic disk device, and a terminal 3006. On the main storage device 3001 of the information processing device 3100, the database management system 2 having the processing request receiving server 10 described above with reference to FIG. 2 is placed and is operating using the CPU 3002. A database 3 managed by the database management system 2 is stored on the external storage device 3005. The processing program 3100 A for implementing a database management system 2 is also stored in the external storage device 300 5 above. The processing request reception server 10 reads / writes data from / from the external storage device 3005 by the I / O control device 3004 and transmits / receives data to / from other information processing devices connected via the network 3007 by the communication control device 3003.

情報処理装置3200は、CPU3002、主記憶装置3001、通信制御装置3003、I/O制御装置3004、磁気ディスク装置等の外部記憶装置3005及び端末3006により構成される。情報処理装置3200の主記憶装置3001上には、図2を用いて先に説明したDBアクセスサーバ20を有するデータベース管理システムが置かれ、CPU3002を用いて稼動している。外部記憶装置3005上にはデータベース管理システムが管理するデータベース3が格納される。また、データベース管理システム2を実現する処理プログラム3100も外部記憶装置300上に格納される。DBアクセスサーバ20は、I/O制御装置3004により外部記憶装置3005からデータの読み出し/書き込みを行い、通信制御装置3003によりネットワーク3007で接続された他の情報処理装置とデータの送受信を行う。 The information processing device 3200 includes a CPU 3002, a main storage device 3001, a communication control device 3003, an I / O control device 3004, an external storage device 3005 such as a magnetic disk device, and a terminal 3006. A database management system 2 having the DB access server 20 described above with reference to FIG. 2 is placed on the main storage device 3001 of the information processing device 3200 and is operating using the CPU 3002. A database 3 managed by the database management system 2 is stored on the external storage device 3005. The processing program 3100 A for implementing a database management system 2 is also stored in the external storage device 300 5 above. The DB access server 20 reads / writes data from / to the external storage device 3005 by the I / O control device 3004 and transmits / receives data to / from other information processing devices connected via the network 3007 by the communication control device 3003.

ここで、2つの情報処理装置3200にまずそれぞれ関連付けられたデータベース3が格納された外部記憶装置3005は、共用ディスクであり、他方の情報処理装置からのアクセスも可能である。データベース管理システム2の稼動状況の監視(系の監視)および種々の障害発生にともなう系切り替え操作を制御する系監視・系切り替え制御機構5(クラスタウエアと呼ぶこともある)により、上記共用ディスクのアクセス制御は行われる。   Here, the external storage device 3005 storing the databases 3 respectively associated with the two information processing devices 3200 is a shared disk and can be accessed from the other information processing device. Monitoring of the operation status of the database management system 2 (system monitoring) and a system monitoring / system switching control mechanism 5 (sometimes referred to as clusterware) for controlling a system switching operation in response to occurrence of various failures cause the shared disk to be Access control is performed.

図4は本実施形態のサーバ−DB格納領域担当情報の一例を示す図である。   FIG. 4 is a diagram showing an example of server-DB storage area charge information according to this embodiment.

図4の例では、サーバ−DB格納領域担当情報50は、DB格納領域を示すDB格納領域名(401)と、そのDB格納領域名(401)で識別されるDB格納領域へのアクセスを担当するDBアクセスサーバのサーバ名(402)より構成される。情報エントリ411は、DB格納領域1はBES1がそのアクセスを担当することを示している。同様に、情報エントリ412はDB格納領域2へのアクセス担当をBES2が、情報エントリ413はDB格納領域3へのアクセス担当をBES3が行うことをそれぞれ示している。本情報は、系切り替えをまたがって変更されることはない静的はシステム構成情報である。   In the example of FIG. 4, the server-DB storage area management information 50 is in charge of access to the DB storage area identified by the DB storage area name (401) indicating the DB storage area and the DB storage area name (401). It consists of the server name (402) of the DB access server. The information entry 411 indicates that the DB storage area 1 is in charge of access by the BES 1. Similarly, the information entry 412 indicates that the BES2 is responsible for accessing the DB storage area 2, and the information entry 413 indicates that the BES3 is responsible for accessing the DB storage area 3. This information is static system configuration information that is not changed across system switching.

図5は本実施形態における障害時のサーバ移動先情報の一例を示す図である。   FIG. 5 is a diagram showing an example of server destination information at the time of failure in the present embodiment.

図5の例では、障害時のサーバ移動先情報30は、DBアクセスサーバを示すサーバ名(501)と、そのDBアクセスサーバで識別されるサーバに障害が発生した場合に、系切り替え先となるユニットのユニット名(502)より構成される。情報エントリ511は、障害発生時BES1はユニットunit1へ切り替わる、すなわちユニットunit1に配置されたBES1として処理を引き継ぎ、サービスを続行することを示す。同様に、情報エントリ512はBES2が障害時にユニットunit1へ切り替わることを、情報エントリ513はBES3が障害時にユニットunit3へ切り替わることをそれぞれ示している。本情報はシステム起動時にあらかじめDBMS管理者が指定することもありうるし、またシステムが自動的にシステム内部で生成することもありうる。その場合、あらかじめユーザによりサーバ切り替え先を決定するための指針(ポリシー)90が設定される。その指針(ポ
リシー)の例としては、
(1)あるユニット内に含まれる全てのDBアクセスサーバを全て別々のユニットに切り替えるように生成する
(2)複数のある特定ユニット間に均等にDBアクセスサーバが切り替わるように生成するなどが挙げられる。
In the example of FIG. 5, the server migration destination information 30 at the time of failure is the system switch destination when a failure occurs in the server name (501) indicating the DB access server and the server identified by the DB access server. It consists of a unit name (502) of the unit. The information entry 511 indicates that the BES1 is switched to the unit unit1 when the failure occurs, that is, the process is taken over as the BES1 arranged in the unit unit1 and the service is continued. Similarly, the information entry 512 indicates that BES2 is switched to unit unit1 when a failure occurs, and the information entry 513 indicates that BES3 is switched to unit unit3 when a failure occurs. This information may be specified in advance by the DBMS administrator when the system is started, or the system may automatically generate the information inside the system. In that case, a guideline (policy) 90 for determining a server switching destination is set in advance by the user. As an example of the policy (policy),
(1) All DB access servers included in a unit are generated so as to be switched to different units. (2) The DB access servers are generated so that they are evenly switched between a plurality of specific units. .

障害時のサーバ移動先情報30は、DBMSが稼動する情報処理装置上のメモリに配置され容易にDBMSからアクセスされるよう実装されることが多い。またさらに本例では、BES1、BES2、BES3とも情報エントリが1つずつしか記載していないが、それぞれ複数エントリを有すること、すなわち切り替え先ユニットが複数存在することも可能であり、障害発生時のユニット稼動情報と、それら複数の切り替え先ユニットとしての優先度から切り替え先を決定すればよい。   In many cases, the server destination information 30 at the time of failure is arranged in a memory on an information processing apparatus on which the DBMS operates and is easily accessed from the DBMS. Further, in this example, only one information entry is described for each of BES1, BES2, and BES3. However, it is possible to have a plurality of entries, that is, to have a plurality of switching destination units. The switching destination may be determined from the unit operation information and the priority as the plurality of switching destination units.

図6は本実施形態のサーバ−ユニット構成情報の一例を示す図であり、上側の611から615まではユニットunit2の障害が発生する前の情報を、下側の621から625まではユニットunit2に障害が発生し系切り替えが行われた後の情報を示している。   FIG. 6 is a diagram showing an example of server-unit configuration information according to the present embodiment. Information before the failure of the unit unit2 is assigned to the upper unit 611 to 615, and information to the unit unit2 is assigned to the lower unit 621 to 625. Information after a failure occurs and system switchover is performed is shown.

図6の例では、サーバ−ユニット構成情報40は、DBアクセスサーバを示すサーバ名(601)と、そのDBアクセスサーバが構成上配置されるユニットのユニット名(602)より構成される。情報エントリ611および情報エントリ621、情報エントリ612および情報エントリ622、そして情報エントリ613および情報エントリ623に示すように、通常時ユニットunit2に配置され稼動していたBES1、BES2そしてBES3は、ユニットunit2障害発生に伴う系切り替えによって、BES1およびBES2はユニットunit1へ、BES3はユニットunit3へと構成が変更となっている。   In the example of FIG. 6, the server-unit configuration information 40 includes a server name (601) indicating a DB access server and a unit name (602) of a unit in which the DB access server is configured. As shown in the information entry 611 and the information entry 621, the information entry 612 and the information entry 622, and the information entry 613 and the information entry 623, the BES1, BES2, and BES3 that are normally arranged and operated in the unit unit2 Due to the system switching accompanying the generation, the BES1 and BES2 are changed to the unit unit1, and the BES3 is changed to the unit unit3.

図7および図8は、本実施形態の系監視・系切り替え制御機構および切り替え先のユニットでの、障害発生時の系切り替え処理の手順を示すフローチャートである。図7は系監視・系切り替え制御機構での、図8は切り替え先のユニットでの処理の手順をそれぞれ示すフローチャートである。   FIGS. 7 and 8 are flowcharts showing the procedure of the system switching process when a failure occurs in the system monitoring / system switching control mechanism and the switching destination unit of this embodiment. FIG. 7 is a system monitoring / system switching control mechanism, and FIG. 8 is a flowchart showing a processing procedure in the switching destination unit.

まず、系監視・系切り替え制御機構5では、ステップ701において他ユニットの障害発生を検知し、ステップ702において、障害時のサーバ移動先情報を取得する。そして取得した障害時のサーバ移動先情報を元に、サーバ移動先すなわち系切り先ユニットを決定する(ステップ703)。当該ユニットが切り替え先として決定された場合(ステップ704)、ステップ705に進み共用ディスクの切り替えを行う。さらにステップ706においてDBMSに対して障害発生サーバ(切り替え対象サーバ)を指定し、系切り替え連絡を行う。また、ステップ704において、当該ユニットが切り替え先として決定されかった場合、そのままステップ707へ進み処理を終了する。 First, the system monitoring / system switching control mechanism 5 detects the failure of another unit in step 701, and acquires server destination information at the time of failure in step 702. Then, based on the acquired server migration destination information at the time of failure, a server migration destination, that is, a system disconnection destination unit is determined (step 703). When the unit is determined as the switching destination (step 704), the process proceeds to step 705 to switch the shared disk. Further, in step 706, a failure occurrence server (switching target server) is designated for the DBMS, and system switching notification is performed. Further, in step 704, if the unit was not determined as the switching destination, it terminates the process proceeds to step 707 processing.

系監視・系切り替え制御機構5からステップ801において系切り替え連絡を受けたユニット(DBMS(2))は、ステップ802においてサーバ−ユニット構成情報を変更する。具体的には、指定された切り替え対象サーバの配置ユニットを当該ユニットに変更する。指定サーバが系切り替えにより当該ユニットに移動してくるからである。続いて、ステップ803において、当該ユニットに切り替え対象サーバを追加した旨を他の情報処理装置に配置されている他ユニットに対して通知する。そして、ステップ804において、切り替え対象のサーバの起動(開始)を行う。ステップ805において、切り替え対象サーバがアクセスを担当しているDB格納領域に対するDB回復処理および障害発生時に実行中だった処理の更新結果を取り消すトランザクション回復処理を行う。   The unit (DBMS (2)) that has received the system switching notification from the system monitoring / system switching control mechanism 5 in step 801 changes the server-unit configuration information in step 802. Specifically, the arrangement unit of the designated switching target server is changed to the unit. This is because the designated server moves to the unit by system switching. Subsequently, in step 803, notification is made to another unit arranged in another information processing apparatus that the switching target server has been added to the unit. In step 804, the server to be switched is started (started). In step 805, DB recovery processing is performed on the DB storage area to which the switching target server is responsible for access, and transaction recovery processing for canceling the update result of the processing that was being executed when the failure occurred.

図9は、本実施形態の障害発生時の系切り替え処理におけるサーバ移動先ユニット決定の処理手順を示すフローチャートである。   FIG. 9 is a flowchart illustrating a processing procedure for determining a server migration destination unit in the system switching process when a failure occurs according to this embodiment.

まず、ステップ901において障害時のサーバ移動先情報エントリをサーチし、障害対象サーバに関連する情報エントリを確定する。そして、ステップ902において、確定した情報エントリからサーバ移動先ユニットのユニット名を取得する。ここでステップ903において、取得したユニットが現在稼動中であり切り替え先として有効かどうかと判断する。取得したユニットが稼動中でない場合、ステップ901へ戻り別の切り替え先ユニットを探す。ここで取得したユニットが稼動中である場合、ステップ904に進み、取得したユニットをサーバ移動先に決定する。   First, in step 901, a server move destination information entry at the time of failure is searched, and an information entry related to the failure target server is determined. In step 902, the unit name of the server migration destination unit is acquired from the confirmed information entry. Here, in step 903, it is determined whether the acquired unit is currently operating and is valid as a switching destination. If the acquired unit is not in operation, the process returns to step 901 to search for another switching destination unit. If the acquired unit is in operation, the process proceeds to step 904, and the acquired unit is determined as the server migration destination.

図10は、さらに別な実施形態の障害発生時の系切り替え処理において、サーバ移動先ユニット決定の処理手順を示すフローチャートである。ここでは障害発生時に動的にサーバ移動先ユニットを決定する処理手順について示す。サーバ移動先を決定するための指針(ポリシー)90はあらかじめDBMSの管理者などにより指定され、指定された情報はDBMS内に保持されている。   FIG. 10 is a flowchart illustrating a processing procedure for determining a server migration destination unit in a system switching process when a failure occurs according to still another embodiment. Here, a processing procedure for dynamically determining a server migration destination unit when a failure occurs will be described. A guideline (policy) 90 for determining a server migration destination is designated in advance by a DBMS administrator or the like, and the designated information is held in the DBMS.

まず、ステップ1001において、切り替え先を決定するための指針(ポリシー)を取得する。そして、ステップ1002において取得した指針(ポリシー)を判断し、その判断結果に基づき切り替え先を決定する。本例では3つの指針(ポリシー)について示している。   First, in step 1001, a guideline (policy) for determining a switching destination is acquired. Then, the guideline (policy) acquired in step 1002 is determined, and the switching destination is determined based on the determination result. In this example, three guidelines (policy) are shown.

まず、ステップ1002においてポリシーが「負荷の軽いユニット」である場合、ステップ1011に進み、自ユニットの負荷情報を取得する。負荷情報の例としては、CPU利用率、トランザクション到着率、ディスクアクセス率等が挙げられる。さらに、ステップ1012において他稼動中ユニットの負荷情報も収集し、ステップ1013において、自ユニットと他ユニットの負荷状況を比較する。ステップ1013において自ユニットの負荷が他ユニットの負荷よりも軽かった場合、ステップ1003に進み自ユニットを切り替え先に決定する。ステップ1013において自ユニットの負荷が他ユニットに比べ重い場合、ステップ1004に進み、自ユニットを切り替え先としては決定しない。   First, when the policy is “lightly loaded unit” in step 1002, the process proceeds to step 1011 and the load information of the own unit is acquired. Examples of load information include a CPU usage rate, a transaction arrival rate, a disk access rate, and the like. Further, in step 1012, load information of other operating units is also collected, and in step 1013, the load statuses of the own unit and other units are compared. If the load of the own unit is lighter than the load of the other units in step 1013, the process proceeds to step 1003 and the own unit is determined as the switching destination. If the load on the own unit is heavier than other units in step 1013, the process proceeds to step 1004, and the own unit is not determined as the switching destination.

2つ目のポリシーとして、ステップ1002においてポリシーが「リソースに空きのあるユニット」である場合、ステップ1021に進み、自ユニットのリソース(メモリやサーバに関連する情報を管理する制御ブロックなど)の空き状況を取得する。さらに、ステップ1022において他稼動中ユニット内のリソースの空き状況も取得し、ステップ1023において自ユニットと他ユニットのリソースの空き状況を比較する。ステップ1023において自ユニットのリソースが他ユニットのそれよりも多かった場合、ステップ1003に進み自ユニットを切り替え先に決定する。ステップ1013において自ユニットのリソースが他ユニットに比べ少なかった場合、ステップ1004に進み、自ユニットを切り替え先としては決定しない。   As the second policy, when the policy is “unit with free resources” in step 1002, the process proceeds to step 1021, and the resources of the own unit (control block for managing information related to the memory and server) are free. Get status. Further, in step 1022, the availability of resources in the other operating unit is also acquired, and in step 1023, the availability of resources of the own unit and other units is compared. If the resource of the own unit is larger than that of the other unit in step 1023, the process proceeds to step 1003 and the own unit is determined as the switching destination. When the resource of the own unit is less than that of the other unit in step 1013, the process proceeds to step 1004, and the own unit is not determined as the switching destination.

3つ目のポリシーとして、ステップ1002においてポリシーが「複数の稼動中ユニットへ均等に切り替える」である場合、ステップ1031に進み、他ユニットの稼動情報を取得する。取得した稼動中ユニットの数により自ユニットは切り替え先がどうかを判断し、特に切り替え先として切な場合、ステップ1003に進み自ユニットを切り替え先に決定する。他稼動中ユニットおよび切り替え対象となっているサーバの数等により自ユニットは切り替え先ではない場合には、ステップ1004に進み、自ユニットを切り替え先としては決定しない。 As a third policy, when the policy is “equally switch to a plurality of active units” in step 1002, the process proceeds to step 1031 and the operation information of other units is acquired. Own unit by the obtained number of-operation unit determines whether the switching destination, particularly if switching suitable as the switching destination, and determines the destination switching the own unit proceeds to step 1003. When own unit is not the destination toggles by number or the like of the server that is the other-operation unit and switching target, the process proceeds to step 1004, not determined as the destination switching the own unit.

図11は、本実施形態の処理要求制御部での障害発生時切り替え処理後のユーザ問合せ処理の手順を示すフローチャートである。   FIG. 11 is a flowchart illustrating the procedure of the user inquiry process after the switching process when a failure occurs in the processing request control unit of the present embodiment.

まず、ステップ1101においてユーザ問合せを受け付け解析し、ステップ1102において、ユーザ問合せを実現するためにアクセスするDB格納領域を特定する。続いて、ステップ1103において、サーバ−DB格納領域担当情報をサーチし、特定したDB格納領域へのアクセスを担当しているサーバ(BES)を特定する(ステップ1104)。そして、ステップ1105において、サーバ−ユニット構成情報をサーチし、特定したサーバ(BES)が稼動しているユニットを特定する(ステップ1106)。ここで特定したユニットの先に特定したサーバに対してDBアクセス要求を送信する(ステップ1107)。最終的に送信先からDBアクセスの結果を受け取り(ステップ1108)、ユーザ問合せ結果として返却する(ステップ1109)。   First, in step 1101, a user inquiry is received and analyzed, and in step 1102, a DB storage area to be accessed for realizing the user inquiry is specified. Subsequently, in step 1103, the server-DB storage area charge information is searched, and the server (BES) responsible for access to the specified DB storage area is specified (step 1104). In step 1105, the server-unit configuration information is searched, and the unit in which the specified server (BES) is operating is specified (step 1106). A DB access request is transmitted to the server specified before the unit specified here (step 1107). Finally, the DB access result is received from the transmission destination (step 1108) and returned as a user inquiry result (step 1109).

なお図7、図8、図9、図10および図11で示したフローチャートの処理は、図3で例として示したコンピュータシステムにおけるプログラムとして実行される。しかし、そのプログラムは図3の例の様にコンピュータシステムに物理的に直接接続される外部記憶装置に格納されるものと限定はしない。ハードディスク装置、フレキシブルディスク装置等のコンピュータで読み書きできる記憶媒体に格納することができる。また、ネットワークを介して図3のコンピュータシステムを構成する情報処理装置とは別の情報処理装置に接続される外部記憶装置に格納することもできる。   Note that the processing of the flowcharts shown in FIGS. 7, 8, 9, 10 and 11 is executed as a program in the computer system shown as an example in FIG. However, the program is not limited to the program stored in the external storage device physically connected directly to the computer system as in the example of FIG. It can be stored in a storage medium that can be read and written by a computer, such as a hard disk device or a flexible disk device. Moreover, it can also be stored in an external storage device connected to an information processing apparatus different from the information processing apparatus constituting the computer system of FIG. 3 via a network.

以上によれば、Shared Nothing(非共用型)アーキテクチャを用いたデータベース管理システムにおいて、障害の発生に備えて待機専用のリソース(マシン、DBMSインスタンス)を有することなく、障害発生時の系切り替え後においても、システム全体の処理性能劣化を最小限に抑えることができ、安定性能を維持することが可能となる。   According to the above, in a database management system using a Shared Nothing (non-shared) architecture, without a standby-only resource (machine, DBMS instance) in case of failure occurrence, after system switchover at the time of failure occurrence However, it is possible to minimize the degradation of the processing performance of the entire system and maintain stable performance.

2…データベース管理システム
5…系監視・系切り替え制御機構
20…DBアクセスサーバ
30…障害時のサーバ移動先情報
40…サーバ−ユニット構成情報
50…サーバ−DB格納領域担当情報
60…データベース
90…系切り替え先決定指針
100…稼動情報。
2 ... Database management system 5 ... System monitoring / system switching control mechanism 20 ... DB access server 30 ... Server move destination information in case of failure 40 ... Server-unit configuration information 50 ... Server-DB storage area charge information 60 ... Database 90 ... System Switching destination determination guideline 100... Operation information.

Claims (7)

データベース処理プログラムを有するデータベース処理装置を複数備え、複数の格納領域にデータベースを分割して格納し、該格納領域のそれぞれに割当てられたデータベース処理プログラムの実行によりデータベース処理を行なうデータベース管理システムにおけるデータベース管理方法において、
前記データベース処理装置に障害が発生したことを前記障害が発生していないデータベース処理装置が有する検知手段が検知した場合、データベース処理装置名称とその障害時の切替え先であるデータベース処理装置名称とで構成する障害時切替え先情報を参照するステップと、
前記障害が発生したデータベース処理装置に関連する該障害時切替え先情報に含まれるデータベース処理装置名称を取得するステップと、
前記取得したデータベース処理装置名称が示すデータベース処理装置を切替え先のデータベース処理装置と決定するステップと、
前記系切替え先となるデータベース処理装置にて前記障害が発生したデータベース処理装置に割当てられた前記格納領域を前記系切替え先となるデータベース処理装置で稼動するデータベース処理プログラムに割当てるステップと、
前記系切替え先となるデータベース処理装置におけるデータベース処理プログラムの開始処理を行うステップとを含み、
前記開始処理を行った前記データベース処理プログラムは、切り替え先データベース処理装置に稼動していた他のデータベース処理プログラムに関連付けられたDB格納領域として前記切り替え先データベース処理装置に備えられたデータベースバッファを利用することを特徴とすることを特徴とするデータベース処理方法。
Database management in a database management system comprising a plurality of database processing devices having a database processing program, dividing and storing the database in a plurality of storage areas, and performing database processing by executing the database processing program assigned to each of the storage areas In the method
When the detection means of the database processing apparatus in which no failure has occurred detects that a failure has occurred in the database processing apparatus, the database processing apparatus name and the name of the database processing apparatus that is the switching destination at the time of the failure A step of referring to the switching destination information at the time of failure,
Obtaining a database processing device name included in the failure time switching destination information related to the database processing device in which the failure has occurred;
Determining the database processing device indicated by the acquired database processing device name as the database processing device to be switched;
Allocating the storage area allocated to the database processing apparatus in which the failure has occurred in the database processing apparatus serving as the system switching destination to a database processing program operating in the database processing apparatus serving as the system switching destination;
Including starting a database processing program in the database processing apparatus that is the system switching destination,
The database processing program that has performed the start processing uses a database buffer provided in the switching destination database processing device as a DB storage area associated with another database processing program that has been operating in the switching destination database processing device. A database processing method characterized by that.
前記系切替え先となるデータベース処理装置におけるデータベース処理プログラムの開始処理を行うステップは、
前記障害が発生したデータベース処理装置に関連付けられている該分割されたデータベース格納領域に対する回復を行うステップと、
前記データベース処理装置が、障害が発生したことを検知した際に実行中であった処理を回復するステップと、を含むことを特徴とする請求項1記載のデータベース処理方法。
The step of starting the database processing program in the database processing apparatus that is the system switching destination,
Recovering the divided database storage area associated with the failed database processing apparatus;
The database processing method according to claim 1, further comprising a step of recovering a process being executed when the database processing apparatus detects that a failure has occurred.
前記障害時切替え先情報は、予めユーザからの指定によって生成することを特徴とする請求項1に記載のデータベース処理方法。   The database processing method according to claim 1, wherein the failure switching destination information is generated in advance by designation from a user. 該障害時切替え先情報は、予めユーザから与えられた指針にしたがって前記データベース管理システムが生成することを特徴とする請求項1に記載のデータベース処理方法。   The database processing method according to claim 1, wherein the failure switching destination information is generated by the database management system according to a guideline given in advance by a user. 前記指針は、特定の前記データベース処理装置に含まれる複数のデータベース処理プログラムを全て別々のユニットに切り替えるように生成する、もしくは、特定の前記データベース処理装置に均等数のデータベース処理プログラムを切替えるように生成することを特徴とする請求項4に記載のデータベース処理方法   The guideline is generated so that a plurality of database processing programs included in a specific database processing apparatus are all switched to different units, or generated so that an equal number of database processing programs are switched to a specific database processing apparatus. The database processing method according to claim 4, wherein: データベース処理プログラムを有するデータベース処理装置を複数備え、複数の格納領域にデータベースを分割して格納し、該格納領域のそれぞれに割当てられたデータベース処理プログラムの実行によりデータベース処理を行なうデータベース管理システムにおいて、
前記データベース処理装置に障害が発生したことを前記障害が発生していないデータベース処理装置が有する検知手段が検知した場合、データベース処理装置名称とその障害時の切替え先であるデータベース処理装置名称とで構成する障害時切替え先情報を参照する手段と、
前記障害が発生したデータベース処理装置に関連する該障害時切替え先情報に含まれるデータベース処理装置名称を取得する手段と、
前記取得したデータベース処理装置名称が示すデータベース処理装置を切替え先のデータベース処理装置と決定する手段と、
前記系切替え先となるデータベース処理装置にて前記障害が発生したデータベース処理装置に割当てられた前記格納領域を前記系切替え先となるデータベース処理装置で稼動するデータベース処理プログラムに割当てる手段と、
前記系切替え先となるデータベース処理装置におけるデータベース処理プログラムの開始処理を行う手段とを有し、
前記開始処理を行った前記データベース処理プログラムは、切り替え先データベース処理装置に稼動していた他のデータベース処理プログラムに関連付けられたDB格納領域として前記切り替え先データベース処理装置に備えられたデータベースバッファを利用することを特徴とすることを特徴とするデータベース処理システム。
In a database management system comprising a plurality of database processing devices having a database processing program, dividing and storing a database in a plurality of storage areas, and performing database processing by executing a database processing program assigned to each of the storage areas,
When the detection means of the database processing apparatus in which no failure has occurred detects that a failure has occurred in the database processing apparatus, the database processing apparatus name and the name of the database processing apparatus that is the switching destination at the time of the failure Means for referring to the switching destination information at the time of failure,
Means for acquiring a database processing device name included in the failure time switching destination information related to the database processing device in which the failure has occurred;
Means for determining the database processing device indicated by the acquired database processing device name as the switching-destination database processing device;
Means for allocating the storage area allocated to the database processing apparatus in which the failure has occurred in the database processing apparatus serving as the system switching destination to a database processing program operating in the database processing apparatus serving as the system switching destination;
Means for performing start processing of a database processing program in the database processing apparatus as the system switching destination,
The database processing program that has performed the start processing uses a database buffer provided in the switching destination database processing device as a DB storage area associated with another database processing program that has been operating in the switching destination database processing device. A database processing system characterized by that.
データベース処理プログラムを有するデータベース処理装置を複数備え、複数の格納領域にデータベースを分割して格納し、該格納領域のそれぞれに割当てられたデータベース処理プログラムの実行によりデータベース処理を行なうデータベース管理システムにおけるデータベース管理方法を実現するためのデータベース管理プログラムにおいて、
前記データベース処理装置に障害が発生したことを前記障害が発生していないデータベース処理装置が有する検知手段が検知した場合、データベース処理装置名称とその障害時の切替え先であるデータベース処理装置名称とで構成する障害時切替え先情報を参照するステップと、
前記障害が発生したデータベース処理装置に関連する該障害時切替え先情報に含まれるデータベース処理装置名称を取得するステップと、
前記取得したデータベース処理装置名称が示すデータベース処理装置を切替え先のデータベース処理装置と決定するステップと、
前記系切替え先となるデータベース処理装置にて前記障害が発生したデータベース処理装置に割当てられた前記格納領域を前記系切替え先となるデータベース処理装置で稼動するデータベース処理プログラムに割当てるステップと、
前記系切替え先となるデータベース処理装置におけるデータベース処理プログラムの開始処理を行うステップと、
前記開始処理を行った前記データベース処理プログラムは、切り替え先データベース処理装置に稼動していた他のデータベース処理プログラムに関連付けられたDB格納領域として前記切り替え先データベース処理装置に備えられたデータベースバッファを利用するステップと、を有することを特徴とするデータベース管理プログラム。
Database management in a database management system comprising a plurality of database processing devices having a database processing program, dividing and storing the database in a plurality of storage areas, and performing database processing by executing the database processing program assigned to each of the storage areas In a database management program for realizing the method,
When the detection means of the database processing apparatus in which no failure has occurred detects that a failure has occurred in the database processing apparatus, the database processing apparatus name and the name of the database processing apparatus that is the switching destination at the time of the failure A step of referring to the switching destination information at the time of failure,
Obtaining a database processing device name included in the failure time switching destination information related to the database processing device in which the failure has occurred;
Determining the database processing device indicated by the acquired database processing device name as the database processing device to be switched;
Allocating the storage area allocated to the database processing apparatus in which the failure has occurred in the database processing apparatus serving as the system switching destination to a database processing program operating in the database processing apparatus serving as the system switching destination;
Performing a database processing program start process in the database processing apparatus as the system switching destination;
The database processing program that has performed the start processing uses a database buffer provided in the switching destination database processing device as a DB storage area associated with another database processing program that has been operating in the switching destination database processing device. And a database management program.
JP2010099385A 2010-04-23 2010-04-23 Database processing method, database processing system, and database management program Active JP5071518B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010099385A JP5071518B2 (en) 2010-04-23 2010-04-23 Database processing method, database processing system, and database management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010099385A JP5071518B2 (en) 2010-04-23 2010-04-23 Database processing method, database processing system, and database management program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004158628A Division JP4572581B2 (en) 2004-05-28 2004-05-28 Database processing method and system, and processing program therefor

Publications (2)

Publication Number Publication Date
JP2010160822A JP2010160822A (en) 2010-07-22
JP5071518B2 true JP5071518B2 (en) 2012-11-14

Family

ID=42577890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010099385A Active JP5071518B2 (en) 2010-04-23 2010-04-23 Database processing method, database processing system, and database management program

Country Status (1)

Country Link
JP (1) JP5071518B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5499196B1 (en) * 2013-03-05 2014-05-21 株式会社Nttドコモ Database management server, database server management system and database management program provided therewith

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05314085A (en) * 1992-05-11 1993-11-26 Toshiba Corp System for waiting operation mutually among plural computers
JP3367510B2 (en) * 1993-04-28 2003-01-14 株式会社日立製作所 Database management method and system
JPH0757010A (en) * 1993-08-23 1995-03-03 Nippon Telegr & Teleph Corp <Ntt> Operation performance control system and its switching method
JP3023441B2 (en) * 1993-11-16 2000-03-21 株式会社日立製作所 Database division management method and parallel database system
JP3409895B2 (en) * 1993-11-26 2003-05-26 富士通株式会社 Load distribution method and information processing system
JPH07248949A (en) * 1994-03-10 1995-09-26 Hitachi Ltd Input/output execution method
JPH07334468A (en) * 1994-06-07 1995-12-22 Toshiba Corp Load distribution system
JPH08263344A (en) * 1995-03-20 1996-10-11 Hitachi Ltd On-line transaction system and recovery control method
JPH08278909A (en) * 1995-04-07 1996-10-22 Nippon Telegr & Teleph Corp <Ntt> System and method for high reliability
JPH1165912A (en) * 1997-08-22 1999-03-09 Hitachi Ltd Parallel processing data base system
US6058490A (en) * 1998-04-21 2000-05-02 Lucent Technologies, Inc. Method and apparatus for providing scaleable levels of application availability
JP2000293489A (en) * 1999-04-08 2000-10-20 Nec Corp Data base server system
JP3806609B2 (en) * 2001-04-27 2006-08-09 株式会社日立製作所 Parallel database system and distributed file system
JP2003131924A (en) * 2001-10-19 2003-05-09 Fujitsu Ltd Remote access program, program for processing of remote access request and client computer

Also Published As

Publication number Publication date
JP2010160822A (en) 2010-07-22

Similar Documents

Publication Publication Date Title
US8201022B2 (en) Method and system for data processing with high availability
US9529883B2 (en) Maintaining two-site configuration for workload availability between sites at unlimited distances for products and services
KR101925696B1 (en) Managed service for acquisition, storage and consumption of large-scale data streams
US10084858B2 (en) Managing continuous priority workload availability and general workload availability between sites at unlimited distances for products and services
US10817478B2 (en) System and method for supporting persistent store versioning and integrity in a distributed data grid
US8140791B1 (en) Techniques for backing up distributed data
JP4675174B2 (en) Database processing method, system and program
JP4920248B2 (en) Server failure recovery method and database system
US20100094948A1 (en) Workload migration using on demand remote paging
US20120159102A1 (en) Distributed storage system, distributed storage method, and program and storage node for distributed storage
US20090055444A1 (en) Method and System for High-Availability Database
JP2007172334A (en) Method, system and program for securing redundancy of parallel computing system
JP2007226400A (en) Computer management method, computer management program, stand-by server for managing configuration of execution server, and computer system
US11550820B2 (en) System and method for partition-scoped snapshot creation in a distributed data computing environment
JP2019008417A (en) Information processing apparatus, memory control method and memory control program
JP5948933B2 (en) Job continuation management apparatus, job continuation management method, and job continuation management program
US11604806B2 (en) System and method for highly available database service
JP6123626B2 (en) Process resumption method, process resumption program, and information processing system
US20140059312A1 (en) Recording medium, computer, and information processing system
WO2014080492A1 (en) Computer system, cluster management method, and management computer
EP2715559A1 (en) Method of managing usage rights i a share group of servers
JP5071518B2 (en) Database processing method, database processing system, and database management program
JP4375121B2 (en) Processing agent method in database management system
US7558858B1 (en) High availability infrastructure with active-active designs
JP5419802B2 (en) Virtual computer control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100423

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120420

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120705

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120724

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120806

R151 Written notification of patent or utility model registration

Ref document number: 5071518

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150831

Year of fee payment: 3