JP2019066939A - Transfer management device and transfer management method - Google Patents

Transfer management device and transfer management method Download PDF

Info

Publication number
JP2019066939A
JP2019066939A JP2017188843A JP2017188843A JP2019066939A JP 2019066939 A JP2019066939 A JP 2019066939A JP 2017188843 A JP2017188843 A JP 2017188843A JP 2017188843 A JP2017188843 A JP 2017188843A JP 2019066939 A JP2019066939 A JP 2019066939A
Authority
JP
Japan
Prior art keywords
migration
database
target table
migration target
query
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017188843A
Other languages
Japanese (ja)
Other versions
JP6744272B2 (en
Inventor
和広 斉藤
Kazuhiro Saito
和広 斉藤
茂莉 黒川
Mori Kurokawa
茂莉 黒川
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.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP2017188843A priority Critical patent/JP6744272B2/en
Publication of JP2019066939A publication Critical patent/JP2019066939A/en
Application granted granted Critical
Publication of JP6744272B2 publication Critical patent/JP6744272B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To dispose a table in an appropriate database.SOLUTION: A transfer management device 4 comprises: a utilization situation identification unit 421 which identifies the utilization situation of a plurality of tables contained in each of a plurality of databases; a table identification unit 422 which identifies the table which transfers to the database different from the database stored currently as a transfer object table, of the plurality of databases, based on the identified utilization situation; a transfer control unit 423 which reproduces the identified transfer object table in the database at a transfer destination; and an update unit 424 which stores a physical model which manages the storage destination of each of the plurality of tables, and a logic model which manages a virtual table referred to by a user, when the duplicate of the transfer object table is completed, and updates the storage destination of the transfer object table indicated by a physical model of a query processing device which processes the query accepted from the user to the database at the transfer destination.SELECTED DRAWING: Figure 3

Description

本発明は、移行管理装置及び移行管理方法に関する。   The present invention relates to a migration management apparatus and a migration management method.

従来、データ仮想化技術を用いることにより、複数のデータベースシステム(以下、データベースという。)を仮想的に統合したデータ統合環境を構築することが行われている。   2. Description of the Related Art Conventionally, it has been practiced to construct a data integration environment in which a plurality of database systems (hereinafter referred to as databases) are virtually integrated by using data virtualization technology.

データ統合環境では、データベースに格納されているテーブルを示す情報であるスキーマ情報を物理モデルと論理モデルで表現する。物理モデルでは、テーブルの物理的な格納先を示すとともに、テーブルが格納されているデータベースに接続するための接続情報を保持する。論理モデルでは、一以上の物理モデル又は論理モデルに対応する仮想テーブルを構成する。クライアントは仮想テーブルを参照してクエリを実行することにより、テーブルが配置されているデータベースを意識することなくクエリを実行することができる。   In a data integration environment, schema information, which is information indicating a table stored in a database, is represented by a physical model and a logical model. The physical model indicates the physical storage destination of the table and holds connection information for connecting to the database in which the table is stored. Logical models construct virtual tables that correspond to one or more physical models or logical models. The client can execute the query without referring to the database in which the table is arranged by executing the query with reference to the virtual table.

データ統合環境では、ユーザから受け付けたクエリを処理するクエリ処理装置が、クエリの実行時に必要となるテーブルをデータベースからネットワークを介して取得し、取得したテーブルを用いてクエリを実行する。したがって、データ統合環境におけるクエリの実行性能は、データ通信量に依存する。このため、データ通信量を減らすことにより、データ統合環境におけるクエリの実行性能を改善することができる。   In the data integration environment, a query processing device that processes a query received from a user acquires a table required at the time of query execution from a database via a network, and executes the query using the acquired table. Therefore, the execution performance of queries in a data integration environment depends on the amount of data communication. Therefore, by reducing the amount of data communication, it is possible to improve the query execution performance in the data integration environment.

非特許文献1には、データ通信量を減らす方法として、クエリの実行時に、クエリに対応する処理を、当該クエリに対応するテーブルを格納するデータベース上で行う方法が開示されている。   Non-Patent Document 1 discloses, as a method of reducing the amount of data communication, a method of performing processing corresponding to a query when executing a query on a database storing a table corresponding to the query.

また、特許公報1では、クエリの実行時に、複数のデータベースのそれぞれに格納されているテーブルを参照する場合、データ量が小さいテーブルを一時的に一方のデータベースに移動した後、非特許文献1に開示される方法を適用し、当該データベース上で、クエリに対応する処理を行う方法が開示されている。   Further, in Patent Document 1, when referring to tables stored in each of a plurality of databases at the time of executing a query, after temporarily moving a table with a small amount of data to one of the databases, A method is disclosed that applies the disclosed method and performs processing corresponding to a query on the database.

特開2016−91356号公報JP, 2016-91356, A

Laura M. Haas,et al. “Optimizing Queries across Diverse Data Sources”, VLDB '97 Proceedings of the 23rd International Conference on Very Large Data Bases, pp. 276-285 (1997)Laura M. Haas, et al. “Optimizing Queries across Diverse Data Sources”, VLDB '97 Proceedings of the 23rd International Conference on Very Large Data Bases, pp. 276-285 (1997)

特許文献1に記載の方法を用いることで、複数のデータベースのそれぞれに格納されているテーブルを参照する場合のデータ通信量を削減することができる。しかしながら、異なるデータベースに格納されているテーブルがクエリに含まれている場合において、これらのテーブルが同程度のサイズであるとき、テーブルの移動を行うことにより、通信量が増えてしまうという問題が発生する。   By using the method described in Patent Document 1, it is possible to reduce the amount of data communication when referring to the tables stored in each of the plurality of databases. However, when tables stored in different databases are included in the query, if these tables have similar sizes, there is a problem that moving the tables will increase the amount of communication. Do.

また、上記の問題を解決するために、複数のテーブルのそれぞれに含まれるデータの関係に基づいて、関連性の高い複数のテーブルを予め一のデータベースに移しておくことが考えられる。しかしながら、このようにテーブルを配置しても、ユーザのテーブルの利用状況が考慮されていないため、ユーザが頻繁に使用するテーブルが、異なるデータベースに格納される場合がある。このため、異なるデータベースに格納されているテーブルがクエリに含まれている場合には、データベース上でクエリを実行することができないことから、クエリの実行性能を改善することができないという問題が発生する。   Moreover, in order to solve the above-mentioned problem, it is conceivable to transfer a plurality of highly relevant tables to one database in advance based on the relationship of data included in each of the plurality of tables. However, even if the tables are arranged in this way, the tables frequently used by the user may be stored in different databases because the utilization status of the user's tables is not taken into consideration. For this reason, when tables stored in different databases are included in the query, the query execution performance can not be improved because the query can not be executed on the database. .

そこで、本発明はこれらの点に鑑みてなされたものであり、テーブルを適切なデータベースに配置することができる移行管理装置及び移行管理方法を提供することを目的とする。   Therefore, the present invention has been made in view of these points, and it is an object of the present invention to provide a migration management apparatus and a migration management method that can arrange tables in an appropriate database.

本発明の第1の態様に係る移行管理装置は、複数のデータベースのそれぞれに含まれる複数のテーブルの利用状況を特定する利用状況特定部と、特定された前記利用状況に基づいて、前記複数のデータベースのうち、現在格納されているデータベースとは異なるデータベースに移行するテーブルを移行対象テーブルとして特定するテーブル特定部と、特定された前記移行対象テーブルを移行先のデータベースに複製する移行制御部と、前記移行対象テーブルの複製が完了すると、前記複数のテーブルのそれぞれの格納先を管理する物理モデルと、ユーザが参照する仮想テーブルを管理する論理モデルとを記憶し前記ユーザから受け付けたクエリを処理するクエリ処理装置の前記物理モデルが示す前記移行対象テーブルの格納先を前記移行先のデータベースに更新する更新部と、を備える。   According to a first aspect of the present invention, there is provided a migration management apparatus comprising: a plurality of usage status specifying units for specifying usage status of a plurality of tables included in each of a plurality of databases; A table identification unit that specifies a table to be migrated to a database different from the currently stored database among the databases as a migration target table, a migration control unit copying the identified migration target table to the migration destination database, When replication of the migration target table is completed, the physical model managing the storage destination of each of the plurality of tables and the logical model managing the virtual table referred to by the user are stored, and the query received from the user is processed. The storage destination of the migration target table indicated by the physical model of the query processing device is the migration destination Comprising an update unit for updating the database, the.

前記移行制御部は、前記更新部が前記物理モデルを更新すると、移行元のデータベースから前記移行対象テーブルを消去してもよい。   The migration control unit may erase the migration target table from the migration source database when the updating unit updates the physical model.

前記テーブル特定部は、前記移行先のデータベースの空きサイズが前記移行対象テーブルのサイズよりも小さい場合には、前記移行先のデータベースから移行させるテーブルを第2移行対象テーブルとして特定し、前記移行制御部は、前記テーブル特定部が第2移行対象テーブルを特定した場合に、前記移行対象テーブルの一部と、前記第2移行対象テーブルの一部とを、それぞれのテーブルの移行先のデータベースに複製し、前記更新部は、前記移行対象テーブルの一部の複製が完了すると、移行先のデータベースに一部が複製されている前記移行対象テーブルを示す前記物理モデルを新たに生成し、前記移行対象テーブルの前記論理モデルが示すテーブルを、新たに生成された前記物理モデルが示す前記移行対象テーブルのデータと、移行元のデータベースに格納されている複製前の前記移行対象テーブルのデータとを連結するクエリに変更し、前記第2移行対象テーブルの一部の複製が完了すると、移行先のデータベースに一部が複製されている前記第2移行対象テーブルを示す前記物理モデルを新たに生成し、前記第2移行対象テーブルの前記論理モデルが示すテーブルを、新たに生成された前記物理モデルが示す前記第2移行対象テーブルのデータと、移行元のデータベースに格納されている複製前の前記第2移行対象テーブルのデータとを連結するクエリに変更し、前記移行制御部は、前記更新部が前記移行対象テーブル及び前記第2移行対象テーブルの前記論理モデルを変更すると、複製済の前記移行対象テーブルの一部及び前記第2移行対象テーブルの一部を移行元のデータベースから消去し、前記移行対象テーブルの一部と、前記第2移行対象テーブルの一部とを、それぞれのテーブルの移行先のデータベースにさらに複製してもよい。   The table identification unit identifies, as the second migration target table, a table to be migrated from the migration destination database, when the free space size of the migration destination database is smaller than the size of the migration target table. When the table specifying unit specifies the second migration target table, the unit copies a part of the migration target table and a part of the second migration target table to the migration destination database of each table. When the partial copy of the migration target table is completed, the update unit newly generates the physical model indicating the migration target table partially copied to the migration destination database, and the migration target is The table indicated by the logical model of the table is transferred from the data of the migration target table indicated by the newly generated physical model, Change the query to the data of the migration target table before replication stored in the original database to a query to link, and when replication of part of the second migration target table is completed, part of the replication destination database is replicated The physical model indicating the second migration target table being generated is newly generated, and the second migration target indicating the newly generated physical model indicates the table indicating the logical model of the second migration target table The data of the table and the data of the second migration target table before duplication stored in the migration source database are changed to a query for linking, and the migration control unit is configured such that the updating unit is the migration target table and the When the logical model of the second migration target table is changed, a part of the copied migration target table and a part of the second migration target table are migrated Clear from the database, and a part of the migration target table and a portion of the second migration target table may be further replicated to the destination database each table.

前記移行制御部は、前記第2移行対象テーブルの移行先のデータベースの空きサイズが、前記第2移行対象テーブルのサイズ以上の場合には、前記第2移行対象テーブルの全体を一度に当該移行先のデータベースに複製してもよい。
前記移行制御部は、前記第2移行対象テーブルを、前記移行対象テーブルの移行元のデータベースに移行してもよい。
When the free size of the database of the migration destination of the second migration target table is equal to or larger than the size of the second migration target table, the migration control unit moves the entire second migration target table to the migration destination at one time May be replicated to the database of
The migration control unit may migrate the second migration target table to a migration source database of the migration target table.

前記移行制御部は、前記利用状況に基づいて、それぞれ異なるデータベースに格納されているテーブルが結合される結合処理のうち、出現頻度が高いと予測される結合処理を特定し、特定した結合処理の入力データ又は出力データを前記クエリ処理装置の記憶部に生成し、前記更新部は、前記クエリ処理装置の記憶部に生成されたテーブルが参照可能に前記物理モデル及び前記論理モデルを更新してもよい。   The migration control unit identifies a combining process predicted to have a high frequency of occurrence among combining processes in which tables stored in different databases are combined based on the usage status, and identifies the specified combining process Even if input data or output data is generated in the storage unit of the query processing apparatus, the updating unit updates the physical model and the logical model so that the table generated in the storage unit of the query processing apparatus can be referred to Good.

本発明の第2の態様に係る移行管理方法は、コンピュータが実行する、複数のデータベースのそれぞれに含まれる複数のテーブルの利用状況を特定するステップと、特定された前記利用状況に基づいて、前記複数のデータベースのうち、現在格納されているデータベースとは異なるデータベースに移行するテーブルを移行対象テーブルとして特定するステップと、特定された前記移行対象テーブルを移行先のデータベースに複製するステップと、前記移行対象テーブルの複製が完了すると、前記複数のテーブルのそれぞれの格納先を管理する物理モデルと、ユーザが参照する仮想テーブルを管理する論理モデルとを記憶し前記ユーザから受け付けたクエリを処理するクエリ処理装置の前記物理モデルが示す前記移行対象テーブルの格納先を前記移行先のデータベースに更新するステップと、を備える。   In the migration management method according to the second aspect of the present invention, the computer executes the steps of identifying the utilization status of a plurality of tables included in each of a plurality of databases, and the identification based on the identified utilization status. Among the plurality of databases, a step of identifying a table to be migrated to a database different from the currently stored database as a migration target table, copying the identified migration target table to the migration destination database, and the migration When replication of the target table is completed, a query process for storing a physical model for managing the storage destination of each of the plurality of tables and a logical model for managing the virtual table referred to by the user and processing a query received from the user Storage destination of the migration target table indicated by the physical model of the device Comprising the steps of updating on the destination database, the.

本発明によれば、テーブルを適切なデータベースに配置することができるという効果を奏する。   According to the present invention, it is possible to arrange the table in an appropriate database.

本実施形態に係る仮想データベースシステムの構成を示す図である。It is a figure showing composition of a virtual database system concerning this embodiment. 本実施形態に係るクエリ処理装置の構成を示す図である。It is a figure showing composition of a query processing device concerning this embodiment. 本実施形態に係る移行管理装置の構成を示す図である。It is a figure which shows the structure of the transfer management apparatus which concerns on this embodiment. 本実施形態における移行管理装置における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in the transfer management apparatus in this embodiment. 本実施形態に係るテーブル移行処理を実行した場合のクエリ処理装置の状態と、データベースにおけるテーブルの状態とを示す図である。It is a figure which shows the state of the query processing apparatus at the time of performing the table transfer process which concerns on this embodiment, and the state of the table in a database. 本実施形態に係るテーブル交換処理に係る処理の流れを示すフローチャートである。It is a flow chart which shows a flow of processing concerning table exchange processing concerning this embodiment. 本実施形態に係るテーブル交換処理を実行した場合のクエリ処理装置の状態と、データベースにおけるテーブルの状態とを示す図(その1)である。It is a figure (the 1) which shows the state of the query processing apparatus at the time of performing the table exchange process which concerns on this embodiment, and the state of the table in a database. 本実施形態に係るテーブル交換処理を実行した場合のクエリ処理装置の状態と、データベースにおけるテーブルの状態とを示す図(その2)である。It is a figure (the 2) which shows the state of the query processing apparatus at the time of performing the table exchange process which concerns on this embodiment, and the state of the table in a database.

[仮想データベースシステムSの概要]
図1は、本実施形態に係る仮想データベースシステムSの構成を示す図である。仮想データベースシステムSは、データベース11を物理的に格納する複数の記憶装置1と、クエリ処理装置2と、ユーザ端末3と、移行管理装置4とを備え、複数のデータベース11を仮想的に統合するシステムである。なお、図1において、ユーザ端末3は1台のみ示されているが、複数のユーザ端末3がクエリ処理装置2に接続されているものとする。
[Overview of Virtual Database System S]
FIG. 1 is a diagram showing the configuration of a virtual database system S according to the present embodiment. The virtual database system S includes a plurality of storage devices 1 for physically storing the database 11, a query processing device 2, a user terminal 3, and a migration management device 4, and virtually integrates the plurality of databases 11 It is a system. Although only one user terminal 3 is shown in FIG. 1, it is assumed that a plurality of user terminals 3 are connected to the query processing device 2.

クエリ処理装置2は、データベース11に格納されているテーブルを示す情報であるスキーマ情報として、物理モデルと、論理モデルとを記憶している。物理モデルは、テーブルの物理的な格納場所を示すモデルである。論理モデルは、ユーザ端末3が参照可能な仮想的なテーブルを管理するモデルであり、仮想的なテーブルと、物理モデルが示すテーブルとの関連付けを行う。クエリ処理装置2は、ユーザ端末3から論理モデルに対応するクエリを取得すると、物理モデルを参照し、当該クエリに対応する1以上のデータベース11を特定する。   The query processing device 2 stores a physical model and a logical model as schema information which is information indicating a table stored in the database 11. The physical model is a model that indicates the physical storage location of the table. The logical model is a model for managing a virtual table that can be referred to by the user terminal 3, and associates the virtual table with the table indicated by the physical model. When acquiring a query corresponding to the logical model from the user terminal 3, the query processing device 2 refers to the physical model and specifies one or more databases 11 corresponding to the query.

クエリ処理装置2は、特定したデータベース11からデータを取得してクエリに対応する演算を実行し、実行結果をユーザ端末3に出力する。これにより、ユーザは、データベース11の物理的な位置を意識することなく複数のデータベース11に格納されているデータを参照することができる。   The query processing device 2 acquires data from the identified database 11, executes an operation corresponding to the query, and outputs an execution result to the user terminal 3. Thereby, the user can refer to the data stored in the plurality of databases 11 without being aware of the physical position of the database 11.

クエリ処理装置2は、クエリに対応する複数のテーブルが同一のデータベース11に格納されている場合に、クエリ実行時のデータ通信量を減らすために、クエリに対応する処理を当該データベース11上で行わせる。また、クエリ処理装置2は、クエリに対応する複数のテーブルが同一のデータベース11に格納されていない場合に、クエリに対応するテーブルをクエリ処理装置2が取得し、クエリ処理装置2においてクエリに対応する処理を行う。クエリに対応するテーブルが同一のデータベース11に格納されていない場合には、データ通信量が増加し、クエリの実行性能が悪化するため、ユーザが同時に参照する頻度が高い複数のテーブルが同一のデータベース11に格納されていることが好ましい。   When a plurality of tables corresponding to a query are stored in the same database 11, the query processing device 2 performs processing corresponding to the query on the database 11 in order to reduce the amount of data communication at the time of query execution. Let Further, in the query processing device 2, when the plurality of tables corresponding to the query are not stored in the same database 11, the query processing device 2 acquires the table corresponding to the query, and the query processing device 2 copes with the query. Do the process. If the table corresponding to the query is not stored in the same database 11, the amount of data communication increases and the query execution performance deteriorates, so a plurality of tables that are frequently referred by the user at the same time are the same database Preferably, it is stored in 11.

本実施形態では、移行管理装置4が、ユーザが同時に参照する頻度が高い複数のテーブルが同一のデータベース11に格納されるようにテーブルを移行する。移行管理装置4は、図1に示すように、クエリ処理装置2及び記憶装置1から、複数のテーブルの利用状況を示す利用状況情報を取得し、当該利用状況情報に基づいて、他のデータベース11に移行するテーブルTを特定する。   In the present embodiment, the migration management apparatus 4 migrates the tables so that a plurality of tables frequently referred to by the user at the same time are stored in the same database 11. The migration management device 4 acquires usage status information indicating usage status of a plurality of tables from the query processing device 2 and the storage device 1 as shown in FIG. 1, and based on the usage status information, the other database 11 The table T to be migrated to is identified.

移行管理装置4は、特定したテーブルTを移行させる移行制御を行うとともに、クエリ処理装置2に記憶されている物理モデルを更新する。このようにすることで、移行管理装置4は、テーブルを適切なデータベース11に配置することができる。
続いて、クエリ処理装置2及び移行管理装置4の構成を説明する。
The migration management device 4 performs migration control to migrate the identified table T, and updates the physical model stored in the query processing device 2. By doing this, the migration management device 4 can arrange the table in the appropriate database 11.
Subsequently, configurations of the query processing device 2 and the migration management device 4 will be described.

[クエリ処理装置2の構成]
図2は、本実施形態に係るクエリ処理装置2の構成を示す図である。クエリ処理装置2は、コンピュータであり、LAN(Local Area Network)等を介して、複数の記憶装置1と、ユーザ端末3と、移行管理装置4とに通信可能に接続されている。
[Configuration of Query Processing Device 2]
FIG. 2 is a diagram showing the configuration of the query processing device 2 according to the present embodiment. The query processing device 2 is a computer, and is communicably connected to the plurality of storage devices 1, the user terminal 3, and the migration management device 4 via a LAN (Local Area Network) or the like.

クエリ処理装置2は、図2に示すように、記憶部21と、制御部22とを備える。
記憶部21は、例えば、ROM(Read Only Memory)及びRAM(Random Access Memory)等である。記憶部21は、クエリ処理装置2を機能させるための各種プログラムを記憶する。例えば、記憶部21は、クエリ処理装置2の制御部22を、後述するクエリ取得部221、クエリ実行部222、及び出力部223として機能させるクエリ実行プログラムを記憶する。
The query processing device 2 includes a storage unit 21 and a control unit 22 as shown in FIG.
The storage unit 21 is, for example, a read only memory (ROM) or a random access memory (RAM). The storage unit 21 stores various programs for causing the query processing device 2 to function. For example, the storage unit 21 stores a query execution program that causes the control unit 22 of the query processing device 2 to function as a query acquisition unit 221, a query execution unit 222, and an output unit 223 described later.

また、記憶部21は、データベース11に格納されているテーブルを示す情報であるスキーマ情報として、物理モデルPMと論理モデルLMとを記憶する。物理モデルPMは、複数のデータベース11に格納されている複数のテーブルの格納先を管理する。具体的には、物理モデルPMは、データベース11に格納されているテーブルを識別するテーブル名と、当該テーブルが格納されているデータベース11を識別するデータベース識別情報とを関連付けて記憶する。   The storage unit 21 also stores the physical model PM and the logical model LM as schema information that is information indicating a table stored in the database 11. The physical model PM manages storage destinations of a plurality of tables stored in a plurality of databases 11. Specifically, the physical model PM associates and stores a table name for identifying a table stored in the database 11 and database identification information for identifying the database 11 in which the table is stored.

論理モデルLMは、ユーザが参照する仮想テーブルを管理する。論理モデルLMは、仮想テーブルを識別するテーブル名と、当該仮想テーブルの構成を示す情報とを関連付けて記憶する。ここで、仮想テーブルの構成を示す情報は、物理モデルPMが示すテーブル名、又は、クエリである。   The logical model LM manages virtual tables referenced by the user. The logical model LM associates and stores a table name for identifying a virtual table and information indicating the configuration of the virtual table. Here, the information indicating the configuration of the virtual table is a table name or a query indicated by the physical model PM.

制御部22は、例えばCPU(Central Processing Unit)である。制御部22は、記憶部21に記憶されている各種プログラムを実行することにより、クエリ処理装置2に係る機能を制御する。制御部22は、クエリ実行プログラムを実行することにより、クエリ取得部221、クエリ実行部222、及び出力部223として機能する。   The control unit 22 is, for example, a CPU (Central Processing Unit). The control unit 22 controls various functions related to the query processing device 2 by executing various programs stored in the storage unit 21. The control unit 22 functions as a query acquisition unit 221, a query execution unit 222, and an output unit 223 by executing a query execution program.

クエリ取得部221は、ユーザ端末3から複数のデータベース11の少なくともいずれかに対応するクエリを取得する。   The query acquisition unit 221 acquires a query corresponding to at least one of the plurality of databases 11 from the user terminal 3.

クエリ実行部222は、取得されたクエリを解析し、取得されたクエリに対応する処理を行う。例えば、クエリ実行部222は、クエリに対応するテーブルが同一のデータベース11に格納されている場合に、クエリに対応する処理を当該データベース11上で行わせる。また、クエリ実行部222は、クエリに対応するテーブルが同一のデータベース11に格納されていない場合に、クエリに対応するテーブルをデータベース11から取得し、当該テーブルを用いてクエリに対応する処理を行う。   The query execution unit 222 analyzes the acquired query and performs processing corresponding to the acquired query. For example, when the table corresponding to the query is stored in the same database 11, the query execution unit 222 causes the database 11 to perform processing corresponding to the query. Furthermore, when the table corresponding to the query is not stored in the same database 11, the query execution unit 222 acquires the table corresponding to the query from the database 11, and performs processing corresponding to the query using the table. .

出力部223は、クエリ実行部222によって実行されたクエリの実行結果をユーザ端末3に出力する。   The output unit 223 outputs the execution result of the query executed by the query execution unit 222 to the user terminal 3.

[移行管理装置4の構成]
図3は、本実施形態に係る移行管理装置4の構成を示す図である。移行管理装置4は、コンピュータであり、LAN等を介して、複数の記憶装置1と、クエリ処理装置2とに通信可能に接続されている。
[Configuration of Migration Management Device 4]
FIG. 3 is a diagram showing the configuration of the migration management device 4 according to the present embodiment. The migration management device 4 is a computer, and is communicably connected to the plurality of storage devices 1 and the query processing device 2 via a LAN or the like.

移行管理装置4は、図3に示すように、記憶部41と、制御部42とを備える。
記憶部41は、例えば、ROM及びRAM等である。記憶部41は、移行管理装置4を機能させるための各種プログラムを記憶する。例えば、記憶部41は、移行管理装置4の制御部42を、後述する利用状況特定部421、テーブル特定部422、移行制御部423、及び更新部424として機能させる移行管理プログラムを記憶する。
The migration management device 4 includes a storage unit 41 and a control unit 42, as shown in FIG.
The storage unit 41 is, for example, a ROM, a RAM, and the like. The storage unit 41 stores various programs for causing the migration management device 4 to function. For example, the storage unit 41 stores a migration management program that causes the control unit 42 of the migration management apparatus 4 to function as a usage status identification unit 421, a table identification unit 422, a migration control unit 423, and an update unit 424 described later.

また、記憶部41は、プロファイル情報411を記憶する。プロファイル情報411は、複数のデータベース11のそれぞれに格納されているテーブルの利用状況を示す情報や、記憶装置1の記憶領域の利用可能サイズを示す情報を含む。   The storage unit 41 also stores profile information 411. The profile information 411 includes information indicating the usage status of the tables stored in each of the plurality of databases 11 and information indicating the usable size of the storage area of the storage device 1.

制御部42は、例えばCPUである。制御部42は、記憶部41に記憶されている各種プログラムを実行することにより、移行管理装置4に係る機能を制御する。制御部42は、移行管理プログラムを実行することにより、利用状況特定部421、テーブル特定部422、移行制御部423、及び更新部424として機能する。   The control unit 42 is, for example, a CPU. The control unit 42 controls various functions related to the migration management apparatus 4 by executing various programs stored in the storage unit 41. The control unit 42 functions as a use status specifying unit 421, a table specifying unit 422, a transfer control unit 423, and an updating unit 424 by executing the transfer management program.

[移行管理装置4における処理の流れ]
以下、移行管理装置4における処理の流れを説明しながら、利用状況特定部421、テーブル特定部422、移行制御部423、及び更新部424について説明する。図4は、本実施形態における移行管理装置4における処理の流れを示すフローチャートである。
[Flow of processing in migration management device 4]
Hereinafter, the use status specifying unit 421, the table specifying unit 422, the transfer control unit 423, and the updating unit 424 will be described while describing the flow of processing in the transfer management device 4. FIG. 4 is a flowchart showing the flow of processing in the migration management device 4 in the present embodiment.

利用状況特定部421は、所定時間おきに複数のデータベース11のそれぞれに含まれる複数のテーブルの利用状況を特定する(S10)。具体的には、利用状況特定部421は、クエリ処理装置2から、クエリ処理装置2で実行されたクエリのログを取得するとともに、スキーマ情報を取得する。また、利用状況特定部421は、複数のデータベース11のそれぞれにおいて実行されたクエリのログを取得する。クエリのログには、クエリを示す文字列、クエリに基づいて生成された実行計画、クエリ実行中に使用する記憶領域のサイズを示す中間コスト、クエリの実行結果を示すデータのサイズを示す情報が含まれる。   The use status specifying unit 421 specifies the use status of a plurality of tables included in each of the plurality of databases 11 at predetermined time intervals (S10). Specifically, the usage status specifying unit 421 acquires a log of the query executed by the query processing device 2 from the query processing device 2 and acquires schema information. Further, the usage status specifying unit 421 acquires a log of a query executed in each of the plurality of databases 11. The query log contains a string indicating the query, an execution plan generated based on the query, an intermediate cost indicating the size of a storage area used during query execution, and information indicating the size of data indicating the query execution result. included.

利用状況特定部421は、取得したこれらの情報に基づいて、データベース11に含まれている複数のテーブルの利用頻度、テーブル間の結合関係、結合頻度を含むテーブルの利用状況を特定する。   The use status specifying unit 421 specifies the use status of the table including the use frequency of the plurality of tables included in the database 11, the connection relationship between the tables, and the connection frequency based on the acquired information.

また、利用状況特定部421は、複数の記憶装置1のそれぞれから、テーブルに含まれるカラムの構成等を示すテーブル構成情報、テーブルに含まれるデータのサイズやデータの分布を示す統計情報、記憶装置1の記憶領域のサイズを示すサイズ情報、記憶装置1の記憶領域の利用量を示す利用量情報を取得する。利用状況特定部421は、取得したこれらの情報に基づいて、複数の記憶装置1のそれぞれに格納されているデータベース11の利用可能サイズを算出する。   In addition, the use status specifying unit 421 is table configuration information indicating the configuration of columns included in the table from each of the plurality of storage devices 1, statistical information indicating the size and distribution of data included in the table, and storage devices The size information indicating the size of the storage area 1 and the usage information indicating the usage of the storage area of the storage device 1 are acquired. The usage status specifying unit 421 calculates the usable size of the database 11 stored in each of the plurality of storage devices 1 based on the acquired information.

利用状況特定部421は、特定したテーブルの利用状況を示す利用状況情報と、算出したデータベース11の利用可能サイズを示す情報と、スキーマ情報とを、テーブルに含まれるデータのサイズやデータの分布を示す統計情報とを、プロファイル情報411として記憶部41に記憶させる。   The usage status specifying unit 421 uses the usage status information indicating the usage status of the identified table, the information indicating the calculated usable size of the database 11, and the schema information, the size of the data included in the table and the distribution of the data. The statistical information to be shown is stored in the storage unit 41 as profile information 411.

テーブル特定部422は、利用状況特定部421により特定された利用状況に基づいて、複数のデータベース11のうち、現在格納されているデータベース11とは異なるデータベース11に移行するテーブルを移行対象テーブルとして特定する。また、テーブル特定部422は、移行対象テーブルの移行先のデータベースを特定する(S20)。   The table specifying unit 422 specifies a table to be transferred to the database 11 different from the currently stored database 11 among the plurality of databases 11 based on the use condition specified by the use condition specifying unit 421 as a transfer target table Do. Further, the table identification unit 422 identifies the database of the migration destination of the migration target table (S20).

具体的には、テーブル特定部422は、プロファイル情報411に含まれる利用状況情報を利用して、同じデータベース11にあるべき複数のテーブルを示すテーブルセットを作成する。例えば、テーブル特定部422は、利用状況情報に含まれるクエリのログが示すテーブルの結合関係に基づいて、テーブルをノード、テーブルの結合関係をエッジとしたグラフを生成する。テーブル特定部422は、利用状況情報に含まれる複数のクエリのログが示すテーブルの結合関係に基づいて、テーブル同士の結合回数を算出し、当該結合回数に基づいてエッジの重み付けを行う。   Specifically, the table specifying unit 422 uses the usage status information included in the profile information 411 to create a table set indicating a plurality of tables that should be in the same database 11. For example, the table specifying unit 422 generates a graph in which the table is a node and the table connection relationship is an edge, based on the connection relationship of the tables indicated by the log of the query included in the usage status information. The table specifying unit 422 calculates the number of couplings between the tables based on the coupling relationship of the tables indicated by the logs of the plurality of queries included in the usage status information, and performs edge weighting based on the number of couplings.

テーブル特定部422は、エッジの重み付けが行われたグラフに基づいて、グラフに含まれる複数のノードを複数のクラスタに分類する。ここで、テーブル特定部422は、記憶装置1の記憶領域のサイズと、ノードが示すテーブルのサイズとに基づいて、グラフに含まれる複数のノードを複数のクラスタに分類する。そして、テーブル特定部422は、クラスタに含まれる複数のノードを移行後のテーブルセットとして特定する。   The table specifying unit 422 classifies a plurality of nodes included in the graph into a plurality of clusters based on the graph on which the edge weighting has been performed. Here, the table specifying unit 422 classifies the plurality of nodes included in the graph into a plurality of clusters based on the size of the storage area of the storage device 1 and the size of the table indicated by the nodes. Then, the table identification unit 422 identifies a plurality of nodes included in the cluster as a post-migration table set.

テーブル特定部422は、複数の記憶装置1のそれぞれに格納されているデータベース11に含まれる複数のテーブルを、移行前のテーブルセットとして特定する。テーブル特定部422は、移行後のテーブルセットに含まれているテーブルと、移行前のテーブルセットに含まれているテーブルとの一致率に基づいて、移行前のテーブルセットに対応する移行後のテーブルセットを特定する。   The table specifying unit 422 specifies a plurality of tables included in the database 11 stored in each of the plurality of storage devices 1 as a table set before migration. The table specifying unit 422 determines the post-migration table corresponding to the pre-migration table set based on the matching rate between the table included in the post-migration table set and the table included in the pre-migration table set. Identify the set.

そして、テーブル特定部422は、移行前のテーブルセットに含まれておらず、移行後のテーブルセットに含まれているテーブルを、移行対象テーブルと特定する。また、テーブル特定部422は、移行前のテーブルセットに対応するデータベース11を、移行対象テーブルの移行先と特定する。また、テーブル特定部422は、移行対象テーブルが含まれている移行前のテーブルセットに対応するデータベース11を、移行対象テーブルの移行元と特定する。   Then, the table identification unit 422 identifies a table that is not included in the pre-migration table set but is included in the post-migration table set as a migration target table. Further, the table identification unit 422 identifies the database 11 corresponding to the table set before migration as the migration destination of the migration target table. Further, the table identification unit 422 identifies the database 11 corresponding to the pre-migration table set including the migration target table as the migration source of the migration target table.

続いて、移行制御部423は、特定された移行対象テーブルの移行を制御する。具体的には、移行制御部423は、特定された移行対象テーブルの中から1つの移行対象テーブルを選択する(S30)。   Subsequently, the migration control unit 423 controls migration of the identified migration target table. Specifically, the migration control unit 423 selects one migration target table from among the identified migration target tables (S30).

続いて、移行制御部423は、選択された移行対象テーブルのサイズと、移行先のデータベース11のサイズとに基づいて、移行先のデータベース11の容量が不足しているか否かを判定する(S40)。移行制御部423は、移行先のデータベース11の容量が不足していると判定すると、S90に処理を移し、テーブル交換処理を実行する。テーブル交換処理の詳細については後述する。   Subsequently, the migration control unit 423 determines whether or not the capacity of the migration destination database 11 is insufficient based on the size of the selected migration target table and the size of the migration destination database 11 (S40). ). If the migration control unit 423 determines that the capacity of the migration destination database 11 is insufficient, it transfers the process to S90 and executes table exchange processing. Details of the table exchange process will be described later.

