Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5358469B2 - Database management method, database management apparatus, database management program, and database management system - Google Patents
[go: Go Back, main page]

JP5358469B2 - Database management method, database management apparatus, database management program, and database management system - Google Patents

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

Info

Publication number
JP5358469B2
JP5358469B2 JP2010019139A JP2010019139A JP5358469B2 JP 5358469 B2 JP5358469 B2 JP 5358469B2 JP 2010019139 A JP2010019139 A JP 2010019139A JP 2010019139 A JP2010019139 A JP 2010019139A JP 5358469 B2 JP5358469 B2 JP 5358469B2
Authority
JP
Japan
Prior art keywords
index
database
definition information
definition
database management
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.)
Expired - Fee Related
Application number
JP2010019139A
Other languages
Japanese (ja)
Other versions
JP2011159038A (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 JP2010019139A priority Critical patent/JP5358469B2/en
Publication of JP2011159038A publication Critical patent/JP2011159038A/en
Application granted granted Critical
Publication of JP5358469B2 publication Critical patent/JP5358469B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To facilitate quick table manipulation in terms of operation while suppressing I/O between a database management device and a database device. <P>SOLUTION: Upon receiving a definition request, a processor of the database management device changes table definition information so that a specific table is targeted for special processing. The processor selects an index that is set on the table based on index definition information related to the table, and registers the index in the index definition information so that the index is targeted for special processing. Furthermore, the processor places the index in a specialized memory based on the index definition information while transferring the table from a buffer to the specialized memory based on the table definition information. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、データベース管理方法、データベース管理装置、データベース管理プログラム及びデータベース管理システムに関し、特に、いわゆるメモリデータベース(メモリDB)を用いた技術に関するデータベース管理システムに適用して好適なものである。   The present invention relates to a database management method, a database management apparatus, a database management program, and a database management system, and is particularly suitable when applied to a database management system related to a technique using a so-called memory database (memory DB).

情報化社会の発展に伴い、多くの企業がデータベースを用いたオンラインサービスを提供している。例えば、銀行のATMシステムや道路や鉄道の経路検索システムがオンラインサービスの例として挙げられる。近年、企業間競争の激化に伴い、各企業は他企業との差別化を図るため、サービスの拡充やサービス提供時間の長時間化、さらにはオンラインサービスの常時提供が行われている。   With the development of the information society, many companies offer online services using databases. For example, bank ATM systems and road / railway route search systems are examples of online services. In recent years, with the intensification of competition between companies, each company is expanding its services, extending the service provision time, and providing online services all the time to differentiate themselves from other companies.

また、インターネット端末や携帯電話など、オンラインサービスを利用する端末の増加に伴い、オンラインサービスに対するアクセス量が増大している。そのため、例えば、道路や鉄道の経路検索サービスといった、端末からの、大量のデータ参照要求を処理するオンラインサービスでは、複数の装置に同一内容のデータベースを配置し、端末からの参照要求を分散して処理している。このように参照要求を分散して処理を行うために多数のサーバを用意しようとすると、コスト的に割高なシステムとなりがちである。   In addition, with the increase in terminals that use online services, such as Internet terminals and mobile phones, the amount of access to online services is increasing. Therefore, for example, in online services that process a large amount of data reference requests from terminals such as road and railway route search services, databases having the same contents are arranged in a plurality of devices, and reference requests from terminals are distributed. Processing. In this way, if a large number of servers are prepared to perform processing by distributing reference requests, the system tends to be expensive.

従来のデータベース管理システムでは、上述した参照要求を集約して処理を高速に行うため、メモリの価格が下落したこともあり、データベースを格納する外部記憶装置であるデータベース装置を持たず、データベース管理装置上にメモリを置き、このメモリ(以下「メモリDB」という)上のデータのみをアクセスすることにより、外部記憶装置に対するI/Oを抑制する技術が存在している(非特許文献1参照)。従来のデータベース管理システムでは、データベース装置のデータベースが管理する表をメモリDBに配置することにより、そのデータベース装置とデータベース管理装置との間におけるI/Oを抑制し、データベース装置とのアクセス速度の低さを補っている。   In the conventional database management system, since the above-described reference requests are aggregated and processing is performed at a high speed, the price of the memory may drop, and there is no database device that is an external storage device for storing the database. There is a technique for suppressing I / O to an external storage device by placing a memory on top and accessing only data on this memory (hereinafter referred to as “memory DB”) (see Non-Patent Document 1). In the conventional database management system, a table managed by the database of the database device is arranged in the memory DB, so that I / O between the database device and the database management device is suppressed, and the access speed to the database device is low. I make up for it.

Kenneth Salem、Hector Garcia−Molina著、「System M:A Transaction Processing Testbed for Memory Resident Data」、IEEE Transactions on knowledge and data engineering.Vol.2、No.1、March 1990Kenneth Salem, Hector Garcia-Molina, “System M: A Transaction Processing Tested for Memory Resident Data”, IEEE Transactions on Knowledge. Vol. 2, no. 1. March 1990

しかしながら、従来では、表に対する高速な操作を実現するために、データベース装置を備えた第1のデータベース管理システムとは別に、メモリDBを管理する第2のデータベース管理システムを導入し、運用および管理する必要があった。そのため、オンラインサービスを実現するために操作する複数の表の内、一部の表のみにアクセスが集中するため、その表をメモリDBとしたい場合でも、運用上の手間が多くかかるという問題があった。   However, conventionally, in order to realize a high-speed operation on the table, a second database management system for managing the memory DB is introduced and operated and managed separately from the first database management system provided with the database device. There was a need. For this reason, access concentrates on only some of the tables that are operated to implement the online service, so even if it is desired to use the tables as memory DBs, there is a problem that it takes a lot of operational effort. It was.

本発明は以上の点を考慮してなされたもので、データベース管理装置とデータベース装置との間におけるI/Oを抑制しつつ、表を高速に操作することが運用上容易にできるデータベース管理方法、データベース管理装置、データベース管理プログラム及びデータベース管理システムを提案するものである。   The present invention has been made in consideration of the above points, and a database management method capable of easily operating a table at high speed while suppressing I / O between the database management apparatus and the database apparatus, A database management apparatus, a database management program, and a database management system are proposed.

かかる課題を解決するため、本発明においては、少なくとも1つの表を有するデータベースが搭載されたデータベース装置との間でバッファを経由して前記表を操作するデータベース管理装置におけるデータベース管理方法であって、前記データベース管理装置のプロセッサが、特定の表が指定された定義要求を受け付けると、前記特定の表を特殊処理の対象とするように表定義情報を変更する表定義変更ステップと、前記特定の表にインデクスが設定されている場合、前記プロセッサが、前記特定の表に関するインデクス定義情報に基づいて前記特定の表に関して設定されているインデクスを選定するとともに、前記選定されたインデクスが前記特殊処理の対象となるように前記インデクス定義情報に登録するインデクス決定ステップと、前記プロセッサが、前記表定義情報に基づいて前記特定の表を前記バッファから特殊メモリに移動させる一方、前記インデクス定義情報に基づいて前記選定されたインデクスを前記特殊メモリに配置する配置ステップとを含むことを特徴とする。   In order to solve such a problem, in the present invention, a database management method in a database management apparatus for operating the table via a buffer with a database apparatus equipped with a database having at least one table, When the processor of the database management apparatus receives a definition request in which a specific table is specified, a table definition changing step for changing table definition information so that the specific table is a target of special processing; and the specific table When the index is set in the processor, the processor selects the index set for the specific table based on the index definition information regarding the specific table, and the selected index is the target of the special processing. An index determination step for registering in the index definition information so that And a processor that moves the specific table from the buffer to the special memory based on the table definition information, and places the selected index in the special memory based on the index definition information. It is characterized by that.

また、本発明においては、少なくとも1つの表を有するデータベースが搭載されたデータベース装置との間でバッファを経由して前記表を操作するデータベース管理装置であって、特定の表が指定された定義要求を受け付ける定義要求受付部と、前記定義要求受付部によって定義要求が受け付けられると、前記特定の表を特殊処理の対象とするように表定義情報を変更する一方、前記特定の表にインデクスが設定されている場合、前記特定の表に関するインデクス定義情報に基づいて前記特定の表に関して設定されているインデクスを選定するとともに、前記選定されたインデクスが前記特殊処理の対象となるように前記インデクス定義情報に登録する定義情報管理部と、前記データベース装置へのアクセス要求を受け付けるデータベースアクセス受付部と、前記データベース装置との間で前記表を操作する際に一時的に前記表を格納するバッファと、前記バッファとは別に設けられた特殊メモリと、前記表定義情報に基づいて前記特定の表を前記バッファから前記特殊メモリに移動させる一方、前記インデクス定義情報に基づいて前記選定されたインデクスを前記特殊メモリに配置するデータベースアクセス制御部とを有することを特徴とする。   According to the present invention, there is provided a database management device that operates a table via a buffer with a database device in which a database having at least one table is mounted, wherein the definition request specifies a specific table. When the definition request is accepted by the definition request accepting unit and the definition request accepting unit, the table definition information is changed so that the specific table is subject to special processing, while the index is set in the specific table. If so, the index definition information is selected so that the index set for the specific table is selected based on the index definition information for the specific table, and the selected index is subject to the special processing. A definition information management unit to be registered in the database, and a database application that accepts access requests to the database device. A buffer for temporarily storing the table when operating the table between the access accepting unit and the database device, a special memory provided separately from the buffer, and the table definition information based on the table definition information A database access control unit configured to move a specific table from the buffer to the special memory, and to place the selected index in the special memory based on the index definition information.

また、本発明においては、少なくとも1つの表を有するデータベースが搭載されたデータベース装置との間でバッファを経由して前記表を操作するデータベース管理装置において動作するデータベース管理プログラムであって、前記データベース管理装置のプロセッサに、特定の表が指定された定義要求を受け付けると、前記特定の表を特殊処理の対象とするように表定義情報を変更させる表定義変更ステップと、前記特定の表にインデクスが設定されている場合、前記プロセッサに、前記特定の表に関するインデクス定義情報に基づいて前記特定の表に関して設定されているインデクスを選定させるとともに、前記選定されたインデクスが前記特殊処理の対象となるように前記インデクス定義情報に登録させるインデクス決定ステップと、前記プロセッサに、前記表定義情報に基づいて前記特定の表を前記バッファから特殊メモリに移動させる一方、前記インデクス定義情報に基づいて前記選定されたインデクスを前記特殊メモリに配置させる配置ステップとを実行させることを特徴とする。   Further, in the present invention, there is provided a database management program that operates in a database management device that operates the table via a buffer with a database device in which a database having at least one table is mounted, the database management program When a definition request in which a specific table is specified is received by the processor of the apparatus, a table definition changing step for changing the table definition information so that the specific table is subject to special processing, and an index is added to the specific table. If set, the processor is caused to select the index set for the specific table based on the index definition information for the specific table, and the selected index is to be the target of the special processing. An index determination step to be registered in the index definition information; An arrangement step of causing the processor to move the specific table from the buffer to the special memory based on the table definition information, and to place the selected index in the special memory based on the index definition information. It is characterized by making it.

また、本発明においては、少なくとも1つの表を有するデータベースが搭載されたデータベース装置と、前記データベース装置の間でバッファを経由して前記表を操作するデータベース管理装置とを備えるデータベース管理システムであって、前記データベース管理装置は、特定の表が指定された定義要求を受け付ける定義要求受付部と、前記定義要求受付部によって定義要求が受け付けられると、前記特定の表を特殊処理の対象とするように表定義情報を変更する一方、前記特定の表にインデクスが設定されている場合、前記特定の表に関するインデクス定義情報に基づいて前記特定の表に関して設定されているインデクスを選定するとともに、前記選定されたインデクスが前記特殊処理の対象となるように前記インデクス定義情報に登録する定義情報管理部と、前記データベース装置へのアクセス要求を受け付けるデータベースアクセス受付部と、前記データベース装置との間で前記表を操作する際に一時的に前記表を格納するバッファと、前記バッファとは別に設けられた特殊メモリと、前記表定義情報に基づいて前記特定の表を前記バッファから前記特殊メモリに移動させる一方、前記インデクス定義情報に基づいて前記選定されたインデクスを前記特殊メモリに配置するデータベースアクセス制御部とを有することを特徴とする。   According to the present invention, there is provided a database management system comprising a database device on which a database having at least one table is mounted, and a database management device for operating the table via a buffer between the database devices. The database management device is configured to receive a definition request in which a specific table is specified, and when the definition request is received by the definition request reception unit, the specific table is subject to special processing. While the table definition information is changed, if an index is set for the specific table, the index set for the specific table is selected based on the index definition information for the specific table and the selected table is selected. Registered in the index definition information so that the index is subject to the special processing. A definition information management unit, a database access receiving unit that receives an access request to the database device, a buffer that temporarily stores the table when operating the table with the database device, and the buffer A special memory provided separately, and the specific table is moved from the buffer to the special memory based on the table definition information, while the selected index is arranged in the special memory based on the index definition information And a database access control unit.

本発明によれば、データベース管理装置とデータベース装置との間におけるI/Oを抑制しつつ、表を高速に操作することが運用上容易にできる。   According to the present invention, it is possible to easily operate a table at high speed while suppressing I / O between the database management device and the database device.

第1の実施の形態によるデータベース管理方法の概略を示す図である。It is a figure which shows the outline of the database management method by 1st Embodiment. 第1の実施の形態におけるデータベース管理システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the database management system in 1st Embodiment. メモリDB化するための定義要求の一例を示す宣言文である。It is a declaration sentence which shows an example of the definition request | requirement for making memory DB. 表定義情報の一例を示す図である。It is a figure which shows an example of table definition information. インデクス定義情報の一例を示す図である。It is a figure which shows an example of index definition information. メモリDB化処理に含まれる手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure contained in memory DB conversion processing. メモリDB化解除処理の手順の一例を示す図である。It is a figure which shows an example of the procedure of memory DB release processing. メモリDB化解除処理に含まれる手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure included in memory DB release processing.

3100……端末、3200……ホストコンピュータ、3300……ネットワーク、3400……データベース管理装置、3410……プロセッサ、3420……メモリ、3422……定義要求受付部、3423……定義情報管理部、3424……ディスクDB管理部、3425……メモリDB管理部、3426……DBアクセス受付部、3427……DBアクセス制御部、3430……DBバッファ、3440……メモリDB、3441……表、3442……インデクス、3450……表定義情報、3460……インデクス定義情報、3500……データベース装置、3511……表、3512……インデクス。   3100: Terminal, 3200: Host computer, 3300: Network, 3400 ... Database management device, 3410 ... Processor, 3420 ... Memory, 3422 ... Definition request accepting unit, 3423 ... Definition information managing unit, 3424 ...... Disk DB management unit, 3425 ... Memory DB management unit, 3426 ... DB access reception unit, 3427 ... DB access control unit, 3430 ... DB buffer, 3440 ... Memory DB, 3441 ... Table, 3442 ... ... index, 3450 ... table definition information, 3460 ... index definition information, 3500 ... database device, 3511 ... table, 3512 ... index.

以下、図面について、本発明の一実施の形態について詳述する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

(1)第1の実施の形態
(1−1)データベース管理方法の概要
図1は、第1の実施の形態によるデータベース管理方法の概略を示す。このデータベース管理方法は、データベース管理プログラムがデータベース管理装置において実行されることにより実現される。なお、以下の説明においてデータベース管理プログラムは、プログラムコードそのものではなく、実行形式のプログラムを表している。このデータベース管理装置は、後述するプロセッサを搭載しており、このプロセッサが、少なくとも1つの表を有するデータベースが搭載されたデータベース装置との間で、バッファリング機能を有するいわゆるDB(データベース)バッファを経由して表を操作する。このデータベース管理方法は、次のような表定義変更ステップ、インデクス決定ステップ及び配置ステップを含んでいる。
(1) First Embodiment (1-1) Overview of Database Management Method FIG. 1 shows an overview of a database management method according to the first embodiment. This database management method is realized by executing a database management program in the database management apparatus. In the following description, the database management program represents an executable program, not the program code itself. This database management device is equipped with a processor to be described later, and this processor passes through a so-called DB (database) buffer having a buffering function with a database device having a database having at least one table. And manipulate the table. This database management method includes the following table definition change step, index determination step, and arrangement step.

表定義変更ステップでは、プロセッサが、本実施の形態における特殊処理(後述するメモリDB(データベース)化に相当)の対象となるべき表3441が指定された定義要求を受け付けると、その表3441を特殊処理の対象とするように表定義情報を変更する(SP100)。この定義要求をSQLで記述すると、例えば「ALLOCATE MEMORY TABLE FOR INDEX IDX1」となる。   In the table definition change step, when the processor receives a definition request in which a table 3441 to be a target of special processing (corresponding to memory DB (database) described later) in the present embodiment is specified, the table 3441 is specially processed. The table definition information is changed so as to be processed (SP100). When this definition request is described in SQL, for example, “ALLOCATE MEMORY TABLE FOR INDEX IDX1” is obtained.

インデクス決定ステップでは、その表3441にインデクス3442が設定されている場合、プロセッサが、その表3441に関するインデクス定義情報に基づいて表3441に関して設定されているインデクス3442を選定するとともに、当該選定されたインデクス3442が特殊処理の対象となるようにインデクス定義情報に登録する(SP200)。   In the index determination step, when the index 3442 is set in the table 3441, the processor selects the index 3442 set with respect to the table 3441 based on the index definition information with respect to the table 3441, and the selected index 3442 is registered in the index definition information so as to be subject to special processing (SP200).

配置ステップでは、プロセッサが、表定義情報に基づいて表3441をバッファの一例としてのDBバッファ3430から特殊メモリの一例としてのメモリDB3440に移動させる一方、インデクス定義情報に基づいて当該選定されたインデクス3442をメモリDB3440に配置する(SP300)。本実施の形態では、このような処理を行うことを「メモリDB化」と呼んでいる。なお、本実施の形態における「移動」とは、表やデータなどを複写先に複写した後に複写元のデータを削除することをいう。   In the placement step, the processor moves the table 3441 from the DB buffer 3430 as an example of the buffer to the memory DB 3440 as an example of the special memory based on the table definition information, while the index 3442 selected based on the index definition information. Are arranged in the memory DB 3440 (SP300). In the present embodiment, performing such processing is called “memory DB conversion”. Note that “move” in the present embodiment refers to deleting copy source data after copying a table or data to a copy destination.

(1−2)第1の実施の形態におけるデータベース管理システムの構成
図2は、第1の実施の形態におけるデータベース管理システム3000の概略構成を示す。データベース管理システム3000は、データベース装置3500及びデータベース管理装置3400を備え、ホストコンピュータ3200及び端末3100がネットワーク3300を介してデータベース管理装置3400に接続されている。データベース装置3500には、データベース管理装置3400が接続されている。
(1-2) Configuration of Database Management System in First Embodiment FIG. 2 shows a schematic configuration of the database management system 3000 in the first embodiment. The database management system 3000 includes a database device 3500 and a database management device 3400, and a host computer 3200 and a terminal 3100 are connected to the database management device 3400 via a network 3300. A database management device 3400 is connected to the database device 3500.

データベース装置3500は、少なくとも1つの表を管理するデータベースが設けられている。データベース装置3500は、例えば磁気ディスク装置を備え、その磁気ディスク装置の記憶領域にはデータベース3510が生成されている。データベース3510は、表3511ごとに列及び行という単位によって多数のデータを管理する。第1の実施の形態では、そのような磁気ディスク装置上のデータベースを「ディスクデータベース」と呼ぶ。以下の説明では、このディスクデータベースを「ディスクDB」と省略して用いる。上記表3511の構造は、表定義情報3450によって定義される。また、データベース3511においては、各表3511にインデクス3512を設定することができる。このインデクス3512の構造は、インデクス定義情報3460によって定義される。   The database device 3500 is provided with a database for managing at least one table. The database device 3500 includes, for example, a magnetic disk device, and a database 3510 is generated in the storage area of the magnetic disk device. The database 3510 manages a large number of data in units of columns and rows for each table 3511. In the first embodiment, such a database on the magnetic disk device is referred to as a “disk database”. In the following description, this disk database is abbreviated as “disk DB”. The structure of the table 3511 is defined by table definition information 3450. In the database 3511, an index 3512 can be set for each table 3511. The structure of the index 3512 is defined by the index definition information 3460.

一方、端末3100は、ネットワーク3300を介してデータベース管理装置3400に対して定義要求を行う。ホストコンピュータ3200は、ユーザ側における少なくとも1つのアプリケーション(以下「ユーザアプリケーション」とも呼ぶ)3210(図示の「UAP」に相当)が動作しているコンピュータである。ユーザアプリケーション3210は、データベース管理装置3400に対してデータベースアクセス要求(以下「DBアクセス要求」という)を行い、データベース管理装置3400がデータベース装置3500との間で表3511の操作を行う。   On the other hand, the terminal 3100 makes a definition request to the database management apparatus 3400 via the network 3300. The host computer 3200 is a computer on which at least one application (hereinafter also referred to as “user application”) 3210 (corresponding to “UAP” in the drawing) on the user side is operating. The user application 3210 makes a database access request (hereinafter referred to as “DB access request”) to the database management apparatus 3400, and the database management apparatus 3400 operates the table 3511 with the database apparatus 3500.

一方、データベース管理装置3400は、プロセッサ3410、バス3470、メモリ3420、データベースバッファ3430及びメモリデータベース3440を備えている。なお、データベース管理装置3400は、ネットワーク3300と接続するための図示しないネットワークインターフェースを備えている。さらにデータベース管理装置3400は、上述した表定義情報3450及びインデクス定義情報3460を図示しない記憶部に備えていても良い。なお、これら表定義情報3450及びインデクス定義情報3460は、それぞれ、データベース管理装置3400に限られず、その他の装置、例えばデータベース装置3500に格納されていても良い。   On the other hand, the database management device 3400 includes a processor 3410, a bus 3470, a memory 3420, a database buffer 3430, and a memory database 3440. The database management device 3400 includes a network interface (not shown) for connecting to the network 3300. Furthermore, the database management apparatus 3400 may include the table definition information 3450 and the index definition information 3460 described above in a storage unit (not shown). The table definition information 3450 and the index definition information 3460 are not limited to the database management device 3400, but may be stored in other devices, for example, the database device 3500.

プロセッサ3410は、メモリ3420に格納されているデータベース管理プログラム3421の動作を制御し、データベース管理装置3400全体を制御する。データベース管理プログラム3421は、その機能として、定義要求受付部3422、定義要求管理部3423、ディスクデータベース管理部(以下、「ディスクDB管理部」という)3424、メモリデータベース管理部(以下「メモリDB管理部」という)3425、データベースアクセス要求受付部(以下「DBアクセス要求受付部」という)3426及びデータベースアクセス制御部(以下「DBアクセス制御部」という)3427を有する。   The processor 3410 controls the operation of the database management program 3421 stored in the memory 3420 and controls the entire database management apparatus 3400. The database management program 3421 includes, as its functions, a definition request receiving unit 3422, a definition request management unit 3423, a disk database management unit (hereinafter referred to as “disk DB management unit”) 3424, a memory database management unit (hereinafter referred to as “memory DB management unit”). ”3425, a database access request reception unit (hereinafter referred to as“ DB access request reception unit ”) 3426, and a database access control unit (hereinafter referred to as“ DB access control unit ”) 3427.

定義要求受付部3422は、ユーザアプリケーション3210が発行した定義要求を受け付ける。定義要求管理部3423は、表定義情報3450及びインデクス定義情報3460を管理しており、その受け取った定義要求に基づき、これら表定義情報3450及びインデクス定義情報3460を更新する。   The definition request reception unit 3422 receives a definition request issued by the user application 3210. The definition request management unit 3423 manages the table definition information 3450 and the index definition information 3460, and updates the table definition information 3450 and the index definition information 3460 based on the received definition request.

DBアクセス要求受付部3426は、ユーザアプリケーション3210によって発行されたDBアクセス要求を受け付け、DBアクセス制御部3427に引き渡す。このDBアクセス要求は、いわゆるSQLによって記述されている。   The DB access request reception unit 3426 receives a DB access request issued by the user application 3210 and passes it to the DB access control unit 3427. This DB access request is described in so-called SQL.

DBアクセス制御部3427は、上記DBアクセス要求を解析し、ディスクDB管理部3424及びメモリDB管理部3425を制御する。DBアクセス制御部3427は、通常、ディスクDB管理部3424を用いて制御しているが、ある定義要求があると、その定義要求に基づいてディスクDB管理部3424に、DBバッファ3430の表3511を複写させ、メモリDB3440に表3441を生成するとともに、DBバッファ3430の表3511を削除する。   The DB access control unit 3427 analyzes the DB access request and controls the disk DB management unit 3424 and the memory DB management unit 3425. The DB access control unit 3427 is normally controlled using the disk DB management unit 3424. However, if there is a definition request, the table 3511 of the DB buffer 3430 is stored in the disk DB management unit 3424 based on the definition request. The table 3441 is generated in the memory DB 3440 and the table 3511 of the DB buffer 3430 is deleted.

ディスクDB管理部3424は、DBアクセス制御部3427の制御によって、DBバッファ3430を用いて、データベース装置3500のディスクDB3510を管理する。このディスクDB管理部3424は、定義要求に応じて、ディスクDB3510の表3511及びインデクス3512の少なくとも一方の構造を変更する。一方、ディスクDB管理部3424は、DBアクセス要求に応じて、DBバッファ3430を介して、ディスクDB3510の表3511のデータを追加、更新及び削除のいずれか(以下、単に「操作」と総称する)を行う。DBバッファ3430は、一時的にデータを格納可能な揮発性の半導体メモリである。   The disk DB management unit 3424 manages the disk DB 3510 of the database device 3500 using the DB buffer 3430 under the control of the DB access control unit 3427. The disk DB management unit 3424 changes the structure of at least one of the table 3511 and the index 3512 of the disk DB 3510 in response to the definition request. On the other hand, the disk DB management unit 3424 adds, updates, or deletes data in the table 3511 of the disk DB 3510 via the DB buffer 3430 in response to the DB access request (hereinafter simply referred to as “operation”). I do. The DB buffer 3430 is a volatile semiconductor memory that can temporarily store data.

ディスクDB管理部3424は、DBバッファ3430を用いて表3511のデータを、例えば複数のデータレコードを記憶可能なページ単位でディスクDB3510との間で交換するための制御を行う。ディスクDB管理部3424は、この表3511にインデクス3512が設定されている場合、このインデクス3512を用いて表3511を操作する。   The disk DB management unit 3424 uses the DB buffer 3430 to perform control for exchanging data in the table 3511 with the disk DB 3510 in units of pages that can store a plurality of data records, for example. When an index 3512 is set in this table 3511, the disk DB management unit 3424 operates the table 3511 using this index 3512.

メモリDB管理部3425は、DBアクセス制御部3427の制御によって、メモリDB3440を管理する。メモリDB管理部3425は、定義要求に応じて、メモリDB3440の表3441及びインデクス3442の少なくとも一方の構造を変更する。一方、メモリDB管理部3425は、DBアクセス要求に応じて、メモリDB3440の表3441のデータを追加、更新及び削除のいずれか(以下、単に「操作」と総称する)を行う。また、表3441にインデクス3442が設定されている場合、メモリDB管理部3425は、そのインデクス3442を用いて表3441を操作する。メモリDB3440は、一時的にデータを格納可能な揮発性の半導体メモリである。   The memory DB management unit 3425 manages the memory DB 3440 under the control of the DB access control unit 3427. The memory DB management unit 3425 changes the structure of at least one of the table 3441 and the index 3442 of the memory DB 3440 in response to the definition request. On the other hand, the memory DB management unit 3425 adds, updates, or deletes data in the table 3441 of the memory DB 3440 (hereinafter simply referred to as “operation”) in response to a DB access request. When an index 3442 is set in the table 3441, the memory DB management unit 3425 operates the table 3441 using the index 3442. The memory DB 3440 is a volatile semiconductor memory that can temporarily store data.

メモリDB管理部3425は、以上のように、ディスクDB3510のインデクス3512をメモリDB3440に配置したインデクス3442を用いて、DBバッファ3430から移動してきた表3441に対する操作を制御する。ここで、メモリDB3440上における表3441とインデクス3442との対応関係は、インデクス定義情報3460において定義されている。   As described above, the memory DB management unit 3425 uses the index 3442 in which the index 3512 of the disk DB 3510 is arranged in the memory DB 3440 to control the operation on the table 3441 moved from the DB buffer 3430. Here, the correspondence relationship between the table 3441 and the index 3442 on the memory DB 3440 is defined in the index definition information 3460.

(1−3)メモリDB化定義要求
図3は、メモリDB化するための定義要求の一例を示す。メモリDB化するための定義要求としては、図示のような、例えば「ALLOCATE MEMORY TABLE T1 FOR INDEX IDX1」を挙げることができる。
(1-3) Memory DB Definition Request FIG. 3 shows an example of a definition request for creating a memory DB. As the definition request for creating the memory DB, for example, “ALLOCATE MEMORY TABLE T1 FOR INDEX IDX1” can be cited.

第1の部分「ALLOCATE MEMORY TABLE」は、メモリDB化するための定義要求の宣言分の最初の部分であり、DBバッファ3430に存在する表(例えば表3511)をメモリDB3440に移動させるための宣言部分である。第2の部分「T1」は、第1の実施の形態における表3511を識別するための表名である。第3の部分「FOR INDEX」は、当該表3441の移動に応じて、メモリDB3440に配置させたいインデクスを記述するための宣言部分である。第4の部分「IDX1」は、当該インデクスの名称を表しており、第1の実施の形態においてはインデクス3512(メモリDB3440への移動後のインデクス3442)に対応している。   The first part “ALLOCATE MEMORY TABLE” is the first part of the declaration request of the definition request for making the memory DB, and is a declaration for moving the table (for example, the table 3511) existing in the DB buffer 3430 to the memory DB 3440. Part. The second part “T1” is a table name for identifying the table 3511 in the first embodiment. The third part “FOR INDEX” is a declaration part for describing an index to be placed in the memory DB 3440 in accordance with the movement of the table 3441. The fourth part “IDX1” represents the name of the index, and corresponds to the index 3512 (index 3442 after moving to the memory DB 3440) in the first embodiment.

(1−4)表定義情報
図4は、表定義情報3450の一例を示す。この表定義情報3450は、上述した図2に示す表定義情報3450に対応している。表定義情報3450は、少なくとも1つの表ごとに、メモリDB化処理の対象であるか否かに関する特定の実行要否情報を含み、列名として表名及びメモリDB化フラグなどを含んでいる。
(1-4) Table Definition Information FIG. 4 shows an example of the table definition information 3450. This table definition information 3450 corresponds to the table definition information 3450 shown in FIG. The table definition information 3450 includes specific execution necessity information regarding whether or not it is a target of the memory DB processing for at least one table, and includes a table name and a memory DB conversion flag as column names.

図示の例では、表名「T1」に対応してメモリDB化フラグが「YES」となっており、表名「T2」に対応してメモリ要否情報が「NO」となっている。なお、メモリDB化フラグは、「YES」である場合には、表名「T1」に対応する表に関してメモリDB化を行う設定であることを示す一方、「NO」である場合には、表名「T2」に対応する表に関してメモリDB化を行わない設定であることを示している。   In the illustrated example, the memory DB flag is “YES” corresponding to the table name “T1”, and the memory necessity information is “NO” corresponding to the table name “T2”. When the memory DB conversion flag is “YES”, it indicates that the setting corresponding to the table corresponding to the table name “T1” is to be converted to a memory DB, while when it is “NO”, The table corresponding to the name “T2” indicates that the memory DB is not set.

上述したプロセッサ3410は、定義要求を受け付けると、表定義情報3450を参照し、当該定義要求で指定された表に対応するメモリDB化フラグに基づいて、その表をメモリDB化処理の対象としたり対象外としたりする。   When the processor 3410 receives the definition request, the processor 3410 refers to the table definition information 3450, and based on the memory DB creation flag corresponding to the table specified in the definition request, the processor 3410 may target the table for memory DB creation. Or excluded.

(1−5)インデクス定義情報
図5は、インデクス定義情報3460の一例を示す。このインデクス定義情報3460は、図2に示すインデクス定義情報3460に対応している。図5に示すインデクス定義情報3460は、少なくとも1つの表ごとに、メモリDB化処理の対象であるか否かに関する特定の実行要否情報としてのメモリDB化フラグを含み、列名としてインデクス名、表名及びメモリDB化フラグを含んでいる。ここで、インデクス定義情報3460におけるインデクスのメモリDB化フラグは、表をメモリDB化する際に、それとともにディスクDBに対して作成されていた当該インデクスもメモリDB化されることを示す。
(1-5) Index Definition Information FIG. 5 shows an example of the index definition information 3460. This index definition information 3460 corresponds to the index definition information 3460 shown in FIG. The index definition information 3460 shown in FIG. 5 includes a memory DB flag as specific execution necessity information regarding whether or not it is a memory DB processing target for each at least one table, and includes an index name as a column name, It includes a table name and a memory DB flag. Here, the index memory DB conversion flag in the index definition information 3460 indicates that when the table is converted to the memory DB, the corresponding index created for the disk DB is also converted to the memory DB.

図示の例では、インデクス名「IDX1」及び表名「T1」に対応してメモリ要否情報が「YES」となっており、インデクス名「IDX11」及び表名「T1」に対応してメモリDB化フラグが「NO」となっており、インデクス名「IDX2」及び表名「T2」に対応してメモリDB化フラグが「NULL(設定無し)」となっている。なお、メモリDB化フラグは、「YES」である場合には、表名及びインデクス名に対応する表に関してメモリDB化を行う設定であることを示す一方、「NO」である場合には、表名及びインデクス名に対応する表に関してメモリDB化を行わない設定であることを示している。   In the illustrated example, the memory necessity information is “YES” corresponding to the index name “IDX1” and the table name “T1”, and the memory DB is corresponding to the index name “IDX11” and the table name “T1”. The storage flag is “NO”, and the memory DB conversion flag is “NULL (no setting)” corresponding to the index name “IDX2” and the table name “T2”. When the memory DB flag is “YES”, it indicates that the memory DB is set for the table corresponding to the table name and the index name, while when it is “NO”, the table is changed to the table. The table corresponding to the name and index name indicates that the memory DB is not set.

上述したプロセッサ3410は、上記定義要求を受け付けると、その定義要求で指定された表とインデクスとの組み合わせに対応するメモリDB化フラグに基づいて、その表とインデクスとの組み合わせごとにメモリDB化の対象又は対象外とする。   When the processor 3410 described above receives the definition request, the processor 3410 creates a memory DB for each combination of the table and the index based on the memory DB creation flag corresponding to the combination of the table and the index specified in the definition request. Included or excluded.

(1−6)メモリDB化の具体的な処理内容
図6は、メモリDB化処理に含まれる手順の一例を示す。このメモリDB化処理は、プロセッサ3410が、メモリ3420上のデータベース管理プログラムの各モジュール(定義要求受付部3422など)を動作させることにより、実行される。なお、当該メモリDB化処理は、データベース管理装置3400が稼働中、即ち、オンライン中に実行される。ここでオンライン中とは、データベースに対するアクセスを伴う業務サービスが利用可能である状態のことを示している。オンライン中のメモリDB化によって、エンドユーザの当該業務サービスの利用を中断することなく、メモリDB化のメリットすなわち高速化を享受することができる。
(1-6) Specific Processing Content of Memory DB Conversion FIG. 6 shows an example of a procedure included in the memory DB processing. This memory DB processing is executed when the processor 3410 operates each module (such as the definition request receiving unit 3422) of the database management program on the memory 3420. The memory DB processing is executed while the database management apparatus 3400 is operating, that is, online. Here, “online” indicates that a business service that accompanies access to the database is available. The online memory DB makes it possible to enjoy the merit of the memory DB, that is, the high speed without interrupting the use of the business service of the end user.

(1−6−1)メモリDB化の対象取得
メモリDB化を行うに際には、端末3100がデータベース管理装置3400に対して、メモリDB化を実行するための定義要求を発行すると、データベース管理装置3400では、定義要求受付部3422が定義要求を受け取り(SP100)、定義情報管理部3423に引き渡す。ここで、メモリDB化を実行するための定義要求の要求文(以下「メモリDB化要求文」とも呼ぶ)としては、図3に示すような記述を挙げることができる。定義情報管理部3423は、その定義要求を解析し、そのメモリDB化要求文から、メモリDB化の対象となる表名を取得する(SP101)。さらに定義情報管理部3423は、そのメモリDB化要求文から、メモリDB化の対象となるインデクス名を取得する(SP102)。
(1-6-1) Acquisition of Memory DB Targets When performing memory DB conversion, if the terminal 3100 issues a definition request for executing memory DB conversion to the database management apparatus 3400, database management is performed. In the device 3400, the definition request accepting unit 3422 receives the definition request (SP100) and passes it to the definition information managing unit 3423. Here, as a request sentence of a definition request for executing the memory DB conversion (hereinafter also referred to as “memory DB conversion request sentence”), a description as shown in FIG. 3 can be given. The definition information management unit 3423 analyzes the definition request, and acquires the table name that is the object of the memory DB creation from the memory DB creation request statement (SP101). Furthermore, the definition information management unit 3423 acquires the index name to be converted to the memory DB from the memory DB conversion request statement (SP102).

(1−6−2)表定義情報変更
定義情報管理部3423は、表定義情報3450を参照し、当該取得したインデクス名に対応する表定義情報エントリを特定する(SP103)。さらに定義情報管理部3423は、当該特定した表定義情報エントリのメモリDB化フラグを「YES(メモリDB化を行う)」に変更する(SP104)。
(1-6-2) Table Definition Information Change The definition information management unit 3423 refers to the table definition information 3450 and identifies a table definition information entry corresponding to the acquired index name (SP103). Further, the definition information management unit 3423 changes the memory DB flag of the specified table definition information entry to “YES (performs memory DB)” (SP104).

(1−6−3)メモリDB化対象のインデクスの決定
定義情報管理部3423は、インデクス定義情報3460を参照し、上述のように取得したインデクス名に対応するインデクス定義情報エントリを特定する(SP105)。さらに定義情報管理部3423は、当該特定したインデクス定義情報エントリのうち、メモリDB化の対象となるインデクス名を含むエントリのメモリDB化フラグを「YES」に変更する(SP106)。
(1-6-3) Determination of Index for Memory DB Definition The definition information management unit 3423 refers to the index definition information 3460 and specifies the index definition information entry corresponding to the index name acquired as described above (SP105). ). Further, the definition information management unit 3423 changes the memory DB flag of the entry including the index name to be converted into the memory DB among the specified index definition information entries to “YES” (SP106).