移行制御部423及び更新部424は、移行先のデータベース11の容量が不足していないと判定すると、S50〜S70に示されるテーブル移行処理を実行する。図5は、テーブル移行処理を実行した場合のクエリ処理装置2の状態と、データベース11におけるテーブルの状態とを示す図である。図5に示す例では、移行対象テーブルがTA、移行元のデータベースが11A、移行先のデータベースが11Bであるものとする。テーブル移行処理が実行される前は、図5(a)に示すように、移行対象テーブルTAがデータベース11Aに格納されている。   If the migration control unit 423 and the update unit 424 determine that the capacity of the migration destination database 11 is not insufficient, the migration control unit 423 and the update unit 424 execute the table migration process shown in S50 to S70. FIG. 5 is a diagram showing the state of the query processing device 2 when the table migration process is executed, and the state of the table in the database 11. In the example shown in FIG. 5, it is assumed that the migration target table is TA, the migration source database is 11A, and the migration destination database is 11B. As shown in FIG. 5A, the migration target table TA is stored in the database 11A before the table migration processing is executed.

移行制御部423は、S50において、特定された移行対象テーブルTAをデータベース11Bに複製する。これにより、図5(b)に示すように、移行元のデータベース11Aと、移行先のデータベース11Bとの双方に移行対象テーブルTAが格納される。   The migration control unit 423 duplicates the identified migration target table TA in the database 11B in S50. As a result, as shown in FIG. 5B, the migration target table TA is stored in both the migration source database 11A and the migration destination database 11B.

続いて、更新部424は、移行対象テーブルの複製が完了したことに応じて、クエリ処理装置2に記憶されている物理モデルを更新する(S60)。具体的には、更新部424は、図5(c)に示すように、クエリ処理装置2に記憶されている物理モデルが示す移行対象テーブルの格納先を、移行元のデータベース11Aから移行先のデータベース11Bに変更する。   Subsequently, the updating unit 424 updates the physical model stored in the query processing device 2 in response to the completion of the replication of the migration target table (S60). Specifically, as shown in FIG. 5C, the updating unit 424 stores the storage destination of the migration target table indicated by the physical model stored in the query processing device 2 from the migration source database 11A to the migration destination. Change to database 11B.

続いて、移行制御部423は、更新部424が物理モデルを更新すると、図5(d)に示すように、移行元のデータベース11Aから移行対象テーブルTAを消去する(S70)。   Subsequently, when the updating unit 424 updates the physical model, the migration control unit 423 erases the migration target table TA from the migration source database 11A as illustrated in FIG. 5D (S70).

続いて、移行制御部423は、全ての移行対象テーブルの移行が完了したか否かを判定する(S80)。移行制御部423は、全ての移行対象テーブルの移行が完了したと判定すると、本フローチャートに係る処理を終了し、全ての移行対象テーブルが移行完了していないと判定すると、S30に処理を移し、移行が完了していない移行対象テーブルを選択する。   Subsequently, the migration control unit 423 determines whether migration of all migration target tables has been completed (S80). If the migration control unit 423 determines that migration of all migration target tables is completed, the processing according to this flowchart ends, and if it is determined that migration of all migration target tables is not completed, the processing proceeds to S30, Select a migration target table for which migration has not been completed.