(1−6−4)メモリDBへのデータ配置/移動
DBアクセス制御部3427は、メモリDB管理部3425に、DBバッファ3430上のページ群から、メモリDB化対象の表3441のページを特定し、当該特定したページをメモリDB3440へ格納させ、DBバッファ3430上の当該ページを破棄させる(SP107)。なお、ここでいうページとは、例えば表3441であれば、当該表3441を構成する少なくとも1つの表データブロックを示している。
(1-6-4) Data Arrangement / Movement to Memory DB The DB access control unit 3427 specifies, in the memory DB management unit 3425, the page of the table 3441 to be converted into the memory DB from the page group on the DB buffer 3430. The specified page is stored in the memory DB 3440, and the page on the DB buffer 3430 is discarded (SP107). For example, if the page here is a table 3441, it indicates at least one table data block constituting the table 3441.

さらに、DBアクセス制御部3427は、ディスクDB管理部3424に、ディスクDB3510からメモリDB3440へ、上記ステップSP107においてまだ移動させていないデータを配置させる(SP108)。即ち、DBアクセス制御部3427は、表をDBバッファ3430からメモリDB3440に移動させようとした際に、その表がDBバッファ3430に存在しない場合、データベース装置3500から表3441をメモリDB3440に配置する。   Further, the DB access control unit 3427 causes the disk DB management unit 3424 to arrange data that has not been moved in step SP107 from the disk DB 3510 to the memory DB 3440 (SP108). That is, when attempting to move a table from the DB buffer 3430 to the memory DB 3440 and the table does not exist in the DB buffer 3430, the DB access control unit 3427 places the table 3441 from the database device 3500 in the memory DB 3440.