続いて、テーブル交換処理の詳細について説明する。図6は、本実施形態に係るテーブル交換処理に係る処理の流れを示すフローチャートである。また、図7、図8は、本実施形態に係るテーブル交換処理を実行した場合のクエリ処理装置2の状態と、データベース11におけるテーブルの状態とを示す図である。   Subsequently, the details of the table exchange process will be described. FIG. 6 is a flowchart showing the flow of processing relating to table exchange processing according to the present embodiment. 7 and 8 are diagrams showing the state of the query processing device 2 and the state of the table in the database 11 when the table exchange process according to the present embodiment is executed.

図7、図8に示す例では、移行対象テーブルがTA、移行元のデータベースが11A、移行先のデータベースが11Bであるものとする。テーブル移行処理が実行される前は、図7(a)に示すように、移行対象テーブルTAがデータベース11Aに格納されている。なお、図7、8では、説明を簡単にするため、移行対象テーブルTAに対応する物理モデルPMA及び論理モデルLMAのみを示す。   In the example shown in FIGS. 7 and 8, it is assumed that the migration target table is TA, the migration source database is 11A, and the migration destination database is 11B. Before the table migration process is executed, as shown in FIG. 7A, the migration target table TA is stored in the database 11A. 7 and 8 show only the physical model PMA and the logical model LMA corresponding to the migration target table TA, in order to simplify the description.

まず、テーブル特定部422は、移行対象テーブルTAの移行先のデータベース11Bの空きサイズが移行対象テーブルTAのサイズよりも小さい場合には、移行先のデータベース11Bから移行させるテーブルを第2移行対象テーブルとして特定する(S91)。まず、テーブル特定部422は、移行対象テーブルTAのサイズから、移行先のデータベース11Bの空きサイズを減算して得られるサイズよりも大きいサイズのテーブルを選択する。   First, when the empty size of the migration destination database 11B of the migration target table TA is smaller than the size of the migration target table TA, the table specifying unit 422 makes the second migration target table a table to be migrated from the migration destination database 11B. It identifies as (S91). First, the table specifying unit 422 selects a table having a size larger than the size obtained by subtracting the empty size of the migration destination database 11B from the size of the migration target table TA.

ここで、テーブル特定部422は、移行対象テーブルTAと、選択したテーブルとを交換した後のデータベース間の結合回数や結合処理時の入出力のデータサイズ等を予測する。そして、テーブル特定部422は、当該結合回数や結合処理時の入出力のデータサイズ等に基づいて、移行対象テーブルTAと、選択したテーブルとを交換した後に、交換前に比べてデータ通信量が削減されているか否かを判定する。テーブル特定部422は、交換前に比べてデータ通信量が削減されていると判定すると、移行対象テーブルTAと、選択したテーブルとの交換が、クエリの実行性能の改善に寄与すると判定し、選択したテーブルを第2移行対象テーブルとして特定する。ここで、図7、図8に示す例では、第2移行対象テーブルがTBであるものとする。なお、テーブル特定部422は、複数のテーブルを第2移行対象テーブルとして特定してもよい。   Here, the table specifying unit 422 predicts the number of couplings between databases after exchanging the migration target table TA and the selected table, the input / output data size at the time of coupling processing, and the like. Then, after exchanging the migration target table TA with the selected table based on the number of couplings and the input / output data size at the time of coupling processing, the table specifying unit 422 compares the amount of data communication with that before the substitution. It is determined whether it is reduced. If the table specifying unit 422 determines that the amount of data communication is reduced compared to that before the replacement, it determines that the exchange between the migration target table TA and the selected table contributes to the improvement of the query execution performance, and selects it. The specified table is identified as a second migration target table. Here, in the examples shown in FIGS. 7 and 8, it is assumed that the second migration target table is TB. The table identification unit 422 may identify a plurality of tables as the second migration target table.

続いて、移行制御部423は、データベース11Aの空きサイズ、データベース11Bの空きサイズ、移行対象テーブルTAのサイズ、第2移行対象テーブルTBのサイズに基づいて、1回あたりの移行量を算出する(S92)。図7、図8に示す例では、移行対象テーブルTAと、第2移行対象テーブルTBとが同じサイズであり、1回あたりの移行量が、移行対象テーブルTAの半分のサイズであるものとする。   Subsequently, the migration control unit 423 calculates the migration amount per time based on the free size of the database 11A, the free size of the database 11B, the size of the migration target table TA, and the size of the second migration target table TB (see FIG. S92). In the example shown in FIGS. 7 and 8, it is assumed that the migration target table TA and the second migration target table TB have the same size, and the migration amount per one time is half the size of the migration target table TA. .

続いて、移行制御部423は、算出された1回あたりの移行量に基づいて、移行対象テーブルTA、及び第2移行対象テーブルTBの一部を複製する(S93)。具体的には、移行制御部423は、データベース11Bにデータが含まれていない移行対象テーブルTAを生成するとともに、データベース11Aにデータが含まれていない第2移行対象テーブルTBを生成する。   Subsequently, the migration control unit 423 copies a part of the migration target table TA and the second migration target table TB based on the calculated migration amount per time (S93). Specifically, the migration control unit 423 generates a migration target table TA in which no data is included in the database 11B, and generates a second migration target table TB in which no data is included in the database 11A.

続いて、移行制御部423は、プロファイル情報411に記憶されている統計情報を参照して、移行対象テーブルTA及び第2移行対象テーブルTBからデータの抽出する際の抽出条件に用いるカラムと、抽出条件とを特定する。ここで、カラムは、移行するレコードの数やサイズの推定精度が高いものが好ましく、数値型の主キーのように一様に分布しているカラムが好ましい。   Subsequently, the migration control unit 423 refers to the statistical information stored in the profile information 411, and extracts a column used as an extraction condition when extracting data from the migration target table TA and the second migration target table TB. Identify the conditions. Here, the column is preferably one with high estimation accuracy of the number and size of records to be transferred, and a column uniformly distributed like a numeric primary key is preferable.

続いて、移行制御部423は、図7(b)に示すように、抽出条件に基づいて移行対象テーブルTAから抽出したデータを、データベース11Bに生成された移行対象テーブルTAに複製する。同様に、移行制御部423は、抽出条件に基づいて移行対象テーブルTBから抽出したデータを、データベース11Aに生成された移行対象テーブルTBに複製する。   Subsequently, as shown in FIG. 7B, the migration control unit 423 duplicates the data extracted from the migration target table TA based on the extraction condition into the migration target table TA generated in the database 11B. Similarly, the migration control unit 423 duplicates data extracted from the migration target table TB based on the extraction condition into the migration target table TB generated in the database 11A.