ここで、表3511をDBバッファ3430からメモリDB3440に移動させようとした際に、表3511がDBバッファ3430に存在しない場合、DBアクセス制御部3427は、メモリDB管理部3425に、データベース装置3500から表3511をメモリDB3440に配置する。   Here, when the table 3511 is moved from the DB buffer 3430 to the memory DB 3440 and the table 3511 does not exist in the DB buffer 3430, the DB access control unit 3427 transfers the table 3511 to the memory DB management unit 3425 from the database device 3500. The table 3511 is arranged in the memory DB 3440.

(1−7)第1の実施の形態の効果
以上説明したように、第1の実施の形態では、まず、データベース管理装置3400のプロセッサ3410が、特定の表が指定された定義要求を受け付けると、その表を特殊処理としてのメモリDB化の対象とするように表定義情報3450を変更する(表定義変更ステップに相当)。次にプロセッサ3410は、その表にインデクスが設定されている場合、その表に関するインデクス定義情報3460に基づいてその表に関して設定されているインデクスを選定するとともに、そのインデクスがメモリDB化の対象となるようにインデクス定義情報3460に登録する(インデクス決定ステップに相当)。そして、プロセッサ3410は、表定義情報3450に基づいて表をDBバッファ3430からメモリDB3440に移動させる一方、インデクス定義情報3460に基づいて当該選定されたインデクスをメモリDB3440に配置する(配置ステップに相当)。
(1-7) Effects of First Embodiment As described above, in the first embodiment, first, when the processor 3410 of the database management apparatus 3400 receives a definition request in which a specific table is specified, Then, the table definition information 3450 is changed so that the table becomes a target of the memory DB as special processing (corresponding to the table definition change step). Next, when an index is set for the table, the processor 3410 selects the index set for the table based on the index definition information 3460 for the table, and the index becomes a target for making the memory DB. Thus, it is registered in the index definition information 3460 (corresponding to the index determination step). The processor 3410 moves the table from the DB buffer 3430 to the memory DB 3440 based on the table definition information 3450, and arranges the selected index in the memory DB 3440 based on the index definition information 3460 (corresponding to an arrangement step). .