続いて、更新部424は、クエリ処理装置2に記憶されている論理モデル及び物理モデルを更新する(S94)。具体的には、図7(c)に示すように、更新部424は、移行対象テーブルの一部の複製が完了すると、データベース11Bに一部が複製されている移行対象テーブルTAを示す物理モデルPMBを新たに生成する。   Subsequently, the updating unit 424 updates the logical model and the physical model stored in the query processing device 2 (S94). Specifically, as shown in FIG. 7C, the updating unit 424 is a physical model indicating the migration target table TA partially copied to the database 11B when replication of a part of the migration target table is completed. Generate a new PMB.

そして、更新部424は、図7(c)に示すように、物理モデルPMAが示す複製されていない移行対象テーブルTAのデータと、物理モデルPMBが示すデータベース11Bに複製された移行対象テーブルTAのデータとを連結するクエリを示す論理モデルLMBを新たに生成する。ここで、論理モデルLMBが示すテーブルは、ビューである。   Then, as shown in FIG. 7C, the updating unit 424 includes data of the non-replicated transfer target table TA indicated by the physical model PMA and the transfer target table TA copied to the database 11B indicated by the physical model PMB. A logical model LMB indicating a query connecting data is newly generated. Here, the table indicated by the logical model LMB is a view.

ここで、データベース11Aのデータベース名をA、データベース11Bのデータベース名をBとした場合、論理モデルLMBが示すクエリは、例えば以下に示すクエリである。
SELECT * FROM A.TA WHERE A.TA.x > a
UNION all
SELECT * FROM B.TA WHERE B.TA.x ≦ a
Here, when the database name of the database 11A is A and the database name of the database 11B is B, the query indicated by the logical model LMB is, for example, a query shown below.
SELECT * FROM A.TA WHERE A.TA.x> a
UNION all
SELECT * FROM B.TA WHERE B.TA.x ≦ a

論理モデルLMBが示すクエリにおいて、移行先のデータベース11Bの移行対象テーブルTAからデータを抽出する抽出条件は、移行対象テーブルTAの一部のデータを移行する際に使用した抽出条件となる。また、移行元のデータベース11Aの移行対象テーブルTAからデータを抽出する抽出条件は、移行対象テーブルTAの一部のデータを移行する際に使用した抽出条件の逆の論理を示す抽出条件となる。   In the query indicated by the logical model LMB, the extraction condition for extracting data from the migration target table TA of the migration destination database 11B is the extraction condition used when migrating some data of the migration target table TA. Further, the extraction condition for extracting data from the migration target table TA of the migration source database 11A is an extraction condition indicating the reverse logic of the extraction condition used when migrating some data of the migration target table TA.

また、更新部424は、図7(c)に示すように、移行対象テーブルTAの論理モデルLMAが示すテーブルを、論理モデルLMBが示す、新たに生成された物理モデルPMBが示す移行対象テーブルのデータと、移行元のデータベース11Aに格納されている複製前の移行対象テーブルのデータとを連結したビューに変更する。   Further, as illustrated in FIG. 7C, the updating unit 424 indicates a table indicated by the logical model LMA of the transition target table TA, indicated by the logical model LMB, of the transition object table indicated by the newly generated physical model PMB. The data and the data of the migration target table before duplication stored in the migration source database 11A are changed to a view that is linked.

同様に、更新部424は、第2移行対象テーブルの一部の複製が完了すると、データベース11Aに一部が複製されている第2移行対象テーブルTBを示す物理モデルを新たに生成する。   Similarly, when the replication of a part of the second migration target table is completed, the updating unit 424 newly generates a physical model indicating the second migration target table TB of which a part is replicated in the database 11A.

そして、更新部424は、複製されていない第2移行対象テーブルTBのデータと、新たに生成された物理モデルが示すデータベース11Aに複製された第2移行対象テーブルTBのデータとを連結するクエリを示す論理モデルを新たに生成する。ここで、当該論理モデルが示すテーブルは、ビューである。また、更新部424は、第2移行対象テーブルTBの論理モデルが示すテーブルを、新たに生成された論理モデルが示すビューに変更する。   Then, the updating unit 424 executes a query for linking the data of the second migration target table TB not replicated and the data of the second migration target table TB replicated in the database 11A indicated by the newly generated physical model. Create a new logical model to show. Here, the table indicated by the logical model is a view. In addition, the updating unit 424 changes the table indicated by the logical model of the second migration target table TB to a view indicated by the newly generated logical model.

続いて、移行制御部423は、更新部424が移行対象テーブルTA及び第2移行対象テーブルTBの論理モデルを変更すると、複製済の移行対象テーブルTAの一部及び第2移行対象テーブルTBの一部を、それぞれのテーブルの移行元のデータベースから消去する(S95)。具体的には、移行制御部423は、図7(d)に示すように、データベース11Aから、移行対象テーブルTAの複製済のデータを消去するとともに、データベース11Bから、第2移行対象テーブルTBの複製済のデータを消去する。   Subsequently, when the updating unit 424 changes the logical model of the migration target table TA and the second migration target table TB, the migration control unit 423 selects one part of the copied migration target table TA and the second migration target table TB. Part is deleted from the migration source database of each table (S95). Specifically, as shown in FIG. 7 (d), the migration control unit 423 erases the copied data of the migration target table TA from the database 11A, and from the database 11B, the second migration target table TB. Erase replicated data.

続いて、移行制御部423は、移行対象テーブルTA及び第2移行対象テーブルTBの移行が完了したか否かを判定する(S96)。移行制御部423は、移行が完了したと判定すると、テーブル交換処理を終了する。   Subsequently, the migration control unit 423 determines whether migration of the migration target table TA and the second migration target table TB is completed (S96). When the migration control unit 423 determines that the migration is completed, it ends the table exchange process.

また、移行制御部423は、移行が完了していないと判定すると、S93に処理を移し、図8(e)に示すように、複製されていない移行対象テーブルTAの一部のデータと、第2移行対象テーブルTBの一部とを、それぞれのテーブルの移行先のデータベースにさらに複製する。   Further, when the migration control unit 423 determines that migration is not completed, the process proceeds to S93, and as shown in FIG. 8E, part of the data of the migration target table TA that is not replicated, [2] Further replicate a part of the migration target table TB to the migration destination database of each table.

その後、更新部424は、図8(f)に示すように、データベース11Aに格納されている移行対象テーブルTAを示す物理モデルPMAを消去し、移行対象テーブルTAの論理モデルLMAが示すテーブルを、物理モデルPMBが示す移行対象テーブルTAに変更する。そして、移行制御部423は、図8(g)に示すように、データベース11Aに格納されている移行対象テーブルTAを消去する。   Thereafter, as shown in FIG. 8F, the updating unit 424 erases the physical model PMA indicating the transfer target table TA stored in the database 11A, and indicates the table indicated by the logical model LMA of the transfer target table TA. Change to the migration target table TA indicated by the physical model PMB. Then, the migration control unit 423 erases the migration target table TA stored in the database 11A, as shown in FIG. 8 (g).

なお、移行制御部423は、第2移行対象テーブルTBの一部をデータベース11Aに複製する処理を繰り返すことにより、第2移行対象テーブルTBの移行を行ったが、これに限らない。   Although the migration control unit 423 performs migration of the second migration target table TB by repeating the process of copying a part of the second migration target table TB to the database 11A, the present invention is not limited thereto.

移行制御部423は、第2移行対象テーブルTBの移行先のデータベース11Aの空きサイズが、第2移行対象テーブルTBのサイズ以上の場合には、第2移行対象テーブルTBの全体を一度に当該移行先のデータベース11Aに複製してもよい。そして、移行制御部423は、第2移行対象テーブルTBを移行元のデータベース11Bから消去した後に、複製していない移行対象テーブルTAのデータを、当該テーブルの当該移行先のデータベース11Bに一度に複製してもよい。このようにすることで、移行管理装置4は、移行処理にかかる時間を短縮することができる。   The migration control unit 423 migrates the entire second migration target table TB at a time when the free size of the migration destination database 11A of the second migration target table TB is equal to or larger than the size of the second migration target table TB. It may be replicated to the previous database 11A. Then, after deleting the second migration target table TB from the migration source database 11B, the migration control unit 423 copies the data of the migration target table TA that has not been replicated to the migration destination database 11B of the table at a time. You may By doing this, the migration management device 4 can reduce the time required for migration processing.

また、全ての移行対象テーブルの移行が完了しても、依然として複数のデータベース11のテーブルを参照して実行されるクエリは存在する。このため、移行制御部423は、移行対象テーブルの移行完了後に、複数のテーブルの利用状況に基づいて、それぞれ異なるデータベース11に格納されているテーブルを結合する結合処理のうち、出現頻度が高い予測される結合処理を特定する。   In addition, even if migration of all migration target tables is completed, there are still queries executed with reference to the tables of the plurality of databases 11. For this reason, the migration control unit 423 predicts, after the completion of migration of the migration target table, a high frequency of occurrence among combining processing that combines tables stored in different databases 11 based on the usage status of a plurality of tables. Identify the binding process to be performed.

そして、移行制御部423は、特定した結合処理に対応する入力データ又は出力データ(マテリアライズドビュー)のサイズを算出する。移行制御部423は、算出したサイズがクエリ処理装置2の記憶部21の利用可能サイズ以下である場合に、マテリアライズドビューをクエリ処理装置2の記憶部21に生成する。更新部424は、マテリアライズドビューが生成されると、マテリアライズドビューを参照可能なように、物理モデルPM及び論理モデルLMを更新する。   Then, the migration control unit 423 calculates the size of the input data or output data (materialized view) corresponding to the identified combination process. The migration control unit 423 generates a materialized view in the storage unit 21 of the query processing device 2 when the calculated size is equal to or smaller than the usable size of the storage unit 21 of the query processing device 2. When the materialized view is generated, the updating unit 424 updates the physical model PM and the logical model LM so that the materialized view can be referred to.