以上のような構成とすると、データベース管理装置3400は、データベース装置3500との間でDBバッファ3430を経由して、そのデータベース装置3500に配置する表3511を操作する代わりに、アクセス速度の低い当該データベース装置3500を経由せず、データベース管理装置3400に内蔵されたメモリDB3440に配置する表3441を操作している。すると、データベース管理装置3400は、上記定義要求をした後は、表3441を操作する際にデータベース装置3500にアクセスする必要がないため、従来よりも表を高速に操作することができる。   With the configuration as described above, the database management apparatus 3400 is connected to the database apparatus 3500 via the DB buffer 3430, instead of operating the table 3511 arranged in the database apparatus 3500, the database having a low access speed. A table 3441 arranged in the memory DB 3440 built in the database management device 3400 is operated without going through the device 3500. Then, after making the above definition request, the database management apparatus 3400 does not need to access the database apparatus 3500 when operating the table 3441, so that the table can be operated faster than before.

しかも、データベース管理装置3400は、当該表3441にインデクス3442が設定されている場合においても、そのインデクス3442が併せてメモリDB3440に配置されているため、そのインデクス3442を用いて当該表3441を操作した場合に、従来よりも表3441を高速に操作することができる。   Moreover, even when the index 3442 is set in the table 3441, the database management apparatus 3400 operates the table 3441 using the index 3442 because the index 3442 is also arranged in the memory DB 3440. In this case, the table 3441 can be operated at a higher speed than in the past.

また、第1の実施の形態では、プロセッサ3410が、上述のように、その表3551をDBバッファ3430からメモリDB3440に移動させようとした際に、表がDBバッファ3430に存在しない場合、データベース装置3500から表3511をメモリDB3440に配置している。   In the first embodiment, when the processor 3410 tries to move the table 3551 from the DB buffer 3430 to the memory DB 3440 as described above, if the table does not exist in the DB buffer 3430, the database device The table 3511 from 3500 is arranged in the memory DB 3440.

このようにすると、タイミングによっては表(のページ)がDBバッファ3430に存在しない場合もあるが、このような場合でも、確実にメモリDB3440に表3441を配置することができる。   In this case, the table (page) may not exist in the DB buffer 3430 depending on the timing. Even in such a case, the table 3441 can be surely arranged in the memory DB 3440.

また、第1の実施の形態では、表定義情報3450は、少なくとも1つの表3441ごとに、メモリDB化処理の対象であるか否かに関する特定の実行要否情報としてのメモリDB化フラグを含んでいる。しかも、上記表定義変更ステップでは、プロセッサ3410が、定義要求を受け付けると、表定義情報3450を参照し、定義要求で指定された表3441に対応する当該メモリDB化フラグに基づいて、その表3441をメモリDB化処理の対象としたり対象外としたりする。このようにすると、必要な表3441に対してのみメモリDB化処理を実行することができる。   In the first embodiment, the table definition information 3450 includes, for each at least one table 3441, a memory DB flag as specific execution necessity information regarding whether or not it is a target of the memory DB processing. It is out. In addition, in the table definition changing step, when the processor 3410 accepts the definition request, the table 3441 is referred to based on the memory DB conversion flag corresponding to the table 3441 designated by the definition request with reference to the table definition information 3450. Are subject to memory DB conversion processing or are not subject to processing. In this way, it is possible to execute the memory DB processing only for the necessary table 3441.