クエリ処理装置2のクエリ実行部222は、取得されたクエリを解析し、取得されたクエリに対応する処理に、生成したマテリアライズドビューに対応する結合処理が含まれている場合に、当該マテリアライズドビューにアクセスして処理を実行する。このようにすることで、クエリ処理装置2は、異なるデータベース11に格納されている複数のテーブルを参照することによるクエリの実行性能の悪化を防ぐことができる。なお、移行制御部423は、移行対象テーブルの移行完了後にマテリアライズドビューをクエリ処理装置2の記憶部21に生成したが、これに限らない。移行制御部423は、移行対象テーブルの移行完了前に、複数のテーブルの利用状況に基づいて、マテリアライズドビューをクエリ処理装置2の記憶部21に生成してもよい。   The query execution unit 222 of the query processing device 2 analyzes the acquired query, and when the process corresponding to the acquired query includes a join process corresponding to the generated materialized view, the materialized view Access and execute processing. By doing this, the query processing device 2 can prevent the deterioration of the query execution performance by referring to the plurality of tables stored in different databases 11. Although the migration control unit 423 generates the materialized view in the storage unit 21 of the query processing apparatus 2 after the migration of the migration target table is completed, the present invention is not limited thereto. The migration control unit 423 may generate a materialized view in the storage unit 21 of the query processing apparatus 2 based on the usage status of a plurality of tables before the migration of the migration target table is completed.

[本実施形態における効果]
以上のとおり、本実施形態に係る移行管理装置4は、複数のデータベース11のそれぞれに含まれる複数のテーブルの利用状況に基づいて、複数のデータベース11のうち、現在格納されているデータベースとは異なるデータベースに移行するテーブルを移行対象テーブルとして特定する。そして、移行管理装置4は、特定された移行対象テーブルを移行先のデータベースに複製し、移行対象テーブルの複製が完了すると、クエリ処理装置2の物理モデルが示す移行対象テーブルの格納先を移行先のデータベースに更新する。
[Effect in the present embodiment]
As described above, the migration management apparatus 4 according to the present embodiment is different from the database currently stored among the plurality of databases 11 based on the usage status of the plurality of tables included in each of the plurality of databases 11. Identify the table to be migrated to the database as the migration target table. Then, the migration management device 4 copies the identified migration target table to the migration destination database, and when replication of the migration target table is completed, the storage destination of the migration target table indicated by the physical model of the query processing device 2 is the migration destination Update to the database of.

このようにすることで、移行管理装置4は、テーブルの利用状況に基づいて、テーブルを適切なデータベースに配置することができる。これにより、クエリ処理装置2が、クエリをデータベース11に実行させる機会が増加するので、クエリ実行時のデータ通信量を削減し、クエリの実行性能を向上させることができる。また、移行管理装置4は、移行対象テーブルの複製が完了すると、クエリ処理装置2の物理モデルが示す移行対象テーブルの格納先を移行先のデータベースに更新することにより、ユーザに影響を与えることなく移行対象テーブルの移行を実施することができる。   By doing this, the migration management apparatus 4 can arrange the table in an appropriate database based on the usage of the table. As a result, the query processing device 2 increases the chance of causing the database 11 to execute a query, so the amount of data communication at the time of query execution can be reduced, and the query execution performance can be improved. Also, when the migration management device 4 completes the replication of the migration target table, the migration management device 4 updates the storage destination of the migration target table indicated by the physical model of the query processing device 2 to the migration destination database without affecting the user. Migration of the migration target table can be implemented.

また、移行管理装置4は、移行先のデータベース11の空きサイズが移行対象テーブルのサイズよりも小さい場合には、移行先のデータベースから移行させるテーブルを第2移行対象テーブルとして特定し、移行対象テーブルと、第2移行対象テーブルとを、部分的に移行する処理を複数回実行することにより、移行対象テーブルを移行先のデータベース11に移行させる。このようにすることで、移行管理装置4は、移行先のデータベース11の空きサイズが移行対象テーブルのサイズよりも小さい場合であっても、移行対象テーブルを当該データベース11に移行することができる。   Further, when the free size of the migration destination database 11 is smaller than the size of the migration target table, the migration management device 4 specifies the table to be migrated from the migration destination database as the second migration target table, and the migration target table The migration target table is migrated to the migration destination database 11 by executing the process of partially migrating the second migration target table a plurality of times. By doing this, the migration management apparatus 4 can migrate the migration target table to the database 11 even when the free size of the migration destination database 11 is smaller than the size of the migration target table.

以上、本発明を実施形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。上記実施形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。例えば、上述の複数の実施形態を組み合わせてもよい。また、特に、装置の分散・統合の具体的な実施形態は以上に図示するものに限られず、その全部又は一部について、種々の付加等に応じて、又は、機能負荷に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It is apparent to those skilled in the art that various changes or modifications can be added to the above embodiment. For example, the above embodiments may be combined. Further, in particular, the specific embodiment of the distribution and integration of the devices is not limited to the one illustrated above, but all or part of the embodiments according to various additions or the like, or according to the functional load. It can be configured to be distributed or integrated functionally or physically in units.

例えば、上述の実施形態では、クエリ処理装置2と、移行管理装置4とが異なる装置であるものとしたが、これに限らない。例えば、クエリ処理装置2が、利用状況特定部421、テーブル特定部422、移行制御部423、更新部424を備え、移行管理装置4として機能してもよい。   For example, although the query processing device 2 and the migration management device 4 are different devices in the above-described embodiment, the present invention is not limited to this. For example, the query processing device 2 may function as the migration management device 4 by including the usage status identification unit 421, the table identification unit 422, the migration control unit 423, and the update unit 424.

1・・・記憶装置、2・・・クエリ処理装置、21・・・記憶部、22・・・制御部、221・・・クエリ取得部、222・・・クエリ実行部、223・・・出力部、3・・・ユーザ端末、4・・・移行管理装置、41・・・記憶部、42・・・制御部、421・・・利用状況特定部、422・・・テーブル特定部、423・・・移行制御部、424・・・更新部、S・・・仮想データベースシステム DESCRIPTION OF SYMBOLS 1 ... Memory | storage device, 2 ... Query processing apparatus, 21 ... Storage part, 22 ... Control part, 221 ... Query acquisition part, 222 ... Query execution part, 223 ... Output Unit 3 User terminal 4 Transition management device 41 Storage unit 42 Control unit 421 Use status specifying unit 422 Table specifying unit 423 · · Transition control unit, 424 · · · Update unit, S · · · virtual database system

Claims (7)