また、第1の実施の形態では、インデクス定義情報3460は、表3441とインデクス3442との組み合わせごとに、メモリDB化処理の対象とすべきか否かに関する別の実行要否情報としてのメモリDB化フラグを含んでいる。さらに、上記インデクス決定ステップでは、プロセッサ3410が、定義要求を受け付けると、インデクス定義情報3460を参照し、定義要求で指定された表3441とインデクス3442との組み合わせに対応する上記メモリDB化フラグに基づいて、表3441とインデクス3442との組み合わせをメモリDB化処理の対象又は対象外としている。このようにすると、必要なインデクス3442に対してのみメモリDB化処理を実行するか否かを設定することができる。   Further, in the first embodiment, the index definition information 3460 is converted into a memory DB as another execution necessity information regarding whether or not the combination of the table 3441 and the index 3442 should be the target of the memory DB processing. Contains a flag. Further, in the index determination step, when the processor 3410 accepts the definition request, the processor 3410 refers to the index definition information 3460, and based on the memory DB conversion flag corresponding to the combination of the table 3441 and the index 3442 specified in the definition request. Thus, the combination of the table 3441 and the index 3442 is excluded from or subject to memory DB processing. In this way, it is possible to set whether or not to execute the memory DB processing only for the necessary index 3442.

(2)第2の実施の形態
第2の実施の形態では、第1の実施の形態とはほぼ同様な構成及び動作を行うため、以下の説明では、ほぼ同様な構成及び動作については説明を省略し、第1実施の形態とは異なる点を中心として説明する。第2の実施の形態では、データベース管理装置3400は、第1の実施の形態と同様の構成であるが、端末3100が、メモリDB化を解除するための定義要求をデータベース管理装置3400に行い、その定義要求に応答して下記の処理を行う点が異なっている。
(2) Second Embodiment Since the second embodiment performs substantially the same configuration and operation as the first embodiment, in the following description, the description of the substantially similar configuration and operation will be given. The description will be omitted with a focus on differences from the first embodiment. In the second embodiment, the database management device 3400 has the same configuration as that of the first embodiment, but the terminal 3100 makes a definition request for releasing the memory DB to the database management device 3400, The difference is that the following processing is performed in response to the definition request.

(2−1)データベース管理方法の概要
このような定義要求を受け取ったデータベース管理装置3400においては、そのプロセッサ3410が次のようなメモリDB化解除処理を実行する。このメモリDB化解除処理は、次のような配置解除ステップを含んでいる。この配置解除ステップでは、プロセッサ3410が、上述した配置ステップにおいて、メモリDB3440に配置済みの表の配置を解除するとともに、及び、メモリDB3440に配置済みのインデクス3441の配置を解除する。
(2-1) Overview of Database Management Method In the database management apparatus 3400 that has received such a definition request, the processor 3410 executes the following memory DB release processing. This memory DB release processing includes the following arrangement release step. In this arrangement release step, the processor 3410 releases the arrangement of the table already arranged in the memory DB 3440 and also releases the arrangement of the index 3441 already arranged in the memory DB 3440 in the arrangement step described above.

図7は、メモリDB化解除処理の手順の一例を示す。なお、このメモリDB化解除処理は、データベース管理方法の一部として、上述のようなメモリDB化処理の後に、必要に応じてプロセッサ3410によって実行される。   FIG. 7 shows an example of the procedure of memory DB release processing. This memory DB release processing is executed by the processor 3410 as necessary after the memory DB conversion processing as described above as part of the database management method.

まず、このメモリDB化解除処理の概要について説明すると、このメモリDB化解除処理では、プロセッサ3410が、メモリDB化を解除すべき表3441が指定された定義要求を受け付けると、この表3441についてメモリDB化を解除するように表定義情報3450を変更する。さらに、この配置解除ステップでは、プロセッサ3410が、メモリDB3440に配置済みの表3441をDBバッファ3430に格納した後に、メモリDB3440の表3441を削除するとともに、メモリDB3440に配置済みのインデクス3442をデータベース装置3500に移動させる。   First, the outline of the memory DB release processing will be described. In this memory DB release processing, when the processor 3410 receives a definition request in which a table 3441 to be released from memory DB is specified, The table definition information 3450 is changed so as to release the database. Further, in this arrangement release step, after the processor 3410 stores the table 3441 arranged in the memory DB 3440 in the DB buffer 3430, the processor 3410 deletes the table 3441 of the memory DB 3440, and the index 3442 arranged in the memory DB 3440 as the database device. Move to 3500.

より具体的には、本実施の形態におけるデータベース管理方法は、メモリDB化解除処理として、次のような、表定義変更ステップ、インデクス解除ステップ及び配置解除ステップを含んでいる。   More specifically, the database management method in the present embodiment includes the following table definition change step, index release step, and placement release step as the memory DB release processing.

表定義変更ステップでは、プロセッサ3410が、メモリDB化を解除すべき表3441が指定された定義要求を受け付けると、当該表3441をメモリDB化解除処理の対象とするように表定義情報3450を変更する(SP400)。この定義要求をSQLで記述すると、例えば「DEALLOCATE MEMORY TABLE T1」となる。第1の部分「DEALLOCATE MEMORY TABLE」は、メモリDB化を解除すべきことを示す定義要求をSQLによって記述した宣言文である。第2の部分「T1」は、メモリDB化を解除すべき表名を表しており、表3441に相当する。   In the table definition change step, when the processor 3410 receives a definition request in which a table 3441 to be released from the memory DB is specified, the table definition information 3450 is changed so that the table 3441 is a target of the memory DB release process. (SP400). If this definition request is described in SQL, for example, “DEALLOCATE MEMORY TABLE T1” is obtained. The first part “DEALLOCATE MEMORY TABLE” is a declaration statement in which a definition request indicating that the memory DB should be released is described in SQL. The second part “T1” represents a table name to be released from the memory DB, and corresponds to the table 3441.

上記インデクス解除ステップでは、当該表3441にインデクスが設定されている場合、プロセッサ3410が、当該表3441に関するインデクス定義情報3460に基づいて表3441に関して設定されているインデクスを選定するとともに、当該インデクス3442がメモリDB化解除処理の対象となるようにインデクス定義情報3460に登録する(SP500)。   In the index release step, when an index is set in the table 3441, the processor 3410 selects an index set for the table 3441 based on the index definition information 3460 for the table 3441, and the index 3442 It is registered in the index definition information 3460 so as to be subject to the memory DB release processing (SP500).

上記配置解除ステップでは、プロセッサ3410が、表定義情報3450に基づいて表3441をメモリDB3440からDBバッファ3430に格納し、メモリDB3440の表3441を削除する(SP600)。一方、この配置解除ステップでは、プロセッサ3410が、インデクス定義情報3460に基づいて、ディスクDB3510に、当該表3441に対応するインデクス3442を生成する(SP600)。   In the arrangement release step, the processor 3410 stores the table 3441 from the memory DB 3440 into the DB buffer 3430 based on the table definition information 3450, and deletes the table 3441 of the memory DB 3440 (SP600). On the other hand, in this arrangement release step, the processor 3410 generates an index 3442 corresponding to the table 3441 in the disk DB 3510 based on the index definition information 3460 (SP600).

(2−2)メモリDB化解除処理の具体例
図8は、メモリDB化解除処理に含まれる手順の一例を示す。このメモリDB化解除処理は、プロセッサ3410が、メモリ3420上のデータベース管理プログラムの各モジュール(定義要求受付部3422など)を動作させることにより、実行される。なお、当該メモリDB化解除処理は、データベース管理装置3400が稼働中、即ち、オンライン中に実行される。
(2-2) Specific example of memory DB release processing FIG. 8 shows an example of a procedure included in the memory DB release processing. This memory DB release processing is executed when the processor 3410 operates each module (such as the definition request receiving unit 3422) of the database management program on the memory 3420. The memory DB release processing is executed while the database management apparatus 3400 is operating, that is, online.

(2−2−1)メモリDB化解除処理の対象取得
メモリDB化解除を行うに際には、端末3100がデータベース管理装置3400に対して、メモリDB化解除を実行するための定義要求を発行すると、データベース管理装置3400では、定義要求受付部3422がその定義要求を受け取り(SP400A)、定義情報管理部3423に引き渡す。
(2-2-1) Acquisition of Memory DB Release Processing Target When performing memory DB release processing, the terminal 3100 issues a definition request for executing memory DB release to the database management device 3400 Then, in the database management apparatus 3400, the definition request accepting unit 3422 receives the definition request (SP400A) and delivers it to the definition information managing unit 3423.

ここで、メモリDB化解除を実行するための定義要求の要求文(以下「メモリDB化解除要求文」と呼ぶ)としては、SQLで記述すると、例えば「DEALLOCATE MEMORY TABLE」となる。定義情報管理部3423は、その定義要求を解析し、そのメモリDB化解除要求文から、メモリDB化解除の対象となる表名を取得する(SP401)。   Here, the definition request for executing the memory DB release (hereinafter referred to as “memory DB release request statement”) is described in SQL, for example, “DEALLOCATE MEMORY TABLE”. The definition information management unit 3423 analyzes the definition request, and acquires the table name that is the target of the memory DB release from the memory DB release request statement (SP401).

(2−2−2)解除時における表定義情報の変更
定義情報管理部3423は、表定義情報3450を参照し、当該取得した表名に対応する表定義情報エントリを特定する(SP402)。さらに定義情報管理部3423は、当該特定した表定義情報エントリのメモリDB化フラグを「YES」から「NO(メモリDB化解除を行う)」に変更する(SP403)。
(2-2-2) Change of Table Definition Information at Release The definition information management unit 3423 refers to the table definition information 3450 and specifies a table definition information entry corresponding to the acquired table name (SP402). Furthermore, the definition information management unit 3423 changes the memory DB conversion flag of the specified table definition information entry from “YES” to “NO (cancel memory DB conversion)” (SP403).

(2−2−3)メモリDB化解除対象のインデクスの決定
定義情報管理部3423は、インデクス定義情報3460を参照し、上述のように取得した表名に対応するインデクス定義情報エントリを特定する(SP404)。さらに定義情報管理部3423は、当該特定したインデクス定義情報エントリのうち、すべてのエントリのメモリDB化フラグを「NULL」に変更する(SP405)。
(2-2-3) Determination of Index to be Deregistered as Memory DB The definition information management unit 3423 refers to the index definition information 3460 and specifies the index definition information entry corresponding to the table name acquired as described above ( SP404). Furthermore, the definition information management unit 3423 changes the memory DB flag of all the entries in the identified index definition information entry to “NULL” (SP405).

(2−2−4)メモリDBからDBバッファへのデータ配置/移動
DBアクセス制御部3427は、ディスクDB管理部3424に、メモリDB3440上の当該表3441のページ及びインデクス3442を破棄させる(SP406)。この時、メモリDB化解除対象の表3441のメモリDB3440上のページから頻繁にアクセスされたページを選定し、当該表3441の選定されたページをDBバッファ3430へ格納させてもよい。これにより、当該表3441の次のデータアクセスを、DBバッファを用いて高速化することができる。
(2-2-4) Data Placement / Movement from Memory DB to DB Buffer The DB access control unit 3427 causes the disk DB management unit 3424 to discard the page and index 3442 of the table 3441 on the memory DB 3440 (SP406). . At this time, a frequently accessed page may be selected from pages on the memory DB 3440 of the table 3441 to be released from the memory DB, and the selected page of the table 3441 may be stored in the DB buffer 3430. Thereby, the next data access in the table 3441 can be speeded up using the DB buffer.

(2−2−5)インデクス再作成ステップ
最後に、プロセッサ3410は、インデクス定義情報3460に基づいて、データベース装置3500に、DBバッファ3430に格納した表3441に対応したインデクス3442を生成する。
(2-2-5) Index Re-creation Step Finally, the processor 3410 generates an index 3442 corresponding to the table 3441 stored in the DB buffer 3430 in the database device 3500 based on the index definition information 3460.

(2−3)第2の実施の形態による効果
第2の実施の形態によれば、表定義情報3450及びインデクス定義情報3460を変更することにより、必要に応じて、第1実施の形態のようにメモリDB化された状態からそのメモリDB化を解除した状態に戻すことができる。
(2-3) Effects of the Second Embodiment According to the second embodiment, the table definition information 3450 and the index definition information 3460 are changed as in the first embodiment as necessary. It is possible to return from the memory DB state to the state where the memory DB state is released.

(3)その他の実施形態
上記実施形態は、本発明を説明するための例示であり、本発明をこれらの実施形態にのみ限定する趣旨ではない。本発明は、その趣旨を逸脱しない限り、様々な形態で実施することができる。例えば、上記実施形態では、各種プログラムの処理をシーケンシャルに説明したが、特にこれにこだわるものではない。従って、処理結果に矛盾が生じない限り、処理の順序を入れ替え又は並行動作するように構成しても良い。
(3) Other Embodiments The above embodiment is an example for explaining the present invention, and is not intended to limit the present invention only to these embodiments. The present invention can be implemented in various forms without departing from the spirit of the present invention. For example, in the above-described embodiment, the processing of various programs is described sequentially, but this is not particularly concerned. Therefore, as long as there is no contradiction in the processing result, the processing order may be changed or the operation may be performed in parallel.

Claims (9)