複数のデータベースのそれぞれに含まれる複数のテーブルの利用状況を特定する利用状況特定部と、
特定された前記利用状況に基づいて、前記複数のデータベースのうち、現在格納されているデータベースとは異なるデータベースに移行するテーブルを移行対象テーブルとして特定するテーブル特定部と、
特定された前記移行対象テーブルを移行先のデータベースに複製する移行制御部と、
前記移行対象テーブルの複製が完了すると、前記複数のテーブルのそれぞれの格納先を管理する物理モデルと、ユーザが参照する仮想テーブルを管理する論理モデルとを記憶し前記ユーザから受け付けたクエリを処理するクエリ処理装置の前記物理モデルが示す前記移行対象テーブルの格納先を前記移行先のデータベースに更新する更新部と、
を備える移行管理装置。
A usage status identification unit that identifies usage status of a plurality of tables included in each of a plurality of databases;
A table identification unit that identifies, as a migration target table, a table to be migrated to a database different from the currently stored database among the plurality of databases based on the identified usage status;
A migration control unit that duplicates the identified migration target table to a migration destination database;
When replication of the migration target table is completed, the physical model managing the storage destination of each of the plurality of tables and the logical model managing the virtual table referred to by the user are stored, and the query received from the user is processed. An updating unit for updating the storage destination of the migration target table indicated by the physical model of the query processing device to the migration destination database;
Migration management device comprising:
前記移行制御部は、前記更新部が前記物理モデルを更新すると、移行元のデータベースから前記移行対象テーブルを消去する、
請求項1に記載の移行管理装置。
The migration control unit erases the migration target table from the migration source database when the updating unit updates the physical model.
The migration management device according to claim 1.
前記テーブル特定部は、前記移行先のデータベースの空きサイズが前記移行対象テーブルのサイズよりも小さい場合には、前記移行先のデータベースから移行させるテーブルを第2移行対象テーブルとして特定し、
前記移行制御部は、前記テーブル特定部が第2移行対象テーブルを特定した場合に、前記移行対象テーブルの一部と、前記第2移行対象テーブルの一部とを、それぞれのテーブルの移行先のデータベースに複製し、
前記更新部は、前記移行対象テーブルの一部の複製が完了すると、移行先のデータベースに一部が複製されている前記移行対象テーブルを示す前記物理モデルを新たに生成し、前記移行対象テーブルの前記論理モデルが示すテーブルを、新たに生成された前記物理モデルが示す前記移行対象テーブルのデータと、移行元のデータベースに格納されている複製前の前記移行対象テーブルのデータとを連結するクエリに変更し、前記第2移行対象テーブルの一部の複製が完了すると、移行先のデータベースに一部が複製されている前記第2移行対象テーブルを示す前記物理モデルを新たに生成し、前記第2移行対象テーブルの前記論理モデルが示すテーブルを、新たに生成された前記物理モデルが示す前記第2移行対象テーブルのデータと、移行元のデータベースに格納されている複製前の前記第2移行対象テーブルのデータとを連結するクエリに変更し、
前記移行制御部は、前記更新部が前記移行対象テーブル及び前記第2移行対象テーブルの前記論理モデルを変更すると、複製済の前記移行対象テーブルの一部及び前記第2移行対象テーブルの一部を移行元のデータベースから消去し、前記移行対象テーブルの一部と、前記第2移行対象テーブルの一部とを、それぞれのテーブルの移行先のデータベースにさらに複製する、
請求項1又は2に記載の移行管理装置。
The table identification unit identifies a table to be migrated from the migration destination database as a second migration target table, when the free space size of the migration destination database is smaller than the size of the migration target table.
The migration control unit, when the table identification unit identifies the second migration target table, the migration control unit determines a part of the migration target table and a part of the second migration target table as a migration destination of each table. Replicate to the database,
The update unit newly generates the physical model indicating the migration target table partially copied to the migration destination database when replication of part of the migration target table is completed, and The table indicated by the logical model is a query that links data of the migration target table indicated by the newly generated physical model and data of the migration target table before duplication stored in the database of migration source. When it is changed and replication of part of the second migration target table is completed, the physical model indicating the second migration target table which is partially copied to the migration destination database is newly generated, and the second Data of the second migration target table represented by the newly generated physical model, and a table represented by the logical model of the migration target table; Change before replication stored in the database of the second migration target table data to the query for connecting,
When the updating unit changes the logical model of the migration target table and the second migration target table, the migration control unit changes a part of the copied migration target table and a part of the second migration target table. Erase from the migration source database, and further duplicate a part of the migration target table and a part of the second migration target table to the migration destination database of each table;
The migration management apparatus according to claim 1.
前記移行制御部は、前記第2移行対象テーブルの移行先のデータベースの空きサイズが、前記第2移行対象テーブルのサイズ以上の場合には、前記第2移行対象テーブルの全体を一度に当該移行先のデータベースに複製する、
請求項3に記載の移行管理装置。
When the free size of the database of the migration destination of the second migration target table is equal to or larger than the size of the second migration target table, the migration control unit moves the entire second migration target table to the migration destination at one time To the database of,
The migration management device according to claim 3.
前記移行制御部は、前記第2移行対象テーブルを、前記移行対象テーブルの移行元のデータベースに移行する、
請求項3又は4に記載の移行管理装置。
The migration control unit migrates the second migration target table to a migration source database of the migration target table.
The migration management apparatus according to claim 3 or 4.
前記移行制御部は、前記利用状況に基づいて、それぞれ異なるデータベースに格納されているテーブルが結合される結合処理のうち、出現頻度が高いと予測される結合処理を特定し、特定した結合処理の入力データ又は出力データを前記クエリ処理装置の記憶部に生成し、
前記更新部は、前記クエリ処理装置の記憶部に生成されたテーブルが参照可能に前記物理モデル及び前記論理モデルを更新する、
請求項1から5のいずれか1項に記載の移行管理装置。
The migration control unit identifies a combining process predicted to have a high frequency of occurrence among combining processes in which tables stored in different databases are combined based on the usage status, and identifies the specified combining process Generating input data or output data in the storage unit of the query processing device;
The updating unit updates the physical model and the logical model so that a table generated in a storage unit of the query processing device can be referred to.
The migration management apparatus according to any one of claims 1 to 5.
コンピュータが実行する、
複数のデータベースのそれぞれに含まれる複数のテーブルの利用状況を特定するステップと、
特定された前記利用状況に基づいて、前記複数のデータベースのうち、現在格納されているデータベースとは異なるデータベースに移行するテーブルを移行対象テーブルとして特定するステップと、
特定された前記移行対象テーブルを移行先のデータベースに複製するステップと、
前記移行対象テーブルの複製が完了すると、前記複数のテーブルのそれぞれの格納先を管理する物理モデルと、ユーザが参照する仮想テーブルを管理する論理モデルとを記憶し前記ユーザから受け付けたクエリを処理するクエリ処理装置の前記物理モデルが示す前記移行対象テーブルの格納先を前記移行先のデータベースに更新するステップと、
を備える移行管理方法。


Computer runs,
Identifying usage of a plurality of tables included in each of a plurality of databases;
Identifying, as a migration target table, a table to be migrated to a database different from the currently stored database among the plurality of databases based on the identified use status;
Replicating the identified migration target table to a migration destination database;
When replication of the migration target table is completed, the physical model managing the storage destination of each of the plurality of tables and the logical model managing the virtual table referred to by the user are stored, and the query received from the user is processed. Updating the storage destination of the migration target table indicated by the physical model of the query processing device to the migration destination database;
Migration management method comprising:


JP2017188843A 2017-09-28 2017-09-28 Migration management device and migration management method Active JP6744272B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017188843A JP6744272B2 (en) 2017-09-28 2017-09-28 Migration management device and migration management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017188843A JP6744272B2 (en) 2017-09-28 2017-09-28 Migration management device and migration management method

Publications (2)

Publication Number Publication Date
JP2019066939A true JP2019066939A (en) 2019-04-25
JP6744272B2 JP6744272B2 (en) 2020-08-19

Family

ID=66339600

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017188843A Active JP6744272B2 (en) 2017-09-28 2017-09-28 Migration management device and migration management method

Country Status (1)

Country Link
JP (1) JP6744272B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020024483A (en) * 2018-08-06 2020-02-13 京セラドキュメントソリューションズ株式会社 Data management system and data management program
CN111694812A (en) * 2020-05-06 2020-09-22 五八有限公司 Data migration method and data migration device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150414A (en) * 2001-11-12 2003-05-23 Hitachi Ltd Data rearrangement method taking database management system information into account and computer system for performing data rearrangement
JP2006221513A (en) * 2005-02-14 2006-08-24 Hitachi Ltd Setting of arrangement of data in computer system
JP2013117873A (en) * 2011-12-02 2013-06-13 Hitachi Systems Ltd Database processing method
JP2015179449A (en) * 2014-03-19 2015-10-08 Kddi株式会社 Virtual database system management device, management method, and management program
JP2017146764A (en) * 2016-02-17 2017-08-24 日本電信電話株式会社 Data rearrangement system, data rearrangement device, and data rearrangement method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003150414A (en) * 2001-11-12 2003-05-23 Hitachi Ltd Data rearrangement method taking database management system information into account and computer system for performing data rearrangement
JP2006221513A (en) * 2005-02-14 2006-08-24 Hitachi Ltd Setting of arrangement of data in computer system
JP2013117873A (en) * 2011-12-02 2013-06-13 Hitachi Systems Ltd Database processing method
JP2015179449A (en) * 2014-03-19 2015-10-08 Kddi株式会社 Virtual database system management device, management method, and management program
JP2017146764A (en) * 2016-02-17 2017-08-24 日本電信電話株式会社 Data rearrangement system, data rearrangement device, and data rearrangement method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020024483A (en) * 2018-08-06 2020-02-13 京セラドキュメントソリューションズ株式会社 Data management system and data management program
CN111694812A (en) * 2020-05-06 2020-09-22 五八有限公司 Data migration method and data migration device

Also Published As

Publication number Publication date
JP6744272B2 (en) 2020-08-19

Similar Documents

Publication Publication Date Title
CN110622152B (en) Scalable database system for querying time series data
US8121966B2 (en) Method and system for automated integrated server-network-storage disaster recovery planning
US20130166502A1 (en) Segmented storage for database clustering
CN109656911A (en) Distributed variable-frequencypump Database Systems and its data processing method
CN107545015B (en) Processing method and processing device for query fault
JP2007241486A (en) Memory system
JPWO2011108695A1 (en) Parallel data processing system, parallel data processing method and program
CN108073696B (en) GIS application method based on distributed memory database
US11250022B1 (en) Offline index builds for database tables
CN108369588B (en) Database level automatic storage management
JP4945232B2 (en) Access control method, computer system, and object replication program
JP6744272B2 (en) Migration management device and migration management method
CN113760902A (en) Data splitting method, device, equipment, medium and program product
US20210397599A1 (en) Techniques for generating a consistent view of an eventually consistent database
CN109710698B (en) Data aggregation method and device, electronic equipment and medium
US11934927B2 (en) Handling system-characteristics drift in machine learning applications
Saxena et al. Concepts of HBase archetypes in big data engineering
JP2013033439A (en) Database management method
Vilaça et al. On the expressiveness and trade-offs of large scale tuple stores
JP6898215B2 (en) Database management device, database management method and database management program
CN104765748A (en) Method and device for converting copying table into slicing table
JP5832592B1 (en) Data management device
US11271999B2 (en) Flexible associativity in multitenant clustered environments
US11880385B1 (en) Ordering updates to secondary indexes using conditional operations
US20240028580A1 (en) Methods and systems related to a unified framework for global table with guarantee on replica data freshness

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190802

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200519

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200702

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200730

R150 Certificate of patent or registration of utility model

Ref document number: 6744272

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150