少なくとも1つの表を有するデータベースが搭載されたデータベース装置との間でバッファを経由して前記表を操作するデータベース管理装置におけるデータベース管理方法であって、
前記データベース管理装置のプロセッサが、特定の表が指定された定義要求を受け付けると、前記特定の表を特殊処理の対象とするように表定義情報を変更する表定義変更ステップと、
前記特定の表にインデクスが設定されている場合、前記プロセッサが、前記特定の表に関するインデクス定義情報に基づいて前記特定の表に関して設定されているインデクスを選定するとともに、前記選定されたインデクスが前記特殊処理の対象となるように前記インデクス定義情報に登録するインデクス決定ステップと、
前記プロセッサが、前記表定義情報に基づいて前記特定の表を前記バッファから特殊メモリに移動させる一方、前記インデクス定義情報に基づいて前記選定されたインデクスを前記特殊メモリに配置する配置ステップと
を含むことを特徴とするデータベース管理方法。
A database management method in a database management device for operating the table via a buffer with a database device equipped with a database having at least one table,
When the processor of the database management apparatus receives a definition request in which a specific table is specified, a table definition change step of changing table definition information so that the specific table is a target of special processing;
When an index is set for the specific table, the processor selects an index set for the specific table based on index definition information regarding the specific table, and the selected index is An index determination step for registering in the index definition information so as to be subject to special processing;
An arrangement step in which the processor moves the specific table from the buffer to the special memory based on the table definition information, and places the selected index in the special memory based on the index definition information. A database management method characterized by the above.
前記配置ステップでは、
前記プロセッサが、前記特定の表を前記バッファから前記特殊メモリに移動させようとした際に、前記特定の表が前記バッファに存在しない場合、前記データベース装置から前記特定の表を前記特殊メモリに配置する
ことを特徴とする請求項1に記載のデータベース管理方法。
In the placing step,
When the processor tries to move the specific table from the buffer to the special memory, if the specific table does not exist in the buffer, the specific table is placed in the special memory from the database device. The database management method according to claim 1, wherein:
前記表定義情報は、
前記少なくとも1つの表ごとに、前記特殊処理の対象であるか否かに関する特定の実行要否情報を含み、
前記表定義変更ステップでは、
前記プロセッサが、前記定義要求を受け付けると、前記表定義情報を参照し、前記定義要求で指定された前記特定の表に対応する前記特定の実行要否情報に基づいて、前記特定の表を前記特殊処理の対象としたり対象外としたりする
ことを特徴とする請求項1に記載のデータベース管理方法。
The table definition information is:
For each of the at least one table, including specific execution necessity information regarding whether or not it is a target of the special processing,
In the table definition changing step,
When the processor receives the definition request, the processor refers to the table definition information, and determines the specific table based on the specific execution necessity information corresponding to the specific table specified in the definition request. The database management method according to claim 1, wherein the database management is performed or excluded from special processing.
前記インデクス定義情報は、
前記表と前記インデクスとの組み合わせごとに、前記特殊処理の対象とすべきか否かに関する別の実行要否情報を含み、
前記インデクス決定ステップでは、
前記プロセッサが、前記定義要求を受け付けると、前記インデクス定義情報を参照し、前記定義要求で指定された前記特定の表と前記インデクスに対応する前記別の実行要否情報に基づいて、前記特定の表と前記インデクスとの組み合わせごとに前記特殊処理の対象又は対象外とする
ことを特徴とする請求項3に記載のデータベース管理方法。
The index definition information is
For each combination of the table and the index, including another execution necessity information regarding whether or not to be the target of the special processing,
In the index determination step,
When the processor receives the definition request, the processor refers to the index definition information, and determines the specific table based on the specific table specified in the definition request and the other execution necessity information corresponding to the index. The database management method according to claim 3, wherein each combination of a table and the index is excluded from or targeted for the special processing.
前記プロセッサが、前記特殊メモリに配置済みの前記特定の表の配置を解除するとともに、及び、前記特殊メモリに配置済みの前記インデクスの配置を解除する特殊処理解除ステップを含む
ことを特徴とする請求項1に記載のデータベース管理方法。
The processor includes a special processing releasing step of releasing the arrangement of the specific table already arranged in the special memory and releasing the arrangement of the index already arranged in the special memory. Item 2. The database management method according to Item 1.
前記特殊処理解除ステップでは、
前記プロセッサが、前記特定の表が指定された定義要求を受け付けると、前記特定の表について前記特殊処理が解除されるように前記表定義情報を変更する解除時表定義情報変更ステップと、
前記プロセッサが、前記特殊メモリに配置済みの前記特定の表を前記バッファに格納した後に、前記特殊メモリに配置済みの前記特定の表及び前記インデクスを削除する削除ステップと、
前記インデクス定義情報に基づいて、前記データベース装置に、前記バッファに格納した前記特定の表に対応した前記インデクスを生成するインデクス再作成ステップとを含む
ことを特徴とする請求項5に記載のデータベースの管理方法。
In the special processing release step,
When the processor accepts a definition request in which the specific table is specified, a table definition information change step upon release for changing the table definition information so that the special processing is canceled for the specific table;
A deletion step of deleting the specific table and the index arranged in the special memory after the processor stores the specific table arranged in the special memory in the buffer;
The index re-creation step of generating the index corresponding to the specific table stored in the buffer on the database device based on the index definition information. Management method.
少なくとも1つの表を有するデータベースが搭載されたデータベース装置との間でバッファを経由して前記表を操作するデータベース管理装置であって、
特定の表が指定された定義要求を受け付ける定義要求受付部と、
前記定義要求受付部によって定義要求が受け付けられると、前記特定の表を特殊処理の対象とするように表定義情報を変更する一方、前記特定の表にインデクスが設定されている場合、前記特定の表に関するインデクス定義情報に基づいて前記特定の表に関して設定されているインデクスを選定するとともに、前記選定されたインデクスが前記特殊処理の対象となるように前記インデクス定義情報に登録する定義情報管理部と、
前記データベース装置へのアクセス要求を受け付けるデータベースアクセス受付部と、
前記データベース装置との間で前記表を操作する際に一時的に前記表を格納するバッファと、
前記バッファとは別に設けられた特殊メモリと、
前記表定義情報に基づいて前記特定の表を前記バッファから前記特殊メモリに移動させる一方、前記インデクス定義情報に基づいて前記選定されたインデクスを前記特殊メモリに配置するデータベースアクセス制御部とを有する
ことを特徴とするデータベース管理装置。
A database management device for operating the table via a buffer with a database device on which a database having at least one table is mounted,
A definition request accepting unit that accepts a definition request in which a specific table is specified;
When a definition request is accepted by the definition request accepting unit, the table definition information is changed so that the specific table is a target of special processing. On the other hand, if an index is set for the specific table, the specific table A definition information management unit that selects an index set for the specific table based on the index definition information for the table, and registers the index in the index definition information so that the selected index is a target of the special processing; ,
A database access receiving unit that receives an access request to the database device;
A buffer for temporarily storing the table when operating the table with the database device;
A special memory provided separately from the buffer;
A database access controller that moves the specific table from the buffer to the special memory based on the table definition information, and places the selected index in the special memory based on the index definition information. A database management device characterized by the above.
少なくとも1つの表を有するデータベースが搭載されたデータベース装置との間でバッファを経由して前記表を操作するデータベース管理装置において動作するデータベース管理プログラムであって、
前記データベース管理装置のプロセッサに、特定の表が指定された定義要求を受け付けると、前記特定の表を特殊処理の対象とするように表定義情報を変更させる表定義変更ステップと、
前記特定の表にインデクスが設定されている場合、前記プロセッサに、前記特定の表に関するインデクス定義情報に基づいて前記特定の表に関して設定されているインデクスを選定させるとともに、前記選定されたインデクスが前記特殊処理の対象となるように前記インデクス定義情報に登録させるインデクス決定ステップと、
前記プロセッサに、前記表定義情報に基づいて前記特定の表を前記バッファから特殊メモリに移動させる一方、前記インデクス定義情報に基づいて前記選定されたインデクスを前記特殊メモリに配置させる配置ステップとを実行させる
ことを特徴とするデータベース管理プログラム。
A database management program that operates in a database management device that manipulates the table via a buffer with a database device in which a database having at least one table is mounted,
A table definition changing step for changing the table definition information so that the specific table is subject to special processing when receiving a definition request in which the specific table is designated by the processor of the database management device;
When an index is set for the specific table, the processor is caused to select an index set for the specific table based on the index definition information for the specific table, and the selected index is An index determination step for registering in the index definition information to be subject to special processing;
An arrangement step of causing the processor to move the specific table from the buffer to the special memory based on the table definition information, and to place the selected index in the special memory based on the index definition information. A database management program characterized by having
少なくとも1つの表を有するデータベースが搭載されたデータベース装置と、前記データベース装置の間でバッファを経由して前記表を操作するデータベース管理装置とを備えるデータベース管理システムであって、
前記データベース管理装置は、
特定の表が指定された定義要求を受け付ける定義要求受付部と、
前記定義要求受付部によって定義要求が受け付けられると、前記特定の表を特殊処理の対象とするように表定義情報を変更する一方、前記特定の表にインデクスが設定されている場合、前記特定の表に関するインデクス定義情報に基づいて前記特定の表に関して設定されているインデクスを選定するとともに、前記選定されたインデクスが前記特殊処理の対象となるように前記インデクス定義情報に登録する定義情報管理部と、
前記データベース装置へのアクセス要求を受け付けるデータベースアクセス受付部と、
前記データベース装置との間で前記表を操作する際に一時的に前記表を格納するバッファと、
前記バッファとは別に設けられた特殊メモリと、
前記表定義情報に基づいて前記特定の表を前記バッファから前記特殊メモリに移動させる一方、前記インデクス定義情報に基づいて前記選定されたインデクスを前記特殊メモリに配置するデータベースアクセス制御部とを有する
ことを特徴とするデータベース管理システム。
A database management system comprising a database device on which a database having at least one table is mounted, and a database management device that operates the table via a buffer between the database devices,
The database management device includes:
A definition request accepting unit that accepts a definition request in which a specific table is specified;
When a definition request is accepted by the definition request accepting unit, the table definition information is changed so that the specific table is a target of special processing. On the other hand, if an index is set for the specific table, the specific table A definition information management unit that selects an index set for the specific table based on the index definition information for the table, and registers the index in the index definition information so that the selected index is a target of the special processing; ,
A database access receiving unit that receives an access request to the database device;
A buffer for temporarily storing the table when operating the table with the database device;
A special memory provided separately from the buffer;
A database access controller that moves the specific table from the buffer to the special memory based on the table definition information, and places the selected index in the special memory based on the index definition information. A database management system characterized by
JP2010019139A 2010-01-29 2010-01-29 Database management method, database management apparatus, database management program, and database management system Expired - Fee Related JP5358469B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010019139A JP5358469B2 (en) 2010-01-29 2010-01-29 Database management method, database management apparatus, database management program, and database management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010019139A JP5358469B2 (en) 2010-01-29 2010-01-29 Database management method, database management apparatus, database management program, and database management system

Publications (2)

Publication Number Publication Date
JP2011159038A JP2011159038A (en) 2011-08-18
JP5358469B2 true JP5358469B2 (en) 2013-12-04

Family

ID=44590953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010019139A Expired - Fee Related JP5358469B2 (en) 2010-01-29 2010-01-29 Database management method, database management apparatus, database management program, and database management system

Country Status (1)

Country Link
JP (1) JP5358469B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7646532B2 (en) * 2021-12-10 2025-03-17 株式会社東芝 Information processing device, method and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04299432A (en) * 1991-03-27 1992-10-22 Nec Corp Data base control system
JPH11338748A (en) * 1998-05-22 1999-12-10 Mitsubishi Electric Corp File access device
JP4086723B2 (en) * 2003-06-25 2008-05-14 日本電気株式会社 Index file processing method, method, and program

Also Published As

Publication number Publication date
JP2011159038A (en) 2011-08-18

Similar Documents

Publication Publication Date Title
CN101567003B (en) Resource Management and Allocation Method in Parallel File System
JP4320195B2 (en) File storage service system, file management apparatus, file management method, ID designation type NAS server, and file reading method
US9218381B2 (en) Method and apparatus for portable index on a removable storage medium
US10733172B2 (en) Method and computing device for minimizing accesses to data storage in conjunction with maintaining a B-tree
US20130036272A1 (en) Storage engine node for cloud-based storage
US8417720B2 (en) Method and apparatus for accessing content based on user geolocation
JP2005539289A (en) Transparent request routing for partitioned application services
US20120290582A1 (en) Method and apparatus for providing distributed key range management
US20100235376A1 (en) Method and apparatus for on-demand content mapping
CN103020315A (en) Method for storing mass of small files on basis of master-slave distributed file system
US20150317350A1 (en) Custom metadata in loosely coupled triggers
CN109597640B (en) Account management method, device, equipment and medium for application program
US20150242530A1 (en) System, method and computer program product for navigating content on a single page
US8914436B2 (en) Data processing device and data retriever
CN110110184B (en) Information query method, system, computer system and storage medium
CN100518192C (en) Method and computer for creating lightweight directory access protocol data interchange format fragments
Kim et al. Improving small file I/O performance for massive digital archives
JP5358469B2 (en) Database management method, database management apparatus, database management program, and database management system
US8924386B2 (en) Data distributing apparatus, data storing device, and recording medium
CN104572638A (en) Data reading and writing method and device
CN102341791B (en) Information processing system and method
WO2012171363A1 (en) Method and equipment for data operation in distributed cache system
CN108509438A (en) A kind of ElasticSearch fragments extended method
CN101566985A (en) System and method for searching static data converted from dynamic data
JP2017123040A (en) Server device, distribution file system, distribution file system control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120301

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130724

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: 20130806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130902

R150 Certificate of patent or registration of utility model

Ref document number: 5358469

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees